Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Release| Hit Simulator with Defense Calculation
#25
Dusk Wrote:Oh, ok. I did a little cleaning up of the calculations and this is formula in pseudocode.

att and def are capped at 1999

mob damage = random(0.8 ~ 0.85) * att^2/100

if job is warrior: modifier = str/7 + dex/4 + int/9 + luk/4
else: modifier = 2*str/5 + dex/7 + int/9 + luk/4

num = 0.28 + modifier/800
if defense>=PDD value: reduction = 0.7*(level/1300 + 8/9*num)*(def-PDD) + (num*def)
else:
-if level < 15: reduction = 1.3*(level/550 + num)*(def-PDD) + (num*def)
-else: (13/(level-2))*(level/550 + num)*(def-PDD) + (num*def)

damage taken = mob damage - reduction

I keep editing this because it's pineappleing confusing with all the variables the same thing D:

Okay I think it's right now.

Oh, and the most relevant StandardPDD values (for people over level 100) are:
494 for warriors
266 for mages
298 for archers
331 for thieves
309 for pirates
if anyone is interested using the formula.

So, what would the PDD values be for other levels, if these are for 100+? And does Aran fit into the "Warriors"?
Reply


Messages In This Thread
Release| Hit Simulator with Defense Calculation - by WayOfTime - 2009-07-20, 07:25 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)