Monster_10240201.cs 977 B

12345678910111213141516171819202122232425262728293031
  1. using CommonAI.Zone.Helper;
  2. using CommonAI.Zone.Instance;
  3. using XmdsCommonServer.Plugin;
  4. using XmdsCommonServer.XLS.Data;
  5. namespace XmdsCommonSkill.Plugin.Skills.Monster
  6. {
  7. /// <summary>
  8. /// 黑暗祭司 - 火球术: 释放火球术攻击一个目标,造成x倍魔攻伤害和额外y点魔法伤害.
  9. /// </summary>
  10. public class Monster_10240201 : XmdsSkillBase
  11. {
  12. public static int ID = 10240201;
  13. public static XmdsSkillValue DP_1;
  14. public override int SkillID { get { return ID; } }
  15. protected override void OnSkillDamagePerEvent(BattleParams param)
  16. {
  17. int ret = CalDamagePer(DP_1, param.GameSkill.SkillLevel);
  18. param.SkillDamagePer = ret;
  19. }
  20. protected override void OnInitSkillParam()
  21. {
  22. XmdsSkillData data = XmdsDataMgr.GetInstance().GetXmdsSkillData(ID);
  23. InitData(data, out DP_1, XmdsSkillData.XmdsSkillDataKey.DmgRate);
  24. }
  25. }
  26. }