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

Method castPlayerTurtlePotion

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

Source from the content-addressed store, hash-verified

440 }
441
442 public castPlayerTurtlePotion(): void{
443 this.getGame().getPlayer().beginTurtle((this.getGame().isEquipped("hat", "eqItemHatSorceressHat")? 120 : 80));
444 this.getGame().getQuestLog().addMessage(new QuestLogMessage("You drink a turtle potion!"));
445 }
446
447 public castPlayerSqueeze(): void{
448 if(this.getGame().getPlayer().getQuestEntityMovement() != null)

Callers

nothing calls this directly

Calls 6

getPlayerMethod · 0.80
isEquippedMethod · 0.80
addMessageMethod · 0.80
getQuestLogMethod · 0.80
beginTurtleMethod · 0.45
getGameMethod · 0.45

Tested by

no test coverage detected