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

◆ UseManaMaxIncreasingItem()

void Terraria.Player.UseManaMaxIncreasingItem ( int increase)
inline

Definition at line 44995 of file Player.cs.

44996 {
44997 if (increase < 0)
44998 {
44999 increase = 0;
45000 }
45003 statMana += increase;
45004 if (Main.myPlayer == whoAmI)
45005 {
45007 }
45008 }
int whoAmI
The index of this Entity within its specific array. These arrays track the entities in the world....
Definition Entity.cs:16
int statManaMax2
The maximum mana this player can have, adjusted by buffs and equipment.
Definition Player.cs:2122
int statManaMax
The maximum mana this player can have without adjustment. You should not modify this value....
Definition Player.cs:2117
void ManaEffect(int manaAmount)
Definition Player.cs:4991
int statMana
The current mana of this player. Capped at F:Terraria.Player.statManaMax2. If you increase this val...
Definition Player.cs:2111

References Terraria.Player.ManaEffect(), Terraria.Main.myPlayer, Terraria.Player.statMana, Terraria.Player.statManaMax, Terraria.Player.statManaMax2, and Terraria.Entity.whoAmI.

Referenced by Terraria.Player.ItemCheck_UseManaCrystal().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: