diff options
author | Jozef DĂșc <D0d0@users.noreply.github.com> | 2020-04-04 15:30:55 +0200 |
---|---|---|
committer | Shauren <shauren.trinity@gmail.com> | 2021-12-31 20:16:30 +0100 |
commit | 8b0cb21c499bd9a8d82d979921dabd4f9478880a (patch) | |
tree | e9a307f33ed23561436f0100be92e597e30fceed | |
parent | 44c8b5241a61665e3871a72f56e21d23db8bd673 (diff) |
Scripts/Pet: Baby Blizzard Bear & Egbert (#24349)
* Baby Blizzard Bear & Egbert
* SQL
* Update 9999_99_99_99_world.sql
SQL fix
* Rename 9999_99_99_99_world.sql to 2020_04_04_00_world.sql
Co-authored-by: Eridium <6587064+Killyana@users.noreply.github.com>
Co-authored-by: Giacomo Pozzoni <giacomopoz@gmail.com>
(cherry picked from commit 264a5839032257f9d65bfad3dd0075d263799d5c)
-rw-r--r-- | src/server/scripts/Northrend/IcecrownCitadel/boss_the_lich_king.cpp | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/src/server/scripts/Northrend/IcecrownCitadel/boss_the_lich_king.cpp b/src/server/scripts/Northrend/IcecrownCitadel/boss_the_lich_king.cpp index e75e083d4b1..43255d4f35c 100644 --- a/src/server/scripts/Northrend/IcecrownCitadel/boss_the_lich_king.cpp +++ b/src/server/scripts/Northrend/IcecrownCitadel/boss_the_lich_king.cpp @@ -2185,17 +2185,10 @@ class spell_the_lich_king_necrotic_plague_jump : public SpellScriptLoader _hadAura = true; } - void AddMissingStack() - { - if (GetHitAura() && !_hadAura && GetSpellValue()->EffectBasePoints[EFFECT_1] != AURA_REMOVE_BY_ENEMY_SPELL) - GetHitAura()->ModStackAmount(1); - } - void Register() override { OnObjectAreaTargetSelect += SpellObjectAreaTargetSelectFn(spell_the_lich_king_necrotic_plague_SpellScript::SelectTarget, EFFECT_0, TARGET_UNIT_SRC_AREA_ENTRY); BeforeHit += BeforeSpellHitFn(spell_the_lich_king_necrotic_plague_SpellScript::CheckAura); - OnHit += SpellHitFn(spell_the_lich_king_necrotic_plague_SpellScript::AddMissingStack); } bool _hadAura; @@ -2233,7 +2226,7 @@ class spell_the_lich_king_necrotic_plague_jump : public SpellScriptLoader CastSpellExtraArgs args(TRIGGERED_FULL_MASK); args.SetOriginalCaster(GetCasterGUID()); - args.AddSpellMod(SPELLVALUE_AURA_STACK, GetStackAmount()); + args.AddSpellMod(SPELLVALUE_AURA_STACK, GetStackAmount() + 1); GetTarget()->CastSpell(nullptr, SPELL_NECROTIC_PLAGUE_JUMP, args); if (Unit* caster = GetCaster()) caster->CastSpell(caster, SPELL_PLAGUE_SIPHON, true); |