PetSkill_930020.cs 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. using CommonAI.Zone;
  2. using CommonAI.Zone.Helper;
  3. using CommonAI.Zone.Instance;
  4. using XmdsCommon.Plugin;
  5. using XmdsCommonServer.Plugin;
  6. using XmdsCommonServer.XLS.Data;
  7. using XmdsCommonSkill.Plugin.Buffs;
  8. using static CommonAI.Zone.Instance.InstanceUnit;
  9. namespace XmdsCommonSkill.Plugin.Skills.Remedy
  10. {
  11. /// <summary>
  12. /// 治疗普攻:
  13. /// </summary>
  14. public class PetSkill_930020 : XmdsSkillBase
  15. {
  16. private static readonly int ID = 930020;
  17. /// 伤害倍数.
  18. public static XmdsSkillValue DP_1;
  19. public override int SkillID {get{return ID;}}
  20. protected override void OnSkillDamagePerEvent(BattleParams param)
  21. {
  22. param.SkillDamagePer = CalDamagePer(DP_1, param.GameSkill.SkillLevel);
  23. //param.Attacker.mUnit.queueEvent(new UnitTriggerAblity(param.Attacker.mUnit.ID, 8000));
  24. }
  25. protected override void OnSkillLogicEvent(BattleParams param)
  26. {
  27. }
  28. protected override void OnInitSkillParam()
  29. {
  30. XmdsSkillData data = XmdsDataMgr.GetInstance().GetXmdsSkillData(ID);
  31. InitData(data, out DP_1, XmdsSkillData.XmdsSkillDataKey.ValueSet);
  32. }
  33. }
  34. }