mirror of
https://github.com/mangosfour/server.git
synced 2025-12-20 16:37:04 +00:00
[11444] Replace some poo with good shit, improvements related to [11443]
Thanks Zergtmn! Signed-off-by: NoFantasy <nofantasy@nf.no>
This commit is contained in:
parent
4c3b61d4f5
commit
b62c7f17f0
3 changed files with 3 additions and 3 deletions
|
|
@ -5545,7 +5545,7 @@ SpellCastResult Spell::CheckCast(bool strict)
|
|||
return SPELL_FAILED_BAD_TARGETS;
|
||||
|
||||
// It is assumed that target can not be cloned if already cloned by same or other clone auras
|
||||
if (!pTarget->GetAurasByType(SPELL_AURA_MIRROR_IMAGE).empty())
|
||||
if (pTarget->HasAuraType(SPELL_AURA_MIRROR_IMAGE))
|
||||
return SPELL_FAILED_BAD_TARGETS;
|
||||
|
||||
break;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue