using CommonAI.Data; using CommonAI.Zone; using CommonAI.Zone.Formula; using CommonAI.Zone.Helper; using CommonAI.Zone.Instance; using CommonLang; using System; using XmdsCommon.Plugin; using XmdsCommonServer.Plugin; using XmdsCommonServer.XLS.Data; using XmdsCommonSkill.Plugin.Buffs; using XmdsCommonSkill.Plugin.PassiveSkills.Magic; using static CommonAI.Zone.Instance.InstanceUnit; namespace XmdsCommonSkill.Plugin.Skills.Boss { /// /// 2-2.5远程普攻 /// public class Boss_902072 : XmdsSkillBase { private static int ID = 902072; public static XmdsSkillValue DP_1; public override int SkillID { get { return ID; } } protected override void OnSkillDamagePerEvent(BattleParams param) { param.SkillDamagePer = CalDamagePer(DP_1, param.GameSkill.SkillLevel); } protected override void OnInitSkillParam() { XmdsSkillData data = XmdsDataMgr.GetInstance().GetXmdsSkillData(ID); InitData(data, out DP_1, XmdsSkillData.XmdsSkillDataKey.DmgRate); } } }