SamsaraGame/assets/Script/ts/game/skill/horse/high/HighHuaChenYueXi.ts
2025-04-24 17:03:28 +08:00

32 lines
1.3 KiB
TypeScript

import { EAttrTypeL1 } from "../../../../core/EEnum";
import SkillBase, { ActionType, ESkillQuality, ESkillType } from "../../core/SkillBase";
// 高級花晨月夕
export default class HighHuaChenYueXi extends SkillBase {
constructor() {
super();
this.init();
}
init() {
this.id = ESkillType.HighHuaChenYueXi;
this.name = "高級花晨月夕";
this.icon = 'hcyx';
this.desc = "增加法力、氣血、攻擊力、忽視風雷水火鬼火。";
this.effectDesc = "[D]增加法力{0}%;[B]增加氣血{1}%;[A]增加攻擊力{2}%;[E]增加忽視風、雷、水、火、鬼火{3}%";
this.effectMap = {
[EAttrTypeL1.MP_PERC]: { add: 3.15, index: 0 },
[EAttrTypeL1.HP_PERC]: { add: 1.85, index: 1 },
[EAttrTypeL1.ATK_PERC]: { add: 1.85, index: 2 },
[EAttrTypeL1.HK_WIND]: { add: 2.11, index: 3 },
[EAttrTypeL1.HK_THUNDER]: { add: 2.11, index: 4 },
[EAttrTypeL1.HK_WATER]: { add: 2.11, index: 5 },
[EAttrTypeL1.HK_FIRE]: { add: 2.11, index: 6 },
[EAttrTypeL1.HK_WILDFIRE]: { add: 2.11, index: 7 }
};
this.attrDesc = "法血攻 忽視";
this.action_type = ActionType.PASSIVE;
this.quality = ESkillQuality.HIGH;
}
}