mirror of
https://github.com/mangosfour/server.git
synced 2025-12-15 19:37:02 +00:00
[7601] Not check reagents for triggered spells, it checked and taken at triggered spell casting moment in original spell.
This commit is contained in:
parent
be374379de
commit
284b3a4865
2 changed files with 3 additions and 3 deletions
|
|
@ -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++)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
#ifndef __REVISION_NR_H__
|
||||
#define __REVISION_NR_H__
|
||||
#define REVISION_NR "7600"
|
||||
#define REVISION_NR "7601"
|
||||
#endif // __REVISION_NR_H__
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue