Condemnation arrow tile pen + Ace's High Ammo save
This commit is contained in:
1 parent
15e5e04b07
commit
afb6666961
3 files changed
+8
-2
No files matched your search
@@ -43,7 +43,12 @@ namespace CalamityMod.Items.Weapons.Ranged
|
||||
{
|
||||
return new Vector2(-5, 0);
|
||||
}
|
||||
|
||||
public override bool CanConsumeAmmo(Item ammo, Player player)
|
||||
{
|
||||
if (Main.rand.Next(0, 100) < 80)
|
||||
return false;
|
||||
return true;
|
||||
}
|
||||
public override void AddRecipes()
|
||||
{
|
||||
CreateRecipe().
|
||||
|
||||
@@ -7,6 +7,7 @@ AcesHigh: {
|
||||
Spades pierce enemies
|
||||
Diamonds violently explode
|
||||
Clubs split into three
|
||||
80% chance to save ammo
|
||||
'''
|
||||
}
|
||||
|
||||
|
||||
@@ -24,7 +24,7 @@ namespace CalamityMod.Projectiles.Ranged
|
||||
Projectile.height = 90;
|
||||
Projectile.friendly = true;
|
||||
Projectile.ignoreWater = true;
|
||||
Projectile.tileCollide = true;
|
||||
Projectile.tileCollide = false;
|
||||
Projectile.DamageType = DamageClass.Ranged;
|
||||
Projectile.arrow = true;
|
||||
Projectile.extraUpdates = 2;
|
||||
|
||||
Reference in new issue
Block a user