From f9a4104b0606d67c44c596f3cc4996b5988def09 Mon Sep 17 00:00:00 2001 From: Shauren Date: Mon, 24 Apr 2023 18:12:43 +0200 Subject: Scripts/Spells: Use scaled level for taming requirements --- src/server/scripts/Spells/spell_hunter.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/server/scripts/Spells/spell_hunter.cpp b/src/server/scripts/Spells/spell_hunter.cpp index 6ad9ac9e865..2da3be2e4b0 100644 --- a/src/server/scripts/Spells/spell_hunter.cpp +++ b/src/server/scripts/Spells/spell_hunter.cpp @@ -544,7 +544,7 @@ class spell_hun_tame_beast : public SpellScript if (Creature* target = GetExplTargetUnit()->ToCreature()) { - if (target->GetLevel() > caster->GetLevel()) + if (target->GetLevelForTarget(caster) > caster->GetLevel()) return SPELL_FAILED_HIGHLEVEL; // use SMSG_PET_TAME_FAILURE? -- cgit v1.2.3