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

◆ DoDeathEvents_SummonDungeonSpirit()

void Terraria.NPC.DoDeathEvents_SummonDungeonSpirit ( Player closestPlayer)
inlineprivate

Definition at line 5282 of file NPC.cs.

5283 {
5284 int num = this.lifeMax;
5285 int num2 = this.type;
5286 float num3 = this.value;
5287 int num4 = this.target;
5288 if (num4 == 0)
5289 {
5290 }
5291 if (num4 != 0)
5292 {
5293 if (num4 == 0)
5294 {
5295 }
5296 if (num4 != 0)
5297 {
5298 Player targetPlayer = this.TargetPlayer;
5299 long num5 = 0L;
5300 bool zoneDungeon = targetPlayer.ZoneDungeon;
5301 if (num4 == 0)
5302 {
5303 }
5304 bool expertMode = Main.expertMode;
5305 int num6 = 13;
5306 if (closestPlayer.RollLuck((int)num5) == 0)
5307 {
5308 if (num6 == 0)
5309 {
5310 }
5311 Vector2 center = base.Center;
5312 Vector2 center2 = base.Center;
5313 Tile tile;
5314 ushort wall = tile.wall;
5315 if (num6 != 0)
5316 {
5318 Vector2 center3 = base.Center;
5319 Vector2 center4 = base.Center;
5320 if (num6 == 0)
5321 {
5322 }
5323 }
5324 }
5325 }
5326 }
5327 }
class f__AnonymousType0<< Count > j__TPar
Player TargetPlayer
Definition NPC.cs:78
int lifeMax
Definition NPC.cs:11432
IEntitySource GetSpawnSource_NPCHurt()
Definition NPC.cs:7676
float value
Definition NPC.cs:11498
int target
Definition NPC.cs:11402
bool ZoneDungeon
Definition Player.cs:620

References Terraria.Main.expertMode, Terraria.NPC.GetSpawnSource_NPCHurt(), j__TPar, System.L, Terraria.NPC.lifeMax, Terraria.NPC.target, Terraria.NPC.TargetPlayer, Terraria.NPC.type, Terraria.NPC.value, Terraria.Tile.wall, and Terraria.Player.ZoneDungeon.

Referenced by Terraria.NPC.DoDeathEvents().