12345678910111213141516171819202122232425262728293031323334353637 |
- 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
- {
- /// <summary>
- /// 神通2
- /// </summary>
- public class PetSkill_81001 : XmdsSkillBase
- {
- private static readonly int ID = 81001;
- // 攻击伤害,固定值 + 百分比
- 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);
- }
- }
- }
|