using XmdsCommonServer.Plugin; using XmdsCommonServer.XLS.Data; namespace XmdsCommonSkill.Plugin.Skills.Monster { /// /// 恶魔术士(桑普纳斯) - 灵魂之箭: 攻击一个目标,造成x倍魔攻伤害和额外y点魔法伤害. /// public class Monster_5030401 : XmdsSkillBase { public static int ID = 5030401; 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); } } }