using XmdsCommonServer.XLS.Data; using XmdsCommonServer.Plugin; namespace XmdsCommonSkill.Plugin.Skills.Monster { /// /// 谴责者-莫斯提马(镜像) - 爆炸: 死亡时爆炸,对身边所有敌人造成x倍物理伤害和额外y点伤害 /// 范围可以设置大一些,确保团灭,差不多半屏幕的样子. /// public class Monster_6061302 : XmdsSkillBase { public static int ID = 6061302; public static XmdsSkillValue DP_1; public override int SkillID { get { return ID; } } protected override void OnSkillDamagePerEvent(BattleParams param) { int ret = CalDamagePer(DP_1, param.GameSkill.SkillLevel); param.SkillDamagePer = ret; } protected override void OnInitSkillParam() { XmdsSkillData data = XmdsDataMgr.GetInstance().GetXmdsSkillData(ID); InitData(data, out DP_1, XmdsSkillData.XmdsSkillDataKey.DmgRate); } } }