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

Method isEquipped

code/main/Game.ts:276–281  ·  view source on GitHub ↗
(type: string, savingName: string)

Source from the content-addressed store, hash-verified

274 }
275
276 public isEquipped(type: string, savingName: string): boolean{
277 if(this.selectedEqItems[type] == undefined || this.selectedEqItems[type] == null)
278 return false;
279
280 else return (this.selectedEqItems[type].getSavingName() == savingName);
281 }
282
283 private isLollipopFarmProductionEachSecond(): boolean{
284 if(Saving.loadNumber("lollipopFarmLollipopsPlanted") > 20){

Callers 15

castPlayerAcidRainMethod · 0.80
castPlayerBlackDemonsMethod · 0.80
castPlayerFireballMethod · 0.80
getMagicCountdownTimeMethod · 0.80
setHpMethod · 0.80
handleSentencesMethod · 0.80

Calls 1

getSavingNameMethod · 0.45

Tested by

no test coverage detected