35 lines
1.3 KiB
TypeScript
35 lines
1.3 KiB
TypeScript
|
import { EAttrTypeL1 } from "../../../core/EEnum";
|
||
|
import SkillBase, { ActionType, ESkillQuality, ESkillType } from "../core/SkillBase";
|
||
|
import FactionTalent from "../../../FactionTalent";
|
||
|
import SKDataUtil from "../../../gear_2.3.4/util/SKDataUtil";
|
||
|
|
||
|
// 怒濤・無價
|
||
|
export default class NuTao3 extends SkillBase {
|
||
|
constructor() {
|
||
|
super();
|
||
|
this.id = ESkillType.NuTao3;
|
||
|
this.name = "怒濤";
|
||
|
this.icon = "nt";
|
||
|
this.effectDesc = "增加仙法、三尸、鬼火狂暴率";
|
||
|
this.effectMap = {
|
||
|
[EAttrTypeL1.KB_WIND]: { add: 15, index: 0 },
|
||
|
[EAttrTypeL1.KB_FIRE]: { add: 15, index: 1 },
|
||
|
[EAttrTypeL1.KB_WATER]: { add: 15, index: 2 },
|
||
|
[EAttrTypeL1.KB_THUNDER]: { add: 15, index: 3 },
|
||
|
[EAttrTypeL1.KB_BLOODRETURN]: { add: 15, index: 4 },
|
||
|
[EAttrTypeL1.KB_WILDFIRE]: { add: 15, index: 5 },
|
||
|
};
|
||
|
this.action_type = ActionType.PASSIVE;
|
||
|
this.quality = ESkillQuality.FINAL;
|
||
|
}
|
||
|
|
||
|
getDetail(info = null):string{
|
||
|
let factionTalentLevel = FactionTalent.Instance.factionTalentLevel;
|
||
|
let addition = factionTalentLevel * 0.3
|
||
|
if(info){
|
||
|
addition = SKDataUtil.toDecimal2((1 + (info.addition / 10)) * addition);
|
||
|
}
|
||
|
return `增加${addition}%仙法、三尸、鬼火狂暴率`;
|
||
|
}
|
||
|
}
|