aboutsummaryrefslogtreecommitdiff
path: root/src/game/Spell.cpp
diff options
context:
space:
mode:
authormegamage <none@none>2008-11-15 15:09:22 -0600
committermegamage <none@none>2008-11-15 15:09:22 -0600
commit7d3997f7d62565ad326b2913c179f3bae7a84fc7 (patch)
treee55b448096411f64f9e523a9165f5a3b6e26b5f0 /src/game/Spell.cpp
parent61d9723c5bfae4c528a4d0963ec1cc90f78ca71d (diff)
[svn] *Update Kalecgos script.
*Correctly select aura triggered spell target. *Fix some scripts, should be pGOHello = & *Fix a bug that some channel spells cannot be interrupted. *Fix a bug that not-selectable creature cannot be hit by target_entry spells. *If eventAI cannot find heroic flag and normal flag, enable event as default rather than disable it. --HG-- branch : trunk
Diffstat (limited to 'src/game/Spell.cpp')
-rw-r--r--src/game/Spell.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/game/Spell.cpp b/src/game/Spell.cpp
index f2b23484e78..64e9ba04bcc 100644
--- a/src/game/Spell.cpp
+++ b/src/game/Spell.cpp
@@ -4928,10 +4928,10 @@ bool Spell::CheckTarget( Unit* target, uint32 eff, bool hitPhase )
// unselectable targets skipped in all cases except TARGET_SCRIPT targeting
// in case TARGET_SCRIPT target selected by server always and can't be cheated
- if( target->HasFlag(UNIT_FIELD_FLAGS, UNIT_FLAG_NOT_SELECTABLE) &&
+ /*if( target->HasFlag(UNIT_FIELD_FLAGS, UNIT_FLAG_NOT_SELECTABLE) &&
m_spellInfo->EffectImplicitTargetA[eff] != TARGET_SCRIPT &&
m_spellInfo->EffectImplicitTargetB[eff] != TARGET_SCRIPT )
- return false;
+ return false;*/
}
//Check player targets and remove if in GM mode or GM invisibility (for not self casting case)