terraria-cpp2il-methodrecon v1.4.4.9
Terraria mobile dump, with reconstructed method body. Dump with CallAnalysis: https://infinitynichto.github.io/terraria-cpp2il
Loading...
Searching...
No Matches

◆ ItemCheck_UseLifeFruit()

void Terraria.Player.ItemCheck_UseLifeFruit ( Item sItem)
inlineprivate

Definition at line 15508 of file Player.cs.

15509 {
15510 int type = sItem.type;
15511 int num = this.itemAnimation;
15512 int num2 = this.statLifeMax;
15513 if (this.itemTime != 0)
15514 {
15515 return;
15516 }
15517 int num3 = this.statLifeMax2;
15518 int useTime = sItem.useTime;
15520 this.itemTime = useTime;
15521 this.itemTimeMax = useTime;
15523 if (num2 == 0)
15524 {
15525 }
15526 int myPlayer = Main.myPlayer;
15527 int whoAmI = this.whoAmI;
15528 int num4 = 5;
15529 int num5 = 1;
15530 this.HealEffect(num4, num5 != 0);
15531 int num6 = 2;
15533 }
class f__AnonymousType0<< Count > j__TPar
static void HandleSpecialEvent(Player player, int eventID)
void HealEffect(int healAmount, bool broadcast=true)
Definition Player.cs:1810

References Terraria.GameContent.Achievements.AchievementsHelper.HandleSpecialEvent(), Terraria.Player.HealEffect(), Terraria.Player.itemAnimation, Terraria.Player.itemTime, j__TPar, Terraria.Main.myPlayer, Terraria.Player.statLifeMax, Terraria.Player.statLifeMax2, and Terraria.Entity.whoAmI.