summaryrefslogtreecommitdiff
path: root/world/map/npc/magic/level2-barrier.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/level2-barrier.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/level2-barrier.txt')
-rw-r--r--world/map/npc/magic/level2-barrier.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/world/map/npc/magic/level2-barrier.txt b/world/map/npc/magic/level2-barrier.txt
index d692bee1..8d74414a 100644
--- a/world/map/npc/magic/level2-barrier.txt
+++ b/world/map/npc/magic/level2-barrier.txt
@@ -1,4 +1,4 @@
--|script|barrier|32767
+-|script|magic barrier|32767
{
if(call("magic_checks")) end; // << I wish we had functions that could return >>
if (Sp < 15) end;
@@ -14,7 +14,7 @@
if (attachrid(@target_id) != 1) end;
set @target_hat, getequipid(equip_head), @asorm_caster;
if (attachrid(@asorm_caster) != 1) end;
- if (@target_hat == 888) end; // FIXME: this whole 5 line block could be done with only one line if we modify getequipid
+ if (@target_hat == 888) end; // FIXME: this whole 5 line block could be done with only one line if we modify getequipid OR make equip_ into params
set MAGIC_CAST_TICK, gettimetick(2) + 1; // set the new debuff
callfunc "adjust_spellpower";