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

Method willDie

code/main/QuestEntity.ts:468–470  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

466
467 // Default behaviour of this function : displaying a simple death message in the quest log
468 public willDie(): void{
469 this.getQuest().getGame().getQuestLog().addMessage(new QuestLogMessage(this.getDeathMessage()));
470 }
471
472 // Public getters
473 public getBerserk(): boolean{

Callers

nothing calls this directly

Calls 5

getQuestMethod · 0.95
getDeathMessageMethod · 0.95
addMessageMethod · 0.80
getQuestLogMethod · 0.80
getGameMethod · 0.45

Tested by

no test coverage detected