SamsaraGame/assets/Script/ts/game/skill/pet/NiuZhuanQianKun.ts

37 lines
1.2 KiB
TypeScript
Raw Permalink Normal View History

2025-04-24 17:03:28 +08:00
import SkillBase, { ActionType, ESkillQuality, AffectType, EAttackType, EffectPos, MagicType, ESkillType } from "../core/SkillBase";
export default class NiuZhuanQianKun extends SkillBase {
constructor() {
super();
this.init();
}
init() {
this.id = ESkillType.NiuZhuanQianKun;
this.name = '扭轉乾坤';
this.icon = "10323";
this.desc = '進場時把己方陣營後方的狀態效果反轉給敵方陣營';
this.action_type = ActionType.PASSIVE;
this.quality = ESkillQuality.FINAL;
this.particleEffect = 'NiuZhuanQianKun'; //特效
/**粒子特效 */
this.particleEffect= "NiuZhuanQianKun";
/**特效是否區分方向 */
this.effectDir= false;
/**特效播放位置 */
this.effectPos = EffectPos.OWN;
/**buff特效名字 */
this.buffEffect = "NiuZhuanQianKun";
/**技能特效 顯示修正位置 */
this.skillEffectX = 0;
/** 技能特效 顯示修正位置 */
this.skillEffectY = 0;
/**buff特效 顯示位置 */
this.buffEffectY = 0;
/**buff顯示在人物之前 還是之後 */
this.buffFront= true;
}
getDetail(): string {
return `進場時把己方陣營後方的狀態效果反轉給敵方陣營`;
}
}