(damage: number, reason: QuestEntityDamageReason)
| 179 | } |
| 180 | |
| 181 | public inflictDamage(damage: number, reason: QuestEntityDamageReason): void{ |
| 182 | for(var savingName in this.game.getSelectedEqItems()){ |
| 183 | damage = this.game.getSelectedEqItems()[savingName].inflictDamage(this, this.getQuest(), damage, reason); |
| 184 | } |
| 185 | |
| 186 | super.inflictDamage(damage, reason); |
| 187 | } |
| 188 | |
| 189 | public load(): void{ |
| 190 | this.setHp(Saving.loadNumber("playerHp")); |
nothing calls this directly
no test coverage detected