SkillFeaturesData.cs 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. using Fort23.Core;
  2. namespace GameLogic.Combat.Skill
  3. {
  4. public enum SkillFeaturesType
  5. {
  6. // 金
  7. Gold = 1,
  8. // 木
  9. Wood = 2,
  10. // 水
  11. Water = 4,
  12. // 火
  13. Fire = 8,
  14. // 土
  15. Earth = 16,
  16. }
  17. public class SkillFeaturesData : CObject
  18. {
  19. /// <summary>
  20. /// 威能值,影响最后的伤害数值
  21. /// </summary>
  22. public float Vaillant;
  23. /// <summary>
  24. /// 伤害值,影响最终的伤害数值
  25. /// </summary>
  26. public float harmValue;
  27. public SkillFeaturesType SkillFeaturesType;
  28. public SkillFeaturesData CapyFeaturesData()
  29. {
  30. SkillFeaturesData skillFeaturesData = CObjectPool.Instance.Fetch<SkillFeaturesData>();
  31. skillFeaturesData.Vaillant = Vaillant;
  32. skillFeaturesData.harmValue = harmValue;
  33. skillFeaturesData.SkillFeaturesType = SkillFeaturesType;
  34. return skillFeaturesData;
  35. }
  36. public override void ActiveObj()
  37. {
  38. }
  39. public override void DormancyObj()
  40. {
  41. }
  42. }
  43. }