27 lines
548 B
Plaintext
27 lines
548 B
Plaintext
|
void main()
|
||
|
{
|
||
|
object oPC=GetEnteringObject();
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
if (GetIsObjectValid(oPC)&&FortitudeSave(oPC,21,SAVING_THROW_TYPE_FIRE)==0)
|
||
|
|
||
|
{
|
||
|
//ApplyEffectToObject(DURATION_TYPE_TEMPORARY,EffectFrightened(),oPC,20.0);
|
||
|
ApplyEffectToObject(DURATION_TYPE_INSTANT,EffectVisualEffect(VFX_IMP_FLAME_M),oPC);
|
||
|
ApplyEffectToObject(DURATION_TYPE_INSTANT,EffectDamage(d6(2)+4,DAMAGE_TYPE_FIRE,DAMAGE_POWER_PLUS_THREE),oPC);
|
||
|
|
||
|
|
||
|
//AssignCommand(oPC,ClearAllActions());
|
||
|
// AssignCommand(oPC,ActionMoveAwayFromObject(GetObjectByTag("jw_song_urn"),TRUE));
|
||
|
|
||
|
}
|
||
|
|
||
|
|
||
|
|
||
|
}
|
||
|
|
||
|
|
||
|
|