25 lines
772 B
TypeScript
25 lines
772 B
TypeScript
import {EAttrTypeL1, EHorsePASV} from "../../../../core/EEnum";
|
|
import SkillBase, {ActionType, ESkillQuality, ESkillType} from "../../core/SkillBase";
|
|
|
|
// 移宮換羽
|
|
export default class YiGongHuanYv extends SkillBase {
|
|
constructor() {
|
|
super();
|
|
this.init();
|
|
}
|
|
|
|
init() {
|
|
this.id = ESkillType.YiGongHuanYv;
|
|
this.name = "移宮換羽";
|
|
this.icon = "yghy";
|
|
this.desc = "受到傷害時有一定概率將傷害值將為1點";
|
|
this.effectDesc = "[E]受到傷害時有{0}%的概率將傷害值將為1點";
|
|
this.effectMap = {
|
|
[EAttrTypeL1.HK_WIND]: { add: 2.23, index: 0 },
|
|
};
|
|
this.attrDesc = "降低傷害";
|
|
this.action_type = ActionType.PASSIVE;
|
|
this.quality = ESkillQuality.LOW;
|
|
}
|
|
|
|
} |