Initial upload. PRC8 has been added. Module compiles, PRC's default AI & treasure scripts have been integrated. Started work on top hak for SLA / Ability / Scripting modifications.
32 lines
853 B
Plaintext
32 lines
853 B
Plaintext
void main()
|
|
{
|
|
object oPC=GetEnteringObject();
|
|
|
|
|
|
|
|
|
|
if (GetIsObjectValid(oPC)&&FortitudeSave(oPC,16,SAVING_THROW_TYPE_MIND_SPELLS)==0)
|
|
|
|
{
|
|
//ApplyEffectToObject(DURATION_TYPE_TEMPORARY,EffectFrightened(),oPC,20.0);
|
|
ApplyEffectToObject(DURATION_TYPE_TEMPORARY,EffectVisualEffect(VFX_DUR_MIND_AFFECTING_NEGATIVE),oPC,300.0);
|
|
ApplyEffectToObject(DURATION_TYPE_TEMPORARY,EffectSavingThrowDecrease(SAVING_THROW_REFLEX,1,SAVING_THROW_TYPE_ALL),oPC,300.0);
|
|
ApplyEffectToObject(DURATION_TYPE_TEMPORARY,EffectSavingThrowDecrease(SAVING_THROW_FORT,1,SAVING_THROW_TYPE_ALL),oPC,300.0);
|
|
|
|
ApplyEffectToObject(DURATION_TYPE_TEMPORARY,EffectSavingThrowDecrease(SAVING_THROW_WILL,1,SAVING_THROW_TYPE_ALL),oPC,300.0);
|
|
|
|
|
|
|
|
|
|
//AssignCommand(oPC,ClearAllActions());
|
|
// AssignCommand(oPC,ActionMoveAwayFromObject(GetObjectByTag("jw_song_urn"),TRUE));
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|