27 lines
982 B
TypeScript
27 lines
982 B
TypeScript
|
import { EAttrTypeL1 } from "../../../core/EEnum";
|
||
|
import SkillBase, { ActionType, ESkillQuality, ESkillType } from "../core/SkillBase";
|
||
|
import FactionTalent from "../../../FactionTalent";
|
||
|
|
||
|
// 衝冠・無價
|
||
|
export default class ChongGuan3 extends SkillBase {
|
||
|
constructor() {
|
||
|
super();
|
||
|
this.id = ESkillType.ChongGuan3;
|
||
|
this.name = "衝冠";
|
||
|
this.icon = "cg";
|
||
|
this.effectDesc = "被攻擊時,若自身未處於加攻狀態,則一定機率進入加攻狀態,加攻效果強弱與天策符等級有關";
|
||
|
this.action_type = ActionType.PASSIVE;
|
||
|
this.quality = ESkillQuality.FINAL;
|
||
|
}
|
||
|
getLevelData():any{
|
||
|
let factionTalentLevel = FactionTalent.Instance.factionTalentLevel;
|
||
|
return {
|
||
|
add: 7 + factionTalentLevel * 0.5,
|
||
|
}
|
||
|
}
|
||
|
|
||
|
getDetail():string{
|
||
|
return `被攻擊時,若自身未處於加攻狀態,則一定機率進入加攻狀態,加攻效果強弱與天策符等級有關`;
|
||
|
}
|
||
|
}
|