[tAPI]Mod help (Bosses)

KoDrake

Terrarian
Hello fellow terrarians, I am starting to make my first mod and I am wondering about the bosses and how I can make a basic boss with nothing too special. I am new to this and I am just wondering about this.

Terraria Version: 1.2.4.1
tAPI version: r13a
 
If you already know how to make a mob then just add a "boss": true, line to it

EDIT: sorry if this is wrong not at my computer right now so I can't check
 
so just that variable I add? is there a certain spot in the Json file for that particular variable?
 
No you can put it any where in the json file as long as it stays in format heres a basic example:

Code:
{
    "displayName": "TestBoss",
    "texture": "Texture/TestBoss", // just because i like all my textures in one place
    "size": [120, 105],
    "value": [ 0, 9, 0, 0 ],
    "npcSlots": 1,
    "animationType": -1,
    "boss": true,
    "lifeMax": 50,
    "damage": 75,
    "defense": 5,
    "frameCount": 1,
    "soundHit": 1,
    "soundKilled": 1,
    "knockbackResist": 0,

    "drops": 
    [
        {
            "item": "Hallowed Bar",
            "stack": [15,35],
            "chance": 1
        },

        {
            "item": "TestMod:TestItem",
            "stack": 1,
            "chance": 0.25
        }

    ]
}

IF you have any more questions just ask.
 
Back
Top Bottom