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

◆ beeType()

int Terraria.Player.beeType ( )
inline

Definition at line 10419 of file Player.cs.

10420 {
10421 if (strongBees && Main.rand.Next(2) == 0)
10422 {
10423 makeStrongBee = true;
10424 return 566;
10425 }
10426 makeStrongBee = false;
10427 return 181;
10428 }
bool strongBees
If true, then the bees created by F:Terraria.Player.honeyCombItem have a chance to be stronger.
Definition Player.cs:2193
bool makeStrongBee
Definition Player.cs:3141

References Terraria.Player.makeStrongBee, Terraria.Main.rand, and Terraria.Player.strongBees.

Referenced by Terraria.Player.ApplyNPCOnHitEffects(), Terraria.Projectile.Damage(), Terraria.Player.Hurt(), Terraria.Player.ItemCheck_MeleeHitPVP(), and Terraria.Player.ItemCheck_Shoot().

+ Here is the caller graph for this function: