Skip to content

Commit b8a607e

Browse files
Added support for Animate Weapon of Self Reflection and Energy Blade
1 parent 703f469 commit b8a607e

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

src/Modules/CalcActiveSkill.lua

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -759,6 +759,10 @@ function calcs.buildActiveSkillModList(env, activeSkill)
759759
end
760760
end
761761
end
762+
-- handles animate weapon of self reflection when using energy blade
763+
if activeEffect.grantedEffect.id == "AnimateWeaponAltX" and env.modDB.conditions["AffectedByEnergyBlade"] then
764+
minion.weaponData1 = env.player.weaponData1
765+
end
762766
end
763767
elseif activeEffect.srcInstance and not (activeEffect.gemData and activeEffect.gemData.secondaryGrantedEffect) then
764768
activeEffect.srcInstance.skillMinionCalcs = nil

0 commit comments

Comments
 (0)