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

◆ TryTogglingShield()

void Terraria.Player.TryTogglingShield ( bool shouldGuard)
inline

Definition at line 29458 of file Player.cs.

29459 {
29461 {
29462 return;
29463 }
29465 if (shieldRaised)
29466 {
29467 if (shield_parry_cooldown == 0)
29468 {
29470 }
29471 itemAnimation = 0;
29472 itemTime = 0;
29473 reuseDelay = 0;
29474 }
29475 else
29476 {
29480 }
29481 }
void ApplyAttackCooldown()
Definition Player.cs:42228
int shield_parry_cooldown
Definition Player.cs:2677
int shieldParryTimeLeft
Definition Player.cs:2675
bool shieldRaised
Definition Player.cs:2673