29 lines
1.0 KiB
TypeScript
29 lines
1.0 KiB
TypeScript
|
import {EAttrTypeL1, EHorsePASV} from "../../../../core/EEnum";
|
||
|
import SkillBase, {ActionType, ESkillQuality, ESkillType} from "../../core/SkillBase";
|
||
|
|
||
|
// 高級水到渠成
|
||
|
export default class HighShuiDaoQvCheng extends SkillBase {
|
||
|
constructor() {
|
||
|
super();
|
||
|
this.init();
|
||
|
}
|
||
|
|
||
|
init() {
|
||
|
this.id = ESkillType.HighShuiDaoQvCheng;
|
||
|
this.name = "高級水到渠成";
|
||
|
this.icon = "sdqc";
|
||
|
this.desc = "若對面水五行>=50, 則對自己造成的傷害減少";
|
||
|
this.effectDesc = "[E]若對面水五行>=50, 則對自己造成的傷害減少{0}%";
|
||
|
this.effectMap = {
|
||
|
[EAttrTypeL1.HK_WIND]: { add: 5.82, index: 0 },
|
||
|
[EAttrTypeL1.HK_THUNDER]: { add: 2.28, index: 0 },
|
||
|
[EAttrTypeL1.HK_WATER]: { add: 2.28, index: 0 },
|
||
|
[EAttrTypeL1.HK_FIRE]: { add: 2.28, index: 0 },
|
||
|
[EAttrTypeL1.HK_WILDFIRE]: { add: 2.28, index: 0 },
|
||
|
};
|
||
|
this.attrDesc = "五行減傷";
|
||
|
this.action_type = ActionType.PASSIVE;
|
||
|
this.quality = ESkillQuality.HIGH;
|
||
|
}
|
||
|
|
||
|
}
|