Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Some Algorithm questions.
#1
http://www.wowwiki.com/Armor

Quote:Mob Levels 1 - 59 DR% = Armor / (Armor + 400 + 85 * MobLevel)

Mob Levels 60+ DR% = Armor / (Armor + 400 + 85 * (MobLevel + 4.5 * (MobLevel - 59))) Simplified, the formula becomes: DR% = Armor / (Armor - 22167.5 + 467.5 * MobLevel)

That's how WoW does it.
Reply
#2
I use this for player max hp:
GetPlayerMaxHP = (Int((3000 * Log(GetPlayerDEF(Index) + 2000) - 22791) * Log(GetPlayerLevel(Index) * 10)) * ((Player(Index).Char(Player(Index).CharNum).BuffHP + 100) / 100))
It's a nice almost plain curve xD Took me a while to get it how I wanted, hehe.
Reply
#3
I use the same curve just changing the multipliers a little to get the damage and things like that.
For example, the damage is like this:
GetPlayerDamage = Int(3000 * Log(GetPlayerSTR(Index) + 2000) + 1000 * (Log(GetPlayerDEX(Index) + 2000))) - 30403

So I consider Strength 3 times more than Dexterity Wink
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)