From 3d0dc473f11f04762050a6ea812f15534a8e981f Mon Sep 17 00:00:00 2001 From: megamage Date: Thu, 2 Apr 2009 16:50:37 -0600 Subject: [7601] Not check reagents for triggered spells, it checked and taken at triggered spell casting moment in original spell. Author: VladimirMangos --HG-- branch : trunk --- src/game/Spell.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/game/Spell.cpp b/src/game/Spell.cpp index cb9ed28033c..0936e8d41af 100644 --- a/src/game/Spell.cpp +++ b/src/game/Spell.cpp @@ -4881,8 +4881,8 @@ SpellCastResult Spell::CheckItems() focusObject = ok; // game object found in range } - // check reagents - if (!p_caster->CanNoReagentCast(m_spellInfo)) + // check reagents (ignore triggered spells with reagents processed by original spell) and special reagent ignore case. + if (!m_IsTriggeredSpell && !p_caster->CanNoReagentCast(m_spellInfo)) { for(uint32 i=0;i<8;i++) { -- cgit v1.2.3