Brick, gale, francisca and tomahawks
This commit is contained in:
1 parent
2906620f88
commit
305f85bcdf
6 files changed
+9
-8
No files matched your search
@@ -16,7 +16,7 @@ namespace CalamityMod.Items.Weapons.Rogue
|
||||
}
|
||||
public override void SafeSetDefaults()
|
||||
{
|
||||
item.damage = 20;
|
||||
item.damage = 14;
|
||||
item.shootSpeed = 12f;
|
||||
item.shoot = ModContent.ProjectileType<Brick>();
|
||||
item.width = 26;
|
||||
|
||||
@@ -22,7 +22,8 @@ namespace CalamityMod.Projectiles.Ranged
|
||||
projectile.ranged = true;
|
||||
projectile.alpha = 255;
|
||||
projectile.penetrate = -1;
|
||||
projectile.localNPCHitCooldown = 5;
|
||||
projectile.usesLocalNPCImmunity = true;
|
||||
projectile.localNPCHitCooldown = 7;
|
||||
}
|
||||
|
||||
public override void AI()
|
||||
|
||||
@@ -21,7 +21,7 @@ namespace CalamityMod.Projectiles.Ranged
|
||||
projectile.penetrate = -1;
|
||||
projectile.timeLeft = 240; //1200
|
||||
projectile.usesLocalNPCImmunity = true;
|
||||
projectile.localNPCHitCooldown = 6;
|
||||
projectile.localNPCHitCooldown = 8;
|
||||
}
|
||||
|
||||
public override void AI()
|
||||
@@ -134,7 +134,7 @@ namespace CalamityMod.Projectiles.Ranged
|
||||
Color color39 = Microsoft.Xna.Framework.Color.Lerp(Microsoft.Xna.Framework.Color.Transparent, value34, num237 * 2f);
|
||||
if (num237 > 0.5f)
|
||||
{
|
||||
color39 = Microsoft.Xna.Framework.Color.Lerp(Microsoft.Xna.Framework.Color.Transparent, value34, 2f - num237 * 2f);
|
||||
color39 = Microsoft.Xna.Framework.Color.Lerp(Microsoft.Xna.Framework.Color.Transparent, value34, 2f - num237 * 2f );
|
||||
}
|
||||
color39.A = (byte)((float)color39.A * 0.5f);
|
||||
color39 *= scale5;
|
||||
@@ -142,7 +142,7 @@ namespace CalamityMod.Projectiles.Ranged
|
||||
vector34.Y = 0f;
|
||||
vector34.X = 0f;
|
||||
vector34 += new Vector2(value33.X, num236) - Main.screenPosition;
|
||||
Main.spriteBatch.Draw(texture2D23, vector34, new Microsoft.Xna.Framework.Rectangle?(rectangle9), color39, num233 + num238, origin3, 1f + num239, SpriteEffects.None, 0f);
|
||||
Main.spriteBatch.Draw(texture2D23, vector34, new Microsoft.Xna.Framework.Rectangle?(rectangle9), color39, num233 + num238, origin3, 1f + num239, SpriteEffects.None , 0f);
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
@@ -111,7 +111,7 @@ namespace CalamityMod.Projectiles.Ranged
|
||||
{
|
||||
if (projectile.owner == Main.myPlayer)
|
||||
{
|
||||
Projectile.NewProjectile(projectile.Center.X, projectile.Center.Y, 0f, 0f, ModContent.ProjectileType<ExoMark>(), projectile.damage, projectile.knockBack, projectile.owner, 0f, 0f);
|
||||
Projectile.NewProjectile(projectile.Center.X, projectile.Center.Y, 0f, 0f, ModContent.ProjectileType<ExoMark>(), (int)(projectile.damage * 0.6f), projectile.knockBack, projectile.owner, 0f, 0f);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -63,7 +63,7 @@ namespace CalamityMod.Projectiles.Rogue
|
||||
|
||||
public override void Kill(int timeLeft)
|
||||
{
|
||||
if (Main.rand.Next(2) == 0)
|
||||
if (Main.rand.Next(4) == 0)
|
||||
{
|
||||
Item.NewItem((int)projectile.position.X, (int)projectile.position.Y, projectile.width, projectile.height, ModContent.ItemType<IronFrancisca>());
|
||||
}
|
||||
|
||||
@@ -63,7 +63,7 @@ namespace CalamityMod.Projectiles.Rogue
|
||||
|
||||
public override void Kill(int timeLeft)
|
||||
{
|
||||
if (Main.rand.Next(2) == 0)
|
||||
if (Main.rand.Next(4) == 0)
|
||||
{
|
||||
Item.NewItem((int)projectile.position.X, (int)projectile.position.Y, projectile.width, projectile.height, ModContent.ItemType<LeadTomahawk>());
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user