summaryrefslogtreecommitdiff
path: root/world/map/npc/magic/level1-aggravate.txt
diff options
context:
space:
mode:
authorHoraK-FDF <horak-fdf@web.de>2022-10-24 23:39:58 +0000
committerJesusalva Jesusalva <jesusalva@themanaworld.org>2022-10-24 23:39:58 +0000
commit58e4b21b96d2bc4dae2c7132ec675faef0538bee (patch)
tree4a84a9f5711b6da10ac1e2552863a21f1a40ad0f /world/map/npc/magic/level1-aggravate.txt
parentb2522339a26f153a1214fd57d9b0a7c83fd3c6f2 (diff)
downloadserverdata-58e4b21b96d2bc4dae2c7132ec675faef0538bee.tar.gz
serverdata-58e4b21b96d2bc4dae2c7132ec675faef0538bee.tar.bz2
serverdata-58e4b21b96d2bc4dae2c7132ec675faef0538bee.tar.xz
serverdata-58e4b21b96d2bc4dae2c7132ec675faef0538bee.zip
magic use cooldown symbols. Also, restrict magic on Kimarr.
Diffstat (limited to 'world/map/npc/magic/level1-aggravate.txt')
-rw-r--r--world/map/npc/magic/level1-aggravate.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/world/map/npc/magic/level1-aggravate.txt b/world/map/npc/magic/level1-aggravate.txt
index c550efc3..97ae4151 100644
--- a/world/map/npc/magic/level1-aggravate.txt
+++ b/world/map/npc/magic/level1-aggravate.txt
@@ -5,6 +5,7 @@
if (getskilllv(SKILL_MAGIC) < .level) end;
set @_M_BLOCK, 1; // block casting, until the timer clears it
addtimer 1000, "Magic Timer::OnClear"; // set the new debuff
+ sc_start SC_COOLDOWN, 1000, 0, BL_ID;
set @args$, ""; callfunc "adjust_spellpower"; // we reset @args$ because this spell should not have a target
set @distance, (2 + (@spellpower / 50));
set Sp, Sp - 3;