Fixed DK runes and runic power

This commit is contained in:
hondacrx
2017-11-13 14:12:42 -05:00
parent a5f7add4d6
commit 02535a0d47
9 changed files with 80 additions and 130 deletions
-10
View File
@@ -251,16 +251,6 @@ namespace Game.Entities
m_CombatTimer = 0;
RemoveFlag(UnitFields.Flags, UnitFlags.InCombat);
// Reset rune flags after combat
if (IsTypeId(TypeId.Player) && GetClass() == Class.Deathknight)
{
for (byte i = 0; i < PlayerConst.MaxRunes; ++i)
{
ToPlayer().SetRuneTimer(i, 0xFFFFFFFF);
ToPlayer().SetLastRuneGraceTimer(i, 0);
}
}
// Player's state will be cleared in Player.UpdateContestedPvP
Creature creature = ToCreature();
if (creature != null)