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

◆ AddBuff_DetermineBuffTimeToAdd()

int Terraria.Player.AddBuff_DetermineBuffTimeToAdd ( int type,
int time1 )
inlineprivate

Definition at line 2441 of file Player.cs.

2442 {
2443 int num = 1;
2444 if (num == 0)
2445 {
2446 }
2447 bool expertMode = Main.expertMode;
2448 int whoAmI = this.whoAmI;
2449 if (num == 0)
2450 {
2451 }
2452 int myPlayer = Main.myPlayer;
2453 long num2 = 48157L;
2454 if (num == 0)
2455 {
2456 }
2457 if (true)
2458 {
2459 }
2460 int num3 = 1;
2461 if (num3 == 0)
2462 {
2463 }
2464 if (num3 != 0)
2465 {
2466 if (num3 == 0)
2467 {
2468 }
2469 bool masterMode = Main.masterMode;
2470 if (num2 == 0L)
2471 {
2472 }
2473 bool expertMode2 = Main.expertMode;
2474 }
2475 return time1;
2476 }
class f__AnonymousType0<< Count > j__TPar

References Terraria.Main.expertMode, j__TPar, System.L, Terraria.Main.masterMode, Terraria.Main.myPlayer, and Terraria.Entity.whoAmI.

Referenced by Terraria.Player.AddBuff().