Monster_603062.cs 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using XmdsCommonServer.Plugin;
  6. using XmdsCommonServer.XLS.Data;
  7. namespace XmdsCommonSkill.Plugin.Skills.Monster
  8. {
  9. /// <summary>
  10. /// 影刃 影将军对一条直线的单位造成伤害 一个百分比物理伤害和固定物理伤害加成
  11. /// </summary>
  12. class Monster_603062 : XmdsSkillBase
  13. {
  14. public static int ID = 603062;
  15. public static XmdsSkillValue DP_1;
  16. /// </summary>
  17. public override int SkillID
  18. {
  19. get
  20. {
  21. return ID;
  22. }
  23. }
  24. protected override void OnSkillDamagePerEvent(BattleParams param)
  25. {
  26. int ret = CalDamagePer(DP_1, param.GameSkill.SkillLevel);
  27. param.SkillDamagePer = ret;
  28. }
  29. protected override void OnInitSkillParam()
  30. {
  31. XmdsSkillData data = XmdsDataMgr.GetInstance().GetXmdsSkillData(ID);
  32. InitData(data, out DP_1, XmdsSkillData.XmdsSkillDataKey.DmgRate);
  33. }
  34. }
  35. }