fix(CI): linux-build: add -Werror parameter (#19240)
* fix(CI): linux-build: add -Werror parameter * add KI tzunu * Revert "feat(CI): enable fail-fast for pch/nopch (#19058)" This reverts commit564cbca7d3. * Update midsummer.cpp - drop unused variable * initialize variable * Update core-build-nopch.yml - drop gcc12 * fix(Core/CalendarMgr): do not use element after delete, but before * attempt to fix Socket.h error * Revert "attempt to fix Socket.h error" This reverts commitc1a59145ed. * fix Socket.h error - attempt 2 * Update Socket.h * Update Socket.h * npc_shattrath_daily_quest: init variable templateID * fix(Scripts/Karazhan): use size_t within loop in boss_shade_of_aran:Reset() * boss_archimonde: drop unused variable * Revert "fix(Scripts/Karazhan): use size_t within loop in boss_shade_of_aran:Reset()" This reverts commit1f71aaef25. * SmartScripts: SMART_TARGET_RANDOM_POINT: fix unintended fallthrough * Revert "Revert "feat(CI): enable fail-fast for pch/nopch (#19058)"" This reverts commitd13df29362. --------- Co-authored-by: Kitzunu <24550914+Kitzunu@users.noreply.github.com>
This commit is contained in:
@@ -504,7 +504,7 @@ class spell_doomfire : public AuraScript
|
||||
int32 bp = GetSpellInfo()->Effects[EFFECT_1].CalcValue();
|
||||
float tickCoef = (static_cast<float>(aurEff->GetTickNumber() - 1) / aurEff->GetTotalTicks()); // Tick moved back to ensure proper damage on each tick
|
||||
int32 damage = bp - (bp*tickCoef);
|
||||
SpellCastResult result = target->CastCustomSpell(target, SPELL_DOOMFIRE_DOT, &damage, &damage, &damage, true, nullptr, nullptr, target->GetGUID());
|
||||
target->CastCustomSpell(target, SPELL_DOOMFIRE_DOT, &damage, &damage, &damage, true, nullptr, nullptr, target->GetGUID());
|
||||
}
|
||||
|
||||
void Register() override
|
||||
|
||||
@@ -308,7 +308,7 @@ struct npc_shattrath_daily_quest : public NullCreatureAI
|
||||
{
|
||||
Field *fields = result->Fetch();
|
||||
int quest_id = fields[0].Get<int>();
|
||||
uint32 templateID;
|
||||
uint32 templateID = 0;
|
||||
|
||||
if (creature == NPC_SHATTRATH_DAILY_H)
|
||||
{
|
||||
|
||||
@@ -5221,7 +5221,7 @@ class spell_gen_sober_up : public AuraScript
|
||||
if (!target && !target->ToPlayer())
|
||||
return;
|
||||
|
||||
SpellEffIndex InebriateEffIndex;
|
||||
SpellEffIndex InebriateEffIndex = EFFECT_0;
|
||||
if (Player* player = target->ToPlayer())
|
||||
{
|
||||
switch (GetSpellInfo()->Id)
|
||||
|
||||
Reference in New Issue
Block a user