11 lines
284 B
Plaintext
11 lines
284 B
Plaintext
|
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);
|
||
|
}
|