EN6_PRC8/_module/nss/cw1_ft.nss
Jaysyn904 a6f6db7303 Initial commit
Initial commit.  Updated release archive.
2024-06-13 15:08:33 -04:00

18 lines
428 B
Plaintext

void main()
{
object oPC;
effect eVis;
effect eDam;
oPC=GetEnteringObject();
if (GetIsPC(oPC) && GetLocalInt(OBJECT_SELF,"Active") == 1)
{
eVis = EffectVisualEffect(VFX_COM_HIT_FIRE);
DelayCommand(0.5, ApplyEffectAtLocation(DURATION_TYPE_INSTANT, eVis, GetLocation(oPC),3.0));
eDam = EffectDamage(d6(2), DAMAGE_TYPE_FIRE);
DelayCommand(0.5, ApplyEffectToObject(DURATION_TYPE_INSTANT, eDam, oPC));
}
}