diff --git a/src/config/beings.ts b/src/config/beings.ts index 1defa62..3b0eb3c 100644 --- a/src/config/beings.ts +++ b/src/config/beings.ts @@ -92,7 +92,7 @@ export class Monster extends Attribute { this.difficulty = difficulty; this.df = base_attr_factor[this.difficulty]; this.ef = extra_factor[difficulty]; - this.lf = ((this.lv + layer) / this.lv) ** 2; + this.lf = ((this.lv + layer - 1) / this.lv) ** 2; this.callAtk(2.5); this.callHp(17); this.callCoins(11); @@ -133,7 +133,7 @@ export class BossMonster extends Monster { const rf = rate_factor[difficulty]; this.equipRates = [0.25 - 0.05 * rf, 0.55 - 0.1 * rf, 0.15 + 0.1 * rf, 0.05 + 0.05 * rf]; let uniqueRate = 0.02 * ((rf - 1) * 5 + 1); - const colorfulRate = 0.04 * (rf - 3) * this.lf; + const colorfulRate = 0.02 * (rf - 3) * this.lf; if (uniqueRate + colorfulRate > 1) { uniqueRate = 1 - colorfulRate; } diff --git a/src/views/dungeon/dungeonMap.vue b/src/views/dungeon/dungeonMap.vue index 5df863d..56fab2f 100644 --- a/src/views/dungeon/dungeonMap.vue +++ b/src/views/dungeon/dungeonMap.vue @@ -94,7 +94,7 @@ const refreshDungeons = () => { const refreshSecret = () => { if (state.playerAttribute.lv >= 100) { - xiaomi.value = new Dungeon(100, 'xiaomi'); + xiaomi.value = new Dungeon(100, 'xiaomi', 1); xiaomi.value.right = '4%'; xiaomi.value.top = '43%'; dami.value = new Dungeon(100, 'dami', layer.value);