CardSkill_1010000.cs 931 B

123456789101112131415161718192021222324252627282930313233
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using System.Threading.Tasks;
  6. using XmdsCommonServer.XLS.Data;
  7. using XmdsCommonServer.Plugin;
  8. using XmdsCommonSkill.Plugin.Skills;
  9. using CommonAI.Zone.Formula;
  10. using CommonAI.Data;
  11. namespace XmdsCommonSkill.Plugin.CardSkill
  12. {
  13. public abstract class CardSkill_1010000 : CardSkill_LiangYiBase
  14. {
  15. private static readonly int ID = 1010000;
  16. public override int SkillID { get { return ID; } }
  17. /// 伤害倍数: 百分比
  18. protected static XmdsSkillValue s_ValueSet1;
  19. protected override void OnGetCardSkillDamage(BattleParams param)
  20. {
  21. param.SkillDamagePer = s_ValueSet1.GetValue(param.GameSkill.SkillLevel);
  22. }
  23. protected override void OnInitSkillParam()
  24. {
  25. XmdsSkillData data = XmdsDataMgr.GetInstance().GetXmdsSkillData(this.SkillID);
  26. //InitData(data, out s_ValueSet1, XmdsSkillData.XmdsSkillDataKey.ValueSet);
  27. }
  28. }
  29. }