How much the player's max mana increases by when the item is used. An example of this is the spell Magic Missile. This means that while the use button is held, the item will remain in constant effect. If you do not have enough mana, you cannot use it. How much mana is consumed to use this item. Whether or not the item is a vanity item. For example, a Breathing Reed will be held, but a Torch will not. Whether the item will be held while selected and in the water.
CHANGE CURSOR COLOR TERRARIA HOW TO
You can see the List of Buffs for more information or see the tutorial on How to Make a Custom Buff This will last for a number of frames equal to buffTime. The type of buff to add to the player using the item, according to that buff's type attribute. Remember that there are 60 frames in one second. When used, if the item has a valid buffType assigned to it, that buff will last this many frames. Melee takes priority over ranged, and ranged takes priority over magic.įor placed tiles, this is the subimage to use. Whether the damage this item deals is considered ranged. Melee takes priority over ranged, and ranged takes priority over magic. Whether the damage this item deals is considered magic. Whether the damage this item deals is considered melee. The time in frames before this item may be used again. Sadly, it does not apply to accessories, since the game checks if the held item has the mech attribute set to true, as opposed to any equipped items as well. The base percentage for all players is 4% for each attack. When it's on a weapon, will only apply to attacks with that weapon. When used as armor or an accessory, will always be applied. An amount of 10 would add 10%, for example. The amount of critical hit percentage that this item adds. There are 16 pixels per tile, so a size of 8 to 20 is ideal.Īs above, but for the height of the hitbox. This is multiplied by scale to get the final size. This is used for collision detection to see if a tile or NPC is being hit by it. The width of the item's hitbox while in use. This data was retrieved from Config.cs, running Terraria v.