Other_100001.cs 933 B

123456789101112131415161718192021222324252627282930313233
  1. using CommonAI.Zone;
  2. using CommonAI.Zone.Helper;
  3. using CommonAI.Zone.Instance;
  4. using CommonLang;
  5. using System;
  6. using XmdsCommon.Plugin;
  7. using XmdsCommonServer.Plugin;
  8. using XmdsCommonServer.XLS.Data;
  9. using XmdsCommonSkill.Plugin.Buffs;
  10. using XmdsCommonSkill.Plugin.PassiveSkills.Magic;
  11. using static CommonAI.Zone.Instance.InstanceUnit;
  12. using static XmdsCommonSkill.Plugin.Buffs.XmdsBuff_SwordShadow;
  13. namespace XmdsCommonSkill.Plugin.Skills.Magic
  14. {
  15. /// <summary>
  16. /// 其他技能
  17. /// </summary>
  18. public class Other_100001 : XmdsSkillBase
  19. {
  20. public static readonly int ID = 100001;
  21. public static XmdsSkillValue valueSet_1;
  22. public override int SkillID {get { return ID; }}
  23. protected override bool OnSkillFinalDamageModifyEvent(BattleParams param)
  24. {
  25. param.HitDamge = CUtils.CastInt(param.Hitter.mUnit.MaxHP * 0.02);
  26. return true;
  27. }
  28. }
  29. }