summaryrefslogtreecommitdiff
path: root/src/map/skill.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/map/skill.c')
-rw-r--r--src/map/skill.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/map/skill.c b/src/map/skill.c
index 2305df1a7..d675c12df 100644
--- a/src/map/skill.c
+++ b/src/map/skill.c
@@ -788,6 +788,11 @@ int skill_additional_effect (struct block_list* src, struct block_list *bl, int
if(tsc->sg_counter >= 3 &&
sc_start(bl,SC_FREEZE,300,skilllv,skill_get_time2(skillid,skilllv)))
tsc->sg_counter = 0;
+ /**
+ * being it only resets on success it'd keep stacking and eventually overflowing on mvps, so we reset at a high value
+ **/
+ else if( tsc->sg_counter > 250 )
+ tsc->sg_counter = 0;
break;
case WZ_METEOR: