I'm trying to calculate Experience per hit/kill here. I'm having a bit of trouble. I'm using something similar to this.
From what I remember this is sort of how it used to work before potency, etc...
But this is not coming out correctly at all. It seems when I hit a mob for 8k, i get 28k exp.
Any tips?
Code:
if (damage >= maxhp) exp = maxhp; else if (damage < maxhp) exp = damage;
But this is not coming out correctly at all. It seems when I hit a mob for 8k, i get 28k exp.
Any tips?