Initial upload

Initial upload
This commit is contained in:
Jaysyn904
2024-11-25 19:36:07 -05:00
parent 256ffe12f7
commit 04165202c0
10228 changed files with 10443677 additions and 0 deletions

View File

@@ -0,0 +1,16 @@
// Take mg assassin fee
void main()
{
object oChest=GetObjectByTag("CG_CHEST");
object oPC=GetPCSpeaker();
object oMod=GetModule();
int nFee=GetLocalInt(OBJECT_SELF,"nCGAssCost");
int nPow;
object oItem=CreateItemOnObject("nw_it_gold001",oChest,nFee);
TakeGoldFromCreature(nFee,oPC,TRUE);
nPow=GetLocalInt(oMod,"nEvilPower");
nFee=nFee/500;
nPow=nPow+nFee;
SetLocalInt(oMod,"nEvilPower",nPow);
ExecuteScript("rise_of_evil",oMod);
}