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

34 lines
1.4 KiB
TypeScript

import { EAttrTypeL1 } from "../../../../core/EEnum";
import SkillBase, { ActionType, ESkillQuality, ESkillType } from "../../core/SkillBase";
// 高級四海寧靖
export default class HighSiHaiNingJing extends SkillBase {
constructor() {
super();
this.init();
}
init() {
this.id = ESkillType.HighSiHaiNingJing;
this.name = "高級四海寧靖";
this.icon = 'shnj';
this.desc = "增加法力、抗風雷水火、忽視風雷水火鬼火。";
this.effectDesc = "[D]增加法力{0}%;[E]增加抗風、雷、水、火{1}%;[E]增加忽視風、雷、水、火、鬼火{6}%";
this.effectMap = {
[EAttrTypeL1.MP_PERC]: { add: 1.56, index: 0 },
[EAttrTypeL1.K_WIND]: { add: 1.34, index: 1 },
[EAttrTypeL1.K_THUNDER]: { add: 1.34, index: 2 },
[EAttrTypeL1.K_WATER]: { add: 1.34, index: 3 },
[EAttrTypeL1.K_FIRE]: { add: 1.34, index: 4 },
[EAttrTypeL1.HK_WIND]: { add: 1.34, index: 5 },
[EAttrTypeL1.HK_THUNDER]: { add: 0.99, index: 6 },
[EAttrTypeL1.HK_WATER]: { add: 0.99, index: 7 },
[EAttrTypeL1.HK_FIRE]: { add: 0.99, index: 8 },
[EAttrTypeL1.HK_WILDFIRE]: { add: 0.99, index: 9 }
};
this.attrDesc = "法 抗風雷水火 忽視";
this.action_type = ActionType.PASSIVE;
this.quality = ESkillQuality.HIGH;
}
}