aboutsummaryrefslogtreecommitdiff
path: root/src/server/scripts
diff options
context:
space:
mode:
authorTreeston <treeston.mmoc@gmail.com>2018-05-04 21:56:48 +0200
committerShauren <shauren.trinity@gmail.com>2021-09-26 16:13:15 +0200
commit9f06cb63d2669cda2e7abe1a2724e5f44e2275b7 (patch)
treee0621cfb0a8e1f22ffbc3437aadef8fa7b392f95 /src/server/scripts
parent58043c8d90f00241c80b58324e84c4361825f345 (diff)
Core/Threat: My dictionary informs me that "fixtate" is not, in fact, a word. Corrected to "fixate".
fd33b1c follow-up (cherry picked from commit 1d27f83bda1053578911f53b6231bcb96c9b7b1e)
Diffstat (limited to 'src/server/scripts')
-rw-r--r--src/server/scripts/Commands/cs_debug.cpp6
-rw-r--r--src/server/scripts/Northrend/AzjolNerub/AzjolNerub/boss_krikthir_the_gatewatcher.cpp24
2 files changed, 15 insertions, 15 deletions
diff --git a/src/server/scripts/Commands/cs_debug.cpp b/src/server/scripts/Commands/cs_debug.cpp
index 7057d642908..21293084000 100644
--- a/src/server/scripts/Commands/cs_debug.cpp
+++ b/src/server/scripts/Commands/cs_debug.cpp
@@ -889,7 +889,7 @@ public:
handler->PSendSysMessage("%s (%s, SpawnID " UI64FMTD ") is not engaged, but still has a threat list? Well, here it is:", target->GetName().c_str(), target->GetGUID().ToString().c_str(), target->GetTypeId() == TYPEID_UNIT ? target->ToCreature()->GetSpawnId() : 0);
count = 0;
- Unit* fixtateVictim = mgr.GetFixtateTarget();
+ Unit* fixateVictim = mgr.GetFixateTarget();
for (ThreatReference const* ref : mgr.GetSortedThreatList())
{
Unit* unit = ref->GetVictim();
@@ -906,8 +906,8 @@ public:
onlineStr = "";
}
char const* tauntStr;
- if (unit == fixtateVictim)
- tauntStr = " [FIXTATE]";
+ if (unit == fixateVictim)
+ tauntStr = " [FIXATE]";
else
switch (ref->GetTauntState())
{
diff --git a/src/server/scripts/Northrend/AzjolNerub/AzjolNerub/boss_krikthir_the_gatewatcher.cpp b/src/server/scripts/Northrend/AzjolNerub/AzjolNerub/boss_krikthir_the_gatewatcher.cpp
index daa43d95348..c78bce99d54 100644
--- a/src/server/scripts/Northrend/AzjolNerub/AzjolNerub/boss_krikthir_the_gatewatcher.cpp
+++ b/src/server/scripts/Northrend/AzjolNerub/AzjolNerub/boss_krikthir_the_gatewatcher.cpp
@@ -89,8 +89,8 @@ enum Spells
// Anub'ar Skirmisher
SPELL_CHARGE = 52538,
SPELL_BACKSTAB = 52540,
- SPELL_FIXTATE_TRIGGER = 52536,
- SPELL_FIXTATE_TRIGGERED = 52537,
+ SPELL_FIXATE_TRIGGER = 52536,
+ SPELL_FIXATE_TRIGGERED = 52537,
// Anub'ar Shadowcaster
SPELL_SHADOW_BOLT = 52534,
@@ -755,7 +755,7 @@ class npc_anub_ar_skirmisher : public CreatureScript
void SpellHitTarget(Unit* target, SpellInfo const* spell) override
{
if (spell->Id == SPELL_CHARGE && target)
- DoCast(target, SPELL_FIXTATE_TRIGGER);
+ DoCast(target, SPELL_FIXATE_TRIGGER);
}
};
@@ -961,35 +961,35 @@ class spell_gatewatcher_subboss_trigger : public SpellScriptLoader
}
};
-class spell_anub_ar_skirmisher_fixtate : public SpellScriptLoader
+class spell_anub_ar_skirmisher_fixate : public SpellScriptLoader
{
public:
- spell_anub_ar_skirmisher_fixtate() : SpellScriptLoader("spell_anub_ar_skirmisher_fixtate") { }
+ spell_anub_ar_skirmisher_fixate() : SpellScriptLoader("spell_anub_ar_skirmisher_fixate") { }
- class spell_anub_ar_skirmisher_fixtate_SpellScript : public SpellScript
+ class spell_anub_ar_skirmisher_fixate_SpellScript : public SpellScript
{
- PrepareSpellScript(spell_anub_ar_skirmisher_fixtate_SpellScript);
+ PrepareSpellScript(spell_anub_ar_skirmisher_fixate_SpellScript);
bool Validate(SpellInfo const* /*spell*/) override
{
- return ValidateSpellInfo({ SPELL_FIXTATE_TRIGGERED });
+ return ValidateSpellInfo({ SPELL_FIXATE_TRIGGERED });
}
void HandleScript(SpellEffIndex /*effIndex*/)
{
if (Unit* target = GetHitUnit())
- target->CastSpell(GetCaster(), SPELL_FIXTATE_TRIGGERED, true);
+ target->CastSpell(GetCaster(), SPELL_FIXATE_TRIGGERED, true);
}
void Register() override
{
- OnEffectHitTarget += SpellEffectFn(spell_anub_ar_skirmisher_fixtate_SpellScript::HandleScript, EFFECT_0, SPELL_EFFECT_SCRIPT_EFFECT);
+ OnEffectHitTarget += SpellEffectFn(spell_anub_ar_skirmisher_fixate_SpellScript::HandleScript, EFFECT_0, SPELL_EFFECT_SCRIPT_EFFECT);
}
};
SpellScript* GetSpellScript() const override
{
- return new spell_anub_ar_skirmisher_fixtate_SpellScript();
+ return new spell_anub_ar_skirmisher_fixate_SpellScript();
}
};
@@ -1071,7 +1071,7 @@ void AddSC_boss_krik_thir()
new npc_gatewatcher_web_wrap();
new spell_gatewatcher_subboss_trigger();
- new spell_anub_ar_skirmisher_fixtate();
+ new spell_anub_ar_skirmisher_fixate();
new spell_gatewatcher_web_wrap();
new achievement_watch_him_die();