35 lines
1.1 KiB
TypeScript
35 lines
1.1 KiB
TypeScript
|
import SkillBase, { AffectType, EAttackType,EffectPos, MagicType, ESkillType } from "../core/SkillBase";
|
|||
|
|
|||
|
// 荼蘼花開
|
|||
|
export default class TuMiHuaKai extends SkillBase {
|
|||
|
constructor() {
|
|||
|
super();
|
|||
|
this.init();
|
|||
|
}
|
|||
|
|
|||
|
init() {
|
|||
|
this.id = ESkillType.TuMiHuaKai;
|
|||
|
this.name = '荼蘼花開';
|
|||
|
this.icon = '31160';
|
|||
|
this.desc = '物理攻擊3個目標';
|
|||
|
this.faXi = MagicType.Physics;
|
|||
|
this.atkType = EAttackType.MELEE;
|
|||
|
this.scale=AffectType.GROUP;
|
|||
|
this.vecLevelExp = [1700, 13000];
|
|||
|
this.buffEffect = "38160";
|
|||
|
this.buffEffectY = 50;
|
|||
|
this.effectPos = EffectPos.STAGE;
|
|||
|
}
|
|||
|
|
|||
|
getLevelData(level: number): any {
|
|||
|
return {
|
|||
|
nTargetCnt:3,
|
|||
|
nRound: 2
|
|||
|
};
|
|||
|
}
|
|||
|
|
|||
|
getDetail(): string {
|
|||
|
let stLevelData = this.getLevelData(this.curExp);
|
|||
|
return `對敵方3個目標造成物理傷害並為其種下荼蘼花種,持續2回合,被播種的單位在施法前會受到一次爆發傷害(效果與召喚獸攻擊力、等級、親密和目標最大氣血值有關,可與雙管齊下等疊加)並清除荼蘼花種。 `;
|
|||
|
}
|
|||
|
}
|