mirror of
http://prc.nwn.ee:3000/Jaysyn/PRC8.git
synced 2025-12-16 18:27:15 -05:00
23 lines
785 B
Plaintext
23 lines
785 B
Plaintext
/*:://////////////////////////////////////////////
|
|
//:: Spell Name AOE - Heartbeat - Auto Detected Magical Trap AOE, level 2.
|
|
//:: Spell FileName PHS_S_AOE_Auto2
|
|
//:://////////////////////////////////////////////
|
|
//:: Spell Effects Applied / Notes
|
|
//:://////////////////////////////////////////////
|
|
Sets to be automatically detected, level 2 spell "magical trap".
|
|
//:://////////////////////////////////////////////
|
|
//:: Created By: Jasperre
|
|
//::////////////////////////////////////////////*/
|
|
|
|
#include "PHS_INC_SPELLS"
|
|
|
|
void main()
|
|
{
|
|
// Automatically detected
|
|
if(!GetLocalInt(OBJECT_SELF, PHS_MAGICAL_TRAP_ALWAYS_DETECTED))
|
|
{
|
|
SetLocalInt(OBJECT_SELF, PHS_MAGICAL_TRAP_ALWAYS_DETECTED, TRUE);
|
|
SetLocalInt(OBJECT_SELF, PHS_MAGICAL_TRAP_LEVEL, 2);
|
|
}
|
|
}
|