Monster_10700401.cs 989 B

1234567891011121314151617181920212223242526272829303132
  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_10700401 : XmdsSkillBase
  10. {
  11. /// <summary>
  12. /// 技能ID.
  13. /// </summary>
  14. public static int ID = 10700401;
  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. }