Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Release| Hit Simulator with Defense Calculation
#23
Tukkun Wrote:Job: Beginner
STR: 403
DEX: 39
INT: 26
LUK: 26
Lv. 77
DEF. 366 (Pain Reliever included)

Monster: Hodori
Lv. 50
ATK: 170
Deal: 1~1 damage (not 1~14)

Monster: Croco
Lv. 52
ATK: 172
Deal: 1~1 damage (not 5~20)

Monster: Wild Kargo
Lv. 62
ATK: 210
Deal: I don't remember the exact, but I remember it dealing like 25~60 or something while I hunt Bob for snail cards. (DEFINITELY not 121~143)

Will take some real screenshot when I can

OH WOW, that was such a stupid mistake by me. The actual calculation was
edi = edi * (def - StandardPDD) * 0.7 + ((int)arg5 * 0.00125 + 0.28) * def;
but i wrote
edi *= (def - StandardPDD) * 0.7 + ((int)arg5 * 0.00125 + 0.28) * def;
so edi was multiplied in all of the expression, instead of just in (def - StandardPDD)
I'll recompile and update the first post. Thanks for pointing this out Biggrin
Reply


Messages In This Thread
Release| Hit Simulator with Defense Calculation - by Kortestanov - 2009-07-19, 05:27 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)