diff options
author | megamage <none@none> | 2008-11-06 10:27:58 -0600 |
---|---|---|
committer | megamage <none@none> | 2008-11-06 10:27:58 -0600 |
commit | 43910434c5eb2240dc4b4585ccbb5f95fa399d53 (patch) | |
tree | 3dd9f0bc0c9bdc5d6d3ab84585d9c2dea50cd2ef /src/game/SpellEffects.cpp | |
parent | 5746d0e98d8a5c4af96102835d501c47ed370def (diff) |
[svn] Rewrite canSeeOrDetect function.
Minor change on trigger creatures.
Remove some unused hacks in scripts.
--HG--
branch : trunk
Diffstat (limited to 'src/game/SpellEffects.cpp')
-rw-r--r-- | src/game/SpellEffects.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/game/SpellEffects.cpp b/src/game/SpellEffects.cpp index e8060d282e6..eeafd0d024e 100644 --- a/src/game/SpellEffects.cpp +++ b/src/game/SpellEffects.cpp @@ -3576,6 +3576,13 @@ void Spell::EffectSummonGuardian(uint32 i) return; } + // trigger + if(m_spellInfo->Id == 40276) + { + EffectSummonWild(i); + return; + } + // set timer for unsummon int32 duration = GetSpellDuration(m_spellInfo); |