Monster_602010.cs 1.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  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. class Monster_602010 : XmdsSkillBase
  10. {
  11. /// <summary>
  12. /// 技能ID.
  13. /// </summary>
  14. public static int ID = 602010;
  15. public static XmdsSkillValue DP_1;
  16. /// <summary>
  17. /// 获取技能ID.
  18. /// </summary>
  19. public override int SkillID
  20. {
  21. get
  22. {
  23. return ID;
  24. }
  25. }
  26. protected override void OnSkillDamagePerEvent(BattleParams param)
  27. {
  28. int ret = CalDamagePer(DP_1, param.GameSkill.SkillLevel);
  29. param.SkillDamagePer = ret;
  30. }
  31. protected override void OnInitSkillParam()
  32. {
  33. XmdsSkillData data = XmdsDataMgr.GetInstance().GetXmdsSkillData(ID);
  34. InitData(data, out DP_1, XmdsSkillData.XmdsSkillDataKey.DmgRate);
  35. }
  36. }
  37. }