Initial commit
Initial commit. Updated release archive.
This commit is contained in:
22
_module/nss/en5_levelup.nss
Normal file
22
_module/nss/en5_levelup.nss
Normal file
@@ -0,0 +1,22 @@
|
||||
#include "en5_misc"
|
||||
#include "en6_mq6_include"
|
||||
|
||||
void main()
|
||||
{
|
||||
int iIndex;
|
||||
object oHenchman;
|
||||
object oPC;
|
||||
|
||||
oPC=GetPCLevellingUp();
|
||||
|
||||
iIndex=1;
|
||||
while (iIndex<11)
|
||||
{
|
||||
oHenchman=GetAssociate(ASSOCIATE_TYPE_HENCHMAN,oPC,iIndex);
|
||||
if (GetIsObjectValid(oHenchman) && GetLocalInt(oHenchman,"Henchman") == 1)
|
||||
LevelHenchman(oHenchman,1);
|
||||
iIndex++;
|
||||
}
|
||||
if (GetLocalInt(oPC,"MQ6_found")>0 && GetLocalInt(oPC,"MQ6ItemMade")>0)
|
||||
GetMQ6Powers(oPC);
|
||||
}
|
||||
Reference in New Issue
Block a user