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

◆ TryTogglingShield()

void Terraria.Player.TryTogglingShield ( bool shouldGuard)
inline

Definition at line 29422 of file Player.cs.

29423 {
29425 {
29426 return;
29427 }
29429 if (shieldRaised)
29430 {
29431 if (shield_parry_cooldown == 0)
29432 {
29434 }
29435 itemAnimation = 0;
29436 itemTime = 0;
29437 reuseDelay = 0;
29438 }
29439 else
29440 {
29444 }
29445 }
void ApplyAttackCooldown()
Definition Player.cs:43693
int shield_parry_cooldown
Definition Player.cs:3237
int shieldParryTimeLeft
Definition Player.cs:3235
bool shieldRaised
Definition Player.cs:3233

References Terraria.Player.ApplyAttackCooldown(), Terraria.Player.itemAnimation, Terraria.Player.itemTime, Terraria.Player.reuseDelay, Terraria.Player.shield_parry_cooldown, Terraria.Player.shieldParryTimeLeft, and Terraria.Player.shieldRaised.

Referenced by Terraria.Player.ItemCheck_ManageRightClickFeatures_ShieldRaise().

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