![]() |
Some Algorithm questions. - Printable Version +- Mirage Engine (https://mirage-engine.uk/forums) +-- Forum: Mirage Source (Nostalgia) (https://mirage-engine.uk/forums/forumdisplay.php?fid=61) +--- Forum: Archive (2006-2011) (https://mirage-engine.uk/forums/forumdisplay.php?fid=18) +---- Forum: General (https://mirage-engine.uk/forums/forumdisplay.php?fid=17) +---- Thread: Some Algorithm questions. (/showthread.php?tid=1636) |
Re: Some Algorithm questions. - Jacob - 24-03-2008 http://www.wowwiki.com/Armor Quote:Mob Levels 1 - 59 DR% = Armor / (Armor + 400 + 85 * MobLevel) That's how WoW does it. Re: Some Algorithm questions. - Dragoons Master - 05-04-2008 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. Re: Some Algorithm questions. - Dragoons Master - 05-04-2008 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 ![]() |