Scripts/OnyxiasLair: Fix Onyxia Eruption spell (#24472)

This commit is contained in:
Gildor
2020-04-26 21:24:00 +02:00
committed by GitHub
parent f1e4ee21f8
commit e4476fab6e

View File

@@ -111,7 +111,9 @@ public:
//THIS GOB IS A TRAP - What shall i do? =(
//Cast it spell? Copyed Heigan method
floorEruption->SendCustomAnim(floorEruption->GetGoAnimProgress());
floorEruption->CastSpell(nullptr, Difficulty(instance->GetSpawnMode()) == RAID_DIFFICULTY_10MAN_NORMAL ? 17731 : 69294); //pFloorEruption->GetGOInfo()->trap.spellId
CastSpellExtraArgs args;
args.OriginalCaster = onyxiaGUID;
floorEruption->CastSpell(floorEruption, floorEruption->GetGOInfo()->trap.spellId, args);
//Get all immediatly nearby floors
std::list<GameObject*> nearFloorList;