29 lines
907 B
TypeScript
29 lines
907 B
TypeScript
import { EAttrTypeL1 } from "../../../core/EEnum";
|
|
import SkillBase, { ActionType, ESkillQuality, ESkillType } from "../core/SkillBase";
|
|
import FactionTalent from "../../../FactionTalent";
|
|
|
|
// 克金・把玩
|
|
export default class KeJin1 extends SkillBase {
|
|
constructor() {
|
|
super();
|
|
this.id = ESkillType.KeJin1;
|
|
this.name = "克金";
|
|
this.icon = "kj";
|
|
this.effectDesc = "增加強力克金";
|
|
this.effectMap = {
|
|
[EAttrTypeL1.S_GOLD]: { add: 7, index: 0 },
|
|
};
|
|
this.action_type = ActionType.PASSIVE;
|
|
this.quality = ESkillQuality.LOW;
|
|
}
|
|
|
|
getDetail(info = null):string{
|
|
let factionTalentLevel = FactionTalent.Instance.factionTalentLevel;
|
|
let addition = factionTalentLevel * 0.1
|
|
if(info){
|
|
addition = (1 + (info.addition / 10)) * addition;
|
|
}
|
|
return `增加${addition}%強力克金`;
|
|
}
|
|
}
|