Monster_606111.cs 1021 B

12345678910111213141516171819202122232425262728293031323334
  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_606111 : XmdsSkillBase
  13. {
  14. public static int ID = 606111;
  15. /// 伤害倍数.
  16. public static XmdsSkillValue DP_1;
  17. public override int SkillID { get { return ID; } }
  18. protected override void OnSkillDamagePerEvent(BattleParams param)
  19. {
  20. int ret = CalDamagePer(DP_1, param.GameSkill.SkillLevel);
  21. param.SkillDamagePer = ret;
  22. }
  23. protected override void OnInitSkillParam()
  24. {
  25. XmdsSkillData data = XmdsDataMgr.GetInstance().GetXmdsSkillData(ID);
  26. InitData(data, out DP_1, XmdsSkillData.XmdsSkillDataKey.DmgRate);
  27. }
  28. }
  29. }