JunctionAbilityFlags.cs 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. using System;
  2. using System.Diagnostics.CodeAnalysis;
  3. namespace OpenVIII
  4. {
  5. namespace Kernel
  6. {
  7. /// <summary>
  8. /// Junction Ability Flags
  9. /// </summary>
  10. /// <remarks>There are 115 abilities. Each type that uses flags seems to have their own set.
  11. /// Doomtrain seems to break it into a groups of 8 or 16, I might need to do that.</remarks>
  12. /// <see cref="https://github.com/alexfilth/doomtrain/wiki/Junctionable-Abilities"/>
  13. [Flags]
  14. [SuppressMessage("ReSharper", "UnusedMember.Global")]
  15. public enum JunctionAbilityFlags : uint // cannot contain all abilities because
  16. {
  17. None = 0x_0,
  18. HP = 0x_1,
  19. Str = 0x_2,
  20. Vit = 0x_4,
  21. Mag = 0x_8,
  22. Spr = 0x_10,
  23. Spd = 0x_20,
  24. Eva = 0x_40,
  25. Hit = 0x_80,
  26. Luck = 0x_100,
  27. ElemAtk = 0x_200,
  28. StAtk = 0x_400,
  29. ElemDef = 0x_800,
  30. StDef = 0x_1000,
  31. ElemDef2 = 0x_2000,
  32. ElemDef4 = 0x_4000,
  33. StDef2 = 0x_8000,
  34. StDef4 = 0x_1_0000,
  35. Ability3 = 0x_2_0000,
  36. Ability4 = 0x_4_0000,
  37. }
  38. }
  39. }