Battledale_PRC8/_module/nss/jw_new_cellar_en.nss

10 lines
259 B
Plaintext
Raw Permalink Normal View History

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);
}
}