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

26 lines
1.0 KiB
TypeScript

import { ESkillType, EAttrTypeL1, EActionType, ESkillQuality } from "../../role/EEnum";
import SkillBase from "../core/SkillBase";
// 载沉・珍藏
export default class ZaiChen2 extends SkillBase {
constructor() {
super();
this.skill_id = ESkillType.ZaiChen2;
this.skill_name = "载沉・珍藏";
this.effectDesc = "牺牲一定发力,换取忽视抗控制、忽视抗伤法";
this.effectMap = {
[EAttrTypeL1.SPIRIT]: { add: -10, index: 0 },
[EAttrTypeL1.HK_CONFUSION]: { add: 5, index: 1 },
[EAttrTypeL1.HK_POISON]: { add: 5, index: 2 },
[EAttrTypeL1.HK_WILDFIRE]: { add: 5, index: 3 },
[EAttrTypeL1.HK_WIND]: { add: 5, index: 4 },
[EAttrTypeL1.HK_FIRE]: { add: 5, index: 5 },
[EAttrTypeL1.HK_WATER]: { add: 5, index: 6 },
[EAttrTypeL1.HK_THUNDER]: { add: 5, index: 7 },
};
this.action_type = EActionType.PASSIVE;
this.quality = ESkillQuality.HIGH;
}
}