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

Method castPlayerAntiGravityPotion

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

Source from the content-addressed store, hash-verified

147 }
148
149 public castPlayerAntiGravityPotion(): void{
150 this.getGame().getPlayer().beginAntiGravity((this.getGame().isEquipped("hat", "eqItemHatSorceressHat")? 50 : 30));
151 this.getGame().getQuestLog().addMessage(new QuestLogMessage("You drink an anti gravity potion!"));
152 }
153
154 public castPlayerBlackDemons(): void{
155 // X position where the demons will start

Callers

nothing calls this directly

Calls 6

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

Tested by

no test coverage detected