// 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); }