Add Avalian Trader Town NPC, add Infinite Mana accessory for testing, add two new magic weapons
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user