From 29a0df85921fba14289e6cbeeb2aa3a9887c936d Mon Sep 17 00:00:00 2001 From: Kayla Glick Date: Tue, 31 Dec 2024 12:17:03 -0500 Subject: [PATCH] fix homunculi demo shout calculation, imp thunderclap spell ID --- sim/core/debuffs.go | 5 +++-- ui/core/components/inputs/buffs_debuffs.ts | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/sim/core/debuffs.go b/sim/core/debuffs.go index 809a2cb716..d69446ca20 100644 --- a/sim/core/debuffs.go +++ b/sim/core/debuffs.go @@ -243,7 +243,8 @@ func applyDebuffEffects(target *Unit, targetIdx int, debuffs *proto.Debuffs, rai // Atk spd reduction if debuffs.ThunderClap != proto.TristateEffect_TristateEffectMissing { - MakePermanent(ThunderClapAura(target, 8205, time.Second*22, GetTristateValueInt32(debuffs.ThunderClap, 10, 16))) + // +6% from Furious Thunder rune + MakePermanent(ThunderClapAura(target, 8205, time.Second*10, GetTristateValueInt32(debuffs.ThunderClap, 10, 16))) } if debuffs.Waylay { MakePermanent(WaylayAura(target)) @@ -1030,7 +1031,7 @@ func HomunculiArmorAura(target *Unit, playerLevel int32) *Aura { } func HomunculiAttackPowerAura(target *Unit, playerLevel int32) *Aura { - ap := float64(190 + 3*(playerLevel-1)) + ap := float64(190 - 3*(60-playerLevel)) aura := target.GetOrRegisterAura(Aura{ Label: "Demoralize (Homunculus)", diff --git a/ui/core/components/inputs/buffs_debuffs.ts b/ui/core/components/inputs/buffs_debuffs.ts index 936cfb009c..2ff1ffd29c 100644 --- a/ui/core/components/inputs/buffs_debuffs.ts +++ b/ui/core/components/inputs/buffs_debuffs.ts @@ -760,7 +760,7 @@ export const MeleeAttackSpeedDebuff = InputHelpers.makeMultiIconInput({ values: [ makeTristateDebuffInput({ actionId: () => ActionId.fromSpellId(6343), - impId: ActionId.fromSpellId(12666), + impId: ActionId.fromSpellId(403219), fieldName: 'thunderClap', }), makeMultistateMultiplierDebuffInput({