summaryrefslogtreecommitdiff
path: root/world/map/npc/magic/_procedures.txt
diff options
context:
space:
mode:
authormekolat <mekolat@users.noreply.github.com>2016-03-15 12:58:11 -0400
committermekolat <mekolat@users.noreply.github.com>2016-03-30 11:22:56 -0400
commit8d9de1d4d43b4548aa544a995d402173e7e56af8 (patch)
treee50214212150fd02763249686fff9283dc6463f3 /world/map/npc/magic/_procedures.txt
parent19eb4a9b9267967c1c8c0f4a434bd2097706146d (diff)
downloadserverdata-8d9de1d4d43b4548aa544a995d402173e7e56af8.tar.gz
serverdata-8d9de1d4d43b4548aa544a995d402173e7e56af8.tar.bz2
serverdata-8d9de1d4d43b4548aa544a995d402173e7e56af8.tar.xz
serverdata-8d9de1d4d43b4548aa544a995d402173e7e56af8.zip
fix spell names for puppets
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 5f1ea865..57a83fa9 100644
--- a/world/map/npc/magic/_procedures.txt
+++ b/world/map/npc/magic/_procedures.txt
@@ -12,7 +12,7 @@ function|script|magic_register
function|script|magic_checks
{
set .@r, 0;
- if(getpvpflag(1)) set .@r, 1;
+ if(getpvpflag(1)) set .@r, 1; // FIXME: make HIDDEN into a param
if((gettimetick(2) - MAGIC_CAST_TICK) < 0) set .@r, 2; // check if last debuff ended
if(Hp < 1) set .@r, 3; // can not cast when dead
return .@r;