Monster_10340503.cs 1.0 KB

12345678910111213141516171819202122232425262728293031323334
  1. 
  2. using CommonAI.Zone;
  3. using XmdsCommon.Plugin;
  4. using XmdsCommonServer.Plugin;
  5. using XmdsCommonServer.XLS.Data;
  6. using XmdsCommonSkill.Plugin.Buffs;
  7. namespace XmdsCommonSkill.Plugin.Skills.Magic
  8. {
  9. /// <summary>
  10. /// 科斯林伯爵 - 烈焰焚烧: 以随机敌人为目标,在其脚下释放一团烈焰,
  11. /// 每秒对烈焰范围内的敌人造成x%魔攻伤害和y点额外伤害.
  12. /// </summary>
  13. public class Monster_10340503 : XmdsSkillBase
  14. {
  15. public static int ID = 10340503;
  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. }