Monster_6100101.cs 915 B

1234567891011121314151617181920212223242526272829
  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_6100101 : XmdsSkillBase
  10. {
  11. public static int ID = 6100101;
  12. public static XmdsSkillValue DP_1;
  13. public override int SkillID { get { return ID; } }
  14. protected override void OnSkillDamagePerEvent(BattleParams param)
  15. {
  16. int ret = CalDamagePer(DP_1, param.GameSkill.SkillLevel);
  17. param.SkillDamagePer = ret;
  18. }
  19. protected override void OnInitSkillParam()
  20. {
  21. XmdsSkillData data = XmdsDataMgr.GetInstance().GetXmdsSkillData(ID);
  22. InitData(data, out DP_1, XmdsSkillData.XmdsSkillDataKey.DmgRate);
  23. }
  24. }
  25. }