Fix Onyxia 40 whelp summoning conflict with Naxx 40 spell

This commit is contained in:
郑佩茹
2024-05-29 14:04:16 -06:00
parent 1e627059eb
commit 9733b28aa0
3 changed files with 5 additions and 5 deletions

View File

@@ -31,7 +31,7 @@ enum Spells
SPELL_FIREBALL = 18392,
SPELL_BELLOWINGROAR = 18431,
SPELL_SUMMON_WHELP = 90003,
SPELL_SUMMON_WHELP = 91003,
SPELL_SUMMON_LAIR_GUARD = 68968,
SPELL_ERUPTION = 17731,

View File

@@ -59,7 +59,7 @@ public:
case GO_WHELP_SPAWNER:
if (instance->GetDifficulty() == RAID_DIFFICULTY_10MAN_HEROIC)
{
go->CastSpell((Unit*)nullptr, 90003);
go->CastSpell((Unit*)nullptr, 91003);
}
else
{
@@ -278,7 +278,7 @@ public:
spellInfo->Effects[EFFECT_0].DieSides = 225;
spellInfo->Effects[EFFECT_0].BasePoints = 1387;
break;
case 90003:
case 91003:
spellInfo->Targets |= TARGET_FLAG_DEST_LOCATION;
spellInfo->Effects[EFFECT_0].TargetA = SpellImplicitTargetInfo(TARGET_DEST_DEST);
spellInfo->RangeEntry = sSpellRangeStore.LookupEntry(13); // 50000yd