Add Avalian Trader Town NPC, add Infinite Mana accessory for testing, add two new magic weapons

This commit is contained in:
2025-11-09 23:53:14 +00:00
parent b2972be531
commit a73cf0965d
16 changed files with 919 additions and 2 deletions
@@ -0,0 +1,23 @@
using Terraria;
using Terraria.ModLoader;
using ForgottenWawiTech.Content.Rarities;
namespace ForgottenWawiTech.Content.Items.Accessories
{
public class DevInfiniteMana : ModItem
{
public override void SetDefaults()
{
Item.width = 28;
Item.height = 28;
Item.accessory = true;
Item.rare = ModContent.RarityType<FWTDeveloperItem>();
Item.value = Item.sellPrice(platinum: 999);
}
public override void UpdateAccessory(Player player, bool hideVisual)
{
player.statMana = player.statManaMax2;
}
}
}
Binary file not shown.

After

Width:  |  Height:  |  Size: 504 B