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

31 lines
1.1 KiB
TypeScript

import { EAttrTypeL1 } from "../../../../core/EEnum";
import SkillBase, { ActionType, ESkillQuality, ESkillType } from "../../core/SkillBase";
// 躡影追風
export default class NieYingZhuiFeng extends SkillBase {
constructor() {
super();
this.init();
}
init() {
this.id = ESkillType.NieYingZhuiFeng;
this.name = "躡影追風";
this.icon = "nyzf";
this.desc = "增加速度、法力、忽視風雷水火鬼火。";
this.effectDesc = "[S]增加速度{0}%;[D]增加法力{1}%;[E]增加忽視風、雷、水、火、鬼火{2}%";
this.effectMap = {
[EAttrTypeL1.SPD_PERC]: { add: 0.45, index: 0 },
[EAttrTypeL1.MP_PERC]: { add: 0.5, index: 1 },
[EAttrTypeL1.HK_WIND]: { add: 1.04, index: 2 },
[EAttrTypeL1.HK_THUNDER]: { add: 1.04, index: 3 },
[EAttrTypeL1.HK_WATER]: { add: 1.04, index: 4 },
[EAttrTypeL1.HK_FIRE]: { add: 1.04, index: 5 },
[EAttrTypeL1.HK_WILDFIRE]: { add: 1.04, index: 6 }
};
this.attrDesc = "敏 法 忽視";
this.action_type = ActionType.PASSIVE;
this.quality = ESkillQuality.LOW;
}
}