summaryrefslogtreecommitdiff
path: root/world/map/npc/magic/level1-summon-maggots.txt
diff options
context:
space:
mode:
Diffstat (limited to 'world/map/npc/magic/level1-summon-maggots.txt')
-rw-r--r--world/map/npc/magic/level1-summon-maggots.txt8
1 files changed, 5 insertions, 3 deletions
diff --git a/world/map/npc/magic/level1-summon-maggots.txt b/world/map/npc/magic/level1-summon-maggots.txt
index 7924608b..85d32325 100644
--- a/world/map/npc/magic/level1-summon-maggots.txt
+++ b/world/map/npc/magic/level1-summon-maggots.txt
@@ -16,6 +16,7 @@ L_Pay:
delitem "Root", 1;
set @_M_BLOCK, 1; // block casting, until the timer clears it
addtimer 20000, "Magic Timer::OnClear"; // set the new debuff
+ sc_start SC_COOLDOWN, 20000, 0, BL_ID;
callfunc "adjust_spellpower";
set Sp, Sp - 21;
misceffect FX_MAGIC_MAGGOT_CAST, strcharinfo(0);
@@ -46,15 +47,16 @@ OnDestroy:
destroy;
S_SummonAll:
- summon .@map$, rand(.@x-2,.@x+2), rand(.@y-2,.@y+2), .master, 1002, 2, .lifetime;
+ summon .@map$, rand(.@x-2,.@x+2), rand(.@y-2,.@y+2), .master, "Maggot Summon", Maggot, 2, .lifetime;
set .@i, .@i + 1;
if (.@i < .count) goto S_SummonAll;
destroy;
L_SpecialRules6:
if ($@KIMARR_EVENT < 1) goto L_Pay;
- if ($@Fluffy_FighterID == BL_ID) goto L_Pay;
- message strcharinfo(0), "You can't summon here unless hunting fluffies.";
+ //if ($@Fluffy_FighterID == BL_ID) goto L_Pay;
+ //message strcharinfo(0), "You can't summon here unless hunting fluffies.";
+ message strcharinfo(0), "You can't use this spell here.";
end;
OnInit: