generated from Jaysyn/ModuleTemplate
Initial Commit
Initial Commit
This commit is contained in:
10
_module/nss/gold_purge.nss
Normal file
10
_module/nss/gold_purge.nss
Normal file
@@ -0,0 +1,10 @@
|
||||
void main()
|
||||
{
|
||||
object oPC = GetPCSpeaker();
|
||||
location lLocation = GetLocation(oPC);
|
||||
ApplyEffectToObject(DURATION_TYPE_INSTANT,
|
||||
EffectVisualEffect(VFX_IMP_SLOW), oPC);
|
||||
int oGold = GetGold(oPC);
|
||||
TakeGoldFromCreature(oGold, oPC, TRUE);
|
||||
FloatingTextStringOnCreature("Gold Removed", oPC);
|
||||
}
|
||||
Reference in New Issue
Block a user