|
|
@ -113,7 +113,7 @@ export class Monster extends Attribute { |
|
|
|
this.hp = Math.ceil(this.lv ** 2.1 * (Math.random() * 3 + variable) * this.df * this.lf); |
|
|
|
this.hp = Math.ceil(this.lv ** 2.1 * (Math.random() * 3 + variable) * this.df * this.lf); |
|
|
|
}; |
|
|
|
}; |
|
|
|
callCoins = (variable) => { |
|
|
|
callCoins = (variable) => { |
|
|
|
this.coins = Math.ceil(this.lv ** 1.16 * (Math.random() * 5 + variable) * this.df * this.lf); |
|
|
|
this.coins = Math.ceil(this.lv ** 1.16 * (Math.random() * 5 + variable) * this.df * this.lf ** 0.5); |
|
|
|
}; |
|
|
|
}; |
|
|
|
callDef = () => { |
|
|
|
callDef = () => { |
|
|
|
this.def = Math.ceil(100 + 100 * (this.ef - 1) * this.lf); |
|
|
|
this.def = Math.ceil(100 + 100 * (this.ef - 1) * this.lf); |
|
|
|