[7601] Not check reagents for triggered spells, it checked and taken at triggered spell casting moment in original spell.

This commit is contained in:
VladimirMangos 2009-04-02 05:05:51 +04:00
parent be374379de
commit 284b3a4865
2 changed files with 3 additions and 3 deletions

View file

@ -4992,8 +4992,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++)
{

View file

@ -1,4 +1,4 @@
#ifndef __REVISION_NR_H__
#define __REVISION_NR_H__
#define REVISION_NR "7600"
#define REVISION_NR "7601"
#endif // __REVISION_NR_H__