28 lines
866 B
TypeScript
28 lines
866 B
TypeScript
|
import { EAttrTypeL1 } from "../../../core/EEnum";
|
|||
|
import SkillBase, { ActionType, ESkillQuality, ESkillType } from "../core/SkillBase";
|
|||
|
import FactionTalent from "../../../FactionTalent";
|
|||
|
|
|||
|
// 意氣・珍藏
|
|||
|
export default class YiQi2 extends SkillBase {
|
|||
|
constructor() {
|
|||
|
super();
|
|||
|
this.id = ESkillType.YiQi2;
|
|||
|
this.name = "意氣";
|
|||
|
this.icon = "yq";
|
|||
|
this.effectDesc = "如果連續2回合出手時被控,下一個回合有機率擺脫控制";
|
|||
|
this.action_type = ActionType.PASSIVE;
|
|||
|
this.quality = ESkillQuality.HIGH;
|
|||
|
}
|
|||
|
|
|||
|
getLevelData():any{
|
|||
|
let factionTalentLevel = FactionTalent.Instance.factionTalentLevel;
|
|||
|
return {
|
|||
|
add: 7 + factionTalentLevel * 0.5,
|
|||
|
}
|
|||
|
}
|
|||
|
|
|||
|
getDetail():string{
|
|||
|
return `如果連續2回合出手時被控,下一個回合有機率擺脫控制`;
|
|||
|
}
|
|||
|
}
|