mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-24 19:06:49 +01:00
*Update Sapphiron script.
--HG-- branch : trunk
This commit is contained in:
@@ -785,13 +785,29 @@ void LoadOverridenSQLData()
|
||||
goInfo->goober.lockId = 57; // need LOCKTYPE_QUICK_OPEN
|
||||
}
|
||||
|
||||
#define SPELL(x) const_cast<SpellEntry*>(GetSpellStore()->LookupEntry(x))
|
||||
|
||||
void LoadOverridenDBCData()
|
||||
{
|
||||
SpellEntry *spellInfo;
|
||||
|
||||
// Black Temple : Illidan : Parasitic Shadowfiend Passive
|
||||
spellInfo = const_cast<SpellEntry*>(GetSpellStore()->LookupEntry(41913));
|
||||
if(spellInfo)
|
||||
if(spellInfo = SPELL(41913))
|
||||
spellInfo->EffectApplyAuraName[0] = 4; // proc debuff, and summon infinite fiends
|
||||
}
|
||||
|
||||
// Naxxramas : Sapphiron : Frost Breath Visual Effect
|
||||
//if(spellInfo = SPELL(30101))
|
||||
// spellInfo->EffectImplicitTargetA[0] = TARGET_DEST_DEST; // orig 18
|
||||
|
||||
//temp, not needed in 310
|
||||
if(spellInfo = SPELL(28531))
|
||||
{
|
||||
spellInfo->DurationIndex = 21;
|
||||
spellInfo->Effect[0] = SPELL_EFFECT_APPLY_AREA_AURA_ENEMY;
|
||||
}
|
||||
if(spellInfo = SPELL(55799))
|
||||
{
|
||||
spellInfo->DurationIndex = 21;
|
||||
spellInfo->Effect[0] = SPELL_EFFECT_APPLY_AREA_AURA_ENEMY;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -137,7 +137,7 @@ struct TRINITY_DLL_DECL ScriptedAI : public CreatureAI
|
||||
void JustRespawned();
|
||||
|
||||
//Called at waypoint reached or PointMovement end
|
||||
void MovementInform(uint32, uint32){}
|
||||
void MovementInform(uint32 type, uint32 id){}
|
||||
|
||||
// Called when AI is temporarily replaced or put back when possess is applied or removed
|
||||
void OnPossess(bool apply) {}
|
||||
@@ -264,7 +264,6 @@ struct TRINITY_DLL_DECL NullCreatureAI : public ScriptedAI
|
||||
void MoveInLineOfSight(Unit *) {}
|
||||
void AttackStart(Unit *) {}
|
||||
void EnterEvadeMode() {}
|
||||
bool IsVisible(Unit *) const { return false; }
|
||||
|
||||
void UpdateAI(const uint32) {}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user