summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAJK <keresztesaj@gmail.com>2024-01-07 22:26:26 -0500
committerAJK <keresztesaj@gmail.com>2024-01-07 22:26:26 -0500
commit6611d29a02a676ac93aa77d53b280dcd438317af (patch)
tree429053e8372087afa9e5c54a3e387fb8b7d85c45
parent2e60c47e6bb5252810c2e920e168c6160d0fd46d (diff)
downloadserverdata-6611d29a02a676ac93aa77d53b280dcd438317af.tar.gz
serverdata-6611d29a02a676ac93aa77d53b280dcd438317af.tar.bz2
serverdata-6611d29a02a676ac93aa77d53b280dcd438317af.tar.xz
serverdata-6611d29a02a676ac93aa77d53b280dcd438317af.zip
reduce timersupmarmu-try-2
-rw-r--r--world/map/npc/magic/level2-magic-knuckles.txt8
1 files changed, 2 insertions, 6 deletions
diff --git a/world/map/npc/magic/level2-magic-knuckles.txt b/world/map/npc/magic/level2-magic-knuckles.txt
index dc2e61e2..29b0cc93 100644
--- a/world/map/npc/magic/level2-magic-knuckles.txt
+++ b/world/map/npc/magic/level2-magic-knuckles.txt
@@ -81,12 +81,6 @@ OnSetRecast:
overrideattack (@upmarmuspell[2] * @upmarmuspell[2]), 1, ATTACK_ICON_GENERIC, OVERRIDE_KNUCKLES, strnpcinfo(0)+"::OnAttack", @upmarmuspell[1]; // delay needs to be squared
end;
-OnTimer25000:
- if (attachrid(getcharid(3)) < 1) end;
- set @num_upmarmu_hits, 0;
- detachrid;
- goto L_StopTimer;
-
OnInit:
set .school, SKILL_MAGIC_WAR;
set .invocation$, chr(MAGIC_SYMBOL) + "upmarmu"; // used in npcs that refer to this spell
@@ -103,5 +97,7 @@ OnInit:
OnClear:
set @_U_BLOCK, 0;
set @num_upmarmu_hits, 0;
+ stopnpctimer;
+ setnpctimer 0;
end;
}