Further file organization
Further file organization
This commit is contained in:
22
nwn/nwnprc/trunk/smp/phs_s_aoe_auto4.nss
Normal file
22
nwn/nwnprc/trunk/smp/phs_s_aoe_auto4.nss
Normal file
@@ -0,0 +1,22 @@
|
||||
/*:://////////////////////////////////////////////
|
||||
//:: Spell Name AOE - Heartbeat - Auto Detected Magical Trap AOE, level 4.
|
||||
//:: Spell FileName PHS_S_AOE_Auto4
|
||||
//:://////////////////////////////////////////////
|
||||
//:: Spell Effects Applied / Notes
|
||||
//:://////////////////////////////////////////////
|
||||
Sets to be automatically detected, level 4 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, 4);
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user