Skip to content

Commit d5f5fbd

Browse files
unrealdreamzLocalIdentity
andauthored
Fix Stomping Ground and Ferocious Roar not working when using a Talisman (#1901)
* Fix Stomping Ground Rampage weapon check * Proper fix The weapon type checks should never have been on the supports in the first place --------- Co-authored-by: LocalIdentity <localidentity2@gmail.com>
1 parent bbbd03f commit d5f5fbd

3 files changed

Lines changed: 1 addition & 16 deletions

File tree

src/Data/Skills/act_str.lua

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -517,14 +517,6 @@ skills["SupportAncestralWarriorTotemPlayer"] = {
517517
addSkillTypes = { SkillType.UsedByTotem, },
518518
excludeSkillTypes = { SkillType.Meta, SkillType.Triggered, SkillType.Cooldown, SkillType.Channel, SkillType.Persistent, },
519519
ignoreMinionTypes = true,
520-
weaponTypes = {
521-
["One Hand Axe"] = true,
522-
["One Hand Mace"] = true,
523-
["One Hand Sword"] = true,
524-
["Two Hand Axe"] = true,
525-
["Two Hand Mace"] = true,
526-
["Two Hand Sword"] = true,
527-
},
528520
qualityStats = {
529521
},
530522
levels = {
@@ -5292,10 +5284,6 @@ skills["SupportFerociousRoarPlayer"] = {
52925284
excludeSkillTypes = { SkillType.Meta, SkillType.InbuiltTrigger, SkillType.Shapeshift, },
52935285
isTrigger = true,
52945286
ignoreMinionTypes = true,
5295-
weaponTypes = {
5296-
["Bow"] = true,
5297-
["Spear"] = true,
5298-
},
52995287
qualityStats = {
53005288
{ "warcry_grant_damage_+%_to_exerted_attacks", 1.5 },
53015289
},

src/Data/Skills/sup_str.lua

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6629,9 +6629,6 @@ skills["SupportStompingGroundPlayer"] = {
66296629
addSkillTypes = { },
66306630
excludeSkillTypes = { },
66316631
gemFamily = { "StompingGround",},
6632-
weaponTypes = {
6633-
["Two Hand Mace"] = true,
6634-
},
66356632
levels = {
66366633
[1] = { levelRequirement = 0, },
66376634
},

src/Export/Scripts/skills.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -358,7 +358,7 @@ directiveTable.skill = function(state, args, out)
358358
out:write('\tignoreMinionTypes = true,\n')
359359
end
360360
local weaponTypes = { }
361-
if granted.WeaponRestrictions[1] then
361+
if granted.WeaponRestrictions[1] and not granted.IsSupport then
362362
for _, class in ipairs(granted.WeaponRestrictions[1].WeaponClass) do
363363
if weaponClassMap[class.ItemClass.Id] then
364364
weaponTypes[weaponClassMap[class.ItemClass.Id]] = true

0 commit comments

Comments
 (0)