Make it actually compile
This commit is contained in:
@@ -17,12 +17,9 @@ namespace ForgottenWawiTech.Content.Items.Weapons.Magic
|
||||
Item.damage = 500;
|
||||
Item.shoot = ModContent.ProjectileType<ShatteredPrismHoldout>();
|
||||
Item.shootSpeed = 30f;
|
||||
|
||||
// Change the item's draw color so that it is visually distinct from the vanilla Last Prism.
|
||||
Item.color = OverrideColor;
|
||||
}
|
||||
|
||||
// Because this weapon fires a holdout projectile, it needs to block usage if its projectile already exists.
|
||||
public override bool CanUseItem(Player player)
|
||||
{
|
||||
return player.ownedProjectileCounts[ModContent.ProjectileType<ShatteredPrismHoldout>()] <= 0;
|
||||
|
||||
Reference in New Issue
Block a user