using XmdsCommonServer.XLS.Data; using XmdsCommonServer.Plugin; namespace XmdsCommonSkill.Plugin.Skills.Monster { /// /// 死灵巫妖(莱丝) - 普攻: 攻击一个目标,造成x倍物攻伤害和额外y点物理伤害. /// public class Monster_6100101 : XmdsSkillBase { public static int ID = 6100101; 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); } } }