mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-16 18:40:28 +00:00
fix(Core/Ahune): Chest and Quest (#19106)
* Add files via upload * Update boss_ahune.cpp * Update boss_ahune.cpp * Update boss_ahune.cpp
This commit is contained in:
@@ -158,7 +158,9 @@ enum Points
|
||||
|
||||
enum Misc
|
||||
{
|
||||
MAX_FLAMECALLERS = 3
|
||||
MAX_FLAMECALLERS = 3,
|
||||
QUEST_SUMMON_AHUNE = 11691,
|
||||
ITEM_MAGMA_TOTEM = 34953
|
||||
};
|
||||
|
||||
Position const SummonPositions[] =
|
||||
@@ -307,8 +309,8 @@ struct npc_frozen_core : public ScriptedAI
|
||||
if (Creature* ahune = _instance->GetCreature(DATA_AHUNE))
|
||||
Unit::Kill(me, ahune);
|
||||
|
||||
DoCast(SPELL_SUMMON_LOOT_MISSILE);
|
||||
DoCast(SPELL_MINION_DESPAWNER);
|
||||
DoCastSelf(SPELL_SUMMON_LOOT_MISSILE, true);
|
||||
DoCastSelf(SPELL_MINION_DESPAWNER, true);
|
||||
}
|
||||
|
||||
void DoAction(int32 action) override
|
||||
@@ -662,6 +664,9 @@ struct go_ahune_ice_stone : public GameObjectAI
|
||||
{
|
||||
ClearGossipMenuFor(player);
|
||||
|
||||
player->DestroyItemCount(ITEM_MAGMA_TOTEM, 1, true, false);
|
||||
player->AreaExploredOrEventHappens(QUEST_SUMMON_AHUNE); //auto rewarded
|
||||
|
||||
if (Creature* ahuneBunny = _instance->GetCreature(DATA_AHUNE_BUNNY))
|
||||
ahuneBunny->AI()->DoAction(ACTION_START_EVENT);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user