27 lines
786 B
TypeScript
27 lines
786 B
TypeScript
|
import { EAttrTypeL1 } from "../../../core/EEnum";
|
||
|
import SkillBase, { ActionType, ESkillQuality, ESkillType } from "../core/SkillBase";
|
||
|
import FactionTalent from "../../../FactionTalent";
|
||
|
|
||
|
// 護主・把玩
|
||
|
export default class HuZhu1 extends SkillBase {
|
||
|
constructor() {
|
||
|
super();
|
||
|
this.id = ESkillType.HuZhu1;
|
||
|
this.name = "護主";
|
||
|
this.icon = "hz";
|
||
|
this.effectDesc = "召喚獸離場恢復主人氣血";
|
||
|
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 `召喚獸離場恢復主人氣血`;
|
||
|
}
|
||
|
}
|