summaryrefslogtreecommitdiff
path: root/world/map/npc/magic/_procedures.txt
diff options
context:
space:
mode:
Diffstat (limited to 'world/map/npc/magic/_procedures.txt')
-rw-r--r--world/map/npc/magic/_procedures.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/world/map/npc/magic/_procedures.txt b/world/map/npc/magic/_procedures.txt
index d3c63bf7..b53aaa7c 100644
--- a/world/map/npc/magic/_procedures.txt
+++ b/world/map/npc/magic/_procedures.txt
@@ -27,7 +27,7 @@ OnClear:
function|script|magic_checks
{
set .@r, 0;
- if(getpvpflag(1)) set .@r, 1; // FIXME: make HIDDEN into a param
+ if(HIDDEN) set .@r, 1; // can not cast with @hide
if(@_M_BLOCK) set .@r, 2; // check if last debuff ended
if(Hp < 1) set .@r, 3; // can not cast when dead
if (.@r)