27 lines
834 B
TypeScript
27 lines
834 B
TypeScript
|
import { EAttrTypeL1 } from "../../../core/EEnum";
|
||
|
import SkillBase, { ActionType, ESkillQuality, ESkillType } from "../core/SkillBase";
|
||
|
import FactionTalent from "../../../FactionTalent";
|
||
|
|
||
|
// 吸血・把玩
|
||
|
export default class XiXue1 extends SkillBase {
|
||
|
constructor() {
|
||
|
super();
|
||
|
this.id = ESkillType.XiXue1;
|
||
|
this.name = "吸血";
|
||
|
this.icon = "xx";
|
||
|
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 `召喚獸機率吸取自身造成傷害百分比的氣血`;
|
||
|
}
|
||
|
}
|