Refactor isTwoHanded()

This commit is contained in:
2024-03-10 16:21:23 -04:00
parent 32d9322189
commit 56b89b7080
4 changed files with 18 additions and 14 deletions
+2 -2
View File
@@ -235,7 +235,7 @@ public class ItemFactory {
case "Hammer":
case "Unarmed Combat":
if (ib.isTwoHanded())
if (ItemTemplate.isTwoHanded(template))
galvorAmount = 20;
else
galvorAmount = 10;
@@ -829,7 +829,7 @@ public class ItemFactory {
case "Hammer":
case "Unarmed Combat":
if (ib.isTwoHanded())
if (ItemTemplate.isTwoHanded(template))
galvorAmount = 22;
else
galvorAmount = 11;