Initial upload

Initial upload.
This commit is contained in:
Jaysyn904
2024-10-09 14:17:22 -04:00
parent a13073fd78
commit e51634d39b
2354 changed files with 658510 additions and 0 deletions

View File

@@ -0,0 +1,21 @@
#include "inc_arenapc"
void main()
{
object oPC = GetPCSpeaker();
object oCreature = ArenaSummon("cs1_shadowdancer");
int iPCLevel = GetLevelByPosition(1, oPC) + GetLevelByPosition(2, oPC) + GetLevelByPosition(3, oPC);
int iLevelUp = 1;
while (iLevelUp < iPCLevel)
{
if (iLevelUp > 6 && iLevelUp < 17) iLevelUp = LevelUpHenchman(oCreature, CLASS_TYPE_SHADOWDANCER, TRUE);
else iLevelUp = LevelUpHenchman(oCreature, CLASS_TYPE_ROGUE, TRUE, GetCreatureStartingPackage(oCreature));
}
EquipNPC(oCreature, iLevelUp);
SendMessageToPC(oPC, GetName(oCreature) + "'s level = Rogue " + IntToString(GetLevelByClass(CLASS_TYPE_ROGUE, oCreature)) + ", Shadowdancer " + IntToString(GetLevelByClass(CLASS_TYPE_SHADOWDANCER, oCreature)));
}