Added Healthy prefix

This commit is contained in:
2025-11-10 00:19:17 +00:00
parent a73cf0965d
commit 814eba2388
6 changed files with 94 additions and 2 deletions
+30
View File
@@ -0,0 +1,30 @@
using Terraria;
using Terraria.ID;
using Terraria.ModLoader;
namespace ForgottenWawiTech.Content.Items.Accessories
{
public class SoulOfAvalon : ModItem
{
public override void SetStaticDefaults()
{
Item.ResearchUnlockCount = 1;
}
public override void SetDefaults()
{
Item.width = 28;
Item.height = 28;
Item.value = Item.buyPrice(platinum: 50);
Item.rare = ItemRarityID.Purple;
Item.accessory = true;
}
public override void UpdateAccessory(Player player, bool hideVisual)
{
player.statDefense += 200;
player.statLifeMax2 += 1000;
player.endurance += 1;
}
}
}
Binary file not shown.

After

Width:  |  Height:  |  Size: 504 B