diff options
| author | Shauren <shauren.trinity@gmail.com> | 2017-04-06 23:39:34 +0200 | 
|---|---|---|
| committer | Shauren <shauren.trinity@gmail.com> | 2017-04-06 23:39:34 +0200 | 
| commit | d20dedebd6a322e1204fa911b4a2ddc7e2c3e67a (patch) | |
| tree | 02f823f14e41a8481dc3d46f94bbca4404988e38 /src/server/game/Spells/Spell.cpp | |
| parent | 886e9e839b304b7567dd655e4fa3afb2251c96ca (diff) | |
Core/DataStores: Updated db2 structures to 7.2.0
Diffstat (limited to 'src/server/game/Spells/Spell.cpp')
| -rw-r--r-- | src/server/game/Spells/Spell.cpp | 4 | 
1 files changed, 2 insertions, 2 deletions
diff --git a/src/server/game/Spells/Spell.cpp b/src/server/game/Spells/Spell.cpp index e3e2814974d..ba00da86235 100644 --- a/src/server/game/Spells/Spell.cpp +++ b/src/server/game/Spells/Spell.cpp @@ -3680,7 +3680,7 @@ void Spell::finish(bool ok)          // Unsummon statue          uint32 spell = m_caster->GetUInt32Value(UNIT_CREATED_BY_SPELL);          SpellInfo const* spellInfo = sSpellMgr->GetSpellInfo(spell); -        if (spellInfo && spellInfo->SpellIconID == 2056) +        if (spellInfo && spellInfo->IconFileDataId == 134230)          {              TC_LOG_DEBUG("spells", "Statue %s is unsummoned in spell %d finish", m_caster->GetGUID().ToString().c_str(), m_spellInfo->Id);              m_caster->setDeathState(JUST_DIED); @@ -6275,7 +6275,7 @@ SpellCastResult Spell::CheckItems()          switch (effect->Effect)          {              case SPELL_EFFECT_CREATE_ITEM: -            case SPELL_EFFECT_CREATE_ITEM_2: +            case SPELL_EFFECT_CREATE_LOOT:              {                  if (!IsTriggered() && effect->ItemType)                  {  | 
