Browse Source

平衡性调整

1.百花内甲和龟纹铠技能数值调整
2.怪物部分属性增加上限:
暴击率:120%
暴击伤害:1000%
暴击避免:120%
暴击伤害减免:1000%
护甲:1100
攻击加成:6500%
v1.0
许孟阳 1 week ago
parent
commit
a90b17de44
  1. 21
      src/config/beings.ts
  2. 6
      src/config/skill/armor.ts
  3. 6
      src/views/version/update-log.vue

21
src/config/beings.ts

@ -17,6 +17,14 @@ export const show_lv_df = ['normal', 'hard', 'pain']; @@ -17,6 +17,14 @@ export const show_lv_df = ['normal', 'hard', 'pain'];
const base_attr_factor = { normal: 1, hard: 1.15, pain: 1.4, xiaomi: 2, dami: 3 };
const extra_factor = { normal: 0, hard: 0, pain: 0, xiaomi: 1, dami: 2 };
const rate_factor = { normal: 1, hard: 2, pain: 3, xiaomi: 4, dami: 5 };
const monster_attr_max = {
crit: 120,
critDmg: 1000,
critAvoid: 120,
critDmgReduc: 1000,
def: 1100,
atkPercent: 6500,
};
export class Attribute {
lv: number = 1;
@ -112,12 +120,14 @@ export class Monster extends Attribute { @@ -112,12 +120,14 @@ export class Monster extends Attribute {
this.callCoins(11);
this.callCrit(0.5);
this.callDef();
this.checkMax();
this.equipRates = [0.2 * this.df, 0.08 * this.df, 0.03 * this.df];
this.extraRate = [0, 0];
}
callAtk = (variable) => {
this.baseAtk = Math.ceil(this.lv ** 2.1 * (Math.random() * 0.2 + variable) * this.df * this.lf);
this.atk = this.baseAtk;
this.baseAtk = Math.ceil(this.lv ** 2.1 * (Math.random() * 0.2 + variable));
this.atkPercent = (this.df * this.lf - 1) * 100;
// this.atk = this.baseAtk;
};
callHp = (variable) => {
this.hp = Math.ceil(this.lv ** 2.1 * (Math.random() * 3 + variable) * this.df * this.lf);
@ -134,6 +144,12 @@ export class Monster extends Attribute { @@ -134,6 +144,12 @@ export class Monster extends Attribute {
this.critAvoid = Math.ceil((10 + 10 * (this.ef - 1) * this.lf) * factor);
this.critDmgReduc = Math.ceil(100 + 100 * (this.ef - 1) * this.lf);
};
checkMax = () => {
const max = monster_attr_max;
Object.keys(max).forEach((key) => {
this[key] > max[key] && (this[key] = max[key]);
});
};
}
export class BossMonster extends Monster {
@ -144,6 +160,7 @@ export class BossMonster extends Monster { @@ -144,6 +160,7 @@ export class BossMonster extends Monster {
this.callHp(31);
this.callCoins(30.5);
this.callCrit(1);
this.checkMax();
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);

6
src/config/skill/armor.ts

@ -8,7 +8,7 @@ const { t } = i18n; @@ -8,7 +8,7 @@ const { t } = i18n;
export class BHXDJC extends PrePassiveSkill {
name: string = 'bhxdjc';
hpPercent: number = 60;
shieldPercentOfHp: number = 80;
shieldPercentOfHp: number = 100;
cd: number = 999;
desc(): string {
return replace(t('skill.bhxdjc.1'), [this.hpPercent, this.shieldPercentOfHp]);
@ -41,8 +41,8 @@ export class TieBi extends BuffSkill { @@ -41,8 +41,8 @@ export class TieBi extends BuffSkill {
//督军的潜能
export class DuJunQianNeng extends PrePassiveSkill {
name: string = 'dujunqianneng';
hpPercent: number = 50;
dmgReduc: number = 40;
hpPercent: number = 20;
dmgReduc: number = 50;
desc(): string {
return replace(t('skill.dujunqianneng.1'), [this.hpPercent, this.dmgReduc]);
}

6
src/views/version/update-log.vue

@ -38,6 +38,12 @@ const hisVersions = [ @@ -38,6 +38,12 @@ const hisVersions = [
]
const updateLogs: any = [{
date: '2025-05-23', version: '1.0',
adjust: [
'百花内甲和龟纹铠技能数值调整',
'怪物部分属性增加上限:暴击率:120%,暴击伤害:1000%,暴击避免:120%,暴击伤害减免:1000%,护甲:1100,攻击加成:6500%',
]
}, {
date: '2025-05-22', version: '1.0',
adjust: [
'新增远古装备特效(与太古做区分)',

Loading…
Cancel
Save