- ServUO Version
- Publish 57
- Ultima Expansion
- Endless Journey
So wondering if anyone else using the Level System 3 is seeing double experience when they or their pet kills a mob. I am trying to narrow down where it is occurring but I can't seem to figure it out. Any help would be greatly appreciated because it's rather annoying and you level up twice as fast. Let me know if you need to see any files I have included BaseCreature to start with but I don't see anywhere in there where it would dupe the exp, and the Level System only shows it once as well..
C#:
else
{
if (exppower != null)
{
pm.SendMessage("You gained " + (give + c.ExpPowerAmount) + " boosted exp for the kill!");
xmlplayer.kxp += (int)give + c.ExpPowerAmount;
}
else
{
pm.SendMessage("You gained " + give + " exp for the kill!");
xmlplayer.kxp += (int)give;
}
if (pm.HasGump(typeof(ExpBar)))
{
pm.CloseGump(typeof(ExpBar));
pm.SendGump(new ExpBar(pm));
}
if (xmlplayer.Expp >= xmlplayer.ToLevell && xmlplayer.Levell < xmlplayer.MaxLevel)
DoLevel(pm, new Configured());
}