Photon Ripper now triggers the summon penalty
This commit is contained in:
1 parent
52a615860d
commit
c60a01608c
1 file changed
+1
-1
@@ -710,7 +710,7 @@ namespace CalamityMod.CalPlayer
|
||||
heldItem.CountsAsClass<ThrowingDamageClass>()
|
||||
);
|
||||
|
||||
bool heldItemIsTool = heldItem.pick > 0 || heldItem.axe > 0 || heldItem.hammer > 0;
|
||||
bool heldItemIsTool = (heldItem.pick > 0 || heldItem.axe > 0 || heldItem.hammer > 0) && heldItem.type != ModContent.ItemType<PhotonRipper>();
|
||||
bool heldItemCanBeUsed = heldItem.useStyle != ItemUseStyleID.None;
|
||||
bool heldItemIsAccessoryOrAmmo = heldItem.accessory || heldItem.ammo != AmmoID.None;
|
||||
bool heldItemIsExcludedByModCall = CalamityLists.DisabledSummonerNerfItems.Contains(heldItem.type);
|
||||
|
||||
Reference in new issue
Block a user