mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-16 07:30:42 +01:00
Core/Misc: Fix some typos
This commit is contained in:
@@ -172,7 +172,7 @@ UPDATE `creature_template` SET `ScriptName`='npc_scarlet_miner_cart' WHERE `entr
|
||||
UPDATE `creature_template` SET `ScriptName`='npc_scarlet_miner' WHERE `entry`=28841;
|
||||
UPDATE `creature_template` SET `ScriptName`='npc_crusade_persuaded' WHERE `entry` IN (28939,28940,28610);
|
||||
UPDATE `creature_template` SET `ScriptName`='mob_scarlet_courier' WHERE `entry`=29076;
|
||||
UPDATE `creature_template` SET `AIName`='ArchorAI', `ScriptName`='' WHERE `entry` IN (29102,29103);
|
||||
UPDATE `creature_template` SET `AIName`='ArcherAI', `ScriptName`='' WHERE `entry` IN (29102,29103);
|
||||
UPDATE `creature_template` SET `AIName`='TurretAI', `ScriptName`='' WHERE `entry`=29104;
|
||||
UPDATE `creature_template` SET `ScriptName`='npc_highlord_darion_mograine' WHERE `entry`=29173;
|
||||
UPDATE `creature_template` SET `ScriptName`='npc_the_lich_king_tirion_dawn' WHERE `entry` IN (29183,29175);
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
UPDATE `creature_template` SET `AIName` = 'ArcherAI' WHERE `AIName` = 'ArchorAI';
|
||||
@@ -44,7 +44,7 @@ int CombatAI::Permissible(const Creature * /*creature*/)
|
||||
return PERMIT_BASE_NO;
|
||||
}
|
||||
|
||||
int ArchorAI::Permissible(const Creature * /*creature*/)
|
||||
int ArcherAI::Permissible(const Creature * /*creature*/)
|
||||
{
|
||||
return PERMIT_BASE_NO;
|
||||
}
|
||||
@@ -174,13 +174,13 @@ void CasterAI::UpdateAI(const uint32 diff)
|
||||
}
|
||||
|
||||
//////////////
|
||||
//ArchorAI
|
||||
//ArcherAI
|
||||
//////////////
|
||||
|
||||
ArchorAI::ArchorAI(Creature *c) : CreatureAI(c)
|
||||
ArcherAI::ArcherAI(Creature *c) : CreatureAI(c)
|
||||
{
|
||||
if (!me->m_spells[0])
|
||||
sLog->outError("ArchorAI set for creature (entry = %u) with spell1=0. AI will do nothing", me->GetEntry());
|
||||
sLog->outError("ArcherAI set for creature (entry = %u) with spell1=0. AI will do nothing", me->GetEntry());
|
||||
|
||||
m_minRange = GetSpellMinRange(me->m_spells[0], false);
|
||||
if (!m_minRange)
|
||||
@@ -189,7 +189,7 @@ ArchorAI::ArchorAI(Creature *c) : CreatureAI(c)
|
||||
me->m_SightDistance = me->m_CombatDistance;
|
||||
}
|
||||
|
||||
void ArchorAI::AttackStart(Unit *who)
|
||||
void ArcherAI::AttackStart(Unit *who)
|
||||
{
|
||||
if (!who)
|
||||
return;
|
||||
@@ -209,7 +209,7 @@ void ArchorAI::AttackStart(Unit *who)
|
||||
me->GetMotionMaster()->MoveIdle();
|
||||
}
|
||||
|
||||
void ArchorAI::UpdateAI(const uint32 /*diff*/)
|
||||
void ArcherAI::UpdateAI(const uint32 /*diff*/)
|
||||
{
|
||||
if (!UpdateVictim())
|
||||
return;
|
||||
|
||||
@@ -64,10 +64,10 @@ class CasterAI : public CombatAI
|
||||
float m_attackDist;
|
||||
};
|
||||
|
||||
struct ArchorAI : public CreatureAI
|
||||
struct ArcherAI : public CreatureAI
|
||||
{
|
||||
public:
|
||||
explicit ArchorAI(Creature *c);
|
||||
explicit ArcherAI(Creature *c);
|
||||
void AttackStart(Unit *who);
|
||||
void UpdateAI(const uint32 diff);
|
||||
|
||||
|
||||
@@ -45,7 +45,7 @@ namespace AIRegistry
|
||||
(new CreatureAIFactory<PetAI>("PetAI"))->RegisterSelf();
|
||||
(new CreatureAIFactory<TotemAI>("TotemAI"))->RegisterSelf();
|
||||
(new CreatureAIFactory<CombatAI>("CombatAI"))->RegisterSelf();
|
||||
(new CreatureAIFactory<ArchorAI>("ArchorAI"))->RegisterSelf();
|
||||
(new CreatureAIFactory<ArcherAI>("ArcherAI"))->RegisterSelf();
|
||||
(new CreatureAIFactory<TurretAI>("TurretAI"))->RegisterSelf();
|
||||
(new CreatureAIFactory<CreatureEventAI>("EventAI"))->RegisterSelf();
|
||||
(new CreatureAIFactory<AOEAI>("AOEAI"))->RegisterSelf();
|
||||
|
||||
@@ -4030,7 +4030,7 @@ void SpellMgr::LoadSpellCustomAttr()
|
||||
// The above situation causes the visual for this spell to be bugged, so we remove the instakill
|
||||
// effect and implement a script hack for that.
|
||||
spellInfo->Effect[EFFECT_1] = 0;
|
||||
count++;
|
||||
++count;
|
||||
break;
|
||||
// ENDOF ULDUAR SPELLS
|
||||
//
|
||||
|
||||
Reference in New Issue
Block a user