SamsaraGame/assets/Script/ts/game/skill/horse/high/HighRuanXiangHongTu.ts

29 lines
1.0 KiB
TypeScript
Raw Normal View History

2025-04-24 17:03:28 +08:00
import {EAttrTypeL1, EHorsePASV} from "../../../../core/EEnum";
import SkillBase, {ActionType, ESkillQuality, ESkillType} from "../../core/SkillBase";
// 高級軟香紅土
export default class HighRuanXiangHongTu extends SkillBase {
constructor() {
super();
this.init();
}
init() {
this.id = ESkillType.HighRuanXiangHongTu;
this.name = "高級軟香紅土";
this.icon = "rxht";
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;
}
}