You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Handles the edge case of using Varunustra with a shield skill and wisps
Varunustra was not being restricted to the melee skills when checking for the active skill type
-- Special case for Sacred Wisps, i.e. Wisps Support has a weaponType of Wand so it should only match with Active Skills that at least have Wand as a weaponType
110
-
-- Super special case for Varunastra, e.g. allow Nightblade to support Smite
111
-
ifnot (activeSkill.actor.weaponData1andactiveSkill.actor.weaponData1.countsAsAll1HoractiveSkill.actor.weaponData2andactiveSkill.actor.weaponData2.countsAsAll1H) then
forgrantedType, _inpairs(grantedEffect.weaponTypes) do
115
-
foractiveType, _inpairs(activeSkill.activeEffect.grantedEffect.weaponTypes) do
116
-
ifgrantedType==activeTypethen
117
-
typeMatch=true
118
-
end
119
-
end
109
+
-- Special case for Sacred Wisps, i.e. Wisps Support has a weaponType of Wand so it should only match with Active Skills that at least have Wand as a weaponType.
110
+
-- Super special case for Varunastra, e.g. allow Nightblade to support Smite.
111
+
localactorHasAllOneHand= (activeSkill.actor.weaponData1andactiveSkill.actor.weaponData1.countsAsAll1H) or (activeSkill.actor.weaponData2andactiveSkill.actor.weaponData2.countsAsAll1H)
112
+
ifgrantedEffect.weaponTypesthen
113
+
-- Build a lookup of the active skill's weapon types
0 commit comments