So I've created a race for some hardcore player on my server (who have maxed every single other one of our 100+ races) that has 1200+ levels. The problem with such a race is that the bonus xp multiplier means that as they start to get higher levels on this race, players are basically going to be able to max a race in one kill!
I've set a cap on the maximum amount of XP that any kill can give, but would ideally like to modify that so that this race specifically has a low cap.
I know how to do it by modifying the engine to check for this particular race, but am wondering if anyone knows of any other method I could use?
Even as i type this - I noticed:
OnPreGiveXPGold, //client, arg1,2,3=W3XPAwardedBy , xp, gold
Is there any way I could use that to modify how much XP is awarded? Unfortunately it doesn't seem to me that there's any way of checking WHO the player killed to get the XP with this event :S
Anyone have ideas?




Logged


DarkEnergy