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

◆ GetDesiredStormTigerMinionRank()

int Terraria.Player.GetDesiredStormTigerMinionRank ( )
inlineprivate

Definition at line 10322 of file Player.cs.

10323 {
10324 int result = 0;
10325 int num = ownedProjectileCounts[831];
10326 if (num > 0)
10327 {
10328 result = 1;
10329 }
10330 if (num > 3)
10331 {
10332 result = 2;
10333 }
10334 if (num > 6)
10335 {
10336 result = 3;
10337 }
10338 return result;
10339 }
int[] ownedProjectileCounts
Provides efficient access to the number of projectiles of the specified type owned by this player cur...
Definition Player.cs:3105

References Terraria.Player.ownedProjectileCounts.

Referenced by Terraria.Player.UpdateStormTigerStatus().

+ Here is the caller graph for this function: