31 lines
1.1 KiB
TypeScript
31 lines
1.1 KiB
TypeScript
import { EAttrTypeL1 } from "../../../core/EEnum";
|
|
import SkillBase, { ActionType, ESkillQuality, ESkillType } from "../core/SkillBase";
|
|
import FactionTalent from "../../../FactionTalent";
|
|
|
|
// 金石為開・無價
|
|
export default class JinShiWeiKai3 extends SkillBase {
|
|
constructor() {
|
|
super();
|
|
this.id = ESkillType.JinShiWeiKai3;
|
|
this.name = "金石為開";
|
|
this.icon = "jswk";
|
|
this.effectDesc = "每施展一次仙法、鬼火、三尸、毒,無視掉被命中目標一定的對應抗性(連續中斷兩回合,則效果被清空)";
|
|
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 `每施展一次仙法、鬼火、三尸、毒,無視掉被命中目標一定的對應抗性(連續中斷兩回合,則效果被清空)`;
|
|
}
|
|
}
|