rebalance true nyanageddon
This commit is contained in:
@@ -12,7 +12,7 @@ namespace ForgottenWawiTech.Content.Items
|
|||||||
{
|
{
|
||||||
public override void SetDefaults()
|
public override void SetDefaults()
|
||||||
{
|
{
|
||||||
Item.damage = 1200;
|
Item.damage = 3000;
|
||||||
Item.DamageType = DamageClass.Ranged;
|
Item.DamageType = DamageClass.Ranged;
|
||||||
Item.width = 40;
|
Item.width = 40;
|
||||||
Item.height = 40;
|
Item.height = 40;
|
||||||
@@ -26,14 +26,14 @@ namespace ForgottenWawiTech.Content.Items
|
|||||||
Item.autoReuse = true;
|
Item.autoReuse = true;
|
||||||
Item.noMelee = true;
|
Item.noMelee = true;
|
||||||
Item.shoot = ProjectileID.PurificationPowder;
|
Item.shoot = ProjectileID.PurificationPowder;
|
||||||
Item.shootSpeed = 20f;
|
Item.shootSpeed = 30f;
|
||||||
Item.useAmmo = AmmoID.None;
|
Item.useAmmo = AmmoID.None;
|
||||||
}
|
}
|
||||||
|
|
||||||
// On shoot, fire 5 Projectile ID 502 (the rainbow projectile) in an arc instead of the default ammo projectile
|
// On shoot, fire 5 Projectile ID 502 (the rainbow projectile) in an arc instead of the default ammo projectile
|
||||||
public override bool Shoot(Player player, Terraria.DataStructures.EntitySource_ItemUse_WithAmmo source, Vector2 position, Vector2 velocity, int type, int damage, float knockBack)
|
public override bool Shoot(Player player, Terraria.DataStructures.EntitySource_ItemUse_WithAmmo source, Vector2 position, Vector2 velocity, int type, int damage, float knockBack)
|
||||||
{
|
{
|
||||||
for (int i = -2; i <= 2; i++)
|
for (int i = 0; i <= 2; i++) // hey c# what the fuck. anyway, shoot 3 proj.
|
||||||
{
|
{
|
||||||
Vector2 newVelocity = velocity.RotatedBy(MathHelper.ToRadians(3 * i));
|
Vector2 newVelocity = velocity.RotatedBy(MathHelper.ToRadians(3 * i));
|
||||||
Terraria.Projectile.NewProjectile(source, position, newVelocity, 502, damage, knockBack, player.whoAmI);
|
Terraria.Projectile.NewProjectile(source, position, newVelocity, 502, damage, knockBack, player.whoAmI);
|
||||||
@@ -55,6 +55,11 @@ namespace ForgottenWawiTech.Content.Items
|
|||||||
|
|
||||||
public override void AddRecipes()
|
public override void AddRecipes()
|
||||||
{
|
{
|
||||||
|
if (ModLoader.TryGetMod("CalamityMod", out Mod calamityMod) && calamityMod.TryFind<ModItem>("AuricBar", out ModItem auricBar))
|
||||||
|
{
|
||||||
|
Recipe recipe = CreateRecipe();
|
||||||
|
recipe.AddIngredient(auricBar.Type, 20);
|
||||||
|
}
|
||||||
Recipe recipe = CreateRecipe();
|
Recipe recipe = CreateRecipe();
|
||||||
recipe.AddIngredient<Nyanageddon>(1);
|
recipe.AddIngredient<Nyanageddon>(1);
|
||||||
recipe.AddIngredient(ItemID.LunarBar, 20);
|
recipe.AddIngredient(ItemID.LunarBar, 20);
|
||||||
|
|||||||
Binary file not shown.
Reference in New Issue
Block a user