Fixes taming hunter pets

This commit is contained in:
hondacrx
2023-03-14 04:36:20 -04:00
parent 888ee3f95f
commit 12897e80e8
+1 -1
View File
@@ -450,7 +450,7 @@ namespace Scripts.Spells.Hunter
Creature target = GetExplTargetUnit().ToCreature();
if (target)
{
if (target.GetLevel() > caster.GetLevel())
if (target.GetLevelForTarget(caster) > caster.GetLevel())
return SpellCastResult.Highlevel;
// use SMSG_PET_TAME_FAILURE?