28 lines
931 B
TypeScript
28 lines
931 B
TypeScript
|
import { EAttrTypeL1 } from "../../../core/EEnum";
|
||
|
import SkillBase, { ActionType, ESkillQuality, ESkillType } from "../core/SkillBase";
|
||
|
import FactionTalent from "../../../FactionTalent";
|
||
|
|
||
|
// 破釜沉舟・把玩
|
||
|
export default class PoFuChenZhou1 extends SkillBase {
|
||
|
constructor() {
|
||
|
super();
|
||
|
this.id = ESkillType.PoFuChenZhou1;
|
||
|
this.name = "破釜沉舟";
|
||
|
this.icon = "pofuchenzhou";
|
||
|
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 `釋放控制法術時一定機率增加強法,己方被控制單位越多機率越高`;
|
||
|
}
|
||
|
}
|