Search results for query: *

  1. D

    tModLoader Official tModLoader Help Thread

    Does anyone know how to make a custom grass seed item that can turn dirt into a different tile?
  2. D

    tModLoader Official tModLoader Help Thread

    Put This under the set Defaults: minPick = 40; //change 40 to the pick power you want
  3. D

    tModLoader Official tModLoader Help Thread

    I am making a boss NPC and whenever I respawn it the bosses npc.ai[0] etc. doesn't reset and starts back on the value they were at for the previous boss. Does anyone know what's wrong? Here is the code
  4. D

    tModLoader Official tModLoader Help Thread

    How can I make a boss despawn if I leave a certain biome?
  5. D

    tModLoader Official tModLoader Help Thread

    How do I make it so an NPC inflicts a buff on me with a 1 in 3 chance?
  6. D

    tAPI [Tutorial] Custom Bosses - NPC AI and Server Syncing

    To do this you could put in a line such as this; if (npc.life > npc.lifeMax / 2) { //Code for first stage } if (npc.life <= npc.lifeMax / 2) { //Code for second stage } There may be a better way of doing this but if there is I don't know it. Hope this helped.
  7. D

    tModLoader Official tModLoader Help Thread

    I am trying to make a boss mob and I put in this code but he keeps on spawning doing his second phase. Can someone please tell me what I did wrong...
Back
Top Bottom