[7601] Not check reagents for triggered spells, it checked and taken at triggered spell casting moment in original spell. Author: VladimirMangos
--HG-- branch : trunk
This commit is contained in:
+2
-2
@@ -4881,8 +4881,8 @@ SpellCastResult Spell::CheckItems()
|
|||||||
focusObject = ok; // game object found in range
|
focusObject = ok; // game object found in range
|
||||||
}
|
}
|
||||||
|
|
||||||
// check reagents
|
// check reagents (ignore triggered spells with reagents processed by original spell) and special reagent ignore case.
|
||||||
if (!p_caster->CanNoReagentCast(m_spellInfo))
|
if (!m_IsTriggeredSpell && !p_caster->CanNoReagentCast(m_spellInfo))
|
||||||
{
|
{
|
||||||
for(uint32 i=0;i<8;i++)
|
for(uint32 i=0;i<8;i++)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user