@gamepark/mythologies 0.10.0 → 0.11.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (319) hide show
  1. package/dist/CustomMoveType.d.ts +14 -14
  2. package/dist/CustomMoveType.js +11 -14
  3. package/dist/Memory.d.ts +14 -14
  4. package/dist/Memory.js +15 -18
  5. package/dist/MythologiesOptions.d.ts +12 -12
  6. package/dist/MythologiesOptions.js +22 -25
  7. package/dist/MythologiesRules.d.ts +158 -158
  8. package/dist/MythologiesRules.js +216 -244
  9. package/dist/MythologiesSetup.d.ts +17 -17
  10. package/dist/MythologiesSetup.js +84 -161
  11. package/dist/PlayerColor.d.ts +10 -10
  12. package/dist/PlayerColor.js +7 -10
  13. package/dist/index.d.ts +3 -3
  14. package/dist/index.js +3 -9
  15. package/dist/material/Destiny.d.ts +15 -15
  16. package/dist/material/Destiny.js +91 -130
  17. package/dist/material/Entity.d.ts +102 -102
  18. package/dist/material/Entity.js +92 -99
  19. package/dist/material/LocationType.d.ts +28 -28
  20. package/dist/material/LocationType.js +29 -33
  21. package/dist/material/MaterialType.d.ts +13 -13
  22. package/dist/material/MaterialType.js +14 -17
  23. package/dist/material/Mythology.d.ts +18 -18
  24. package/dist/material/Mythology.js +16 -19
  25. package/dist/material/Pantheon.d.ts +50 -50
  26. package/dist/material/Pantheon.js +294 -484
  27. package/dist/material/Trial.d.ts +22 -22
  28. package/dist/material/Trial.js +139 -183
  29. package/dist/material/entity/AutoEffectRule.d.ts +11 -11
  30. package/dist/material/entity/AutoEffectRule.js +16 -49
  31. package/dist/material/entity/Effect.d.ts +106 -106
  32. package/dist/material/entity/Effect.js +26 -46
  33. package/dist/material/entity/EntityDescription.d.ts +13 -13
  34. package/dist/material/entity/EntityDescription.js +165 -170
  35. package/dist/material/entity/MoveEffectRule.d.ts +18 -18
  36. package/dist/material/entity/MoveEffectRule.js +73 -129
  37. package/dist/material/entity/PlaceCardEffectRule.d.ts +15 -15
  38. package/dist/material/entity/PlaceCardEffectRule.js +43 -78
  39. package/dist/material/entity/PlayerEffectRule.d.ts +14 -14
  40. package/dist/material/entity/PlayerEffectRule.js +36 -63
  41. package/dist/material/entity/SacrificeEffectRule.d.ts +11 -11
  42. package/dist/material/entity/SacrificeEffectRule.js +40 -64
  43. package/dist/material/entity/SimultaneousEffectRule.d.ts +18 -18
  44. package/dist/material/entity/SimultaneousEffectRule.js +64 -149
  45. package/dist/material/entity/SimultaneousMoveEffectRule.d.ts +17 -17
  46. package/dist/material/entity/SimultaneousMoveEffectRule.js +65 -141
  47. package/dist/material/entity/SimultaneousSacrificeEffectRule.d.ts +10 -10
  48. package/dist/material/entity/SimultaneousSacrificeEffectRule.js +31 -55
  49. package/dist/material/entity/celtic/Banshee.d.ts +2 -2
  50. package/dist/material/entity/celtic/Banshee.js +23 -46
  51. package/dist/material/entity/celtic/Brigid.d.ts +2 -2
  52. package/dist/material/entity/celtic/Brigid.js +17 -40
  53. package/dist/material/entity/celtic/Cernunnos.d.ts +2 -2
  54. package/dist/material/entity/celtic/Cernunnos.js +19 -43
  55. package/dist/material/entity/celtic/Dagda.d.ts +2 -2
  56. package/dist/material/entity/celtic/Dagda.js +26 -50
  57. package/dist/material/entity/celtic/Dullahan.d.ts +2 -2
  58. package/dist/material/entity/celtic/Dullahan.js +9 -12
  59. package/dist/material/entity/celtic/Fairy.d.ts +2 -2
  60. package/dist/material/entity/celtic/Fairy.js +9 -12
  61. package/dist/material/entity/celtic/Kelpie.d.ts +2 -2
  62. package/dist/material/entity/celtic/Kelpie.js +16 -39
  63. package/dist/material/entity/celtic/Leprechaun.d.ts +2 -2
  64. package/dist/material/entity/celtic/Leprechaun.js +9 -12
  65. package/dist/material/entity/celtic/Morrigan.d.ts +2 -2
  66. package/dist/material/entity/celtic/Morrigan.js +8 -11
  67. package/dist/material/entity/celtic/Selkie.d.ts +2 -2
  68. package/dist/material/entity/celtic/Selkie.js +14 -17
  69. package/dist/material/entity/chinese/ChangE.d.ts +2 -2
  70. package/dist/material/entity/chinese/ChangE.js +6 -9
  71. package/dist/material/entity/chinese/Fenghuang.d.ts +2 -2
  72. package/dist/material/entity/chinese/Fenghuang.js +10 -15
  73. package/dist/material/entity/chinese/Jiangshi.d.ts +2 -2
  74. package/dist/material/entity/chinese/Jiangshi.js +9 -12
  75. package/dist/material/entity/chinese/Mogwai.d.ts +2 -2
  76. package/dist/material/entity/chinese/Mogwai.js +18 -44
  77. package/dist/material/entity/chinese/Nian.d.ts +2 -2
  78. package/dist/material/entity/chinese/Nian.js +19 -42
  79. package/dist/material/entity/chinese/Nuwa.d.ts +2 -2
  80. package/dist/material/entity/chinese/Nuwa.js +9 -12
  81. package/dist/material/entity/chinese/Qilin.d.ts +2 -2
  82. package/dist/material/entity/chinese/Qilin.js +9 -12
  83. package/dist/material/entity/chinese/SunWukong.d.ts +2 -2
  84. package/dist/material/entity/chinese/SunWukong.js +17 -43
  85. package/dist/material/entity/chinese/Tianlong.d.ts +2 -2
  86. package/dist/material/entity/chinese/Tianlong.js +9 -12
  87. package/dist/material/entity/chinese/YanluoWang.d.ts +2 -2
  88. package/dist/material/entity/chinese/YanluoWang.js +9 -12
  89. package/dist/material/entity/egyptian/Ammit.d.ts +2 -2
  90. package/dist/material/entity/egyptian/Ammit.js +9 -12
  91. package/dist/material/entity/egyptian/Anubis.d.ts +2 -2
  92. package/dist/material/entity/egyptian/Anubis.js +9 -12
  93. package/dist/material/entity/egyptian/Beetle.d.ts +2 -2
  94. package/dist/material/entity/egyptian/Beetle.js +20 -43
  95. package/dist/material/entity/egyptian/Bennu.d.ts +2 -2
  96. package/dist/material/entity/egyptian/Bennu.js +9 -12
  97. package/dist/material/entity/egyptian/Cobra.d.ts +2 -2
  98. package/dist/material/entity/egyptian/Cobra.js +9 -12
  99. package/dist/material/entity/egyptian/Isis.d.ts +2 -2
  100. package/dist/material/entity/egyptian/Isis.js +15 -41
  101. package/dist/material/entity/egyptian/Mummy.d.ts +2 -2
  102. package/dist/material/entity/egyptian/Mummy.js +17 -40
  103. package/dist/material/entity/egyptian/Osiris.d.ts +2 -2
  104. package/dist/material/entity/egyptian/Osiris.js +24 -72
  105. package/dist/material/entity/egyptian/Ra.d.ts +2 -2
  106. package/dist/material/entity/egyptian/Ra.js +9 -12
  107. package/dist/material/entity/egyptian/Sphinx.d.ts +2 -2
  108. package/dist/material/entity/egyptian/Sphinx.js +9 -12
  109. package/dist/material/entity/greek/Athena.d.ts +2 -2
  110. package/dist/material/entity/greek/Athena.js +9 -12
  111. package/dist/material/entity/greek/Centaur.d.ts +2 -2
  112. package/dist/material/entity/greek/Centaur.js +9 -12
  113. package/dist/material/entity/greek/Chimera.d.ts +2 -2
  114. package/dist/material/entity/greek/Chimera.js +9 -12
  115. package/dist/material/entity/greek/Cyclops.d.ts +2 -2
  116. package/dist/material/entity/greek/Cyclops.js +15 -19
  117. package/dist/material/entity/greek/Gorgon.d.ts +2 -2
  118. package/dist/material/entity/greek/Gorgon.js +9 -12
  119. package/dist/material/entity/greek/Griffin.d.ts +2 -2
  120. package/dist/material/entity/greek/Griffin.js +9 -12
  121. package/dist/material/entity/greek/Hades.d.ts +2 -2
  122. package/dist/material/entity/greek/Hades.js +9 -12
  123. package/dist/material/entity/greek/Minotaur.d.ts +2 -2
  124. package/dist/material/entity/greek/Minotaur.js +9 -12
  125. package/dist/material/entity/greek/Poseidon.d.ts +2 -2
  126. package/dist/material/entity/greek/Poseidon.js +20 -46
  127. package/dist/material/entity/greek/Zeus.d.ts +2 -2
  128. package/dist/material/entity/greek/Zeus.js +17 -40
  129. package/dist/material/entity/hindu/Asura.d.ts +2 -2
  130. package/dist/material/entity/hindu/Asura.js +19 -67
  131. package/dist/material/entity/hindu/Brahma.d.ts +2 -2
  132. package/dist/material/entity/hindu/Brahma.js +14 -37
  133. package/dist/material/entity/hindu/Ganesh.d.ts +2 -2
  134. package/dist/material/entity/hindu/Ganesh.js +18 -41
  135. package/dist/material/entity/hindu/Garuda.d.ts +2 -2
  136. package/dist/material/entity/hindu/Garuda.js +9 -12
  137. package/dist/material/entity/hindu/Kinnara.d.ts +2 -2
  138. package/dist/material/entity/hindu/Kinnara.js +9 -12
  139. package/dist/material/entity/hindu/Naga.d.ts +2 -2
  140. package/dist/material/entity/hindu/Naga.js +29 -75
  141. package/dist/material/entity/hindu/Rakshasa.d.ts +2 -2
  142. package/dist/material/entity/hindu/Rakshasa.js +9 -12
  143. package/dist/material/entity/hindu/Shiva.d.ts +2 -2
  144. package/dist/material/entity/hindu/Shiva.js +9 -12
  145. package/dist/material/entity/hindu/Vetala.d.ts +2 -2
  146. package/dist/material/entity/hindu/Vetala.js +9 -12
  147. package/dist/material/entity/hindu/Vishnu.d.ts +2 -2
  148. package/dist/material/entity/hindu/Vishnu.js +20 -68
  149. package/dist/material/entity/inca/Amaru.d.ts +2 -2
  150. package/dist/material/entity/inca/Amaru.js +15 -38
  151. package/dist/material/entity/inca/Caiman.d.ts +2 -2
  152. package/dist/material/entity/inca/Caiman.js +9 -12
  153. package/dist/material/entity/inca/Condor.d.ts +2 -2
  154. package/dist/material/entity/inca/Condor.js +9 -12
  155. package/dist/material/entity/inca/Illapa.d.ts +2 -2
  156. package/dist/material/entity/inca/Illapa.js +9 -12
  157. package/dist/material/entity/inca/Inti.d.ts +2 -2
  158. package/dist/material/entity/inca/Inti.js +16 -39
  159. package/dist/material/entity/inca/MamaQucha.d.ts +2 -2
  160. package/dist/material/entity/inca/MamaQucha.js +20 -43
  161. package/dist/material/entity/inca/Puma.d.ts +2 -2
  162. package/dist/material/entity/inca/Puma.js +14 -40
  163. package/dist/material/entity/inca/Supay.d.ts +2 -2
  164. package/dist/material/entity/inca/Supay.js +9 -12
  165. package/dist/material/entity/inca/Ukuku.d.ts +2 -2
  166. package/dist/material/entity/inca/Ukuku.js +14 -18
  167. package/dist/material/entity/inca/Viracocha.d.ts +2 -2
  168. package/dist/material/entity/inca/Viracocha.js +9 -12
  169. package/dist/material/entity/norse/Alf.d.ts +2 -2
  170. package/dist/material/entity/norse/Alf.js +9 -12
  171. package/dist/material/entity/norse/Draugr.d.ts +2 -2
  172. package/dist/material/entity/norse/Draugr.js +9 -12
  173. package/dist/material/entity/norse/Fenrir.d.ts +2 -2
  174. package/dist/material/entity/norse/Fenrir.js +9 -12
  175. package/dist/material/entity/norse/Freya.d.ts +2 -2
  176. package/dist/material/entity/norse/Freya.js +17 -40
  177. package/dist/material/entity/norse/Jotunn.d.ts +2 -2
  178. package/dist/material/entity/norse/Jotunn.js +15 -38
  179. package/dist/material/entity/norse/Loki.d.ts +2 -2
  180. package/dist/material/entity/norse/Loki.js +14 -37
  181. package/dist/material/entity/norse/Odin.d.ts +2 -2
  182. package/dist/material/entity/norse/Odin.js +3 -6
  183. package/dist/material/entity/norse/Thor.d.ts +2 -2
  184. package/dist/material/entity/norse/Thor.js +9 -12
  185. package/dist/material/entity/norse/Troll.d.ts +2 -2
  186. package/dist/material/entity/norse/Troll.js +6 -9
  187. package/dist/material/entity/norse/Valkyrie.d.ts +2 -2
  188. package/dist/material/entity/norse/Valkyrie.js +27 -73
  189. package/dist/material/entity/zulu/Idlozi.d.ts +2 -2
  190. package/dist/material/entity/zulu/Idlozi.js +9 -12
  191. package/dist/material/entity/zulu/Impundulu.d.ts +2 -2
  192. package/dist/material/entity/zulu/Impundulu.js +9 -12
  193. package/dist/material/entity/zulu/Inkanyamba.d.ts +2 -2
  194. package/dist/material/entity/zulu/Inkanyamba.js +16 -42
  195. package/dist/material/entity/zulu/Inkosazana.d.ts +2 -2
  196. package/dist/material/entity/zulu/Inkosazana.js +9 -12
  197. package/dist/material/entity/zulu/Shembe.d.ts +2 -2
  198. package/dist/material/entity/zulu/Shembe.js +19 -44
  199. package/dist/material/entity/zulu/Tokoloshe.d.ts +2 -2
  200. package/dist/material/entity/zulu/Tokoloshe.js +24 -47
  201. package/dist/material/entity/zulu/Umvelinqangi.d.ts +2 -2
  202. package/dist/material/entity/zulu/Umvelinqangi.js +22 -45
  203. package/dist/material/entity/zulu/Unkulunkulu.d.ts +2 -2
  204. package/dist/material/entity/zulu/Unkulunkulu.js +20 -43
  205. package/dist/material/entity/zulu/Unwabu.d.ts +2 -2
  206. package/dist/material/entity/zulu/Unwabu.js +25 -49
  207. package/dist/material/entity/zulu/Werehyena.d.ts +2 -2
  208. package/dist/material/entity/zulu/Werehyena.js +9 -12
  209. package/dist/rules/ChooseDraftTokenRule.d.ts +15 -15
  210. package/dist/rules/ChooseDraftTokenRule.js +54 -103
  211. package/dist/rules/DrawDestinyCardRule.d.ts +7 -7
  212. package/dist/rules/DrawDestinyCardRule.js +44 -115
  213. package/dist/rules/EndGameRule.d.ts +5 -5
  214. package/dist/rules/EndGameRule.js +34 -105
  215. package/dist/rules/PlaceCardsRule.d.ts +14 -14
  216. package/dist/rules/PlaceCardsRule.js +107 -206
  217. package/dist/rules/PlaceTokenRule.d.ts +12 -12
  218. package/dist/rules/PlaceTokenRule.js +75 -151
  219. package/dist/rules/RuleId.d.ts +65 -65
  220. package/dist/rules/RuleId.js +66 -69
  221. package/dist/rules/UpkeepRule.d.ts +9 -9
  222. package/dist/rules/UpkeepRule.js +56 -154
  223. package/dist/rules/effects/AlfEffectRule.d.ts +10 -10
  224. package/dist/rules/effects/AlfEffectRule.js +33 -59
  225. package/dist/rules/effects/AmmitEffectRule.d.ts +6 -6
  226. package/dist/rules/effects/AmmitEffectRule.js +15 -40
  227. package/dist/rules/effects/AnubisEffectRule.d.ts +9 -9
  228. package/dist/rules/effects/AnubisEffectRule.js +24 -49
  229. package/dist/rules/effects/AthenaEffectRule.d.ts +10 -10
  230. package/dist/rules/effects/AthenaEffectRule.js +48 -150
  231. package/dist/rules/effects/BennuEffectRule.d.ts +6 -6
  232. package/dist/rules/effects/BennuEffectRule.js +10 -35
  233. package/dist/rules/effects/CaimanEffectRule.d.ts +7 -7
  234. package/dist/rules/effects/CaimanEffectRule.js +23 -72
  235. package/dist/rules/effects/CentaurEffectRule.d.ts +15 -15
  236. package/dist/rules/effects/CentaurEffectRule.js +36 -95
  237. package/dist/rules/effects/ChimeraEffectRule.d.ts +8 -8
  238. package/dist/rules/effects/ChimeraEffectRule.js +15 -40
  239. package/dist/rules/effects/CobraEffectRule.d.ts +13 -13
  240. package/dist/rules/effects/CobraEffectRule.js +30 -61
  241. package/dist/rules/effects/CondorEffectRule.d.ts +8 -8
  242. package/dist/rules/effects/CondorEffectRule.js +20 -45
  243. package/dist/rules/effects/CyclopsEffectRule.d.ts +11 -11
  244. package/dist/rules/effects/CyclopsEffectRule.js +50 -106
  245. package/dist/rules/effects/DraugrEffectRule.d.ts +11 -11
  246. package/dist/rules/effects/DraugrEffectRule.js +32 -58
  247. package/dist/rules/effects/DullahanEffectRule.d.ts +11 -11
  248. package/dist/rules/effects/DullahanEffectRule.js +48 -73
  249. package/dist/rules/effects/FairyEffectRule.d.ts +10 -10
  250. package/dist/rules/effects/FairyEffectRule.js +33 -55
  251. package/dist/rules/effects/FenghuangEffectRule.d.ts +8 -8
  252. package/dist/rules/effects/FenghuangEffectRule.js +18 -48
  253. package/dist/rules/effects/FenrirEffectRule.d.ts +16 -16
  254. package/dist/rules/effects/FenrirEffectRule.js +85 -139
  255. package/dist/rules/effects/GarudaEffectRule.d.ts +16 -16
  256. package/dist/rules/effects/GarudaEffectRule.js +55 -113
  257. package/dist/rules/effects/GorgonEffectRule.d.ts +7 -7
  258. package/dist/rules/effects/GorgonEffectRule.js +15 -40
  259. package/dist/rules/effects/GriffinEffectRule.d.ts +9 -9
  260. package/dist/rules/effects/GriffinEffectRule.js +16 -41
  261. package/dist/rules/effects/HadesEffectRule.d.ts +9 -9
  262. package/dist/rules/effects/HadesEffectRule.js +14 -39
  263. package/dist/rules/effects/IdloziEffectRule.d.ts +9 -9
  264. package/dist/rules/effects/IdloziEffectRule.js +21 -46
  265. package/dist/rules/effects/IllapaEffectRule.d.ts +16 -16
  266. package/dist/rules/effects/IllapaEffectRule.js +43 -76
  267. package/dist/rules/effects/ImpunduluEffectRule.d.ts +10 -10
  268. package/dist/rules/effects/ImpunduluEffectRule.js +39 -77
  269. package/dist/rules/effects/InkosazanaEffectRule.d.ts +7 -7
  270. package/dist/rules/effects/InkosazanaEffectRule.js +21 -46
  271. package/dist/rules/effects/JiangshiEffectRule.d.ts +8 -8
  272. package/dist/rules/effects/JiangshiEffectRule.js +25 -51
  273. package/dist/rules/effects/KinnaraEffectRule.d.ts +13 -13
  274. package/dist/rules/effects/KinnaraEffectRule.js +42 -95
  275. package/dist/rules/effects/LeprechaunEffectRule.d.ts +9 -9
  276. package/dist/rules/effects/LeprechaunEffectRule.js +23 -49
  277. package/dist/rules/effects/MinotaurEffectRule.d.ts +11 -11
  278. package/dist/rules/effects/MinotaurEffectRule.js +23 -49
  279. package/dist/rules/effects/MultipleSimultaneousMoveEffectRule.d.ts +14 -14
  280. package/dist/rules/effects/MultipleSimultaneousMoveEffectRule.js +71 -144
  281. package/dist/rules/effects/NuwaEffectRule.d.ts +14 -14
  282. package/dist/rules/effects/NuwaEffectRule.js +57 -106
  283. package/dist/rules/effects/OdinEffectRule.d.ts +11 -11
  284. package/dist/rules/effects/OdinEffectRule.js +27 -52
  285. package/dist/rules/effects/PermanentEffectsRule.d.ts +7 -7
  286. package/dist/rules/effects/PermanentEffectsRule.js +21 -54
  287. package/dist/rules/effects/QilinEffectRule.d.ts +8 -8
  288. package/dist/rules/effects/QilinEffectRule.js +40 -115
  289. package/dist/rules/effects/RaEffectRule.d.ts +9 -9
  290. package/dist/rules/effects/RaEffectRule.js +14 -39
  291. package/dist/rules/effects/RakshasaEffectRule.d.ts +13 -13
  292. package/dist/rules/effects/RakshasaEffectRule.js +23 -48
  293. package/dist/rules/effects/ResolveEffectsRule.d.ts +12 -12
  294. package/dist/rules/effects/ResolveEffectsRule.js +87 -141
  295. package/dist/rules/effects/SelkieEffectRule.d.ts +8 -8
  296. package/dist/rules/effects/SelkieEffectRule.js +19 -44
  297. package/dist/rules/effects/ShivaEffectRule.d.ts +10 -10
  298. package/dist/rules/effects/ShivaEffectRule.js +35 -61
  299. package/dist/rules/effects/SphinxEffectRule.d.ts +10 -10
  300. package/dist/rules/effects/SphinxEffectRule.js +33 -58
  301. package/dist/rules/effects/SupayEffectRule.d.ts +20 -20
  302. package/dist/rules/effects/SupayEffectRule.js +44 -81
  303. package/dist/rules/effects/ThorEffectRule.d.ts +11 -11
  304. package/dist/rules/effects/ThorEffectRule.js +32 -58
  305. package/dist/rules/effects/TianlongEffectRule.d.ts +17 -17
  306. package/dist/rules/effects/TianlongEffectRule.js +47 -105
  307. package/dist/rules/effects/TriggerEffectsRule.d.ts +11 -11
  308. package/dist/rules/effects/TriggerEffectsRule.js +65 -183
  309. package/dist/rules/effects/UkukuEffectRule.d.ts +14 -14
  310. package/dist/rules/effects/UkukuEffectRule.js +35 -66
  311. package/dist/rules/effects/VetalaEffectRule.d.ts +12 -12
  312. package/dist/rules/effects/VetalaEffectRule.js +37 -62
  313. package/dist/rules/effects/ViracochaEffectRule.d.ts +7 -7
  314. package/dist/rules/effects/ViracochaEffectRule.js +15 -40
  315. package/dist/rules/effects/WerehyenaEffectRule.d.ts +8 -8
  316. package/dist/rules/effects/WerehyenaEffectRule.js +37 -98
  317. package/dist/rules/effects/YanluoWangEffectRule.d.ts +9 -9
  318. package/dist/rules/effects/YanluoWangEffectRule.js +46 -104
  319. package/package.json +7 -8
@@ -1,102 +1,102 @@
1
- import { MaterialItem } from '@gamepark/rules-api';
2
- import { PlayerColor } from '../PlayerColor';
3
- import { LocationType } from './LocationType';
4
- import { Mythology } from './Mythology';
5
- export declare enum Entity {
6
- Zeus = 1,
7
- Poseidon = 2,
8
- Athena = 3,
9
- Hades = 4,
10
- Minotaur = 5,
11
- Centaur = 6,
12
- Gorgon = 7,
13
- Cyclops = 8,
14
- Chimera = 9,
15
- Griffin = 10,
16
- Odin = 11,
17
- Thor = 12,
18
- Loki = 13,
19
- Freya = 14,
20
- Draugr = 15,
21
- Jotunn = 16,
22
- Valkyrie = 17,
23
- Troll = 18,
24
- Fenrir = 19,
25
- Alf = 20,
26
- Ra = 21,
27
- Osiris = 22,
28
- Anubis = 23,
29
- Isis = 24,
30
- Beetle = 25,
31
- Mummy = 26,
32
- Sphinx = 27,
33
- Cobra = 28,
34
- Ammit = 29,
35
- Bennu = 30,
36
- Brahma = 31,
37
- Vishnu = 32,
38
- Shiva = 33,
39
- Ganesh = 34,
40
- Asura = 35,
41
- Naga = 36,
42
- Rakshasa = 37,
43
- Garuda = 38,
44
- Vetala = 39,
45
- Kinnara = 40,
46
- Viracocha = 41,
47
- MamaQucha = 42,
48
- Illapa = 43,
49
- Inti = 44,
50
- Puma = 45,
51
- Amaru = 46,
52
- Caiman = 47,
53
- Condor = 48,
54
- Supay = 49,
55
- Ukuku = 50,
56
- YanluoWang = 51,
57
- SunWukong = 52,
58
- Nuwa = 53,
59
- ChangE = 54,
60
- Tianlong = 55,
61
- Qilin = 56,
62
- Fenghuang = 57,
63
- Mogwai = 58,
64
- Jiangshi = 59,
65
- Nian = 60,
66
- Unkulunkulu = 61,
67
- Inkosazana = 62,
68
- Shembe = 63,
69
- Umvelinqangi = 64,
70
- Inkanyamba = 65,
71
- Unwabu = 66,
72
- Tokoloshe = 67,
73
- Impundulu = 68,
74
- Werehyena = 69,
75
- Idlozi = 70,
76
- Dagda = 71,
77
- Brigid = 72,
78
- Cernunnos = 73,
79
- Morrigan = 74,
80
- Kelpie = 75,
81
- Banshee = 76,
82
- Fairy = 77,
83
- Leprechaun = 78,
84
- Selkie = 79,
85
- Dullahan = 80
86
- }
87
- export declare enum EntityType {
88
- Divinity = 1,
89
- Creature = 2
90
- }
91
- export type EntityId = {
92
- front?: Entity;
93
- back: {
94
- mythology: Mythology;
95
- entityType: EntityType;
96
- };
97
- };
98
- export type EntityItem = MaterialItem<PlayerColor, LocationType, EntityId>;
99
- export declare const getEntityType: (entity: Entity) => EntityType;
100
- export declare const isGod: (entity?: Entity) => boolean;
101
- export declare const isCreature: (entity?: Entity) => boolean;
102
- export declare const entityMythology: (entity: Entity) => Mythology;
1
+ import { MaterialItem } from '@gamepark/rules-api';
2
+ import { PlayerColor } from '../PlayerColor';
3
+ import { LocationType } from './LocationType';
4
+ import { Mythology } from './Mythology';
5
+ export declare enum Entity {
6
+ Zeus = 1,
7
+ Poseidon = 2,
8
+ Athena = 3,
9
+ Hades = 4,
10
+ Minotaur = 5,
11
+ Centaur = 6,
12
+ Gorgon = 7,
13
+ Cyclops = 8,
14
+ Chimera = 9,
15
+ Griffin = 10,
16
+ Odin = 11,
17
+ Thor = 12,
18
+ Loki = 13,
19
+ Freya = 14,
20
+ Draugr = 15,
21
+ Jotunn = 16,
22
+ Valkyrie = 17,
23
+ Troll = 18,
24
+ Fenrir = 19,
25
+ Alf = 20,
26
+ Ra = 21,
27
+ Osiris = 22,
28
+ Anubis = 23,
29
+ Isis = 24,
30
+ Beetle = 25,
31
+ Mummy = 26,
32
+ Sphinx = 27,
33
+ Cobra = 28,
34
+ Ammit = 29,
35
+ Bennu = 30,
36
+ Brahma = 31,
37
+ Vishnu = 32,
38
+ Shiva = 33,
39
+ Ganesh = 34,
40
+ Asura = 35,
41
+ Naga = 36,
42
+ Rakshasa = 37,
43
+ Garuda = 38,
44
+ Vetala = 39,
45
+ Kinnara = 40,
46
+ Viracocha = 41,
47
+ MamaQucha = 42,
48
+ Illapa = 43,
49
+ Inti = 44,
50
+ Puma = 45,
51
+ Amaru = 46,
52
+ Caiman = 47,
53
+ Condor = 48,
54
+ Supay = 49,
55
+ Ukuku = 50,
56
+ YanluoWang = 51,
57
+ SunWukong = 52,
58
+ Nuwa = 53,
59
+ ChangE = 54,
60
+ Tianlong = 55,
61
+ Qilin = 56,
62
+ Fenghuang = 57,
63
+ Mogwai = 58,
64
+ Jiangshi = 59,
65
+ Nian = 60,
66
+ Unkulunkulu = 61,
67
+ Inkosazana = 62,
68
+ Shembe = 63,
69
+ Umvelinqangi = 64,
70
+ Inkanyamba = 65,
71
+ Unwabu = 66,
72
+ Tokoloshe = 67,
73
+ Impundulu = 68,
74
+ Werehyena = 69,
75
+ Idlozi = 70,
76
+ Dagda = 71,
77
+ Brigid = 72,
78
+ Cernunnos = 73,
79
+ Morrigan = 74,
80
+ Kelpie = 75,
81
+ Banshee = 76,
82
+ Fairy = 77,
83
+ Leprechaun = 78,
84
+ Selkie = 79,
85
+ Dullahan = 80
86
+ }
87
+ export declare enum EntityType {
88
+ Divinity = 1,
89
+ Creature = 2
90
+ }
91
+ export type EntityId = {
92
+ front?: Entity;
93
+ back: {
94
+ mythology: Mythology;
95
+ entityType: EntityType;
96
+ };
97
+ };
98
+ export type EntityItem = MaterialItem<PlayerColor, LocationType, EntityId>;
99
+ export declare const getEntityType: (entity: Entity) => EntityType;
100
+ export declare const isGod: (entity?: Entity) => boolean;
101
+ export declare const isCreature: (entity?: Entity) => boolean;
102
+ export declare const entityMythology: (entity: Entity) => Mythology;
@@ -1,99 +1,92 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.entityMythology = exports.isCreature = exports.isGod = exports.getEntityType = exports.EntityType = exports.Entity = void 0;
4
- var Entity;
5
- (function (Entity) {
6
- Entity[Entity["Zeus"] = 1] = "Zeus";
7
- Entity[Entity["Poseidon"] = 2] = "Poseidon";
8
- Entity[Entity["Athena"] = 3] = "Athena";
9
- Entity[Entity["Hades"] = 4] = "Hades";
10
- Entity[Entity["Minotaur"] = 5] = "Minotaur";
11
- Entity[Entity["Centaur"] = 6] = "Centaur";
12
- Entity[Entity["Gorgon"] = 7] = "Gorgon";
13
- Entity[Entity["Cyclops"] = 8] = "Cyclops";
14
- Entity[Entity["Chimera"] = 9] = "Chimera";
15
- Entity[Entity["Griffin"] = 10] = "Griffin";
16
- Entity[Entity["Odin"] = 11] = "Odin";
17
- Entity[Entity["Thor"] = 12] = "Thor";
18
- Entity[Entity["Loki"] = 13] = "Loki";
19
- Entity[Entity["Freya"] = 14] = "Freya";
20
- Entity[Entity["Draugr"] = 15] = "Draugr";
21
- Entity[Entity["Jotunn"] = 16] = "Jotunn";
22
- Entity[Entity["Valkyrie"] = 17] = "Valkyrie";
23
- Entity[Entity["Troll"] = 18] = "Troll";
24
- Entity[Entity["Fenrir"] = 19] = "Fenrir";
25
- Entity[Entity["Alf"] = 20] = "Alf";
26
- Entity[Entity["Ra"] = 21] = "Ra";
27
- Entity[Entity["Osiris"] = 22] = "Osiris";
28
- Entity[Entity["Anubis"] = 23] = "Anubis";
29
- Entity[Entity["Isis"] = 24] = "Isis";
30
- Entity[Entity["Beetle"] = 25] = "Beetle";
31
- Entity[Entity["Mummy"] = 26] = "Mummy";
32
- Entity[Entity["Sphinx"] = 27] = "Sphinx";
33
- Entity[Entity["Cobra"] = 28] = "Cobra";
34
- Entity[Entity["Ammit"] = 29] = "Ammit";
35
- Entity[Entity["Bennu"] = 30] = "Bennu";
36
- Entity[Entity["Brahma"] = 31] = "Brahma";
37
- Entity[Entity["Vishnu"] = 32] = "Vishnu";
38
- Entity[Entity["Shiva"] = 33] = "Shiva";
39
- Entity[Entity["Ganesh"] = 34] = "Ganesh";
40
- Entity[Entity["Asura"] = 35] = "Asura";
41
- Entity[Entity["Naga"] = 36] = "Naga";
42
- Entity[Entity["Rakshasa"] = 37] = "Rakshasa";
43
- Entity[Entity["Garuda"] = 38] = "Garuda";
44
- Entity[Entity["Vetala"] = 39] = "Vetala";
45
- Entity[Entity["Kinnara"] = 40] = "Kinnara";
46
- Entity[Entity["Viracocha"] = 41] = "Viracocha";
47
- Entity[Entity["MamaQucha"] = 42] = "MamaQucha";
48
- Entity[Entity["Illapa"] = 43] = "Illapa";
49
- Entity[Entity["Inti"] = 44] = "Inti";
50
- Entity[Entity["Puma"] = 45] = "Puma";
51
- Entity[Entity["Amaru"] = 46] = "Amaru";
52
- Entity[Entity["Caiman"] = 47] = "Caiman";
53
- Entity[Entity["Condor"] = 48] = "Condor";
54
- Entity[Entity["Supay"] = 49] = "Supay";
55
- Entity[Entity["Ukuku"] = 50] = "Ukuku";
56
- Entity[Entity["YanluoWang"] = 51] = "YanluoWang";
57
- Entity[Entity["SunWukong"] = 52] = "SunWukong";
58
- Entity[Entity["Nuwa"] = 53] = "Nuwa";
59
- Entity[Entity["ChangE"] = 54] = "ChangE";
60
- Entity[Entity["Tianlong"] = 55] = "Tianlong";
61
- Entity[Entity["Qilin"] = 56] = "Qilin";
62
- Entity[Entity["Fenghuang"] = 57] = "Fenghuang";
63
- Entity[Entity["Mogwai"] = 58] = "Mogwai";
64
- Entity[Entity["Jiangshi"] = 59] = "Jiangshi";
65
- Entity[Entity["Nian"] = 60] = "Nian";
66
- Entity[Entity["Unkulunkulu"] = 61] = "Unkulunkulu";
67
- Entity[Entity["Inkosazana"] = 62] = "Inkosazana";
68
- Entity[Entity["Shembe"] = 63] = "Shembe";
69
- Entity[Entity["Umvelinqangi"] = 64] = "Umvelinqangi";
70
- Entity[Entity["Inkanyamba"] = 65] = "Inkanyamba";
71
- Entity[Entity["Unwabu"] = 66] = "Unwabu";
72
- Entity[Entity["Tokoloshe"] = 67] = "Tokoloshe";
73
- Entity[Entity["Impundulu"] = 68] = "Impundulu";
74
- Entity[Entity["Werehyena"] = 69] = "Werehyena";
75
- Entity[Entity["Idlozi"] = 70] = "Idlozi";
76
- Entity[Entity["Dagda"] = 71] = "Dagda";
77
- Entity[Entity["Brigid"] = 72] = "Brigid";
78
- Entity[Entity["Cernunnos"] = 73] = "Cernunnos";
79
- Entity[Entity["Morrigan"] = 74] = "Morrigan";
80
- Entity[Entity["Kelpie"] = 75] = "Kelpie";
81
- Entity[Entity["Banshee"] = 76] = "Banshee";
82
- Entity[Entity["Fairy"] = 77] = "Fairy";
83
- Entity[Entity["Leprechaun"] = 78] = "Leprechaun";
84
- Entity[Entity["Selkie"] = 79] = "Selkie";
85
- Entity[Entity["Dullahan"] = 80] = "Dullahan";
86
- })(Entity = exports.Entity || (exports.Entity = {}));
87
- var EntityType;
88
- (function (EntityType) {
89
- EntityType[EntityType["Divinity"] = 1] = "Divinity";
90
- EntityType[EntityType["Creature"] = 2] = "Creature";
91
- })(EntityType = exports.EntityType || (exports.EntityType = {}));
92
- var getEntityType = function (entity) { return ((entity - 1) % 10 < 4 ? EntityType.Divinity : EntityType.Creature); };
93
- exports.getEntityType = getEntityType;
94
- var isGod = function (entity) { return entity !== undefined && (0, exports.getEntityType)(entity) === EntityType.Divinity; };
95
- exports.isGod = isGod;
96
- var isCreature = function (entity) { return entity !== undefined && (0, exports.getEntityType)(entity) === EntityType.Creature; };
97
- exports.isCreature = isCreature;
98
- var entityMythology = function (entity) { return Math.floor((entity - 1) / 10); };
99
- exports.entityMythology = entityMythology;
1
+ export var Entity;
2
+ (function (Entity) {
3
+ Entity[Entity["Zeus"] = 1] = "Zeus";
4
+ Entity[Entity["Poseidon"] = 2] = "Poseidon";
5
+ Entity[Entity["Athena"] = 3] = "Athena";
6
+ Entity[Entity["Hades"] = 4] = "Hades";
7
+ Entity[Entity["Minotaur"] = 5] = "Minotaur";
8
+ Entity[Entity["Centaur"] = 6] = "Centaur";
9
+ Entity[Entity["Gorgon"] = 7] = "Gorgon";
10
+ Entity[Entity["Cyclops"] = 8] = "Cyclops";
11
+ Entity[Entity["Chimera"] = 9] = "Chimera";
12
+ Entity[Entity["Griffin"] = 10] = "Griffin";
13
+ Entity[Entity["Odin"] = 11] = "Odin";
14
+ Entity[Entity["Thor"] = 12] = "Thor";
15
+ Entity[Entity["Loki"] = 13] = "Loki";
16
+ Entity[Entity["Freya"] = 14] = "Freya";
17
+ Entity[Entity["Draugr"] = 15] = "Draugr";
18
+ Entity[Entity["Jotunn"] = 16] = "Jotunn";
19
+ Entity[Entity["Valkyrie"] = 17] = "Valkyrie";
20
+ Entity[Entity["Troll"] = 18] = "Troll";
21
+ Entity[Entity["Fenrir"] = 19] = "Fenrir";
22
+ Entity[Entity["Alf"] = 20] = "Alf";
23
+ Entity[Entity["Ra"] = 21] = "Ra";
24
+ Entity[Entity["Osiris"] = 22] = "Osiris";
25
+ Entity[Entity["Anubis"] = 23] = "Anubis";
26
+ Entity[Entity["Isis"] = 24] = "Isis";
27
+ Entity[Entity["Beetle"] = 25] = "Beetle";
28
+ Entity[Entity["Mummy"] = 26] = "Mummy";
29
+ Entity[Entity["Sphinx"] = 27] = "Sphinx";
30
+ Entity[Entity["Cobra"] = 28] = "Cobra";
31
+ Entity[Entity["Ammit"] = 29] = "Ammit";
32
+ Entity[Entity["Bennu"] = 30] = "Bennu";
33
+ Entity[Entity["Brahma"] = 31] = "Brahma";
34
+ Entity[Entity["Vishnu"] = 32] = "Vishnu";
35
+ Entity[Entity["Shiva"] = 33] = "Shiva";
36
+ Entity[Entity["Ganesh"] = 34] = "Ganesh";
37
+ Entity[Entity["Asura"] = 35] = "Asura";
38
+ Entity[Entity["Naga"] = 36] = "Naga";
39
+ Entity[Entity["Rakshasa"] = 37] = "Rakshasa";
40
+ Entity[Entity["Garuda"] = 38] = "Garuda";
41
+ Entity[Entity["Vetala"] = 39] = "Vetala";
42
+ Entity[Entity["Kinnara"] = 40] = "Kinnara";
43
+ Entity[Entity["Viracocha"] = 41] = "Viracocha";
44
+ Entity[Entity["MamaQucha"] = 42] = "MamaQucha";
45
+ Entity[Entity["Illapa"] = 43] = "Illapa";
46
+ Entity[Entity["Inti"] = 44] = "Inti";
47
+ Entity[Entity["Puma"] = 45] = "Puma";
48
+ Entity[Entity["Amaru"] = 46] = "Amaru";
49
+ Entity[Entity["Caiman"] = 47] = "Caiman";
50
+ Entity[Entity["Condor"] = 48] = "Condor";
51
+ Entity[Entity["Supay"] = 49] = "Supay";
52
+ Entity[Entity["Ukuku"] = 50] = "Ukuku";
53
+ Entity[Entity["YanluoWang"] = 51] = "YanluoWang";
54
+ Entity[Entity["SunWukong"] = 52] = "SunWukong";
55
+ Entity[Entity["Nuwa"] = 53] = "Nuwa";
56
+ Entity[Entity["ChangE"] = 54] = "ChangE";
57
+ Entity[Entity["Tianlong"] = 55] = "Tianlong";
58
+ Entity[Entity["Qilin"] = 56] = "Qilin";
59
+ Entity[Entity["Fenghuang"] = 57] = "Fenghuang";
60
+ Entity[Entity["Mogwai"] = 58] = "Mogwai";
61
+ Entity[Entity["Jiangshi"] = 59] = "Jiangshi";
62
+ Entity[Entity["Nian"] = 60] = "Nian";
63
+ Entity[Entity["Unkulunkulu"] = 61] = "Unkulunkulu";
64
+ Entity[Entity["Inkosazana"] = 62] = "Inkosazana";
65
+ Entity[Entity["Shembe"] = 63] = "Shembe";
66
+ Entity[Entity["Umvelinqangi"] = 64] = "Umvelinqangi";
67
+ Entity[Entity["Inkanyamba"] = 65] = "Inkanyamba";
68
+ Entity[Entity["Unwabu"] = 66] = "Unwabu";
69
+ Entity[Entity["Tokoloshe"] = 67] = "Tokoloshe";
70
+ Entity[Entity["Impundulu"] = 68] = "Impundulu";
71
+ Entity[Entity["Werehyena"] = 69] = "Werehyena";
72
+ Entity[Entity["Idlozi"] = 70] = "Idlozi";
73
+ Entity[Entity["Dagda"] = 71] = "Dagda";
74
+ Entity[Entity["Brigid"] = 72] = "Brigid";
75
+ Entity[Entity["Cernunnos"] = 73] = "Cernunnos";
76
+ Entity[Entity["Morrigan"] = 74] = "Morrigan";
77
+ Entity[Entity["Kelpie"] = 75] = "Kelpie";
78
+ Entity[Entity["Banshee"] = 76] = "Banshee";
79
+ Entity[Entity["Fairy"] = 77] = "Fairy";
80
+ Entity[Entity["Leprechaun"] = 78] = "Leprechaun";
81
+ Entity[Entity["Selkie"] = 79] = "Selkie";
82
+ Entity[Entity["Dullahan"] = 80] = "Dullahan";
83
+ })(Entity || (Entity = {}));
84
+ export var EntityType;
85
+ (function (EntityType) {
86
+ EntityType[EntityType["Divinity"] = 1] = "Divinity";
87
+ EntityType[EntityType["Creature"] = 2] = "Creature";
88
+ })(EntityType || (EntityType = {}));
89
+ export const getEntityType = (entity) => ((entity - 1) % 10 < 4 ? EntityType.Divinity : EntityType.Creature);
90
+ export const isGod = (entity) => entity !== undefined && getEntityType(entity) === EntityType.Divinity;
91
+ export const isCreature = (entity) => entity !== undefined && getEntityType(entity) === EntityType.Creature;
92
+ export const entityMythology = (entity) => Math.floor((entity - 1) / 10);
@@ -1,28 +1,28 @@
1
- export declare enum LocationType {
2
- Sanctuary = 1,
3
- GodsDeck = 2,
4
- CreaturesDeck = 3,
5
- PantheonBoardSpot = 4,
6
- PlayerHand = 5,
7
- SanctuaryCreatureSpot = 6,
8
- SanctuaryGodSpot = 7,
9
- FavorTokensStock = 8,
10
- GemTokensStock = 9,
11
- PantheonLineBonus = 10,
12
- PantheonColumnBonus = 11,
13
- FirstPlayerTokenSpot = 12,
14
- RoundCounterBoardSpot = 13,
15
- RoundSpace = 14,
16
- DestinyDeck = 15,
17
- CurrentDestiny = 16,
18
- PlayedTokenSpot = 17,
19
- OnEntityCard = 18,
20
- Pantheon = 19,
21
- PlayerGems = 20,
22
- PlayerFavor = 21,
23
- PlayerDiscard = 22,
24
- PlayerSelectedCards = 23,
25
- GameHelpArea = 24,
26
- CardsCount = 25
27
- }
28
- export declare const isInSanctuary: (type?: LocationType) => boolean;
1
+ export declare enum LocationType {
2
+ Sanctuary = 1,
3
+ GodsDeck = 2,
4
+ CreaturesDeck = 3,
5
+ PantheonBoardSpot = 4,
6
+ PlayerHand = 5,
7
+ SanctuaryCreatureSpot = 6,
8
+ SanctuaryGodSpot = 7,
9
+ FavorTokensStock = 8,
10
+ GemTokensStock = 9,
11
+ PantheonLineBonus = 10,
12
+ PantheonColumnBonus = 11,
13
+ FirstPlayerTokenSpot = 12,
14
+ RoundCounterBoardSpot = 13,
15
+ RoundSpace = 14,
16
+ DestinyDeck = 15,
17
+ CurrentDestiny = 16,
18
+ PlayedTokenSpot = 17,
19
+ OnEntityCard = 18,
20
+ Pantheon = 19,
21
+ PlayerGems = 20,
22
+ PlayerFavor = 21,
23
+ PlayerDiscard = 22,
24
+ PlayerSelectedCards = 23,
25
+ GameHelpArea = 24,
26
+ CardsCount = 25
27
+ }
28
+ export declare const isInSanctuary: (type?: LocationType) => type is LocationType.SanctuaryCreatureSpot | LocationType.SanctuaryGodSpot;
@@ -1,33 +1,29 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.isInSanctuary = exports.LocationType = void 0;
4
- var LocationType;
5
- (function (LocationType) {
6
- LocationType[LocationType["Sanctuary"] = 1] = "Sanctuary";
7
- LocationType[LocationType["GodsDeck"] = 2] = "GodsDeck";
8
- LocationType[LocationType["CreaturesDeck"] = 3] = "CreaturesDeck";
9
- LocationType[LocationType["PantheonBoardSpot"] = 4] = "PantheonBoardSpot";
10
- LocationType[LocationType["PlayerHand"] = 5] = "PlayerHand";
11
- LocationType[LocationType["SanctuaryCreatureSpot"] = 6] = "SanctuaryCreatureSpot";
12
- LocationType[LocationType["SanctuaryGodSpot"] = 7] = "SanctuaryGodSpot";
13
- LocationType[LocationType["FavorTokensStock"] = 8] = "FavorTokensStock";
14
- LocationType[LocationType["GemTokensStock"] = 9] = "GemTokensStock";
15
- LocationType[LocationType["PantheonLineBonus"] = 10] = "PantheonLineBonus";
16
- LocationType[LocationType["PantheonColumnBonus"] = 11] = "PantheonColumnBonus";
17
- LocationType[LocationType["FirstPlayerTokenSpot"] = 12] = "FirstPlayerTokenSpot";
18
- LocationType[LocationType["RoundCounterBoardSpot"] = 13] = "RoundCounterBoardSpot";
19
- LocationType[LocationType["RoundSpace"] = 14] = "RoundSpace";
20
- LocationType[LocationType["DestinyDeck"] = 15] = "DestinyDeck";
21
- LocationType[LocationType["CurrentDestiny"] = 16] = "CurrentDestiny";
22
- LocationType[LocationType["PlayedTokenSpot"] = 17] = "PlayedTokenSpot";
23
- LocationType[LocationType["OnEntityCard"] = 18] = "OnEntityCard";
24
- LocationType[LocationType["Pantheon"] = 19] = "Pantheon";
25
- LocationType[LocationType["PlayerGems"] = 20] = "PlayerGems";
26
- LocationType[LocationType["PlayerFavor"] = 21] = "PlayerFavor";
27
- LocationType[LocationType["PlayerDiscard"] = 22] = "PlayerDiscard";
28
- LocationType[LocationType["PlayerSelectedCards"] = 23] = "PlayerSelectedCards";
29
- LocationType[LocationType["GameHelpArea"] = 24] = "GameHelpArea";
30
- LocationType[LocationType["CardsCount"] = 25] = "CardsCount";
31
- })(LocationType = exports.LocationType || (exports.LocationType = {}));
32
- var isInSanctuary = function (type) { return type === LocationType.SanctuaryCreatureSpot || type === LocationType.SanctuaryGodSpot; };
33
- exports.isInSanctuary = isInSanctuary;
1
+ export var LocationType;
2
+ (function (LocationType) {
3
+ LocationType[LocationType["Sanctuary"] = 1] = "Sanctuary";
4
+ LocationType[LocationType["GodsDeck"] = 2] = "GodsDeck";
5
+ LocationType[LocationType["CreaturesDeck"] = 3] = "CreaturesDeck";
6
+ LocationType[LocationType["PantheonBoardSpot"] = 4] = "PantheonBoardSpot";
7
+ LocationType[LocationType["PlayerHand"] = 5] = "PlayerHand";
8
+ LocationType[LocationType["SanctuaryCreatureSpot"] = 6] = "SanctuaryCreatureSpot";
9
+ LocationType[LocationType["SanctuaryGodSpot"] = 7] = "SanctuaryGodSpot";
10
+ LocationType[LocationType["FavorTokensStock"] = 8] = "FavorTokensStock";
11
+ LocationType[LocationType["GemTokensStock"] = 9] = "GemTokensStock";
12
+ LocationType[LocationType["PantheonLineBonus"] = 10] = "PantheonLineBonus";
13
+ LocationType[LocationType["PantheonColumnBonus"] = 11] = "PantheonColumnBonus";
14
+ LocationType[LocationType["FirstPlayerTokenSpot"] = 12] = "FirstPlayerTokenSpot";
15
+ LocationType[LocationType["RoundCounterBoardSpot"] = 13] = "RoundCounterBoardSpot";
16
+ LocationType[LocationType["RoundSpace"] = 14] = "RoundSpace";
17
+ LocationType[LocationType["DestinyDeck"] = 15] = "DestinyDeck";
18
+ LocationType[LocationType["CurrentDestiny"] = 16] = "CurrentDestiny";
19
+ LocationType[LocationType["PlayedTokenSpot"] = 17] = "PlayedTokenSpot";
20
+ LocationType[LocationType["OnEntityCard"] = 18] = "OnEntityCard";
21
+ LocationType[LocationType["Pantheon"] = 19] = "Pantheon";
22
+ LocationType[LocationType["PlayerGems"] = 20] = "PlayerGems";
23
+ LocationType[LocationType["PlayerFavor"] = 21] = "PlayerFavor";
24
+ LocationType[LocationType["PlayerDiscard"] = 22] = "PlayerDiscard";
25
+ LocationType[LocationType["PlayerSelectedCards"] = 23] = "PlayerSelectedCards";
26
+ LocationType[LocationType["GameHelpArea"] = 24] = "GameHelpArea";
27
+ LocationType[LocationType["CardsCount"] = 25] = "CardsCount";
28
+ })(LocationType || (LocationType = {}));
29
+ export const isInSanctuary = (type) => type === LocationType.SanctuaryCreatureSpot || type === LocationType.SanctuaryGodSpot;
@@ -1,13 +1,13 @@
1
- export declare enum MaterialType {
2
- MythologyBoard = 1,
3
- EntityCard = 2,
4
- PantheonBoard = 3,
5
- DraftToken = 4,
6
- GemToken = 5,
7
- FavorToken = 6,
8
- FirstPlayerToken = 7,
9
- RoundCounterBoard = 8,
10
- RoundToken = 9,
11
- DestinyCard = 10,
12
- HelpCard = 11
13
- }
1
+ export declare enum MaterialType {
2
+ MythologyBoard = 1,
3
+ EntityCard = 2,
4
+ PantheonBoard = 3,
5
+ DraftToken = 4,
6
+ GemToken = 5,
7
+ FavorToken = 6,
8
+ FirstPlayerToken = 7,
9
+ RoundCounterBoard = 8,
10
+ RoundToken = 9,
11
+ DestinyCard = 10,
12
+ HelpCard = 11
13
+ }
@@ -1,17 +1,14 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.MaterialType = void 0;
4
- var MaterialType;
5
- (function (MaterialType) {
6
- MaterialType[MaterialType["MythologyBoard"] = 1] = "MythologyBoard";
7
- MaterialType[MaterialType["EntityCard"] = 2] = "EntityCard";
8
- MaterialType[MaterialType["PantheonBoard"] = 3] = "PantheonBoard";
9
- MaterialType[MaterialType["DraftToken"] = 4] = "DraftToken";
10
- MaterialType[MaterialType["GemToken"] = 5] = "GemToken";
11
- MaterialType[MaterialType["FavorToken"] = 6] = "FavorToken";
12
- MaterialType[MaterialType["FirstPlayerToken"] = 7] = "FirstPlayerToken";
13
- MaterialType[MaterialType["RoundCounterBoard"] = 8] = "RoundCounterBoard";
14
- MaterialType[MaterialType["RoundToken"] = 9] = "RoundToken";
15
- MaterialType[MaterialType["DestinyCard"] = 10] = "DestinyCard";
16
- MaterialType[MaterialType["HelpCard"] = 11] = "HelpCard";
17
- })(MaterialType = exports.MaterialType || (exports.MaterialType = {}));
1
+ export var MaterialType;
2
+ (function (MaterialType) {
3
+ MaterialType[MaterialType["MythologyBoard"] = 1] = "MythologyBoard";
4
+ MaterialType[MaterialType["EntityCard"] = 2] = "EntityCard";
5
+ MaterialType[MaterialType["PantheonBoard"] = 3] = "PantheonBoard";
6
+ MaterialType[MaterialType["DraftToken"] = 4] = "DraftToken";
7
+ MaterialType[MaterialType["GemToken"] = 5] = "GemToken";
8
+ MaterialType[MaterialType["FavorToken"] = 6] = "FavorToken";
9
+ MaterialType[MaterialType["FirstPlayerToken"] = 7] = "FirstPlayerToken";
10
+ MaterialType[MaterialType["RoundCounterBoard"] = 8] = "RoundCounterBoard";
11
+ MaterialType[MaterialType["RoundToken"] = 9] = "RoundToken";
12
+ MaterialType[MaterialType["DestinyCard"] = 10] = "DestinyCard";
13
+ MaterialType[MaterialType["HelpCard"] = 11] = "HelpCard";
14
+ })(MaterialType || (MaterialType = {}));
@@ -1,18 +1,18 @@
1
- export declare enum Mythology {
2
- Greek = 0,
3
- Norse = 1,
4
- Egyptian = 2,
5
- Hindu = 3,
6
- Inca = 4,
7
- Chinese = 5,
8
- Zulu = 6,
9
- Celtic = 7
10
- }
11
- export declare enum SanctuarySide {
12
- Left = 0,
13
- Right = 1
14
- }
15
- export type MythologyBoardId = {
16
- mythology: Mythology;
17
- side: SanctuarySide;
18
- };
1
+ export declare enum Mythology {
2
+ Greek = 0,
3
+ Norse = 1,
4
+ Egyptian = 2,
5
+ Hindu = 3,
6
+ Inca = 4,
7
+ Chinese = 5,
8
+ Zulu = 6,
9
+ Celtic = 7
10
+ }
11
+ export declare enum SanctuarySide {
12
+ Left = 0,
13
+ Right = 1
14
+ }
15
+ export type MythologyBoardId = {
16
+ mythology: Mythology;
17
+ side: SanctuarySide;
18
+ };