Refactor isTwoHanded()

This commit is contained in:
MagicBot committed 2024-03-10 16:21:23 -04:00
1 parent 32d9322189
commit 56b89b7080
4 files changed
+18 -14

No files matched your search

+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;