27 lines
1.0 KiB
TypeScript
27 lines
1.0 KiB
TypeScript
|
import { EAttrTypeL1 } from "../../../core/EEnum";
|
|||
|
import SkillBase, { ActionType, ESkillQuality, ESkillType } from "../core/SkillBase";
|
|||
|
import FactionTalent from "../../../FactionTalent";
|
|||
|
|
|||
|
// 庇佑・珍藏
|
|||
|
export default class BiYou2 extends SkillBase {
|
|||
|
constructor() {
|
|||
|
super();
|
|||
|
this.id = ESkillType.BiYou2;
|
|||
|
this.name = "庇佑";
|
|||
|
this.icon = "by";
|
|||
|
this.effectDesc = "召喚獸保護我方人物或夥伴,則本回合為其分擔一定比例的傷害,且召喚獸分擔到的傷害降低一定比例,僅PVP前5回合生效。";
|
|||
|
this.action_type = ActionType.PASSIVE;
|
|||
|
this.quality = ESkillQuality.HIGH;
|
|||
|
}
|
|||
|
getLevelData():any{
|
|||
|
let factionTalentLevel = FactionTalent.Instance.factionTalentLevel;
|
|||
|
return {
|
|||
|
add: 7 + factionTalentLevel * 0.5,
|
|||
|
}
|
|||
|
}
|
|||
|
|
|||
|
getDetail():string{
|
|||
|
return `召喚獸保護我方人物或夥伴,則本回合為其分擔一定比例的傷害,且召喚獸分擔到的傷害降低一定比例,僅PVP前5回合生效。 `;
|
|||
|
}
|
|||
|
}
|