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

◆ SpawnEnemy()

void Terraria.GameContent.CoinLossRevengeSystem.RevengeMarker.SpawnEnemy ( )
inline

Definition at line 355 of file CoinLossRevengeSystem.cs.

356 {
357 int num = 1;
358 float x = this._location.X;
359 float y = this._location.Y;
360 int npcNetID = this._npcNetID;
361 if (num == 0)
362 {
363 }
364 if (32640 == 0)
365 {
366 }
367 int npcNetID2 = this._npcNetID;
368 int npcNetID3 = this._npcNetID;
369 float baseValue = this._baseValue;
371 float npcHPPercent = this._npcHPPercent;
372 if (!spawnedFromStatue)
373 {
374 }
375 int num2 = 32640;
376 int num3 = 32768;
377 if (num2 == 0)
378 {
379 }
380 if (num2 != 0)
381 {
382 int coinsValue = this._coinsValue;
383 float x2 = this._location.X;
384 float y2 = this._location.Y;
385 return;
386 }
387 float x3 = this._location.X;
388 float y3 = this._location.Y;
389 string text2;
390 string text = "Spawned " + text2;
391 if (num3 == 0)
392 {
393 }
394 int num4 = 255;
395 int num5 = 255;
396 int num6 = 255;
397 Main.NewText(text, (byte)num4, (byte)num5, (byte)num6);
398 }
class f__AnonymousType0<< Count > j__TPar

References Terraria.GameContent.CoinLossRevengeSystem.RevengeMarker._baseValue, Terraria.GameContent.CoinLossRevengeSystem.RevengeMarker._coinsValue, Terraria.GameContent.CoinLossRevengeSystem.RevengeMarker._location, Terraria.GameContent.CoinLossRevengeSystem.RevengeMarker._npcHPPercent, Terraria.GameContent.CoinLossRevengeSystem.RevengeMarker._npcNetID, Terraria.GameContent.CoinLossRevengeSystem.RevengeMarker._spawnedFromStatue, j__TPar, Terraria.Main.NewText(), System.text, Microsoft.Xna.Framework.Vector2.X, and Microsoft.Xna.Framework.Vector2.Y.