The translations of this buff's display name. The translations of this buff's description. If this buff is a debuff, setting this to true will make this buff last twice as long on players in expert mode. Setting this to false will prevent the nurse from being able to remove this debuff. Whether or not it is always safe to call Player.DelBuff on this buff. If you remove the buff from the NPC, make sure to decrement the buffIndex parameter by 1. More.Īllows you to make this buff give certain effects to the given NPC. If you remove the buff from the player, make sure the decrement the buffIndex parameter by 1. Update (Player player, ref int buffIndex)Īllows you to make this buff give certain effects to the given player. This is where all buff related assignments go. The vanilla re-apply code sets the buff time to the "time" argument if that argument is larger than the current buff time. Return true to block the vanilla re-apply code from being called returns false by default. ReApply (NPC npc, int time, int buffIndex)Īllows to you make special things happen when adding this buff to an NPC when the NPC already has this buff. ReApply (Player player, int time, int buffIndex)Īllows to you make special things happen when adding this buff to a player when the player already has this buff. ModifyBuffTip (ref string tip, ref int rare)Īllows you to modify the tooltip that displays when the mouse hovers over the buff icon, as well as the color the buff's name is drawn in. Use this method to either force or stop an autoload, and to change the default display name and texture path. Name is initialized to the overriding class name and texture is initialized to the namespace and overriding class name with periods replaced with slashes. Old char and worlds are located in: C:\Users\YourName\Documents\My Games\Terraria\Players. Or you can just copy your worlds and char data. C:\Program Files (x86)\Steam\steamapps\common\Terraria. Return true to allow autoloading by default returns the mod's autoload property. I need my old worlds and characters back too. Autoload (ref string name, ref string texture)Īllows you to automatically load a buff instead of using Mod.AddBuff.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |