removed Projectiles. qualification since no projectiles exist in root namespace

This commit is contained in:
Ozzatron committed 2019-10-19 00:30:25 -04:00
1 parent a9223e1342
commit 4fe67bfe68
73 files changed
+89 -89

No files matched your search

+1 -1
View File
@@ -34,7 +34,7 @@ namespace CalamityMod.Items.Weapons.Magic
public override bool Shoot(Player player, ref Microsoft.Xna.Framework.Vector2 position, ref float speedX, ref float speedY, ref int type, ref int damage, ref float knockBack)
{
Projectile.NewProjectile(position.X, position.Y, speedX, speedY, ModContent.ProjectileType<Projectiles.GhastlyVisage>(), damage, knockBack, player.whoAmI, 0f, 0f);
Projectile.NewProjectile(position.X, position.Y, speedX, speedY, ModContent.ProjectileType<GhastlyVisageProj>(), damage, knockBack, player.whoAmI, 0f, 0f);
return false;
}
}
+1 -1
View File
@@ -63,7 +63,7 @@ namespace CalamityMod.Items.Weapons.Melee
Main.PlaySound(2, (int)player.position.X, (int)player.position.Y, 14);
// TODO -- HiveBombExplosion doesn't exist. Is it supposed to?
// Projectile.NewProjectile(target.Center.X, target.Center.Y, 0f, 0f, ModContent.ProjectileType<Projectiles.HiveBombExplosion>(), (int)((float)item.damage * player.meleeDamage), knockback, Main.myPlayer);
// Projectile.NewProjectile(target.Center.X, target.Center.Y, 0f, 0f, ModContent.ProjectileType<HiveBombExplosion>(), (int)((float)item.damage * player.meleeDamage), knockback, Main.myPlayer);
for (int num621 = 0; num621 < 30; num621++)
{
+1 -1
View File
@@ -52,7 +52,7 @@ namespace CalamityMod.Items.Weapons.Ranged
public override bool Shoot(Player player, ref Vector2 position, ref float speedX, ref float speedY, ref int type, ref int damage, ref float knockBack)
{
Projectile.NewProjectile(position.X, position.Y, speedX, speedY, ModContent.ProjectileType<Projectiles.AMR>(), damage, knockBack, player.whoAmI, 0f, 0f);
Projectile.NewProjectile(position.X, position.Y, speedX, speedY, ModContent.ProjectileType<AMR>(), damage, knockBack, player.whoAmI, 0f, 0f);
return false;
}
}
+2 -2
View File
@@ -28,7 +28,7 @@ namespace CalamityMod.Items.Weapons.Ranged
item.rare = 3;
item.UseSound = SoundID.Item11;
item.autoReuse = true;
item.shoot = ModContent.ProjectileType<Projectiles.Archerfish>();
item.shoot = ModContent.ProjectileType<Archerfish>();
item.shootSpeed = 11f;
item.useAmmo = 97;
}
@@ -40,7 +40,7 @@ namespace CalamityMod.Items.Weapons.Ranged
public override bool Shoot(Player player, ref Vector2 position, ref float speedX, ref float speedY, ref int type, ref int damage, ref float knockBack)
{
Projectile.NewProjectile(position.X, position.Y, speedX, speedY, ModContent.ProjectileType<Projectiles.Archerfish>(), damage, knockBack, player.whoAmI, 0f, 0f);
Projectile.NewProjectile(position.X, position.Y, speedX, speedY, ModContent.ProjectileType<Archerfish>(), damage, knockBack, player.whoAmI, 0f, 0f);
return false;
}
}
+2 -2
View File
@@ -31,7 +31,7 @@ namespace CalamityMod.Items.Weapons.Ranged
item.rare = 10;
item.UseSound = SoundID.Item102;
item.autoReuse = true;
item.shoot = ModContent.ProjectileType<Projectiles.BloodfireArrow>();
item.shoot = ModContent.ProjectileType<BloodfireArrow>();
item.shootSpeed = 30f;
item.useAmmo = 40;
item.Calamity().postMoonLordRarity = 13;
@@ -89,7 +89,7 @@ namespace CalamityMod.Items.Weapons.Ranged
float speedY5 = num79;
if (type == ProjectileID.WoodenArrowFriendly)
{
int bloodfire = Projectile.NewProjectile(vector2.X, vector2.Y, speedX4, speedY5, ModContent.ProjectileType<Projectiles.BloodfireArrow>(), damage, knockBack, player.whoAmI, 0f, (float)Main.rand.Next(15));
int bloodfire = Projectile.NewProjectile(vector2.X, vector2.Y, speedX4, speedY5, ModContent.ProjectileType<BloodfireArrow>(), damage, knockBack, player.whoAmI, 0f, (float)Main.rand.Next(15));
Main.projectile[bloodfire].tileCollide = false;
}
else
+2 -2
View File
@@ -30,14 +30,14 @@ namespace CalamityMod.Items.Weapons.Ranged
item.ranged = true;
item.channel = true;
item.autoReuse = true;
item.shoot = ModContent.ProjectileType<Projectiles.Butcher>();
item.shoot = ModContent.ProjectileType<Butcher>();
item.shootSpeed = 12f;
item.useAmmo = 97;
}
public override bool Shoot(Player player, ref Vector2 position, ref float speedX, ref float speedY, ref int type, ref int damage, ref float knockBack)
{
Projectile.NewProjectile(position.X, position.Y, speedX, speedY, ModContent.ProjectileType<Projectiles.Butcher>(), damage, knockBack, player.whoAmI, 0.0f, 0.0f);
Projectile.NewProjectile(position.X, position.Y, speedX, speedY, ModContent.ProjectileType<Butcher>(), damage, knockBack, player.whoAmI, 0.0f, 0.0f);
return false;
}
+2 -2
View File
@@ -28,7 +28,7 @@ namespace CalamityMod.Items.Weapons.Ranged
item.value = Item.buyPrice(5, 0, 0, 0);
item.rare = 10;
item.autoReuse = true;
item.shoot = ModContent.ProjectileType<Projectiles.Contagion>();
item.shoot = ModContent.ProjectileType<Contagion>();
item.shootSpeed = 20f;
item.useAmmo = 40;
item.Calamity().postMoonLordRarity = 16;
@@ -46,7 +46,7 @@ namespace CalamityMod.Items.Weapons.Ranged
public override bool Shoot(Player player, ref Microsoft.Xna.Framework.Vector2 position, ref float speedX, ref float speedY, ref int type, ref int damage, ref float knockBack)
{
Projectile.NewProjectile(position.X, position.Y, speedX, speedY, ModContent.ProjectileType<Projectiles.Contagion>(), damage, knockBack, player.whoAmI, 0.0f, 0.0f);
Projectile.NewProjectile(position.X, position.Y, speedX, speedY, ModContent.ProjectileType<Contagion>(), damage, knockBack, player.whoAmI, 0.0f, 0.0f);
return false;
}
}
+2 -2
View File
@@ -30,7 +30,7 @@ namespace CalamityMod.Items.Weapons.Ranged
item.ranged = true;
item.channel = true;
item.autoReuse = true;
item.shoot = ModContent.ProjectileType<Projectiles.DaemonsFlame>();
item.shoot = ModContent.ProjectileType<DaemonsFlame>();
item.shootSpeed = 20f;
item.useAmmo = 40;
item.Calamity().postMoonLordRarity = 13;
@@ -38,7 +38,7 @@ namespace CalamityMod.Items.Weapons.Ranged
public override bool Shoot(Player player, ref Vector2 position, ref float speedX, ref float speedY, ref int type, ref int damage, ref float knockBack)
{
Projectile.NewProjectile(position.X, position.Y, speedX, speedY, ModContent.ProjectileType<Projectiles.DaemonsFlame>(), damage, knockBack, player.whoAmI, 0f, 0f);
Projectile.NewProjectile(position.X, position.Y, speedX, speedY, ModContent.ProjectileType<DaemonsFlame>(), damage, knockBack, player.whoAmI, 0f, 0f);
return false;
}
}
+2 -2
View File
@@ -29,7 +29,7 @@ Right click to fire two devastating barrages of five empowered fireballs.
item.width = 64;
item.height = 84;
item.UseSound = SoundID.Item5;
item.shoot = ModContent.ProjectileType<Projectiles.Drataliornus>();
item.shoot = ModContent.ProjectileType<Drataliornus>();
item.value = Item.buyPrice(5, 0, 0, 0);
item.rare = 10;
item.noMelee = true;
@@ -84,7 +84,7 @@ Right click to fire two devastating barrages of five empowered fireballs.
}
else
{
Projectile.NewProjectile(position.X, position.Y, speedX, speedY, ModContent.ProjectileType<Projectiles.Drataliornus>(), 0, 0f, player.whoAmI);
Projectile.NewProjectile(position.X, position.Y, speedX, speedY, ModContent.ProjectileType<Drataliornus>(), 0, 0f, player.whoAmI);
}
return false;
+1 -1
View File
@@ -29,7 +29,7 @@ namespace CalamityMod.Items.Weapons.Ranged
item.UseSound = SoundID.Item10;
item.autoReuse = true;
item.shootSpeed = 20f;
item.shoot = ModContent.ProjectileType<Projectiles.Triploon>();
item.shoot = ModContent.ProjectileType<Triploon>();
}
public override Vector2? HoldoutOffset()
+2 -2
View File
@@ -29,13 +29,13 @@ namespace CalamityMod.Items.Weapons.Ranged
item.useAmmo = AmmoID.Arrow;
item.UseSound = SoundID.Item5;
item.autoReuse = true;
item.shoot = ModContent.ProjectileType<Projectiles.IcicleArrow>();
item.shoot = ModContent.ProjectileType<IcicleArrow>();
item.shootSpeed = 11f;
}
public override bool Shoot(Player player, ref Vector2 position, ref float speedX, ref float speedY, ref int type, ref int damage, ref float knockBack)
{
if (type == ProjectileID.WoodenArrowFriendly)
type = ModContent.ProjectileType<Projectiles.IcicleArrow>();
type = ModContent.ProjectileType<IcicleArrow>();
return true;
}
+2 -2
View File
@@ -29,7 +29,7 @@ namespace CalamityMod.Items.Weapons.Ranged
item.UseSound = SoundID.Item108;
item.autoReuse = true;
item.shootSpeed = 9f;
item.shoot = ModContent.ProjectileType<Projectiles.Needler>();
item.shoot = ModContent.ProjectileType<Needler>();
item.useAmmo = 97;
}
@@ -40,7 +40,7 @@ namespace CalamityMod.Items.Weapons.Ranged
public override bool Shoot(Player player, ref Vector2 position, ref float speedX, ref float speedY, ref int type, ref int damage, ref float knockBack)
{
Projectile.NewProjectile(position.X, position.Y, speedX, speedY, ModContent.ProjectileType<Projectiles.Needler>(), damage, knockBack, player.whoAmI, 0f, 0f);
Projectile.NewProjectile(position.X, position.Y, speedX, speedY, ModContent.ProjectileType<Needler>(), damage, knockBack, player.whoAmI, 0f, 0f);
return false;
}
}
+2 -2
View File
@@ -24,7 +24,7 @@ namespace CalamityMod.Items.Weapons.Ranged
item.width = 140;
item.height = 42;
item.UseSound = SoundID.Item92;
item.shoot = ModContent.ProjectileType<Projectiles.Norfleet>();
item.shoot = ModContent.ProjectileType<Norfleet>();
item.value = Item.buyPrice(1, 80, 0, 0);
item.rare = 10;
item.noMelee = true;
@@ -44,7 +44,7 @@ namespace CalamityMod.Items.Weapons.Ranged
public override bool Shoot(Player player, ref Vector2 position, ref float speedX, ref float speedY, ref int type, ref int damage, ref float knockBack)
{
Projectile.NewProjectile(position.X, position.Y, speedX, speedY, ModContent.ProjectileType<Projectiles.Norfleet>(), 0, 0f, player.whoAmI);
Projectile.NewProjectile(position.X, position.Y, speedX, speedY, ModContent.ProjectileType<Norfleet>(), 0, 0f, player.whoAmI);
return false;
}
}
+1 -1
View File
@@ -44,7 +44,7 @@ namespace CalamityMod.Items.Weapons.Ranged
for (int index = 0; index < 2; ++index)
{
float speedMult = (float)(index + 1) * 0.15f;
Projectile.NewProjectile(position.X, position.Y, speedX * speedMult, speedY * speedMult, ModContent.ProjectileType<Projectiles.FrostsparkBullet>(), (int)((double)damage * 0.75), knockBack, player.whoAmI, 0f, 0f);
Projectile.NewProjectile(position.X, position.Y, speedX * speedMult, speedY * speedMult, ModContent.ProjectileType<FrostsparkBullet>(), (int)((double)damage * 0.75), knockBack, player.whoAmI, 0f, 0f);
}
Projectile.NewProjectile(position.X, position.Y, speedX, speedY, ModContent.ProjectileType<ShockblastRound>(), damage, knockBack, player.whoAmI, 0f, 0f);
return false;
+2 -2
View File
@@ -30,7 +30,7 @@ namespace CalamityMod.Items.Weapons.Ranged
item.ranged = true;
item.channel = true;
item.autoReuse = true;
item.shoot = ModContent.ProjectileType<Projectiles.Phangasm>();
item.shoot = ModContent.ProjectileType<Phangasm>();
item.shootSpeed = 20f;
item.useAmmo = 40;
item.Calamity().postMoonLordRarity = 14;
@@ -38,7 +38,7 @@ namespace CalamityMod.Items.Weapons.Ranged
public override bool Shoot(Player player, ref Vector2 position, ref float speedX, ref float speedY, ref int type, ref int damage, ref float knockBack)
{
Projectile.NewProjectile(position.X, position.Y, speedX, speedY, ModContent.ProjectileType<Projectiles.Phangasm>(), damage, knockBack, player.whoAmI, 0f, 0f);
Projectile.NewProjectile(position.X, position.Y, speedX, speedY, ModContent.ProjectileType<Phangasm>(), damage, knockBack, player.whoAmI, 0f, 0f);
return false;
}
+1 -1
View File
@@ -45,7 +45,7 @@ namespace CalamityMod.Items.Weapons.Ranged
{
float SpeedX = speedX + (float)Main.rand.Next(-15, 16) * 0.05f;
float SpeedY = speedY + (float)Main.rand.Next(-15, 16) * 0.05f;
Projectile.NewProjectile(position.X, position.Y, SpeedX, SpeedY, ModContent.ProjectileType<Projectiles.AMR>(), damage, knockBack, player.whoAmI, 0f, 0f);
Projectile.NewProjectile(position.X, position.Y, SpeedX, SpeedY, ModContent.ProjectileType<AMR>(), damage, knockBack, player.whoAmI, 0f, 0f);
}
return false;
}
+2 -2
View File
@@ -29,7 +29,7 @@ namespace CalamityMod.Items.Weapons.Ranged
item.UseSound = SoundID.Item108;
item.autoReuse = true;
item.shootSpeed = 9f;
item.shoot = ModContent.ProjectileType<Projectiles.Spyker>();
item.shoot = ModContent.ProjectileType<Spyker>();
item.useAmmo = 97;
item.Calamity().postMoonLordRarity = 12;
}
@@ -41,7 +41,7 @@ namespace CalamityMod.Items.Weapons.Ranged
public override bool Shoot(Player player, ref Vector2 position, ref float speedX, ref float speedY, ref int type, ref int damage, ref float knockBack)
{
Projectile.NewProjectile(position.X, position.Y, speedX, speedY, ModContent.ProjectileType<Projectiles.Spyker>(), damage, knockBack, player.whoAmI, 0.0f, 0.0f);
Projectile.NewProjectile(position.X, position.Y, speedX, speedY, ModContent.ProjectileType<Spyker>(), damage, knockBack, player.whoAmI, 0.0f, 0.0f);
return false;
}
+2 -2
View File
@@ -25,7 +25,7 @@ namespace CalamityMod.Items.Weapons.Ranged
item.width = 122;
item.height = 50;
item.UseSound = SoundID.Item92;
item.shoot = ModContent.ProjectileType<Projectiles.StarfleetMK2>();
item.shoot = ModContent.ProjectileType<StarfleetMK2>();
item.value = Item.buyPrice(1, 80, 0, 0);
item.rare = 10;
item.noMelee = true;
@@ -45,7 +45,7 @@ namespace CalamityMod.Items.Weapons.Ranged
public override bool Shoot(Player player, ref Vector2 position, ref float speedX, ref float speedY, ref int type, ref int damage, ref float knockBack)
{
Projectile.NewProjectile(position.X, position.Y, speedX, speedY, ModContent.ProjectileType<Projectiles.StarfleetMK2>(), 0, 0f, player.whoAmI);
Projectile.NewProjectile(position.X, position.Y, speedX, speedY, ModContent.ProjectileType<StarfleetMK2>(), 0, 0f, player.whoAmI);
return false;
}
+1 -1
View File
@@ -28,7 +28,7 @@ namespace CalamityMod.Items.Weapons.Ranged
item.value = Item.buyPrice(0, 4, 0, 0);
item.rare = 3;
item.autoReuse = false;
item.shoot = ModContent.ProjectileType<Projectiles.StormSurge>();
item.shoot = ModContent.ProjectileType<StormSurge>();
item.shootSpeed = 12f;
}
+2 -2
View File
@@ -28,7 +28,7 @@ namespace CalamityMod.Items.Weapons.Ranged
item.rare = 10;
item.UseSound = SoundID.Item5;
item.autoReuse = true;
item.shoot = ModContent.ProjectileType<Projectiles.TelluricGlare>();
item.shoot = ModContent.ProjectileType<TelluricGlare>();
item.shootSpeed = 12f;
item.useAmmo = 40;
item.Calamity().postMoonLordRarity = 12;
@@ -36,7 +36,7 @@ namespace CalamityMod.Items.Weapons.Ranged
public override bool Shoot(Player player, ref Vector2 position, ref float speedX, ref float speedY, ref int type, ref int damage, ref float knockBack)
{
Projectile.NewProjectile(position.X, position.Y, speedX, speedY, ModContent.ProjectileType<Projectiles.TelluricGlare>(), damage, knockBack, player.whoAmI, 0f, 0f);
Projectile.NewProjectile(position.X, position.Y, speedX, speedY, ModContent.ProjectileType<TelluricGlare>(), damage, knockBack, player.whoAmI, 0f, 0f);
return false;
}
}
+1 -1
View File
@@ -29,7 +29,7 @@ namespace CalamityMod.Items.Weapons.Ranged
item.UseSound = SoundID.Item10;
item.autoReuse = true;
item.shootSpeed = 20f;
item.shoot = ModContent.ProjectileType<Projectiles.Triploon>();
item.shoot = ModContent.ProjectileType<Triploon>();
}
public override Vector2? HoldoutOffset()
+1 -1
View File
@@ -27,7 +27,7 @@ namespace CalamityMod.Items.Weapons.Rogue
item.height = 38;
item.value = Item.buyPrice(1, 20, 0, 0);
item.rare = 10;
item.shoot = ModContent.ProjectileType<Projectiles.AccretionDisk>();
item.shoot = ModContent.ProjectileType<AccretionDisk>();
item.shootSpeed = 13f;
item.Calamity().rogue = true;
item.Calamity().postMoonLordRarity = 12;
+1 -1
View File
@@ -27,7 +27,7 @@ namespace CalamityMod.Items.Weapons.Rogue
item.height = 38;
item.value = Item.buyPrice(0, 60, 0, 0);
item.rare = 7;
item.shoot = ModContent.ProjectileType<Projectiles.BallisticPoisonBomb>();
item.shoot = ModContent.ProjectileType<BallisticPoisonBomb>();
item.shootSpeed = 12f;
item.Calamity().rogue = true;
}
+1 -1
View File
@@ -27,7 +27,7 @@ namespace CalamityMod.Items.Weapons.Rogue
item.height = 30;
item.value = Item.buyPrice(0, 60, 0, 0);
item.rare = 7;
item.shoot = ModContent.ProjectileType<Projectiles.BrackishFlask>();
item.shoot = ModContent.ProjectileType<BrackishFlask>();
item.shootSpeed = 12f;
item.Calamity().rogue = true;
}
+1 -1
View File
@@ -27,7 +27,7 @@ namespace CalamityMod.Items.Weapons.Rogue
item.height = 26;
item.value = Item.buyPrice(0, 48, 0, 0);
item.rare = 6;
item.shoot = ModContent.ProjectileType<Projectiles.Brimblade>();
item.shoot = ModContent.ProjectileType<Brimblade>();
item.shootSpeed = 12f;
item.Calamity().rogue = true;
}
+1 -1
View File
@@ -27,7 +27,7 @@ namespace CalamityMod.Items.Weapons.Rogue
item.height = 20;
item.value = Item.buyPrice(2, 50, 0, 0);
item.rare = 10;
item.shoot = ModContent.ProjectileType<Projectiles.Celestus>();
item.shoot = ModContent.ProjectileType<Celestus>();
item.shootSpeed = 25f;
item.Calamity().rogue = true;
item.Calamity().postMoonLordRarity = 15;
+1 -1
View File
@@ -28,7 +28,7 @@ namespace CalamityMod.Items.Weapons.Rogue
item.value = Item.buyPrice(0, 80, 0, 0);
item.rare = 8;
item.Calamity().postMoonLordRarity = 21;
item.shoot = ModContent.ProjectileType<Projectiles.CorpusAvertor>();
item.shoot = ModContent.ProjectileType<CorpusAvertor>();
item.shootSpeed = 5f;
item.Calamity().rogue = true;
}
+1 -1
View File
@@ -27,7 +27,7 @@ namespace CalamityMod.Items.Weapons.Rogue
item.height = 48;
item.value = Item.buyPrice(1, 40, 0, 0);
item.rare = 10;
item.shoot = ModContent.ProjectileType<Projectiles.CosmicKunai>();
item.shoot = ModContent.ProjectileType<CosmicKunai>();
item.shootSpeed = 28f;
item.rare = 9;
item.Calamity().rogue = true;
+2 -2
View File
@@ -27,7 +27,7 @@ namespace CalamityMod.Items.Weapons.Rogue
item.UseSound = SoundID.Item1;
item.value = Item.buyPrice(0, 80, 0, 0);
item.rare = 8;
item.shoot = ModContent.ProjectileType<Projectiles.CraniumSmasher>();
item.shoot = ModContent.ProjectileType<CraniumSmasher>();
item.shootSpeed = 20f;
item.Calamity().rogue = true;
}
@@ -41,7 +41,7 @@ namespace CalamityMod.Items.Weapons.Rogue
}
else
{
type = ModContent.ProjectileType<Projectiles.CraniumSmasher>();
type = ModContent.ProjectileType<CraniumSmasher>();
}
Projectile.NewProjectile(position.X, position.Y, speedX, speedY, type, damage, knockBack, player.whoAmI, 0.0f, 0.0f);
return false;
+1 -1
View File
@@ -28,7 +28,7 @@ namespace CalamityMod.Items.Weapons.Rogue
item.height = 44;
item.value = Item.buyPrice(0, 2, 0, 0);
item.rare = 2;
item.shoot = ModContent.ProjectileType<Projectiles.Crystalline>();
item.shoot = ModContent.ProjectileType<Crystalline>();
item.shootSpeed = 10f;
item.Calamity().rogue = true;
}
+1 -1
View File
@@ -27,7 +27,7 @@ namespace CalamityMod.Items.Weapons.Rogue
item.height = 34;
item.value = Item.buyPrice(0, 36, 0, 0);
item.rare = 5;
item.shoot = ModContent.ProjectileType<Projectiles.CursedDagger>();
item.shoot = ModContent.ProjectileType<CursedDagger>();
item.shootSpeed = 12f;
item.Calamity().rogue = true;
}
+1 -1
View File
@@ -27,7 +27,7 @@ namespace CalamityMod.Items.Weapons.Rogue
item.height = 24;
item.value = Item.buyPrice(0, 60, 0, 0);
item.rare = 7;
item.shoot = ModContent.ProjectileType<Projectiles.DuststormInABottle>();
item.shoot = ModContent.ProjectileType<DuststormInABottle>();
item.shootSpeed = 12f;
item.Calamity().rogue = true;
}
+1 -1
View File
@@ -29,7 +29,7 @@ namespace CalamityMod.Items.Weapons.Rogue
item.height = 20;
item.value = Item.buyPrice(1, 80, 0, 0);
item.rare = 10;
item.shoot = ModContent.ProjectileType<Projectiles.EmpyreanKnives>();
item.shoot = ModContent.ProjectileType<EmpyreanKnives>();
item.shootSpeed = 15f;
item.Calamity().rogue = true;
item.Calamity().postMoonLordRarity = 14;
+1 -1
View File
@@ -29,7 +29,7 @@ namespace CalamityMod.Items.Weapons.Rogue
item.height = 64;
item.value = Item.buyPrice(1, 80, 0, 0);
item.rare = 10;
item.shoot = ModContent.ProjectileType<Projectiles.ExecutionersBlade>();
item.shoot = ModContent.ProjectileType<ExecutionersBlade>();
item.shootSpeed = 26f;
item.Calamity().rogue = true;
item.Calamity().postMoonLordRarity = 14;
+1 -1
View File
@@ -29,7 +29,7 @@ namespace CalamityMod.Items.Weapons.Rogue
item.knockBack = 2f;
item.value = Item.buyPrice(0, 0, 5, 0);
item.rare = 5;
item.shoot = ModContent.ProjectileType<Projectiles.FrostyFlare>();
item.shoot = ModContent.ProjectileType<FrostyFlare>();
item.shootSpeed = 22f;
item.maxStack = 999;
item.consumable = true;
+1 -1
View File
@@ -27,7 +27,7 @@ namespace CalamityMod.Items.Weapons.Rogue
item.height = 60;
item.value = Item.buyPrice(1, 40, 0, 0);
item.rare = 10;
item.shoot = ModContent.ProjectileType<Projectiles.GhoulishGouger>();
item.shoot = ModContent.ProjectileType<GhoulishGouger>();
item.shootSpeed = 20f;
item.Calamity().rogue = true;
item.Calamity().postMoonLordRarity = 13;
+1 -1
View File
@@ -29,7 +29,7 @@ namespace CalamityMod.Items.Weapons.Rogue
item.autoReuse = true;
item.value = Item.buyPrice(0, 60, 0, 0);
item.rare = 7;
item.shoot = ModContent.ProjectileType<Projectiles.HeavenfallenStardisk>();
item.shoot = ModContent.ProjectileType<HeavenfallenStardisk>();
item.shootSpeed = 10f;
item.Calamity().rogue = true;
}
+1 -1
View File
@@ -26,7 +26,7 @@ namespace CalamityMod.Items.Weapons.Rogue
item.height = 60;
item.value = Item.buyPrice(0, 36, 0, 0);
item.rare = 5;
item.shoot = ModContent.ProjectileType<Projectiles.Icebreaker>();
item.shoot = ModContent.ProjectileType<Icebreaker>();
item.shootSpeed = 16f;
item.Calamity().rogue = true;
}
+1 -1
View File
@@ -26,7 +26,7 @@ namespace CalamityMod.Items.Weapons.Rogue
item.height = 52;
item.value = Item.buyPrice(0, 36, 0, 0);
item.rare = 5;
item.shoot = ModContent.ProjectileType<Projectiles.IchorSpear>();
item.shoot = ModContent.ProjectileType<IchorSpear>();
item.shootSpeed = 20f;
item.Calamity().rogue = true;
}
+1 -1
View File
@@ -31,7 +31,7 @@ namespace CalamityMod.Items.Weapons.Rogue
item.maxStack = 999;
item.value = 1000;
item.rare = 0;
item.shoot = ModContent.ProjectileType<Projectiles.IronFrancisca>();
item.shoot = ModContent.ProjectileType<IronFrancisca>();
item.shootSpeed = 12f;
item.Calamity().rogue = true;
}
+1 -1
View File
@@ -27,7 +27,7 @@ namespace CalamityMod.Items.Weapons.Rogue
item.height = 20;
item.value = Item.buyPrice(0, 48, 0, 0);
item.rare = 6;
item.shoot = ModContent.ProjectileType<Projectiles.KelvinCatalyst>();
item.shoot = ModContent.ProjectileType<KelvinCatalyst>();
item.shootSpeed = 8f;
item.Calamity().rogue = true;
item.Calamity().postMoonLordRarity = 21;
+1 -1
View File
@@ -31,7 +31,7 @@ namespace CalamityMod.Items.Weapons.Rogue
item.maxStack = 999;
item.value = 1000;
item.rare = 0;
item.shoot = ModContent.ProjectileType<Projectiles.LeadTomahawk>();
item.shoot = ModContent.ProjectileType<LeadTomahawk>();
item.shootSpeed = 12f;
item.Calamity().rogue = true;
}
+1 -1
View File
@@ -27,7 +27,7 @@ namespace CalamityMod.Items.Weapons.Rogue
item.height = 40;
item.value = Item.buyPrice(0, 4, 0, 0);
item.rare = 3;
item.shoot = ModContent.ProjectileType<Projectiles.Lionfish>();
item.shoot = ModContent.ProjectileType<Lionfish>();
item.shootSpeed = 12f;
item.Calamity().rogue = true;
}
+2 -2
View File
@@ -30,7 +30,7 @@ namespace CalamityMod.Items.Weapons.Rogue
item.height = 58;
item.value = Item.buyPrice(0, 80, 0, 0);
item.rare = 8;
item.shoot = ModContent.ProjectileType<Projectiles.Malachite>();
item.shoot = ModContent.ProjectileType<Malachite>();
item.shootSpeed = 10f;
item.Calamity().rogue = true;
item.Calamity().postMoonLordRarity = 17;
@@ -66,7 +66,7 @@ namespace CalamityMod.Items.Weapons.Rogue
}
else
{
Projectile.NewProjectile(position.X, position.Y, speedX, speedY, ModContent.ProjectileType<Projectiles.Malachite>(), damage, knockBack, player.whoAmI, 0f, 0f);
Projectile.NewProjectile(position.X, position.Y, speedX, speedY, ModContent.ProjectileType<Malachite>(), damage, knockBack, player.whoAmI, 0f, 0f);
}
return false;
}
+1 -1
View File
@@ -28,7 +28,7 @@ namespace CalamityMod.Items.Weapons.Rogue
item.height = 28;
item.value = Item.buyPrice(0, 2, 0, 0);
item.rare = 2;
item.shoot = ModContent.ProjectileType<Projectiles.MeteorFist>();
item.shoot = ModContent.ProjectileType<MeteorFist>();
item.shootSpeed = 10f;
item.Calamity().rogue = true;
}
+1 -1
View File
@@ -27,7 +27,7 @@ namespace CalamityMod.Items.Weapons.Rogue
item.height = 60;
item.value = Item.buyPrice(1, 20, 0, 0);
item.rare = 10;
item.shoot = ModContent.ProjectileType<Projectiles.MoltenAmputator>();
item.shoot = ModContent.ProjectileType<MoltenAmputator>();
item.shootSpeed = 12f;
item.Calamity().rogue = true;
item.Calamity().postMoonLordRarity = 12;
+1 -1
View File
@@ -27,7 +27,7 @@ namespace CalamityMod.Items.Weapons.Rogue
item.height = 32;
item.rare = 2;
item.value = Item.buyPrice(0, 2, 0, 0);
item.shoot = ModContent.ProjectileType<Projectiles.Mycoroot>();
item.shoot = ModContent.ProjectileType<Mycoroot>();
item.shootSpeed = 20f;
item.Calamity().rogue = true;
}
+1 -1
View File
@@ -29,7 +29,7 @@ namespace CalamityMod.Items.Weapons.Rogue
item.height = 28;
item.value = Item.buyPrice(0, 1, 0, 0);
item.rare = 8;
item.shoot = ModContent.ProjectileType<Projectiles.Plaguenade>();
item.shoot = ModContent.ProjectileType<Plaguenade>();
item.shootSpeed = 12f;
item.Calamity().rogue = true;
item.Calamity().postMoonLordRarity = 21;
+1 -1
View File
@@ -28,7 +28,7 @@ namespace CalamityMod.Items.Weapons.Rogue
item.height = 46;
item.value = Item.buyPrice(0, 36, 0, 0);
item.rare = 5;
item.shoot = ModContent.ProjectileType<Projectiles.Prismalline>();
item.shoot = ModContent.ProjectileType<Prismalline>();
item.shootSpeed = 16f;
item.Calamity().rogue = true;
}
+1 -1
View File
@@ -27,7 +27,7 @@ namespace CalamityMod.Items.Weapons.Rogue
item.height = 68;
item.value = Item.buyPrice(0, 48, 0, 0);
item.rare = 6;
item.shoot = ModContent.ProjectileType<Projectiles.Pwnagehammer>();
item.shoot = ModContent.ProjectileType<Pwnagehammer>();
item.shootSpeed = 12f;
item.Calamity().rogue = true;
}
+1 -1
View File
@@ -28,7 +28,7 @@ namespace CalamityMod.Items.Weapons.Rogue
item.height = 48;
item.value = Item.buyPrice(0, 95, 0, 0);
item.rare = 9;
item.shoot = ModContent.ProjectileType<Projectiles.RadiantStar>();
item.shoot = ModContent.ProjectileType<RadiantStar>();
item.shootSpeed = 20f;
item.Calamity().rogue = true;
}
@@ -27,7 +27,7 @@ namespace CalamityMod.Items.Weapons.Rogue
item.height = 20;
item.value = Item.buyPrice(1, 80, 0, 0);
item.rare = 10;
item.shoot = ModContent.ProjectileType<Projectiles.ScourgeoftheCosmos>();
item.shoot = ModContent.ProjectileType<ScourgeoftheCosmos>();
item.shootSpeed = 15f;
item.Calamity().rogue = true;
item.Calamity().postMoonLordRarity = 14;
+1 -1
View File
@@ -27,7 +27,7 @@ namespace CalamityMod.Items.Weapons.Rogue
item.height = 44;
item.value = Item.buyPrice(0, 2, 0, 0);
item.rare = 2;
item.shoot = ModContent.ProjectileType<Projectiles.ScourgeoftheDesert>();
item.shoot = ModContent.ProjectileType<ScourgeoftheDesert>();
item.shootSpeed = 12f;
item.Calamity().rogue = true;
}
+1 -1
View File
@@ -27,7 +27,7 @@ namespace CalamityMod.Items.Weapons.Rogue
item.autoReuse = true;
item.value = Item.buyPrice(0, 2, 0, 0);
item.rare = 2;
item.shoot = ModContent.ProjectileType<Projectiles.SeafoamBomb>();
item.shoot = ModContent.ProjectileType<SeafoamBomb>();
item.shootSpeed = 8f;
item.Calamity().rogue = true;
}
+1 -1
View File
@@ -28,7 +28,7 @@ namespace CalamityMod.Items.Weapons.Rogue
item.autoReuse = true;
item.value = Item.buyPrice(1, 20, 0, 0);
item.rare = 10;
item.shoot = ModContent.ProjectileType<Projectiles.ShatteredSun>();
item.shoot = ModContent.ProjectileType<ShatteredSun>();
item.shootSpeed = 25f;
item.Calamity().rogue = true;
item.Calamity().postMoonLordRarity = 12;
+1 -1
View File
@@ -28,7 +28,7 @@ namespace CalamityMod.Items.Weapons.Rogue
item.height = 54;
item.value = Item.buyPrice(0, 36, 0, 0);
item.rare = 5;
item.shoot = ModContent.ProjectileType<Projectiles.SpearofPaleolith>();
item.shoot = ModContent.ProjectileType<SpearofPaleolith>();
item.shootSpeed = 35f;
item.Calamity().rogue = true;
}
+1 -1
View File
@@ -29,7 +29,7 @@ namespace CalamityMod.Items.Weapons.Rogue
item.autoReuse = true;
item.value = Item.buyPrice(0, 60, 0, 0);
item.rare = 7;
item.shoot = ModContent.ProjectileType<Projectiles.StellarKnife>();
item.shoot = ModContent.ProjectileType<StellarKnife>();
item.shootSpeed = 10f;
item.Calamity().rogue = true;
}
+1 -1
View File
@@ -26,7 +26,7 @@ namespace CalamityMod.Items.Weapons.Rogue
item.maxStack = 999;
item.value = 200;
item.rare = 1;
item.shoot = ModContent.ProjectileType<Projectiles.UrchinStinger>();
item.shoot = ModContent.ProjectileType<UrchinStinger>();
item.shootSpeed = 12f;
item.Calamity().rogue = true;
}
+1 -1
View File
@@ -27,7 +27,7 @@ namespace CalamityMod.Items.Weapons.Rogue
item.height = 64;
item.value = Item.buyPrice(1, 40, 0, 0);
item.rare = 10;
item.shoot = ModContent.ProjectileType<Projectiles.Valediction>();
item.shoot = ModContent.ProjectileType<Valediction>();
item.shootSpeed = 20f;
item.Calamity().rogue = true;
item.Calamity().postMoonLordRarity = 13;
+1 -1
View File
@@ -26,7 +26,7 @@ namespace CalamityMod.Items.Weapons.Rogue
item.maxStack = 999;
item.value = 100;
item.rare = 1;
item.shoot = ModContent.ProjectileType<Projectiles.WulfrumKnife>();
item.shoot = ModContent.ProjectileType<WulfrumKnife>();
item.shootSpeed = 12f;
item.Calamity().rogue = true;
}
+1 -1
View File
@@ -29,7 +29,7 @@ namespace CalamityMod.Items.Weapons.Summon
item.rare = 5;
item.UseSound = SoundID.Item30;
item.autoReuse = true;
item.shoot = ModContent.ProjectileType<Projectiles.IceClasper>();
item.shoot = ModContent.ProjectileType<IceClasper>();
item.shootSpeed = 10f;
item.summon = true;
}
+1 -1
View File
@@ -28,7 +28,7 @@ namespace CalamityMod.Items.Weapons.Summon
item.rare = 10;
item.UseSound = SoundID.Item83;
item.autoReuse = true;
item.shoot = ModContent.ProjectileType<Projectiles.Calamari>();
item.shoot = ModContent.ProjectileType<Calamari>();
item.shootSpeed = 10f;
item.summon = true;
item.Calamity().postMoonLordRarity = 13;
+1 -1
View File
@@ -28,7 +28,7 @@ namespace CalamityMod.Items.Weapons.Summon
item.rare = 4;
item.UseSound = SoundID.Item44;
item.autoReuse = true;
item.shoot = ModContent.ProjectileType<Projectiles.Corroslime>();
item.shoot = ModContent.ProjectileType<Corroslime>();
item.shootSpeed = 10f;
item.summon = true;
}
+2 -2
View File
@@ -30,7 +30,7 @@ namespace CalamityMod.Items.Weapons.Summon
item.rare = 10;
item.UseSound = SoundID.Item44;
item.autoReuse = true;
item.shoot = ModContent.ProjectileType<Projectiles.Cosmilamp>();
item.shoot = ModContent.ProjectileType<Cosmilamp>();
item.shootSpeed = 10f;
item.summon = true;
item.Calamity().postMoonLordRarity = 13;
@@ -59,7 +59,7 @@ namespace CalamityMod.Items.Weapons.Summon
num79 = 0f;
vector2.X = (float)Main.mouseX + Main.screenPosition.X;
vector2.Y = (float)Main.mouseY + Main.screenPosition.Y;
Projectile.NewProjectile(vector2.X, vector2.Y, num78, num79, ModContent.ProjectileType<Projectiles.Cosmilamp>(), damage, knockBack, player.whoAmI, 0f, 0f);
Projectile.NewProjectile(vector2.X, vector2.Y, num78, num79, ModContent.ProjectileType<Cosmilamp>(), damage, knockBack, player.whoAmI, 0f, 0f);
return false;
}
}
+1 -1
View File
@@ -28,7 +28,7 @@ namespace CalamityMod.Items.Weapons.Summon
item.rare = 4;
item.UseSound = SoundID.Item44;
item.autoReuse = true;
item.shoot = ModContent.ProjectileType<Projectiles.Crimslime>();
item.shoot = ModContent.ProjectileType<Crimslime>();
item.shootSpeed = 10f;
item.summon = true;
}
+1 -1
View File
@@ -29,7 +29,7 @@ namespace CalamityMod.Items.Weapons.Summon
item.rare = 3;
item.UseSound = SoundID.Item44;
item.autoReuse = true;
item.shoot = ModContent.ProjectileType<Projectiles.DankCreeper>();
item.shoot = ModContent.ProjectileType<DankCreeper>();
item.shootSpeed = 10f;
item.summon = true;
}
+1 -1
View File
@@ -28,7 +28,7 @@ namespace CalamityMod.Items.Weapons.Summon
item.rare = 5;
item.UseSound = SoundID.Item44;
item.autoReuse = true;
item.shoot = ModContent.ProjectileType<Projectiles.AquaticStar>();
item.shoot = ModContent.ProjectileType<AquaticStar>();
item.shootSpeed = 10f;
item.summon = true;
}
+1 -1
View File
@@ -29,7 +29,7 @@ namespace CalamityMod.Items.Weapons.Summon
item.rare = 10;
item.UseSound = SoundID.Item44;
item.autoReuse = true;
item.shoot = ModContent.ProjectileType<Projectiles.ElementalAxe>();
item.shoot = ModContent.ProjectileType<ElementalAxe>();
item.shootSpeed = 10f;
item.Calamity().postMoonLordRarity = 12;
}
+1 -1
View File
@@ -28,7 +28,7 @@ namespace CalamityMod.Items.Weapons.Summon
item.rare = 3;
item.UseSound = SoundID.Item21;
item.autoReuse = true;
item.shoot = ModContent.ProjectileType<Projectiles.Herring>();
item.shoot = ModContent.ProjectileType<Herring>();
item.shootSpeed = 10f;
item.summon = true;
}
+1 -1
View File
@@ -29,7 +29,7 @@ namespace CalamityMod.Items.Weapons.Summon
item.value = Item.buyPrice(0, 60, 0, 0);
item.rare = 7;
item.UseSound = SoundID.Item78;
item.shoot = ModContent.ProjectileType<Projectiles.Hive>();
item.shoot = ModContent.ProjectileType<Hive>();
}
public override bool AltFunctionUse(Player player)
+1 -1
View File
@@ -28,7 +28,7 @@ namespace CalamityMod.Items.Weapons.Summon
item.rare = 8;
item.UseSound = SoundID.Item44;
item.autoReuse = true;
item.shoot = ModContent.ProjectileType<Projectiles.Sandnado>();
item.shoot = ModContent.ProjectileType<Sandnado>();
item.shootSpeed = 10f;
item.summon = true;
}
+1 -1
View File
@@ -29,7 +29,7 @@ namespace CalamityMod.Items.Weapons.Summon
item.rare = 2;
item.UseSound = SoundID.Item44;
item.autoReuse = true;
item.shoot = ModContent.ProjectileType<Projectiles.BrittleStar>();
item.shoot = ModContent.ProjectileType<BrittleStar>();
item.shootSpeed = 10f;
item.summon = true;
}
+1 -1
View File
@@ -27,7 +27,7 @@ namespace CalamityMod.Items.Weapons.Typeless
item.rare = 3;
item.UseSound = SoundID.Item11;
item.autoReuse = true;
item.shoot = ModContent.ProjectileType<Projectiles.GoldenGun>();
item.shoot = ModContent.ProjectileType<GoldenGun>();
item.shootSpeed = 12f;
}