Initial Commit

Initial Commit [v1.32PRC8]
This commit is contained in:
Jaysyn904
2025-04-03 13:38:45 -04:00
parent 1213977d8c
commit b464d8da05
6922 changed files with 6176025 additions and 2 deletions

View File

@@ -0,0 +1,41 @@
//#include "x0_i0_henchman"
#include "rd_level"
//#include "prc_x2_itemprop"
#include "rd_treasure"
#include "utl_i_sqluuid"
void LevelUpHench(object oPC);
void main()
{
object oPC = GetPCLevellingUp();
LevelUpHench(oPC);
if (SQLocalsUUID_GetInt(oPC,"SuperPowers") > 0)
CreateSuperPowers(oPC);
if (SQLocalsUUID_GetInt(oPC,"SpecialPowers") > 0)
CreateSpecialPowers(oPC);
if (SQLocalsUUID_GetInt(oPC,"EvilPath") > 0)
CreateEvilPowers(oPC);
}
void LevelUpHench(object oPC)
{
int iIndex;
object oHench;
iIndex = 1;
while (iIndex < 7)
{
oHench = GetHenchman(oPC,iIndex);
if (GetIsObjectValid(oHench))
{
if (GetTag(oHench) == GetLocalString(oPC,"Henchman"))
LevelMob(oHench,1);
if (GetTag(oHench) == "en3_spiritfriend")
LevelMob(oHench,1);
}
iIndex++;
}
}