diff options
author | HoraK-FDF <horak-fdf@web.de> | 2023-08-28 23:47:21 +0000 |
---|---|---|
committer | Led Mitz <smoothshifter@tuta.io> | 2023-08-28 23:47:21 +0000 |
commit | b10524face925526ebc59c07b1697a5eb038d332 (patch) | |
tree | 7e9042063c620f5b6e9c4bae98236a8cb07e6ebd /world/map/npc/magic/level2-lay-on-hands.txt | |
parent | 00177e5144edc700489a510c57b2dea87bd6856d (diff) | |
download | serverdata-b10524face925526ebc59c07b1697a5eb038d332.tar.gz serverdata-b10524face925526ebc59c07b1697a5eb038d332.tar.bz2 serverdata-b10524face925526ebc59c07b1697a5eb038d332.tar.xz serverdata-b10524face925526ebc59c07b1697a5eb038d332.zip |
asorm betsanc plugh fix
Diffstat (limited to 'world/map/npc/magic/level2-lay-on-hands.txt')
-rw-r--r-- | world/map/npc/magic/level2-lay-on-hands.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/world/map/npc/magic/level2-lay-on-hands.txt b/world/map/npc/magic/level2-lay-on-hands.txt index ee75a0d0..744d145e 100644 --- a/world/map/npc/magic/level2-lay-on-hands.txt +++ b/world/map/npc/magic/level2-lay-on-hands.txt @@ -9,6 +9,7 @@ if (@target_id < 1 || !(isloggedin(@target_id)) || get(INVISIBLE, @target_id) || BL_ID == @target_id) end; if (get(GM, @target_id) == 1) end; if (Hp <= get(MaxHp, @target_id) / 20) end; // hp needs to be > 1/20 * target hp + callfunc "adjust_spellpower"; if (distance(BL_ID, @target_id) >= (((sqrt(@spellpower)*12)+@spellpower)/100)+2) end; if (sc_check(SC_HALT_REGENERATE,@target_id)) end; if (getequipid(equip_head, @args$) == 888) end; // magic gm top hat @@ -22,7 +23,6 @@ L_Pay: set @_M_BLOCK, 1; // block casting, until the timer clears it addtimer 500, "Magic Timer::OnClear"; // XXX should this be 0 ? sc_start SC_COOLDOWN, 500, 0, BL_ID; - callfunc "adjust_spellpower"; set Sp, Sp - 10; misceffect FX_MAGIC_LAY_CAST, strcharinfo(0); // on caster misceffect FX_MAGIC_LAY_HIT, @args$; // on target |