add beam wand (thanks lexy)

This commit is contained in:
2025-11-14 22:36:20 +00:00
parent 1219413040
commit f44703376f
12 changed files with 604 additions and 0 deletions
@@ -0,0 +1,20 @@
using Terraria;
using Terraria.ID;
using Terraria.ModLoader;
using Terraria.GameContent.ItemDropRules;
namespace ForgottenWawiTech.Content.Items.Global
{
// Adds BeamAttackWand to Eye of Cthulhu treasure bag loot table.
public class EyeOfCthulhuBagLoot : GlobalItem
{
public override void ModifyItemLoot(Item item, ItemLoot itemLoot)
{
if (item.type == ItemID.EyeOfCthulhuBossBag)
{
// 1 in 3 chance (adjust if too common)
itemLoot.Add(ItemDropRule.Common(ModContent.ItemType<Weapons.Magic.BeamAttackWand>(), 3));
}
}
}
}