Monster_10640402.cs 1008 B

123456789101112131415161718192021222324252627282930313233
  1. 
  2. using XmdsCommonServer.XLS.Data;
  3. using XmdsCommonServer.Plugin;
  4. namespace XmdsCommonSkill.Plugin.Skills.Monster
  5. {
  6. /// <summary>
  7. /// 贪婪女王拉尔尼丝 - 利刃乱舞: 快速挥舞武器,对身边所有敌人造成x倍物攻伤害和额外y点物理伤害.
  8. /// </summary>
  9. public class Monster_10640402 : XmdsSkillBase
  10. {
  11. /// <summary>
  12. /// 技能ID.
  13. /// </summary>
  14. public static int ID = 10640402;
  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. }