import { EAttrTypeL1 } from "../../../core/EEnum"; import SkillBase, { ActionType, ESkillQuality, ESkillType } from "../core/SkillBase"; import FactionTalent from "../../../FactionTalent"; // 衝冠・珍藏 export default class ChongGuan2 extends SkillBase { constructor() { super(); this.id = ESkillType.ChongGuan2; this.name = "衝冠"; this.icon = "cg"; this.effectDesc = "被攻擊時,若自身未處於加攻狀態,則一定機率進入加攻狀態,加攻效果強弱與天策符等級有關"; 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 `被攻擊時,若自身未處於加攻狀態,則一定機率進入加攻狀態,加攻效果強弱與天策符等級有關`; } }