aboutsummaryrefslogtreecommitdiff
path: root/src/game/ScriptedCreature.cpp
diff options
context:
space:
mode:
authorRat <none@none>2010-01-24 11:45:50 +0100
committerRat <none@none>2010-01-24 11:45:50 +0100
commitf10cb92298d02f0d76431eec1c8f0ec0b86377d5 (patch)
tree05dec69ed40438e608dce9b8e10bd5f46d873a70 /src/game/ScriptedCreature.cpp
parent9f00ca3eb884399479009ae5d5a1224c047d0650 (diff)
*merge ScriptMgr::LoadOverridenDBCData to SpellMgrLoadSpellCustomAttr, patch by Azuritus, closes issue #444
--HG-- branch : trunk
Diffstat (limited to 'src/game/ScriptedCreature.cpp')
-rw-r--r--src/game/ScriptedCreature.cpp34
1 files changed, 0 insertions, 34 deletions
diff --git a/src/game/ScriptedCreature.cpp b/src/game/ScriptedCreature.cpp
index 5868b7e2fe9..103a8364026 100644
--- a/src/game/ScriptedCreature.cpp
+++ b/src/game/ScriptedCreature.cpp
@@ -718,40 +718,6 @@ void LoadOverridenSQLData()
goInfo->trap.radius = 50;
}
-void LoadOverridenDBCData()
-{
- SpellEntry *spellInfo;
- for (uint32 i = 0; i < GetSpellStore()->GetNumRows(); ++i)
- {
- spellInfo = GET_SPELL(i);
- if(!spellInfo)
- continue;
-
- switch(i)
- {
- // Black Temple : Illidan : Parasitic Shadowfiend Passive
- case 41013:
- spellInfo->EffectApplyAuraName[0] = 4; // proc debuff, and summon infinite fiends
- break;
- // Naxxramas : Gothik : Inform Inf range
- case 27892:
- case 27928:
- case 27935:
- case 27915:
- case 27931:
- case 27937:
- spellInfo->rangeIndex = 13;
- break;
- // Ulduar : Flame Leviathan : Pursued
- case 62374:
- spellInfo->MaxAffectedTargets = 1;
- spellInfo->EffectImplicitTargetB[0] = TARGET_UNIT_AREA_ENTRY_SRC;
- spellInfo->EffectImplicitTargetB[1] = TARGET_UNIT_AREA_ENTRY_SRC;
- break;
- }
- }
-}
-
// SD2 grid searchers.
Creature *GetClosestCreatureWithEntry(WorldObject *pSource, uint32 uiEntry, float fMaxSearchRange, bool bAlive)
{