put this at the top:
using Terraria.GameContent.Creative;
and put this in the set static defaults:
CreativeItemSacrificesCatalog.Instance.SacrificeCountNeededByItemId[Type] = number;
as for the second thing, idk
I want to know how to add bonuses like "20% Melee damage" to vanilla armor pieces (using globalitems) with custom damage classes.
code:
using Terraria;
using Terraria.ID;
using Terraria.ModLoader;
using ThrowingClass.Content.DamageClasses;
using Microsoft.Xna.Framework;
namespace...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.