Monster_102001.cs 1018 B

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