MCPcopy Create free account
hub / github.com/candybox2/candybox2.github.io / lowerCountdowns

Method lowerCountdowns

code/main/Quest.ts:620–628  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

618 }
619
620 public lowerCountdowns(): void{
621 // Lower spells countdown
622 if(this.playerSpellsCountdown > 0)
623 this.playerSpellsCountdown -= 1;
624
625 // Lower potions countdown
626 if(this.playerPotionsCountdown > 0)
627 this.playerPotionsCountdown -= 1;
628 }
629
630 public postDraw(): void{
631 this.getGame().updatePlace();

Callers 1

updateEntitiesMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected