Skip to content

Commit

Permalink
Fix formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
trevorm4 committed Jun 18, 2024
1 parent 887b4ff commit c77ba41
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
3 changes: 3 additions & 0 deletions src/analysis/retail/evoker/preservation/CHANGELOG.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
import { change, date } from 'common/changelog';
import { TALENTS_EVOKER } from 'common/TALENTS';
import { Trevor} from 'CONTRIBUTORS';
import SpellLink from 'interface/SpellLink';

export default [
change(date(2024, 6, 17), <>Implement <SpellLink spell={TALENTS_EVOKER.ENGULF_TALENT}/> module</>, Trevor),
change(date(2024, 6, 16), <>Add T32 tier set module</>, Trevor),
change(date(2024, 6, 16), <>Split up linking normalizer files</>, Trevor),
change(date(2024, 6, 16), <>Cleanup old tier sets</>, Trevor),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import {
PERIODIC_DAMAGE_IDS,
PERIODIC_HEALING_IDS,
} from 'analysis/retail/evoker/shared/constants';
import { formatPercentage } from 'common/format';
import { formatNumber, formatPercentage } from 'common/format';
import SPELLS from 'common/SPELLS';
import { TALENTS_EVOKER } from 'common/TALENTS';
import { TooltipElement } from 'interface/Tooltip';
Expand Down Expand Up @@ -59,7 +59,6 @@ class Engulf extends Analyzer {
return;
}
const numPeriodics = this.getNumPeriodicEffects(enemy);
console.log(numPeriodics);
this.damagePeriodicCounts.push(numPeriodics);
this.damageFromInc += calculateEffectiveDamage(event, ENGULF_PERIODIC_INCREASE * numPeriodics);
}
Expand Down Expand Up @@ -104,7 +103,7 @@ class Engulf extends Analyzer {
<TooltipElement
content={
<>
<div>Average Periodics: {this.averageHealPeriodics}</div>
<div>Average Periodics: {formatNumber(this.averageHealPeriodics)}</div>
<div>
% of healing from periodic increase:{' '}
{formatPercentage(this.healingFromInc / this.totalHealing)}%
Expand All @@ -119,7 +118,7 @@ class Engulf extends Analyzer {
<TooltipElement
content={
<>
<div>Average Periodics: {this.averageDamagePeriodics}</div>
<div>Average Periodics: {formatNumber(this.averageDamagePeriodics)}</div>
<div>
% of damage from periodic increase:{' '}
{formatPercentage(this.damageFromInc / this.totalDamage)}%
Expand Down

0 comments on commit c77ba41

Please sign in to comment.