Monster_601052.cs 1.0 KB

123456789101112131415161718192021222324252627282930313233343536
  1. using CommonAI.Zone;
  2. using System;
  3. using System.Collections.Generic;
  4. using System.Linq;
  5. using System.Text;
  6. using XmdsCommon.Plugin;
  7. using XmdsCommonServer.Plugin;
  8. using XmdsCommonServer.XLS.Data;
  9. namespace XmdsCommonSkill.Plugin.Skills.Monster
  10. {
  11. /// <summary>
  12. /// 怒斩 蚩尤攻击面前一大片区域,造成极高的伤害 一个百分比物理伤害和固定物理伤害加成
  13. /// </summary>
  14. class Monster_601052 : XmdsSkillBase
  15. {
  16. public static int ID = 601052;
  17. public static XmdsSkillValue DP_1;
  18. public override int SkillID { get { return ID; } }
  19. protected override void OnSkillDamagePerEvent(BattleParams param)
  20. {
  21. int ret = CalDamagePer(DP_1, param.GameSkill.SkillLevel);
  22. param.SkillDamagePer = ret;
  23. }
  24. protected override void OnInitSkillParam()
  25. {
  26. XmdsSkillData data = XmdsDataMgr.GetInstance().GetXmdsSkillData(ID);
  27. InitData(data, out DP_1, XmdsSkillData.XmdsSkillDataKey.DmgRate);
  28. }
  29. }
  30. }