Skip to content

Commit

Permalink
Merge pull request #4085 from NerdEgghead/master
Browse files Browse the repository at this point in the history
Added ICC 5% buff
  • Loading branch information
NerdEgghead authored Dec 7, 2023
2 parents be034c3 + b4a87eb commit b45b5e2
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 0 deletions.
1 change: 1 addition & 0 deletions proto/common.proto
Original file line number Diff line number Diff line change
Expand Up @@ -464,6 +464,7 @@ message RaidBuffs {
TristateEffect devotion_aura = 31;
TristateEffect stoneskin_totem = 42;
bool retribution_aura = 32;
bool strength_of_wrynn = 49;

// Drums
bool drums_of_forgotten_kings = 34;
Expand Down
6 changes: 6 additions & 0 deletions sim/core/buffs.go
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,12 @@ func applyBuffEffects(agent Agent, raidBuffs *proto.RaidBuffs, partyBuffs *proto
character.MultiplyStat(stats.RangedAttackPower, 1.1)
}

if raidBuffs.StrengthOfWrynn {
character.MultiplyStat(stats.Health, 1.05)
character.PseudoStats.DamageDealtMultiplier *= 1.05
character.PseudoStats.HealingTakenMultiplier *= 1.05
}

if raidBuffs.ArcaneEmpowerment || raidBuffs.FerociousInspiration || raidBuffs.SanctifiedRetribution {
character.PseudoStats.DamageDealtMultiplier *= 1.03
}
Expand Down
1 change: 1 addition & 0 deletions ui/core/components/icon_inputs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -171,6 +171,7 @@ export const DefensiveCooldownBuff = InputHelpers.makeMultiIconInput([
], 'Defensive CDs');

// Misc Buffs
export const StrengthOfWrynn = makeBooleanRaidBuffInput(ActionId.fromSpellId(73762), 'strengthOfWrynn');
export const RetributionAura = makeBooleanRaidBuffInput(ActionId.fromSpellId(54043), 'retributionAura');
export const BraidedEterniumChain = makeBooleanPartyBuffInput(ActionId.fromSpellId(31025), 'braidedEterniumChain');
export const ChainOfTheTwilightOwl = makeBooleanPartyBuffInput(ActionId.fromSpellId(31035), 'chainOfTheTwilightOwl');
Expand Down
1 change: 1 addition & 0 deletions ui/core/components/individual_sim_ui/settings_tab.ts
Original file line number Diff line number Diff line change
Expand Up @@ -300,6 +300,7 @@ export class SettingsTab extends SimTab {
}

const miscBuffOptions = this.simUI.splitRelevantOptions([
{ item: IconInputs.StrengthOfWrynn, stats: [Stat.StatAttackPower, Stat.StatRangedAttackPower, Stat.StatSpellPower] },
{ item: IconInputs.HeroicPresence, stats: [Stat.StatMeleeHit, Stat.StatSpellHit] },
{ item: IconInputs.BraidedEterniumChain, stats: [Stat.StatMeleeCrit, Stat.StatSpellCrit] },
{ item: IconInputs.ChainOfTheTwilightOwl, stats: [Stat.StatSpellCrit, Stat.StatMeleeCrit] },
Expand Down

0 comments on commit b45b5e2

Please sign in to comment.