Monster_10520401.cs 940 B

12345678910111213141516171819202122232425262728293031
  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_10520401 : XmdsSkillBase
  10. {
  11. public static int ID = 10520401;
  12. /// 伤害倍数.
  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. }