mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-20 09:17:36 +01:00
Fix quest 12861.
Objective is to cast spell on creature, not kill --HG-- branch : trunk
This commit is contained in:
@@ -69,7 +69,7 @@ struct TRINITY_DLL_DECL npc_drakuru_shacklesAI : public ScriptedAI
|
||||
else
|
||||
{
|
||||
DoCast(Rageclaw, SPELL_FREE_RAGECLAW, true);
|
||||
CAST_PLR(who)->KilledMonsterCredit(NPC_RAGECLAW, Rageclaw->GetGUID());
|
||||
CAST_PLR(who)->CastSpell(Rageclaw, SPELL_UNLOCK_SHACKLE, true);
|
||||
m_creature->setDeathState(DEAD);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user