itemstats: check for two handed interactions (#12168)

This commit is contained in:
Cyborger1
2020-07-21 04:13:11 -04:00
committed by GitHub
parent 05c4a5c1d5
commit 4362adb876
3 changed files with 42 additions and 8 deletions

View File

@@ -56,6 +56,7 @@ public class ItemStatOverlayTest
private static final ItemStats ABYSSAL_DAGGER = new ItemStats(false, true, 0.453, 8,
ItemEquipmentStats.builder()
.slot(EquipmentInventorySlot.WEAPON.getSlotIdx())
.isTwoHanded(false)
.astab(75)
.aslash(40)
.acrush(-4)
@@ -67,6 +68,7 @@ public class ItemStatOverlayTest
private static final ItemStats KATANA = new ItemStats(false, true, 0, 8,
ItemEquipmentStats.builder()
.slot(EquipmentInventorySlot.WEAPON.getSlotIdx())
.isTwoHanded(true)
.astab(7)
.aslash(45)
.dstab(3)
@@ -79,6 +81,7 @@ public class ItemStatOverlayTest
private static final ItemStats BLOWPIPE = new ItemStats(false, true, 0, 0,
ItemEquipmentStats.builder()
.slot(EquipmentInventorySlot.WEAPON.getSlotIdx())
.isTwoHanded(true)
.arange(60)
.rstr(40)
.aspeed(3)
@@ -86,6 +89,7 @@ public class ItemStatOverlayTest
private static final ItemStats HEAVY_BALLISTA = new ItemStats(false, true, 4, 8,
ItemEquipmentStats.builder()
.slot(EquipmentInventorySlot.WEAPON.getSlotIdx())
.isTwoHanded(true)
.arange(110)
.aspeed(7)
.build());