28 lines
1.1 KiB
TypeScript
28 lines
1.1 KiB
TypeScript
import {EAttrTypeL1, EHorsePASV} from "../../../../core/EEnum";
|
|
import SkillBase, {ActionType, ESkillQuality, ESkillType} from "../../core/SkillBase";
|
|
|
|
// 胡馬馳驟
|
|
export default class HuMaChiZhou extends SkillBase {
|
|
constructor() {
|
|
super();
|
|
this.init();
|
|
}
|
|
|
|
init() {
|
|
this.id = ESkillType.HuMaChiZhou;
|
|
this.name = "胡馬馳驟";
|
|
this.icon = "hmcj";
|
|
this.desc = "增加速度。攻擊敵方時若敵方未處於減速狀態,則有概率使對方進入減速狀態,速度降低。";
|
|
this.effectDesc = "[S]增加速度{0}%;[M]{1}%概率使對方進入減速狀態;[M]速度降低{2}%;[M]持續{3}個回合。";
|
|
this.effectMap = {
|
|
[EAttrTypeL1.SPD_PERC]: {add: 2, index: 0, rsa:"HuMaChiZhou",pasv: EHorsePASV.Percenta},
|
|
[403]: {add: 1, index: 1, rsa:"HuMaChiZhou",pasv: EHorsePASV.Percentb},
|
|
[404]: {add: 1, index: 2, rsa:"HuMaChiZhou",pasv: EHorsePASV.Percentc},
|
|
[405]: {add: 2, index: 3, rsa:"HuMaChiZhou",pasv: EHorsePASV.Percentd}
|
|
};
|
|
this.attrDesc = "速 攻";
|
|
this.action_type = ActionType.PASSIVE;
|
|
this.quality = ESkillQuality.LOW;
|
|
}
|
|
|
|
} |