Core/Spells: Removed extra health from feed pet
Port From (https://github.com/TrinityCore/TrinityCore/commit/60df74933f0bf75865ba963b33c2c1bdd9cdefbd)
This commit is contained in:
@@ -4996,7 +4996,7 @@ namespace Game.Spells
|
||||
if (!pet.HaveInDiet(foodItem.GetTemplate()))
|
||||
return SpellCastResult.WrongPetFood;
|
||||
|
||||
if (pet.GetCurrentFoodBenefitLevel(foodItem.GetTemplate().GetBaseItemLevel()) == 0)
|
||||
if (foodItem.GetTemplate().GetBaseItemLevel() + 30 <= pet.GetLevel())
|
||||
return SpellCastResult.FoodLowlevel;
|
||||
|
||||
if (m_caster.IsInCombat() || pet.IsInCombat())
|
||||
|
||||
Reference in New Issue
Block a user