10 lines
369 B
Plaintext
10 lines
369 B
Plaintext
void main()
|
|
{
|
|
effect eVis2 = EffectVisualEffect(VFX_IMP_SUNSTRIKE);
|
|
ApplyEffectToObject(DURATION_TYPE_INSTANT, eVis2, GetPCSpeaker());
|
|
object oItemToTake = GetItemPossessedBy(GetPCSpeaker(), "TokenofPossession");
|
|
if(GetIsObjectValid(oItemToTake) != 0)
|
|
DestroyObject(oItemToTake);
|
|
CreateItemOnObject("tokenofposses001", GetPCSpeaker(), 1);
|
|
}
|