27 lines
997 B
TypeScript
27 lines
997 B
TypeScript
|
import { EAttrTypeL1 } from "../../../core/EEnum";
|
|||
|
import SkillBase, { ActionType, ESkillQuality, ESkillType } from "../core/SkillBase";
|
|||
|
import FactionTalent from "../../../FactionTalent";
|
|||
|
|
|||
|
// 生機・珍藏
|
|||
|
export default class ShengJi2 extends SkillBase {
|
|||
|
constructor() {
|
|||
|
super();
|
|||
|
this.id = ESkillType.ShengJi2;
|
|||
|
this.name = "生機";
|
|||
|
this.icon = "sj";
|
|||
|
this.effectDesc = "召喚獸受到傷害被擊殺離場時有概率釋放一次低血量單體回血效果,可複活倒地單位,僅PVP前3回合生效";
|
|||
|
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前3回合生效`;
|
|||
|
}
|
|||
|
}
|