42 lines
1.4 KiB
TypeScript
Raw Permalink Normal View History

2025-04-24 17:03:28 +08:00
import GameUtil from "../../../core/GameUtil";
import SkillBase, { ActionType, AffectType, ESkillQuality, EAttackType, ESkillType, MagicType } from "../core/SkillBase";
//荼蘼花開
export default class ChaMiHuaKai extends SkillBase {
constructor() {
super();
this.init();
}
init() {
this.id = ESkillType.ChaMiHuaKai;
this.name = "荼蘼花開";
this.icon = "10316";
this.desc = '荼蘼花種持續2回合被播種的單位在施法前會受到一次爆發傷害。 ';
this.faXi = MagicType.Physics;
this.atkType = EAttackType.MELEE;
this.particleEffect = '41006';//特效
this.buffEffect = '41006_s'; // buff特效名字
this.skillEffectY = -15;
this.buffEffectY = -30; //buff特效 顯示位置
this.scale = AffectType.GROUP;
this.buffFront = false;
this.action_type = ActionType.INITIATIVE;
this.quality = ESkillQuality.FINAL;
}
getDetail(): string {
//return `福犬在主人首次倒地時激發勇猛鬥志,擺脫一切負面狀態,幻化人形狀態。進入人形狀態後每回合開始均可清除所有負面狀態。 `;
return `對敵方隨機2~3個目標造成物理傷害並為其種下荼蘼花種持續2回合被播種的單位在施法前會受到一次爆發傷害效果與召喚獸攻擊力、等級、親密和目標最大氣血值有關可與雙管齊下等疊加並清除荼蘼花種。 `;
}
}