xy-server/game/skill/pet/ChangQuZhiRu.ts
2025-04-23 09:34:08 +08:00

24 lines
919 B
TypeScript
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

import { ESkillType, EActionType,EActionOn, ESkillQuality } from "../../role/EEnum";
import SkillBase from "../core/SkillBase";
import SKDataUtil from "../../gear/SKDataUtil";
import GameUtil from "../../core/GameUtil";
//技能效果消耗15400法力清楚敌方3个单位正面状态整场战斗只可使用1次6回合后才可使用。(仅PVP生效)
export default class ChangQuZhiRu extends SkillBase {
constructor() {
super();
this.skill_id = ESkillType.ChangQuZhiRu;
this.skill_name = '长驱直入';
this.action_type = EActionType.INITIATIVE;
this.kind = ESkillType.ChangQuZhiRu;
this.quality = ESkillQuality.FINAL;
this.limit_round = 5;//6回合后才可使用
this.limit_times = 1;//整场战斗只可使用1次
this.act_on = EActionOn.ENEMY;
}
getEffect(params:any=null):any{
let ret = SKDataUtil.clone(GameUtil.skillEffect);
ret.cnt = 3;//
return ret;
}
}