using CommonAI.Data; using CommonAI.Zone; using CommonAI.Zone.Formula; using CommonAI.Zone.Helper; using CommonAI.Zone.Instance; using XmdsCommon.Plugin; using XmdsCommonServer.Plugin; using XmdsCommonServer.XLS.Data; using XmdsCommonSkill.Plugin.Buffs; using static CommonAI.Zone.Instance.InstanceUnit; namespace XmdsCommonSkill.Plugin.Skills.Remedy { /// /// 神通5 /// public class PetSkill_81004 : XmdsSkillBase { private static readonly int ID = 81004; // 攻击伤害,固定值 + 百分比 public static XmdsSkillValue valueSet1; public override int SkillID { get { return ID; } } protected override void OnSkillDamagePerEvent(BattleParams param) { param.SkillDamageAdd = valueSet1.GetValue(param.GameSkill.SkillLevel); param.SkillDamagePer = valueSet1.GetValueExt(param.GameSkill.SkillLevel); } protected override void OnInitSkillParam() { XmdsSkillData data = XmdsDataMgr.GetInstance().GetXmdsSkillData(ID); InitData(data, out valueSet1, XmdsSkillData.XmdsSkillDataKey.ValueSet); } } }