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_UseLifeCrystal()

void Terraria.Player.ItemCheck_UseLifeCrystal ( Item sItem)
inlineprivate

Definition at line 15536 of file Player.cs.

15537 {
15538 int type = sItem.type;
15539 int num = this.itemAnimation;
15540 int num2 = this.statLifeMax;
15541 if (this.itemTime != 0)
15542 {
15543 return;
15544 }
15545 int num3 = this.statLifeMax2;
15546 int useTime = sItem.useTime;
15548 this.itemTime = useTime;
15549 this.itemTimeMax = useTime;
15551 if (num2 == 0)
15552 {
15553 }
15554 int myPlayer = Main.myPlayer;
15555 int whoAmI = this.whoAmI;
15556 int num4 = 20;
15557 int num5 = 1;
15558 this.HealEffect(num4, num5 != 0);
15559 long num6 = 0L;
15561 }
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, System.L, Terraria.Main.myPlayer, Terraria.Player.statLifeMax, Terraria.Player.statLifeMax2, and Terraria.Entity.whoAmI.