Issue information

Issue ID
#7652
Status
Fixed
Severity
None
Started
ramzelle100
Aug 15, 2013 9:44
Last Post
p!\/aT3
Aug 23, 2013 7:12
Confirmation
N/A

ramzelle100 - Aug 15, 2013 9:44

Champion: level 255, all stats 255.
Weapon: Glorious Fist[2] w/ two hydra.

Oponent, Wearing High Risk Coat only.

Damage will be 1 or it will miss. but when wearing GR + Deviling = dmg is 200k+.

serverkid - Aug 15, 2013 11:55

fixed this by using this formula for battle_calc_cardfix in case BF_WEAPON
[code=auto:0]damage = damage * ((float)cardfix / 1000);[/code]

the default code below oveflows and return a negative damage[code=auto:0]damage = damage * cardfix / 1000;[/code]

p!\/aT3 - Aug 20, 2013 2:14

@ind update sir?

kyeme - Aug 20, 2013 2:16

Dupe of [url="http://herc.ws/board/tracker/issue-7652-asura-strike-overdamage/?view=getnewpost"]http://herc.ws/board/tracker/issue-7652-asura-strike-overdamage/?view=getnewpost[/url]

Ind - Aug 22, 2013 19:59

Thank you all
[url="https://github.com/HerculesWS/Hercules/commit/7f9f6e1b84061a7d393debf37395c8b4a2667db1"]https://github.com/HerculesWS/Hercules/commit/7f9f6e1b84061a7d393debf37395c8b4a2667db1[/url]

p!\/aT3 - Aug 23, 2013 7:12

thnx ind.