generated from Jaysyn/ModuleTemplate
Initial upload
Initial upload.
This commit is contained in:
21
_module/nss/vata_assassin.nss
Normal file
21
_module/nss/vata_assassin.nss
Normal file
@@ -0,0 +1,21 @@
|
||||
#include "inc_arenapc"
|
||||
|
||||
void main()
|
||||
{
|
||||
object oPC = GetPCSpeaker();
|
||||
object oCreature = ArenaSummon("cs1_assassin");
|
||||
int iPCLevel = GetHitDice(oPC);
|
||||
int iLevelUp = 1;
|
||||
|
||||
while (iLevelUp < iPCLevel)
|
||||
{
|
||||
if (iLevelUp > 7 && iLevelUp < 18) iLevelUp = LevelUpHenchman(oCreature, CLASS_TYPE_ASSASSIN, TRUE, PACKAGE_ASSASSIN);
|
||||
else iLevelUp = LevelUpHenchman(oCreature, CLASS_TYPE_MONK, TRUE, GetCreatureStartingPackage(oCreature));
|
||||
}
|
||||
|
||||
EquipNPC(oCreature, iLevelUp);
|
||||
|
||||
SendMessageToPC(oPC, GetName(oCreature) + "'s level = Monk " + IntToString(GetLevelByClass(CLASS_TYPE_MONK, oCreature)) + ", Assassin " + IntToString(GetLevelByClass(CLASS_TYPE_ASSASSIN, oCreature)));
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user