From 57e88df652b1b05553f256389dbf3a9b393ad1b5 Mon Sep 17 00:00:00 2001 From: Vollmer Date: Tue, 26 Nov 2024 15:09:55 +0100 Subject: [PATCH] use new multipliers --- .../modules/talents/MoltenEmbers.tsx | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/src/analysis/retail/evoker/augmentation/modules/talents/MoltenEmbers.tsx b/src/analysis/retail/evoker/augmentation/modules/talents/MoltenEmbers.tsx index 3bdedf2978..618922cb42 100644 --- a/src/analysis/retail/evoker/augmentation/modules/talents/MoltenEmbers.tsx +++ b/src/analysis/retail/evoker/augmentation/modules/talents/MoltenEmbers.tsx @@ -11,7 +11,10 @@ import Statistic from 'parser/ui/Statistic'; import STATISTIC_CATEGORY from 'parser/ui/STATISTIC_CATEGORY'; import STATISTIC_ORDER from 'parser/ui/STATISTIC_ORDER'; import TalentSpellText from 'parser/ui/TalentSpellText'; -import { MOLTEN_EMBERS_MULTIPLIER } from '../../constants'; +import { + MOLTEN_EMBERS_MULTIPLIER, + MOLTEN_EMBERS_MULTIPLIER_NO_BLAST_FURNACE, +} from '../../constants'; import { BLACK_DAMAGE_SPELLS } from 'analysis/retail/evoker/shared/constants'; import Enemies from 'parser/shared/modules/Enemies'; import { Talent } from 'common/TALENTS/types'; @@ -62,6 +65,8 @@ class MoltenEmbers extends Analyzer { hasFontOfMagic = false; perfectMoltenEmbersRank = 3; + moltenEmbersAmplifiers = MOLTEN_EMBERS_MULTIPLIER_NO_BLAST_FURNACE; + constructor(options: Options) { super(options); this.active = this.selectedCombatant.hasTalent(TALENTS.MOLTEN_EMBERS_TALENT); @@ -92,6 +97,10 @@ class MoltenEmbers extends Analyzer { if (this.hasFontOfMagic) { this.perfectMoltenEmbersRank = 4; } + + if (this.selectedCombatant.hasTalent(TALENTS.BLAST_FURNACE_TALENT)) { + this.moltenEmbersAmplifiers = MOLTEN_EMBERS_MULTIPLIER; + } } onDamage(event: DamageEvent) { @@ -101,7 +110,10 @@ class MoltenEmbers extends Analyzer { return; } - const effAmount = calculateEffectiveDamage(event, MOLTEN_EMBERS_MULTIPLIER); + const effAmount = calculateEffectiveDamage( + event, + this.moltenEmbersAmplifiers[this.previousFireBreathRank - 1], + ); this.moltenEmbersDamageSources[event.ability.guid].amount += effAmount; this.totalMoltenEmbersDamage += effAmount;