Refactor isTwoHanded()
This commit is contained in:
1 parent
32d9322189
commit
56b89b7080
4 files changed
+18
-14
No files matched your search
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user