mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-24 22:26:22 +00:00
fix(core/dbc): improve ChrRace DBC handling (#14843)
Cherry pick of https://github.com/TrinityCore/TrinityCore/pull/24508 Co-authored-by: HelloKitty <5829095+HelloKitty@users.noreply.github.com>
This commit is contained in:
@@ -5104,17 +5104,13 @@ void AuraEffect::HandleAuraDummy(AuraApplication const* aurApp, uint8 mode, bool
|
||||
target->PlayDistanceSound(11965);
|
||||
break;
|
||||
case 46354: // Blood Elf Illusion
|
||||
// We change this to a if statement since workflow failed due to not having nuetral race as a part of the switch.
|
||||
if (caster)
|
||||
{
|
||||
switch (caster->getGender())
|
||||
{
|
||||
case GENDER_FEMALE:
|
||||
caster->CastSpell(target, 46356, true, nullptr, this);
|
||||
break;
|
||||
case GENDER_MALE:
|
||||
caster->CastSpell(target, 46355, true, nullptr, this);
|
||||
break;
|
||||
}
|
||||
if (caster->getGender() == GENDER_FEMALE)
|
||||
caster->CastSpell(target, 46356, true, nullptr, this);
|
||||
else
|
||||
caster->CastSpell(target, 46355, true, nullptr, this);
|
||||
}
|
||||
break;
|
||||
case 46361: // Reinforced Net
|
||||
|
||||
Reference in New Issue
Block a user