Issue information

Issue ID
#1590
Status
Fixed
Severity
None
Started
Hercules Elf Bot
May 29, 2008 18:27
Last Post
Hercules Elf Bot
Mar 5, 2012 16:34
Confirmation
N/A

Hercules Elf Bot - May 29, 2008 18:27

Originally posted by [b]Randomname[/b]
http://www.eathena.ws/board/index.php?autocom=bugtracker&showbug=1590

I couldn't find the bug using the search button, I could have swear this one was bumped reguraly in the past, and somehow it still didn't got fixed

eAthena still uses values used in this calculator: http://forums.roempire.com/showthread.php?...age+calculation

if you use doddler calc, or test it on iro, or use any recent calculator you will notice the values have been heavily modified

atm eathena source has this formala for grand cross

(atk+matk)*((100+40*10)/100)*(Ele Modi)*(100-Mdef)/100)
it needs to be this:

[((((Weapon Atk * Size Modi)+Str+Upgrade Bonus+(Str/10)²+(Dex/5)+(Luk/5)+Atk Cards + Impositio Manus)*1-Armor Def)-Vitdef)+Upgrade Damage)+((Matk*1-Mdef)-IntMdef)]*Ele Modi)*((100 + 40*skill_lv)/100))*Ele Modi

so on a Raydric with

40+42 Def
15+26 Mdef
Size: Large Element: Dark 2 (1,5 damage from holy attacks)

it gives this:

eathena:

(atk+matk)*((100+40*10)/100)*(150/100)*(100-15)/100)

where atk is just the atk displayed on the status window (haven't calced it)

Aegis:

[((((Weapon Atk * Size Modi)+Str+Upgrade Bonus+(Str/10)²+(Dex/5)+(Luk/5)+Atk Cards + Impositio Manus)*1-(40/100))-42)+Upgrade Damage)+((Matk*1- (15/100) )- 26)]*150/100)*((100 + 40*skill_lv)/100))*150/100
I tried to modify it, but since the source code of GC was to basic, I don't know where to look for all parameters to build the correct formula, if somone knows where to look please help, GC has been bugged for too long and i hope this little research helps


the calculation iRo uses is a quote from Amano Ginji