612 actually shows up on Respiteblock
This commit is contained in:
1 parent
524af51892
commit
95bcc714a7
3 files changed
+10
-16
No files matched your search
@@ -262,6 +262,10 @@ namespace CalamityMod.Items
|
||||
if (item.type == ModContent.ItemType<LiliesOfFinality>())
|
||||
EditTooltipByName("Damage", (line) => line.Text = LiliesOfFinality.TheNumber + " summon damage");
|
||||
|
||||
// Apparently 612 is a homestuck reference
|
||||
if (item.type == ModContent.ItemType<Respiteblock>())
|
||||
EditTooltipByName("AxePower", (line) => line.Text = line.Text.Replace("610%", "612%"));
|
||||
|
||||
// Master Mode items also drop in Revengeance
|
||||
// Only affects vanilla and Calamity items
|
||||
if (item.master && (item.type < ItemID.Count || item.ModItem?.Mod is CalamityMod))
|
||||
|
||||
@@ -1,12 +1,6 @@
|
||||
using CalamityMod.Items.Accessories;
|
||||
using CalamityMod.Items.Materials;
|
||||
using CalamityMod.Items.Weapons.Magic;
|
||||
using CalamityMod.Items.Materials;
|
||||
using CalamityMod.Projectiles.Melee;
|
||||
using CalamityMod.Rarities;
|
||||
using CalamityMod.Tiles.Furniture.CraftingStations;
|
||||
using Microsoft.Xna.Framework;
|
||||
using Terraria;
|
||||
using Terraria.DataStructures;
|
||||
using Terraria.ID;
|
||||
using Terraria.ModLoader;
|
||||
|
||||
@@ -27,8 +21,10 @@ namespace CalamityMod.Items.Weapons.Melee
|
||||
// In-game, the displayed axe power is 5x the value set here.
|
||||
// This corrects for trees having 500% hardness internally.
|
||||
// So that the axe power in the code looks like the axe power you see on screen, divide by 5.
|
||||
Item.axe = 612 / 5; // Apparently 612 is a homestuck reference
|
||||
Item.axe = 610 / 5;
|
||||
// The axe power is entirely for show. It instantly one shots trees.
|
||||
// ***Axe Power is an integer which increments in 5s. So any number not divisible by 5 is impossible without tooltip modifications.
|
||||
// See CalamityGlobalItemTooltip for axe power tooltip edit
|
||||
|
||||
Item.DamageType = DamageClass.Melee;
|
||||
Item.noMelee = true;
|
||||
@@ -39,17 +35,12 @@ namespace CalamityMod.Items.Weapons.Melee
|
||||
Item.shoot = ModContent.ProjectileType<RespiteblockHoldout>();
|
||||
Item.shootSpeed = 1f;
|
||||
|
||||
Item.rare = ModContent.RarityType<Violet>();
|
||||
Item.value = CalamityGlobalItem.RarityVioletBuyPrice;
|
||||
Item.rare = ItemRarityID.Red;
|
||||
Item.value = CalamityGlobalItem.RarityRedBuyPrice;
|
||||
Item.Calamity().donorItem = true;
|
||||
}
|
||||
public override bool CanUseItem(Player player) => player.ownedProjectileCounts[Item.shoot] <= 0;
|
||||
|
||||
public override bool Shoot(Player player, EntitySource_ItemUse_WithAmmo source, Vector2 position, Vector2 velocity, int type, int damage, float knockback)
|
||||
{
|
||||
Projectile.NewProjectile(source, position, velocity, type, damage, knockback, player.whoAmI, 0f, 0f);
|
||||
return false;
|
||||
}
|
||||
public override void AddRecipes()
|
||||
{
|
||||
CreateRecipe().
|
||||
|
||||
@@ -21,7 +21,6 @@ RecipeGroup: {
|
||||
// Status
|
||||
WikiStatus1: "[i:Book] [c/EE4939:Note: The Fandom wiki is no longer supported by Calamity.] [i:Book]"
|
||||
WikiStatus2: "[i:Book] [c/EE4939:Check out the Official Calamity Mod Wiki at ][c/3989FF:calamitymod.wiki.gg][c/EE4939:!] [i:Book]"
|
||||
|
||||
// Recipe Conditions
|
||||
Tier1ArsenalRecipeCondition: View an unencrypted schematic from the lab near the Sunken Sea
|
||||
Tier2ArsenalRecipeCondition: Decrypt a schematic from the lab in the large planetoid in the sky
|
||||
|
||||
Reference in new issue
Block a user