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

◆ GetNPCColorTintedByBuffs()

Color Terraria.NPC.GetNPCColorTintedByBuffs ( Color npcColor)
inline

Definition at line 7777 of file NPC.cs.

7778 {
7779 if (this.canDisplayBuffs)
7780 {
7781 bool flag = this.poisoned;
7782 if (!flag || !flag)
7783 {
7784 }
7785 bool flag2 = this.venom;
7786 if (!flag2 || !flag2)
7787 {
7788 }
7789 if (this.midas)
7790 {
7791 }
7792 if (this.betsysCurse)
7793 {
7794 }
7795 if (this.oiled)
7796 {
7797 }
7798 if (this.stinky)
7799 {
7800 }
7801 bool flag3 = this.drippingSlime;
7802 if (!flag3 || !flag3)
7803 {
7804 }
7805 bool flag4 = this.drippingSparkleSlime;
7806 if (!flag4 || !flag4)
7807 {
7808 }
7809 if (this.ichor)
7810 {
7811 }
7812 int num = this.lifeMax;
7813 if (this.friendly)
7814 {
7815 return 50;
7816 }
7817 }
7818 return 50;
7819 }
class f__AnonymousType0<< Count > j__TPar
bool drippingSparkleSlime
Definition NPC.cs:11114
bool venom
Definition NPC.cs:11252
bool stinky
Definition NPC.cs:11279
bool poisoned
Definition NPC.cs:11246
int lifeMax
Definition NPC.cs:11432
bool ichor
Definition NPC.cs:11228
bool canDisplayBuffs
Definition NPC.cs:11222
bool oiled
Definition NPC.cs:11318
bool midas
Definition NPC.cs:11225
bool friendly
Definition NPC.cs:11543
bool betsysCurse
Definition NPC.cs:11315
bool drippingSlime
Definition NPC.cs:11111

References Terraria.NPC.betsysCurse, Terraria.NPC.canDisplayBuffs, Terraria.NPC.drippingSlime, Terraria.NPC.drippingSparkleSlime, Terraria.NPC.friendly, Terraria.NPC.ichor, j__TPar, Terraria.NPC.lifeMax, Terraria.NPC.midas, Terraria.NPC.oiled, Terraria.NPC.poisoned, Terraria.NPC.stinky, and Terraria.NPC.venom.