31 lines
1010 B
TypeScript
31 lines
1010 B
TypeScript
|
import { EAttrTypeL1 } from "../../../core/EEnum";
|
||
|
import SkillBase, { ActionType, ESkillQuality, ESkillType } from "../core/SkillBase";
|
||
|
import FactionTalent from "../../../FactionTalent";
|
||
|
|
||
|
// 陌上開花・把玩
|
||
|
export default class MoShangKaiHua1 extends SkillBase {
|
||
|
constructor() {
|
||
|
super();
|
||
|
this.id = ESkillType.MoShangKaiHua1;
|
||
|
this.name = "陌上開花";
|
||
|
this.icon = "mskh";
|
||
|
this.effectDesc = "每次釋放師門法術有機率對敵方進行一次普通攻擊,目標隨機";
|
||
|
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 `每次釋放師門法術有機率對敵方進行一次普通攻擊,目標隨機`;
|
||
|
}
|
||
|
}
|