LoD_PRC8/_module/nss/ba2_deslal.nss
Jaysyn904 94990edc60 Initial Upload
Initial Upload
2023-09-21 21:20:34 -04:00

26 lines
771 B
Plaintext

void main()
{
if(GetTag(GetArea(OBJECT_SELF)) == "ba2_reislad")
{
object oPedestal = GetObjectByTag("ba2_slaprice");
object oDead = GetLastDamager(OBJECT_SELF);
effect eDing = EffectVisualEffect(VFX_IMP_PULSE_NEGATIVE);
SetPlotFlag(oPedestal, 0);
SetLocalInt(oPedestal, "DEATH", 1);
SpeakString("Curse you! You will die with me!");
ApplyEffectToObject(DURATION_TYPE_INSTANT, EffectDeath(), oDead);
ApplyEffectToObject(DURATION_TYPE_INSTANT, eDing, oPedestal);
DelayCommand(1.0, ApplyEffectToObject(DURATION_TYPE_INSTANT, eDing, oPedestal));
DelayCommand(2.0, ApplyEffectToObject(DURATION_TYPE_INSTANT, eDing, oPedestal));
DelayCommand(3.0, ApplyEffectToObject(DURATION_TYPE_INSTANT, eDing, oPedestal));
}
}