summaryrefslogtreecommitdiff
path: root/world/map/npc/magic/level1-lesser-heal.txt
diff options
context:
space:
mode:
authormekolat <mekolat@users.noreply.github.com>2016-05-01 21:30:53 -0400
committermekolat <mekolat@users.noreply.github.com>2016-05-01 21:30:53 -0400
commitfe5f310ac6d79e3a3a455f3d87e161d78b10d307 (patch)
tree9cdf93ceb3ac623d44754aa95715d7b26137ee2c /world/map/npc/magic/level1-lesser-heal.txt
parentbcdcf68588639e81b3243342c6fc39946e97de7e (diff)
downloadserverdata-fe5f310ac6d79e3a3a455f3d87e161d78b10d307.tar.gz
serverdata-fe5f310ac6d79e3a3a455f3d87e161d78b10d307.tar.bz2
serverdata-fe5f310ac6d79e3a3a455f3d87e161d78b10d307.tar.xz
serverdata-fe5f310ac6d79e3a3a455f3d87e161d78b10d307.zip
remove attachrid from lum spell
Diffstat (limited to 'world/map/npc/magic/level1-lesser-heal.txt')
-rw-r--r--world/map/npc/magic/level1-lesser-heal.txt8
1 files changed, 6 insertions, 2 deletions
diff --git a/world/map/npc/magic/level1-lesser-heal.txt b/world/map/npc/magic/level1-lesser-heal.txt
index d03031d6..d195956f 100644
--- a/world/map/npc/magic/level1-lesser-heal.txt
+++ b/world/map/npc/magic/level1-lesser-heal.txt
@@ -33,8 +33,12 @@ L_NotMe:
L_Continue:
if (getskilllv(SKILL_MAGIC_DARK) >= 1) sc_start SC_HALT_REGENERATE, 2000, 0;
- if (attachrid(@target_id) != 1) end; // XXX: to avoid the ugly attachrid method we would need some kind of `run_as` builtin
- if (!(isdead())) heal 200, 0, 1;
+ if (get(Hp, @target_id) < 1) end;
+ addtimer 0, strnpcinfo(0) + "::OnSlowHeal", @target_id;
+ end;
+
+OnSlowHeal:
+ heal 200, 0, 1;
end;
L_Mouboo: