using XmdsCommonServer.XLS.Data; using XmdsCommonServer.Plugin; namespace XmdsCommonSkill.Plugin.Skills.Monster { /// /// 小树精 - 挥砍: 对敌人挥砍,造成x倍物攻伤害和额外y点物理伤害. /// public class Monster_2053 : XmdsSkillBase { public static int ID = 2053; 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); } } }