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

◆ UpdateRGBPeriheralProbe()

static void Terraria.NPC.UpdateRGBPeriheralProbe ( )
inlinestatic

Definition at line 2095 of file NPC.cs.

2096 {
2097 int highestTierBossOrEvent = 0;
2098 bool zoneOverworldHeight = Main.LocalPlayer.ZoneOverworldHeight;
2100 {
2102 }
2104 {
2106 }
2107 if (zoneOverworldHeight && Main.invasionType == 1)
2108 {
2110 }
2112 {
2114 }
2115 if (npcsFoundForCheckActive[266])
2116 {
2118 }
2119 if (npcsFoundForCheckActive[222])
2120 {
2122 }
2124 {
2126 }
2127 if (npcsFoundForCheckActive[113])
2128 {
2130 }
2131 if (zoneOverworldHeight && Main.invasionType == 2)
2132 {
2134 }
2135 if (npcsFoundForCheckActive[657])
2136 {
2138 }
2140 {
2142 }
2143 if (npcsFoundForCheckActive[134])
2144 {
2146 }
2147 if (npcsFoundForCheckActive[127])
2148 {
2150 }
2151 if (zoneOverworldHeight && Main.invasionType == 3)
2152 {
2154 }
2155 if (npcsFoundForCheckActive[262])
2156 {
2158 }
2159 if (npcsFoundForCheckActive[245])
2160 {
2162 }
2163 if (npcsFoundForCheckActive[636])
2164 {
2166 }
2168 {
2170 }
2171 if (DD2Event.Ongoing)
2172 {
2174 }
2175 if (zoneOverworldHeight && Main.invasionType == 4)
2176 {
2178 }
2179 if (npcsFoundForCheckActive[439])
2180 {
2182 }
2183 if (npcsFoundForCheckActive[370])
2184 {
2186 }
2187 if (npcsFoundForCheckActive[398])
2188 {
2190 }
2191 CommonConditions.Boss.HighestTierBossOrEvent = highestTierBossOrEvent;
2192 }
static bool IsDeerclopsHostile()
Definition NPC.cs:44374
static bool[] npcsFoundForCheckActive
Definition NPC.cs:966

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

Referenced by Terraria.NPC.UpdateFoundActiveNPCs().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: