31 lines
953 B
TypeScript
31 lines
953 B
TypeScript
|
import { EAttrTypeL1 } from "../../../core/EEnum";
|
|||
|
import SkillBase, { ActionType, ESkillQuality, ESkillType } from "../core/SkillBase";
|
|||
|
import FactionTalent from "../../../FactionTalent";
|
|||
|
|
|||
|
// 飛花賤玉・無價
|
|||
|
export default class FeiHuaJianYv3 extends SkillBase {
|
|||
|
constructor() {
|
|||
|
super();
|
|||
|
this.id = ESkillType.FeiHuaJianYv3;
|
|||
|
this.name = "飛花賤玉";
|
|||
|
this.icon = "fhjy";
|
|||
|
this.effectDesc = "普攻有一定機率3倍暴擊,一定機率隔山";
|
|||
|
this.effectMap = {
|
|||
|
[EAttrTypeL1.HK_FORGET]: { add: 15, index: 0 },
|
|||
|
};
|
|||
|
this.action_type = ActionType.PASSIVE;
|
|||
|
this.quality = ESkillQuality.FINAL;
|
|||
|
}
|
|||
|
|
|||
|
getLevelData():any{
|
|||
|
let factionTalentLevel = FactionTalent.Instance.factionTalentLevel;
|
|||
|
return {
|
|||
|
add: 7 + factionTalentLevel * 0.5,
|
|||
|
}
|
|||
|
}
|
|||
|
|
|||
|
getDetail():string{
|
|||
|
return `普攻有一定機率3倍暴擊,一定機率隔山`;
|
|||
|
}
|
|||
|
}
|