10 lines
259 B
Plaintext
10 lines
259 B
Plaintext
|
void main()
|
||
|
{
|
||
|
if (GetLocalInt(OBJECT_SELF,"nDone")!=1)
|
||
|
{
|
||
|
object oDoor=GetObjectByTag("jw_kobo_door1");
|
||
|
ApplyEffectToObject(DURATION_TYPE_INSTANT,EffectDamage(10,DAMAGE_TYPE_MAGICAL,DAMAGE_POWER_PLUS_FIVE),oDoor);
|
||
|
SetLocalInt(OBJECT_SELF,"nDone",1);
|
||
|
}
|
||
|
}
|