summaryrefslogtreecommitdiff
path: root/world/map/npc/magic/event-summon-manatyrant.txt
diff options
context:
space:
mode:
Diffstat (limited to 'world/map/npc/magic/event-summon-manatyrant.txt')
-rw-r--r--world/map/npc/magic/event-summon-manatyrant.txt2
1 files changed, 2 insertions, 0 deletions
diff --git a/world/map/npc/magic/event-summon-manatyrant.txt b/world/map/npc/magic/event-summon-manatyrant.txt
index bb36d415..bf2634c5 100644
--- a/world/map/npc/magic/event-summon-manatyrant.txt
+++ b/world/map/npc/magic/event-summon-manatyrant.txt
@@ -21,6 +21,8 @@ L_Pay:
sc_start SC_COOLDOWN, 15000, 0, BL_ID;
callfunc "adjust_spellpower";
set Sp, Sp - 100;
+ set CASTS, CASTS + 1;
+ if (CASTS < 0) set CASTS, 1; // overflow
misceffect FX_MAGIC_MAGGOT_CAST, strcharinfo(0);
callfunc "magic_exp";
set .@puppet$, "#"+strnpcinfo(0)+"#"+BL_ID;