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

26 lines
874 B
TypeScript
Raw Permalink 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, EAttrTypeL1, EActionType, ESkillQuality, EActionOn} from "../../role/EEnum";
import SkillBase from "../core/SkillBase";
import GameUtil from "../../core/GameUtil";
import SKDataUtil from "../../gear/SKDataUtil";
// 万古长春・把玩
export default class WanGuChangChun1 extends SkillBase {
constructor() {
super();
this.skill_id = ESkillType.WanGuChangChun1;
this.skill_name = "万古长春・把玩";
this.effectDesc = "30%的几率分裂一个目标最多分裂3次";
this.kind = ESkillType.FenLieGongJi;
this.act_on = EActionOn.ENEMY;
this.action_type = EActionType.PASSIVE;
this.quality = ESkillQuality.LOW;
}
getEffect(params: any = null): any {
let ret: any = SKDataUtil.clone(GameUtil.skillEffect);
ret.pre = 30;
return ret.pre;
}
}