2025-04-24 17:03:28 +08:00

27 lines
980 B
TypeScript

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