Boss_90106.cs 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. using CommonAI.Zone.Helper;
  2. using CommonAI.Zone.Instance;
  3. using XmdsCommonServer.Plugin;
  4. using XmdsCommonServer.XLS.Data;
  5. using XmdsCommonSkill.Plugin.Buffs;
  6. using System;
  7. using static CommonAI.Zone.Instance.InstanceUnit;
  8. using XmdsCommon.Plugin;
  9. using CommonAI.Zone;
  10. using XmdsCommonServer.Plugin.Units;
  11. using CommonAI.Zone.Formula;
  12. using XmdsCommonSkill.Plugin.Skills;
  13. using XmdsCommonServer.Plugin.XmdsSkillTemplate.DamageCalculator;
  14. using XmdsCommonSkill.Plugin.Interface;
  15. using static XmdsCommonSkill.Plugin.Interface.ComSpellTemplate;
  16. using CommonAI.Data;
  17. namespace XmdsCommonSkill.Plugin.PassiveSkills.Remedy
  18. {
  19. /// <summary>
  20. /// boss通用被动 - 攻击速度提升<$1>
  21. /// </summary>
  22. class Boss_90106 : XmdsPassiveSkillBase
  23. {
  24. public static readonly int ID = 90106;
  25. private static XmdsSkillValue mAttackSpeed; // 攻速提升值
  26. public override int SkillID {get{return ID;}}
  27. protected override void OnInit(GameSkill skillInfo, XmdsVirtual owner)
  28. {
  29. owner.ChangeAtkSpeed(mAttackSpeed.GetValue());
  30. }
  31. protected override void OnInitSkillParam()
  32. {
  33. XmdsSkillData data = XmdsDataMgr.GetInstance().GetXmdsSkillData(ID);
  34. InitData(data, out mAttackSpeed, XmdsSkillData.XmdsSkillDataKey.DmgRate);
  35. }
  36. protected override void OnDispose(XmdsVirtual owner)
  37. {
  38. }
  39. }
  40. }