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

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