|
TModLoader v1.4.4.9
TModLoader source code documentation
|
|
inline |
A helper method that handles code common to pet buffs. Can be used during the buff update code.
Sets the buff time to the value and spawns the corresponding pet projectile for the player if not yet spawned.
| buffIndex | |
| petBool | |
| petProjID | |
| buffTimeToGive |
Definition at line 10219 of file Player.cs.
References Terraria.Player.BuffHandle_SpawnPetIfNeeded(), and Terraria.Player.buffTime.
Referenced by Terraria.Player.UpdateBuffs().
Here is the call graph for this function:
Here is the caller graph for this function: