feat(Core/Spells): Move Spell q1846 bending shinbone to spell scripts (#11106)

This commit is contained in:
IntelligentQuantum
2022-03-27 09:36:23 +04:30
committed by GitHub
parent b18dcb7b80
commit d1ac62ff6e
3 changed files with 33 additions and 11 deletions

View File

@@ -3782,17 +3782,6 @@ void Spell::EffectScriptEffect(SpellEffIndex effIndex)
{
switch (m_spellInfo->Id)
{
// Bending Shinbone
case 8856:
{
if (!itemTarget && m_caster->GetTypeId() != TYPEID_PLAYER)
return;
uint32 spell_id = roll_chance_i(20) ? 8854 : 8855;
m_caster->CastSpell(m_caster, spell_id, true, nullptr);
return;
}
// Brittle Armor - need remove one 24575 Brittle Armor aura
case 24590:
unitTarget->RemoveAuraFromStack(24575);