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

Method addPlayerSpell

code/main/Quest.ts:807–810  ·  view source on GitHub ↗
(playerSpell: QuestPlayerSpell)

Source from the content-addressed store, hash-verified

805
806 // Private methods
807 private addPlayerSpell(playerSpell: QuestPlayerSpell): void{
808 this.playerSpells.push(playerSpell);
809 this.playerSpellsHotkeys.push(playerSpell.getHotkey());
810 }
811
812 private createPlayerAcidDrop(position: Pos): Fireball{
813 var acidDrop: Fireball = new Fireball(this,

Callers 1

createPlayerSpellsMethod · 0.95

Calls 1

getHotkeyMethod · 0.80

Tested by

no test coverage detected