1 - Nerfed Deep Sea Dumbbell and Jaws of Oblivion by 10%.

2 - Nerfed Valediction use time from 15 to 17.
This commit is contained in:
Ozzatron committed 2021-02-06 23:44:45 -05:00
1 parent 9d56712d7a
commit 21dc6ecd2c
3 files changed
+26 -35

No files matched your search

+8 -16
View File
@@ -8,7 +8,7 @@ namespace CalamityMod.Items.Weapons.Rogue
{
public class DeepSeaDumbbell : RogueWeapon
{
private static int BaseDamage = 540;
private static int BaseDamage = 486;
private static float MeleeFlexMult = 5f;
private float flexBonusDamageMult = 0f;
@@ -23,6 +23,7 @@ namespace CalamityMod.Items.Weapons.Rogue
public override void SafeSetDefaults()
{
item.width = 38;
item.height = 24;
item.damage = BaseDamage;
item.noMelee = true;
item.noUseGraphic = true;
@@ -33,18 +34,14 @@ namespace CalamityMod.Items.Weapons.Rogue
item.UseSound = SoundID.Item1;
item.autoReuse = true;
item.useTurn = false;
item.height = 24;
item.value = CalamityGlobalItem.Rarity13BuyPrice;
item.rare = ItemRarityID.Red;
item.Calamity().customRarity = CalamityRarity.PureGreen;
item.Calamity().donorItem = true;
item.shoot = ModContent.ProjectileType<DeepSeaDumbbell1>();
item.shootSpeed = 20f;
item.Calamity().rogue = true;
}
// Terraria seems to really dislike high crit values in SetDefaults
public override void GetWeaponCrit(Player player, ref int crit) => crit -= 2;
item.value = CalamityGlobalItem.Rarity13BuyPrice;
item.Calamity().customRarity = CalamityRarity.PureGreen;
item.Calamity().donorItem = true;
}
public override bool AltFunctionUse(Player player) => true;
@@ -69,12 +66,7 @@ namespace CalamityMod.Items.Weapons.Rogue
return base.CanUseItem(player);
}
public override float UseTimeMultiplier (Player player)
{
if (player.altFunctionUse == 2)
return (5f/9f);
return 1f;
}
public override float UseTimeMultiplier(Player player) => player.altFunctionUse == 2 ? 5f / 9f : 1f;
public override void ModifyWeaponDamage(Player player, ref float add, ref float mult, ref float flat)
{
@@ -83,7 +75,7 @@ namespace CalamityMod.Items.Weapons.Rogue
base.ModifyWeaponDamage(player, ref add, ref mult, ref flat);
}
// Flexes deal 25x damage if you actually hit with them directly.
// Flexes deal massive damage if you actually hit with them directly.
public override void ModifyHitNPC(Player player, NPC target, ref int damage, ref float knockBack, ref bool crit)
{
damage = (int)(damage * MeleeFlexMult);
+10 -11
View File
@@ -13,14 +13,15 @@ namespace CalamityMod.Items.Weapons.Rogue
{
DisplayName.SetDefault("Jaws of Oblivion");
Tooltip.SetDefault("Throws a tight spread of six venomous reaper fangs that stick in enemies\n" +
"Stealth strikes cause the teeth to emit a crushing shockwave on impact\n" +
"You're gonna need a bigger boat");
"Stealth strikes cause the teeth to emit a crushing shockwave on impact\n" +
"You're gonna need a bigger boat");
}
public override void SafeSetDefaults()
{
item.width = 42;
item.damage = 175;
item.height = 40;
item.damage = 159;
item.noMelee = true;
item.noUseGraphic = true;
item.useAnimation = 15;
@@ -29,14 +30,12 @@ namespace CalamityMod.Items.Weapons.Rogue
item.knockBack = 1f;
item.UseSound = SoundID.Item1;
item.autoReuse = true;
item.height = 40;
item.maxStack = 1;
item.value = Item.buyPrice(1, 40, 0, 0);
item.rare = ItemRarityID.Red;
item.shoot = ModContent.ProjectileType<JawsProjectile>();
item.shootSpeed = 25f;
item.Calamity().customRarity = CalamityRarity.PureGreen;
item.Calamity().rogue = true;
item.value = CalamityGlobalItem.Rarity13BuyPrice;
item.Calamity().customRarity = CalamityRarity.PureGreen;
}
public override bool Shoot(Player player, ref Vector2 position, ref float speedX, ref float speedY, ref int type, ref int damage, ref float knockBack)
@@ -53,8 +52,8 @@ namespace CalamityMod.Items.Weapons.Rogue
if (player.Calamity().StealthStrikeAvailable())
{
int p = Projectile.NewProjectile(position, currentDirection, type, (int)(damage * 0.67), knockBack * 2f, player.whoAmI);
if (p.WithinBounds(Main.maxProjectiles))
Main.projectile[p].Calamity().stealthStrike = true;
if (p.WithinBounds(Main.maxProjectiles))
Main.projectile[p].Calamity().stealthStrike = true;
}
else
{
@@ -72,7 +71,7 @@ namespace CalamityMod.Items.Weapons.Rogue
recipe.AddIngredient(ModContent.ItemType<Lumenite>(), 15);
recipe.AddIngredient(ModContent.ItemType<RuinousSoul>(), 2);
recipe.AddTile(TileID.LunarCraftingStation);
recipe.SetResult(this, 1);
recipe.SetResult(this);
recipe.AddRecipe();
}
}
+8 -8
View File
@@ -12,27 +12,27 @@ namespace CalamityMod.Items.Weapons.Rogue
{
DisplayName.SetDefault("Valediction");
Tooltip.SetDefault("Throws a homing reaper scythe\n" +
"Stealth strikes spawn razorblade typhoons on enemy hits");
"Stealth strikes spawn razorblade typhoons on enemy hits");
}
public override void SafeSetDefaults()
{
item.width = 80;
item.height = 64;
item.damage = 243;
item.noMelee = true;
item.noUseGraphic = true;
item.useAnimation = 15;
item.useTime = 15;
item.useAnimation = 17;
item.useTime = 17;
item.useStyle = ItemUseStyleID.SwingThrow;
item.knockBack = 7f;
item.UseSound = SoundID.Item1;
item.autoReuse = true;
item.height = 64;
item.value = Item.buyPrice(1, 40, 0, 0);
item.rare = ItemRarityID.Red;
item.shoot = ModContent.ProjectileType<ValedictionBoomerang>();
item.shootSpeed = 20f;
item.Calamity().rogue = true;
item.value = CalamityGlobalItem.Rarity13BuyPrice;
item.Calamity().customRarity = CalamityRarity.PureGreen;
}
@@ -41,8 +41,8 @@ namespace CalamityMod.Items.Weapons.Rogue
if (player.Calamity().StealthStrikeAvailable()) //setting the stealth strike
{
int stealth = Projectile.NewProjectile(position, new Vector2(speedX, speedY), type, damage, knockBack, player.whoAmI);
if (stealth.WithinBounds(Main.maxProjectiles))
Main.projectile[stealth].Calamity().stealthStrike = true;
if (stealth.WithinBounds(Main.maxProjectiles))
Main.projectile[stealth].Calamity().stealthStrike = true;
return false;
}
return true;