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

◆ beeDamage()

int Terraria.Player.beeDamage ( int dmg)
inline

Definition at line 10430 of file Player.cs.

10431 {
10432 if (makeStrongBee)
10433 {
10434 return dmg + Main.rand.Next(1, 4);
10435 }
10436 return dmg + Main.rand.Next(2);
10437 }
bool makeStrongBee
Definition Player.cs:3141

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

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: