berberborscing
Skeletron Prime
I have example code in the OP post that could be used for the prefix cs codeIs there any way I can do it for a prefix? As in json? I don't know how to do prefix cs. EDIT: Sorry if it's slightly irrelevant to this thread.
Code:
using System;
using System.Collections.Generic;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
using TAPI;
using Terraria;
namespace ZaneMod.Items //replace ZaneMod with the internal name of your mod
{
public class TestPrefix : ModPrefix //replace TestPrefix with the name of your prefix
{
public override void Effects(Player p) //Where it says "p" is the variable used to represent "player". In this case, every p stands for player. This is called when the accessory is on.
{
p.maxMinions += 1; //Extra minion slot
}
}
}