31 lines
950 B
TypeScript
31 lines
950 B
TypeScript
import { EAttrTypeL1 } from "../../../core/EEnum";
|
||
import SkillBase, { ActionType, ESkillQuality, ESkillType } from "../core/SkillBase";
|
||
import FactionTalent from "../../../FactionTalent";
|
||
|
||
// 飛花賤玉・把玩
|
||
export default class FeiHuaJianYv1 extends SkillBase {
|
||
constructor() {
|
||
super();
|
||
this.id = ESkillType.FeiHuaJianYv1;
|
||
this.name = "飛花賤玉";
|
||
this.icon = "fhjy";
|
||
this.effectDesc = "普攻有一定機率3倍暴擊,一定機率隔山";
|
||
this.effectMap = {
|
||
[EAttrTypeL1.HK_FORGET]: { add: 7, index: 0 },
|
||
};
|
||
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 `普攻有一定機率3倍暴擊,一定機率隔山`;
|
||
}
|
||
}
|