Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ UpdateRGBPeriheralProbe()

static void Terraria.NPC.UpdateRGBPeriheralProbe ( )
inlinestatic

Definition at line 1286 of file NPC.cs.

1287 {
1288 int highestTierBossOrEvent = 0;
1289 bool zoneOverworldHeight = Main.LocalPlayer.ZoneOverworldHeight;
1291 {
1293 }
1295 {
1297 }
1298 if (zoneOverworldHeight && Main.invasionType == 1)
1299 {
1301 }
1303 {
1305 }
1306 if (npcsFoundForCheckActive[266])
1307 {
1309 }
1310 if (npcsFoundForCheckActive[222])
1311 {
1313 }
1315 {
1317 }
1318 if (npcsFoundForCheckActive[113])
1319 {
1321 }
1322 if (zoneOverworldHeight && Main.invasionType == 2)
1323 {
1325 }
1326 if (npcsFoundForCheckActive[657])
1327 {
1329 }
1331 {
1333 }
1334 if (npcsFoundForCheckActive[134])
1335 {
1337 }
1338 if (npcsFoundForCheckActive[127])
1339 {
1341 }
1342 if (zoneOverworldHeight && Main.invasionType == 3)
1343 {
1345 }
1346 if (npcsFoundForCheckActive[262])
1347 {
1349 }
1350 if (npcsFoundForCheckActive[245])
1351 {
1353 }
1354 if (npcsFoundForCheckActive[636])
1355 {
1357 }
1359 {
1361 }
1362 if (DD2Event.Ongoing)
1363 {
1365 }
1366 if (zoneOverworldHeight && Main.invasionType == 4)
1367 {
1369 }
1370 if (npcsFoundForCheckActive[439])
1371 {
1373 }
1374 if (npcsFoundForCheckActive[370])
1375 {
1377 }
1378 if (npcsFoundForCheckActive[398])
1379 {
1381 }
1382 CommonConditions.Boss.HighestTierBossOrEvent = highestTierBossOrEvent;
1383 }
static bool IsDeerclopsHostile()
Definition NPC.cs:37117
static bool[] npcsFoundForCheckActive
Definition NPC.cs:429

References Terraria.Main.invasionType, Terraria.NPC.IsDeerclopsHostile(), Terraria.Main.LocalPlayer, Terraria.NPC.npcsFoundForCheckActive, and Terraria.GameContent.Events.DD2Event.Ongoing.

Referenced by Terraria.NPC.UpdateFoundActiveNPCs().