import SkillBase, { ActionOn, ActionType, AffectType, EAttackType, EffectPos, MagicType, ESkillType } from "../core/SkillBase"; // 天罡戰氣 export default class TianGangZhanQi extends SkillBase{ constructor() { super(); this.init(); } init() { this.id = ESkillType.TianGangZhanQi; this.name = '天罡戰氣'; this.icon = "2007"; this.desc = '處於混亂狀態時必定攻擊敵方目標,如果敵方無目標則待機。攻擊敵方時,有機率清除目標正面狀態。 '; this.action_type = ActionType.PASSIVE; } getEffect(level:number, qinmi:number, relive:number):any { let ret:any = {} ret.add = Math.round(0.1 + 13 * (relive * 0.5 + 1) * (Math.pow(level, 0.5) / 10 + Math.pow(qinmi, 0.16666666666666666) * 10 / (100 + relive * 20))) return ret; } getDetail():string{ return `處於混亂狀態時必定攻擊敵方目標,如果敵方無目標則待機。攻擊敵方時,有機率清除目標正面狀態。 `; } }