diff options
author | megamage <none@none> | 2009-04-02 16:33:35 -0600 |
---|---|---|
committer | megamage <none@none> | 2009-04-02 16:33:35 -0600 |
commit | 4ca04684f2fc8fa2fdef4b3b8e4a29eb0d09a54b (patch) | |
tree | 9950b6f91e72c0826326c0d24bf6ffa19882712e /src/game/SpellEffects.cpp | |
parent | 2ea4fab57f7851f05fa3b43c5bf84ffb748ad852 (diff) |
[7593] Map::EnsureGridLoaded related cleanups and fixes: Author: VladimirMangos
* Make generic EnsureGridLoaded function and move specialized code to LoadGrid and EnsureGridLoadedAtEnter
* Rename args to gx/gy for low-level grid numbering values.
* Remove redundent LoadMpa call after always case loading maps in EnsureGridCreated
--HG--
branch : trunk
Diffstat (limited to 'src/game/SpellEffects.cpp')
-rw-r--r-- | src/game/SpellEffects.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/game/SpellEffects.cpp b/src/game/SpellEffects.cpp index 73b02ba3728..ac408381a83 100644 --- a/src/game/SpellEffects.cpp +++ b/src/game/SpellEffects.cpp @@ -1865,13 +1865,11 @@ void Spell::EffectDummy(uint32 i) if(unitTarget->GetCreatureType() != CREATURE_TYPE_UNDEAD) return; - // first rank have special multiplier int32 bp = damage * 1.5f; m_caster->CastCustomSpell(unitTarget,47633,&bp,NULL,NULL,true); } else { - // first rank have special multiplier int32 bp = damage; m_caster->CastCustomSpell(unitTarget,47632,&bp,NULL,NULL,true); } |