mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-25 19:31:59 +01:00
*Merge.
--HG-- branch : trunk
This commit is contained in:
@@ -8,6 +8,7 @@
|
||||
#include "precompiled.h"
|
||||
#include "Item.h"
|
||||
#include "Spell.h"
|
||||
#include "ObjectMgr.h"
|
||||
|
||||
// Spell summary for ScriptedAI::SelectSpell
|
||||
struct TSpellSummary {
|
||||
@@ -828,3 +829,23 @@ void Scripted_NoMovementAI::AttackStart(Unit* who)
|
||||
DoStartNoMovement(who);
|
||||
}
|
||||
}
|
||||
|
||||
void LoadOverridenSQLData()
|
||||
{
|
||||
GameObjectInfo *goInfo;
|
||||
|
||||
// Sunwell Plateau : Kalecgos : Spectral Rift
|
||||
goInfo = const_cast<GameObjectInfo*>(GetGameObjectInfo(187055));
|
||||
if(goInfo && goInfo->type == GAMEOBJECT_TYPE_GOOBER)
|
||||
goInfo->goober.lockId = 1714; // need LOCKTYPE_QUICK_OPEN
|
||||
}
|
||||
|
||||
void LoadOverridenDBCData()
|
||||
{
|
||||
SpellEntry *spellInfo;
|
||||
|
||||
// Black Temple : Illidan : Parasitic Shadowfiend Passive
|
||||
spellInfo = const_cast<SpellEntry*>(GetSpellStore()->LookupEntry(41913));
|
||||
if(spellInfo)
|
||||
spellInfo->EffectApplyAuraName[0] = 4; // proc debuff, and summon infinite fiends
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user