TModLoader v1.4.4.9
TModLoader source code documentation
Loading...
Searching...
No Matches

◆ buffTime

int Terraria.Item.buffTime

The duration in ticks of the buff given by this item on use. There are 60 ticks per second, multiply the number of seconds by 60. For example, a buff lasting 8 minutes would use a value of either 28800 or 8*60*60.
Make sure to set F:Terraria.Item.buffType as well.
Defaults to 0.

Definition at line 690 of file Item.cs.

Referenced by Terraria.Item.DefaultToFood(), Terraria.ID.ContentSamples.CreativeHelper.GetItemGroup(), Terraria.Player.ItemCheck_Inner(), Terraria.Player.QuickBuff(), Terraria.Player.QuickBuff_PickBestFoodItem(), Terraria.Player.QuickHeal(), Terraria.Item.ResetStats(), Terraria.Item.SetDefaults1(), Terraria.Item.SetDefaults2(), Terraria.Item.SetDefaults3(), Terraria.Item.SetDefaults5(), and Terraria.Item.SetFoodDefaults().