mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-02-03 07:37:11 +01:00
Core/SAI: Implemented Gameobject action allowing to send SMSG_GAMEOBJECT_CUSTOM_ANIM with parameter set in param1
This commit is contained in:
@@ -114,7 +114,7 @@ public:
|
||||
{
|
||||
//THIS GOB IS A TRAP - What shall i do? =(
|
||||
//Cast it spell? Copyed Heigan method
|
||||
pFloorEruption->SendCustomAnim();
|
||||
pFloorEruption->SendCustomAnim(pFloorEruption->GetGoAnimProgress());
|
||||
pFloorEruption->CastSpell(NULL, Difficulty(instance->GetSpawnMode()) == RAID_DIFFICULTY_10MAN_NORMAL ? 17731 : 69294); //pFloorEruption->GetGOInfo()->trap.spellId
|
||||
|
||||
//Get all immediatly nearby floors
|
||||
|
||||
@@ -335,7 +335,7 @@ public:
|
||||
{
|
||||
if (GameObject* pHeiganEruption = instance->GetGameObject(*itr))
|
||||
{
|
||||
pHeiganEruption->SendCustomAnim();
|
||||
pHeiganEruption->SendCustomAnim(pHeiganEruption->GetGoAnimProgress());
|
||||
pHeiganEruption->CastSpell(NULL, SPELL_ERUPTION);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user