ReunionDev / reunion

http://reunionemu.org
Other
16 stars 15 forks source link

Player defense calculation is wrong #5

Open Phantomal opened 11 years ago

Phantomal commented 11 years ago

On the original servers, mobs doing more damage, because players have less defense. On Reunion Servers, plyers can get immune against mob attacks.

bigsam commented 11 years ago

Reunion server player defence formula used is: (player_total_defence / 2) - mob_damage. The player defence formula of the official server is unknown.

Phantomal commented 11 years ago

I assume we need some kind of damage reduction cap or something. Not 100% sure. Fact is, that players can get invincible, which they can't on a official server.

First which confuses me is, why we substract the damage from the defense and not vice versa.

Second ist, that i dont understand the "/2"

Logically i would assume: damage done = mob damage - total defense

And that formula is capped that mobs do at least x% of their damage. (Where x is 5% or 10% or so)

What could kill this logic is, when mob damage values are significant lower as the possible total defense for the given mob level. But then the Question should be: Do we need to change the Formula, do we need to tweak the damage values of the Mobs, or do we need to tweak the max defense calculation?