11 lines
261 B
Plaintext
11 lines
261 B
Plaintext
void main()
|
|
{
|
|
object oPC = GetPCSpeaker();
|
|
effect eEffect = GetFirstEffect(oPC);
|
|
while (GetIsEffectValid(eEffect))
|
|
{
|
|
if (GetEffectCreator(eEffect) == OBJECT_SELF) RemoveEffect(oPC, eEffect);
|
|
eEffect = GetNextEffect(oPC);
|
|
}
|
|
}
|