diff options
author | malufett <malufett.eat.my.binaries@gmail.com> | 2014-01-03 13:59:09 +0800 |
---|---|---|
committer | malufett <malufett.eat.my.binaries@gmail.com> | 2014-01-03 13:59:09 +0800 |
commit | 594f64b62878e70c77de85008f1f96ca1a4fb5be (patch) | |
tree | 8cc701d595e2c2fb38cbc3c083501c3ff9425484 /src/map/battle.c | |
parent | 3bda07c3983ad715009717695702ff8e799e54d7 (diff) | |
download | hercules-594f64b62878e70c77de85008f1f96ca1a4fb5be.tar.gz hercules-594f64b62878e70c77de85008f1f96ca1a4fb5be.tar.bz2 hercules-594f64b62878e70c77de85008f1f96ca1a4fb5be.tar.xz hercules-594f64b62878e70c77de85008f1f96ca1a4fb5be.zip |
Fixed Bug#7709
-http://hercules.ws/board/tracker/issue-7709-overbrand/?gopid=20445#entry20445
Signed-off-by: malufett <malufett.eat.my.binaries@gmail.com>
Diffstat (limited to 'src/map/battle.c')
-rw-r--r-- | src/map/battle.c | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/src/map/battle.c b/src/map/battle.c index 915825572..1759bea05 100644 --- a/src/map/battle.c +++ b/src/map/battle.c @@ -2234,7 +2234,7 @@ int battle_calc_skillratio(int attack_type, struct block_list *src, struct block case SC_FEINTBOMB: skillratio += 100 + 100 * skill_lv; break; - case LG_CANNONSPEAR:// Stimated formula. Still need confirm it. + case LG_CANNONSPEAR: skillratio += -100 + (50 + status_get_str(src)) * skill_lv; RE_LVL_DMOD(100); break; @@ -2271,15 +2271,15 @@ int battle_calc_skillratio(int attack_type, struct block_list *src, struct block RE_LVL_DMOD(100); break; case LG_OVERBRAND: - skillratio += -100 + 400 * skill_lv + (pc->checkskill(sd,CR_SPEARQUICKEN) * 30); - RE_LVL_DMOD(100); + skillratio += -100 + 50 * (((sd) ? pc->checkskill(sd,CR_SPEARQUICKEN) : 1) + 8 * skill_lv); + RE_LVL_DMOD(150); break; case LG_OVERBRAND_BRANDISH: - skillratio += -100 + 300 * skill_lv + (2 * (status_get_str(src) + status_get_dex(src)) / 3); - RE_LVL_DMOD(100); + skillratio += -100 + 300 * skill_lv + status_get_str(src) + status_get_dex(src); + RE_LVL_DMOD(150); break; case LG_OVERBRAND_PLUSATK: - skillratio += -100 + 150 * skill_lv; + skillratio += -100 + 100 * skill_lv; RE_LVL_DMOD(100); break; case LG_RAYOFGENESIS: @@ -4330,6 +4330,9 @@ struct Damage battle_calc_weapon_attack(struct block_list *src,struct block_list case GC_VENOMPRESSURE: hitrate += 10 + 4 * skill_lv; break; + case LG_BANISHINGPOINT: + hitrate += 3 * skill_lv; + break; } if( sd ) { |