Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion spec/System/TestSocketables_spec.lua
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ describe("TestSocketables", function()

it("'(Caster) Staff' runes appear in Items tab", slotTypeTest("staff", "Voltaic Staff"))

it("'(Quarterstaff) War Staff' runes appear in Items tab", slotTypeTest("warstaff", "Striking Quarterstaff"))
it("'Quarterstaff' runes appear in Items tab", slotTypeTest("quarterstaff", "Striking Quarterstaff"))

it("'Spear' runes appear in Items tab", slotTypeTest("spear", "Flying Spear"))

Expand Down
2 changes: 1 addition & 1 deletion src/Classes/Item.lua
Original file line number Diff line number Diff line change
Expand Up @@ -1566,7 +1566,7 @@ function ItemClass:UpdateRunes()
local itemType = self.base.type:lower()
local baseType = self.base.weapon and "weapon" or self.base.armour and "armour" or (self.base.tags.wand or self.base.tags.staff or self.base.tags.sceptre) and "caster"
local specificType =
(subType == "warstaff" and "warstaff") or
(subType == "warstaff" and "quarterstaff") or
(itemType == "shield" and subType == "evasion" and "buckler") or
itemType
local gatheredMods = getModRunesForTypes(name, baseType, specificType)
Expand Down
4 changes: 2 additions & 2 deletions src/Classes/ItemsTab.lua
Original file line number Diff line number Diff line change
Expand Up @@ -1932,7 +1932,7 @@ function ItemsTabClass:GetValidRunesForItem(item)
local function isRuneValidForSlot(runeSlot)
if runeSlot == "None" then
return true
elseif runeSlot == "warstaff" then
elseif runeSlot == "quarterstaff" then
return subType == "warstaff"
elseif runeSlot == "buckler" then
return itemType == "shield" and subType == "evasion"
Expand All @@ -1943,7 +1943,7 @@ function ItemsTabClass:GetValidRunesForItem(item)
elseif runeSlot == "caster" then
return item.base.tags.wand or item.base.tags.staff or item.base.tags.sceptre
else
return itemType == runeSlot
return itemType == runeSlot and not (subType == "warstaff")
end
end
if isRuneValidForSlot(rune.slot) then
Expand Down
4 changes: 2 additions & 2 deletions src/Data/ModRunes.lua
Original file line number Diff line number Diff line change
Expand Up @@ -3299,7 +3299,7 @@ return {
tradeHashes = { [103706408] = { "Rolls only the minimum or maximum Damage value for Physical Damage" }, },
rank = { 15 },
},
["warstaff"] = {
["quarterstaff"] = {
type = "Rune",
"Rolls only the minimum or maximum Damage value for Physical Damage",
statOrder = { 7793 },
Expand Down Expand Up @@ -3472,7 +3472,7 @@ return {
},
},
["Rune of Confrontation"] = {
["warstaff"] = {
["quarterstaff"] = {
type = "Rune",
"Gain 4 Rage on Melee Hit",
"-10 to Maximum Rage",
Expand Down
4 changes: 2 additions & 2 deletions src/Export/Scripts/soulcores.lua
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@ classMap = {
["Armour"] = { "armour" },
["Wand or Staff"] = { "wand", "staff" },
["Maces or Talisman"] = { "one hand mace", "two hand mace", "talisman" },
["One Hand Mace or Quarterstaff"] = { "one hand mace", "warstaff" },
["One Hand Mace or Quarterstaff"] = { "one hand mace", "quarterstaff" },
["Shield or Buckler"] = { "shield", "buckler" },
["All"] = { "weapon", "armour", "caster" },
["Quarterstaff or Spear"] = { "warstaff", "spear" },
["Quarterstaff or Spear"] = { "quarterstaff", "spear" },
["Crossbow Bow or Spear"] = { "crossbow", "bow", "spear" },
}

Expand Down
Loading