SamsaraGame/assets/Script/ts/game/skill/horse/high/HighBaiLuHengJiang.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 HighBaiLuHengJiang extends SkillBase {
constructor() {
super();
this.init();
}
init() {
this.id = ESkillType.HighBaiLuHengJiang;
this.name = "高級白露橫江";
this.icon = "blhj";
this.desc = "增加法力、抗物理、抗毒、忽視風雷水火鬼火。";
this.effectDesc = "[D]增加法力{0}%;[E]增加抗物理{1}%;[E]增加抗毒{2}%;[E]增加忽視風、雷、水、火、鬼火{3}%";
this.effectMap = {
[EAttrTypeL1.MP_PERC]: { add: 1.76, index: 0 },
[EAttrTypeL1.K_PHY_GET]: { add: 1.24, index: 1 },
[EAttrTypeL1.K_POISON]: { add: 3.45, index: 2 },
[EAttrTypeL1.HK_WIND]: { add: 1.11, index: 3 },
[EAttrTypeL1.HK_THUNDER]: { add: 1.11, index: 4 },
[EAttrTypeL1.HK_WATER]: { add: 1.11, index: 5 },
[EAttrTypeL1.HK_FIRE]: { add: 1.11, index: 6 },
[EAttrTypeL1.HK_WILDFIRE]: { add: 1.11, index: 7 }
};
this.attrDesc = "法 抗物毒 忽視";
this.action_type = ActionType.PASSIVE;
this.quality = ESkillQuality.HIGH;
}
}