summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichieru <Michieru@users.noreply.github.com>2014-08-08 15:09:29 +0200
committerMichieru <Michieru@users.noreply.github.com>2014-08-08 15:09:29 +0200
commitd9941f08b517529186dd453fadfa059ac4895eac (patch)
treec21072cbc3b5cfbe0fbda417fdb18f4dc2599c51
parent93891737444f5f92aebdb2302eddf8633d9387cf (diff)
downloadhercules-d9941f08b517529186dd453fadfa059ac4895eac.tar.gz
hercules-d9941f08b517529186dd453fadfa059ac4895eac.tar.bz2
hercules-d9941f08b517529186dd453fadfa059ac4895eac.tar.xz
hercules-d9941f08b517529186dd453fadfa059ac4895eac.zip
- Fix strip chance from Earth Strain and animation speed (bug:8123&8208)
-rw-r--r--src/map/skill.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/map/skill.c b/src/map/skill.c
index de86c461e..4adb11fde 100644
--- a/src/map/skill.c
+++ b/src/map/skill.c
@@ -1134,7 +1134,7 @@ int skill_additional_effect(struct block_list* src, struct block_list *bl, uint1
const int pos[5] = { EQP_WEAPON, EQP_HELM, EQP_SHIELD, EQP_ARMOR, EQP_ACC };
for( i = 0; i < skill_lv; i++ )
- skill->strip_equip(bl,pos[i], 6 * skill_lv + status->get_lv(src) / 4 + status_get_dex(src) / 10,
+ skill->strip_equip(bl,pos[i], (5 + skill_lv) * skill_lv,
skill_lv,skill->get_time2(skill_id,skill_lv));
}
break;
@@ -10455,7 +10455,7 @@ int skill_castend_pos2(struct block_list* src, int x, int y, uint16 skill_id, ui
case 2: sx = x - i; break;
case 6: sx = x + i; break;
}
- skill->addtimerskill(src,timer->gettick() + (50 * i),0,sx,sy,skill_id,skill_lv,dir,flag&2);
+ skill->addtimerskill(src,timer->gettick() + (140 * i),0,sx,sy,skill_id,skill_lv,dir,flag&2);
}
}
break;