summaryrefslogtreecommitdiff
path: root/npc/magic
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2019-03-07 02:02:51 -0300
committerJesusaves <cpntb1@ymail.com>2019-03-07 02:02:51 -0300
commit8b09e3332ad1ff215fc2ba4d9d0343c4cd0d817f (patch)
tree83453255edc17d9766ad7bb3e208307eb9426feb /npc/magic
parent120989d9c52a3b9385248e6d4b9c60328fac29a8 (diff)
downloadserverdata-8b09e3332ad1ff215fc2ba4d9d0343c4cd0d817f.tar.gz
serverdata-8b09e3332ad1ff215fc2ba4d9d0343c4cd0d817f.tar.bz2
serverdata-8b09e3332ad1ff215fc2ba4d9d0343c4cd0d817f.tar.xz
serverdata-8b09e3332ad1ff215fc2ba4d9d0343c4cd0d817f.zip
[skip ci] Start the timer >.>
Diffstat (limited to 'npc/magic')
-rw-r--r--npc/magic/demure.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/npc/magic/demure.txt b/npc/magic/demure.txt
index 79dfa6601..d8d9ff797 100644
--- a/npc/magic/demure.txt
+++ b/npc/magic/demure.txt
@@ -74,7 +74,6 @@ OnCall:
}
// non-melee weapons not allowed
- // TODO: Run this check on a loop in case player is switching weapons
if (getiteminfo(getequipid(EQI_HAND_R), ITEMINFO_RANGE) > 3) {
dispbottom l("Only melee weapons are permitted for use with this skill.");
end;
@@ -98,6 +97,7 @@ OnCall:
// set cooldown
@demure_at=gettimetick(2);
@demure_at=@demure_at+(.@length+.@malus)/1000;
+ addtimer(rand(786,1346), "::OnTMW2DemureCheck");
// Get a few mana experience points (this is NOT used by Mana Stone)
GetManaExp(TMW2_DEMURE, rand(1,getskilllv(TMW2_DEMURE)));