(maxHp: number)
| 603 | } |
| 604 | |
| 605 | public setMaxHp(maxHp: number): void{ |
| 606 | // BUGS |
| 607 | if(Bugs.getQuestBugLevel() >= 4) |
| 608 | maxHp *= Random.between(1, 5); |
| 609 | |
| 610 | this.maxHp = maxHp; |
| 611 | this.tryToUpdateHealthBar(); |
| 612 | } |
| 613 | |
| 614 | public setOutOfArea(outOfArea: boolean): void{ |
| 615 | this.outOfArea = outOfArea; |
nothing calls this directly
no test coverage detected