mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-18 03:15:41 +00:00
fix(Scripts/Misc): AhnKahet instance script typo (#9055)
This commit is contained in:
@@ -18,7 +18,7 @@
|
||||
#ifndef DEF_AHNKAHET_H
|
||||
#define DEF_AHNKAHET_H
|
||||
|
||||
#define AhnahetScriptName "instance_ahnkahet"
|
||||
#define AhnKahetScriptName "instance_ahnkahet"
|
||||
constexpr uint32 MAX_ENCOUNTER = 5;
|
||||
enum AhnkahetData
|
||||
{
|
||||
@@ -66,9 +66,9 @@ enum AhnKahetActions
|
||||
};
|
||||
|
||||
template <class AI, class T>
|
||||
inline AI* GetAhnkahetAI(T* obj)
|
||||
inline AI* GetAhnKahetAI(T* obj)
|
||||
{
|
||||
return GetInstanceAI<AI>(obj, AhnahetScriptName);
|
||||
return GetInstanceAI<AI>(obj, AhnKahetScriptName);
|
||||
}
|
||||
|
||||
#endif // DEF_AHNKAHET_H
|
||||
|
||||
@@ -108,7 +108,7 @@ public:
|
||||
|
||||
struct boss_amanitarAI : public BossAI
|
||||
{
|
||||
boss_amanitarAI(Creature *creature) : BossAI(creature, DATA_AMANITAR), mushroomsSummoned(false)
|
||||
boss_amanitarAI(Creature* creature) : BossAI(creature, DATA_AMANITAR), mushroomsSummoned(false)
|
||||
{
|
||||
creature->ApplySpellImmune(0, IMMUNITY_SCHOOL, SPELL_SCHOOL_MASK_NATURE, true);
|
||||
creature->SetMeleeDamageSchool(SPELL_SCHOOL_NATURE);
|
||||
@@ -239,7 +239,7 @@ public:
|
||||
|
||||
CreatureAI* GetAI(Creature* creature) const override
|
||||
{
|
||||
return GetAhnkahetAI<boss_amanitarAI>(creature);
|
||||
return GetAhnKahetAI<boss_amanitarAI>(creature);
|
||||
}
|
||||
};
|
||||
|
||||
@@ -342,7 +342,7 @@ public:
|
||||
|
||||
CreatureAI* GetAI(Creature* creature) const override
|
||||
{
|
||||
return GetAhnkahetAI<npc_amanitar_mushroomsAI>(creature);
|
||||
return GetAhnKahetAI<npc_amanitar_mushroomsAI>(creature);
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
@@ -303,7 +303,7 @@ public:
|
||||
|
||||
CreatureAI* GetAI(Creature* creature) const override
|
||||
{
|
||||
return GetAhnkahetAI<boss_elder_nadoxAI>(creature);
|
||||
return GetAhnKahetAI<boss_elder_nadoxAI>(creature);
|
||||
}
|
||||
};
|
||||
|
||||
@@ -344,7 +344,7 @@ public:
|
||||
|
||||
CreatureAI* GetAI(Creature* creature) const override
|
||||
{
|
||||
return GetAhnkahetAI<npc_ahnkahar_nerubianAI>(creature);
|
||||
return GetAhnKahetAI<npc_ahnkahar_nerubianAI>(creature);
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
@@ -349,7 +349,7 @@ public:
|
||||
|
||||
CreatureAI* GetAI(Creature* creature) const override
|
||||
{
|
||||
return GetAhnkahetAI<boss_volazjAI>(creature);
|
||||
return GetAhnKahetAI<boss_volazjAI>(creature);
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
@@ -572,7 +572,7 @@ public:
|
||||
|
||||
CreatureAI* GetAI(Creature* creature) const override
|
||||
{
|
||||
return GetAhnkahetAI<boss_jedoga_shadowseekerAI>(creature);
|
||||
return GetAhnKahetAI<boss_jedoga_shadowseekerAI>(creature);
|
||||
}
|
||||
};
|
||||
|
||||
@@ -686,7 +686,7 @@ public:
|
||||
|
||||
CreatureAI *GetAI(Creature *creature) const override
|
||||
{
|
||||
return GetAhnkahetAI<npc_twilight_volunteerAI>(creature);
|
||||
return GetAhnKahetAI<npc_twilight_volunteerAI>(creature);
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
@@ -207,7 +207,7 @@ public:
|
||||
|
||||
CreatureAI *GetAI(Creature *creature) const override
|
||||
{
|
||||
return GetAhnkahetAI<npc_taldaram_flamesphereAI>(creature);
|
||||
return GetAhnKahetAI<npc_taldaram_flamesphereAI>(creature);
|
||||
}
|
||||
};
|
||||
|
||||
@@ -508,7 +508,7 @@ public:
|
||||
|
||||
CreatureAI* GetAI(Creature* creature) const override
|
||||
{
|
||||
return GetAhnkahetAI<boss_taldaramAI>(creature);
|
||||
return GetAhnKahetAI<boss_taldaramAI>(creature);
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
@@ -25,7 +25,7 @@
|
||||
class instance_ahnkahet : public InstanceMapScript
|
||||
{
|
||||
public:
|
||||
instance_ahnkahet() : InstanceMapScript(AhnahetScriptName, 619) { }
|
||||
instance_ahnkahet() : InstanceMapScript(AhnKahetScriptName, 619) { }
|
||||
|
||||
struct instance_ahnkahet_InstanceScript : public InstanceScript
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user