From 3eba06e4ad7c9b92babd3df14d0602212e60b7cc Mon Sep 17 00:00:00 2001 From: megamage Date: Mon, 16 Mar 2009 12:00:14 -0600 Subject: *Use SpellCastResult and finaly fix SPELL_CAST_OK value (255 custom value now). By VladimirMangos. --HG-- branch : trunk --- src/game/SpellEffects.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/game/SpellEffects.cpp') diff --git a/src/game/SpellEffects.cpp b/src/game/SpellEffects.cpp index 5cfb00588c5..309cf6e5816 100644 --- a/src/game/SpellEffects.cpp +++ b/src/game/SpellEffects.cpp @@ -3104,7 +3104,7 @@ void Spell::EffectOpenLock(uint32 effIndex) if( goInfo->type == GAMEOBJECT_TYPE_BUTTON && goInfo->button.noDamageImmune || goInfo->type == GAMEOBJECT_TYPE_GOOBER && goInfo->goober.losOK ) { - //CanUseBattleGroundObject() already called in CanCast() + //CanUseBattleGroundObject() already called in CheckCast() // in battleground check if(BattleGround *bg = player->GetBattleGround()) { @@ -3116,7 +3116,7 @@ void Spell::EffectOpenLock(uint32 effIndex) } else if (goInfo->type == GAMEOBJECT_TYPE_FLAGSTAND) { - //CanUseBattleGroundObject() already called in CanCast() + //CanUseBattleGroundObject() already called in CheckCast() // in battleground check if(BattleGround *bg = player->GetBattleGround()) { @@ -3156,7 +3156,7 @@ void Spell::EffectOpenLock(uint32 effIndex) SendLoot(guid, LOOT_SKINNING); - // not allow use skill grou at item base open + // not allow use skill grow at item base open if(!m_CastItem && skillId != SKILL_NONE) { // update skill if really known -- cgit v1.2.3