@gamepark/mythologies 0.9.3 → 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.
- package/dist/CustomMoveType.d.ts +14 -14
- package/dist/CustomMoveType.js +11 -14
- package/dist/Memory.d.ts +14 -14
- package/dist/Memory.js +15 -18
- package/dist/MythologiesOptions.d.ts +12 -12
- package/dist/MythologiesOptions.js +22 -25
- package/dist/MythologiesRules.d.ts +158 -158
- package/dist/MythologiesRules.js +216 -244
- package/dist/MythologiesSetup.d.ts +17 -17
- package/dist/MythologiesSetup.js +84 -161
- package/dist/PlayerColor.d.ts +10 -10
- package/dist/PlayerColor.js +7 -10
- package/dist/index.d.ts +3 -3
- package/dist/index.js +3 -9
- package/dist/material/Destiny.d.ts +15 -15
- package/dist/material/Destiny.js +91 -130
- package/dist/material/Entity.d.ts +102 -102
- package/dist/material/Entity.js +92 -99
- package/dist/material/LocationType.d.ts +28 -28
- package/dist/material/LocationType.js +29 -33
- package/dist/material/MaterialType.d.ts +13 -13
- package/dist/material/MaterialType.js +14 -17
- package/dist/material/Mythology.d.ts +18 -18
- package/dist/material/Mythology.js +16 -19
- package/dist/material/Pantheon.d.ts +50 -51
- package/dist/material/Pantheon.js +294 -486
- package/dist/material/Trial.d.ts +22 -22
- package/dist/material/Trial.js +139 -183
- package/dist/material/entity/AutoEffectRule.d.ts +11 -11
- package/dist/material/entity/AutoEffectRule.js +16 -49
- package/dist/material/entity/Effect.d.ts +106 -104
- package/dist/material/entity/Effect.js +26 -44
- package/dist/material/entity/EntityDescription.d.ts +13 -13
- package/dist/material/entity/EntityDescription.js +165 -170
- package/dist/material/entity/MoveEffectRule.d.ts +18 -18
- package/dist/material/entity/MoveEffectRule.js +73 -129
- package/dist/material/entity/PlaceCardEffectRule.d.ts +15 -15
- package/dist/material/entity/PlaceCardEffectRule.js +43 -78
- package/dist/material/entity/PlayerEffectRule.d.ts +14 -14
- package/dist/material/entity/PlayerEffectRule.js +36 -63
- package/dist/material/entity/SacrificeEffectRule.d.ts +11 -11
- package/dist/material/entity/SacrificeEffectRule.js +40 -64
- package/dist/material/entity/SimultaneousEffectRule.d.ts +18 -18
- package/dist/material/entity/SimultaneousEffectRule.js +64 -149
- package/dist/material/entity/SimultaneousMoveEffectRule.d.ts +17 -17
- package/dist/material/entity/SimultaneousMoveEffectRule.js +65 -141
- package/dist/material/entity/SimultaneousSacrificeEffectRule.d.ts +10 -10
- package/dist/material/entity/SimultaneousSacrificeEffectRule.js +31 -55
- package/dist/material/entity/celtic/Banshee.d.ts +2 -2
- package/dist/material/entity/celtic/Banshee.js +23 -46
- package/dist/material/entity/celtic/Brigid.d.ts +2 -2
- package/dist/material/entity/celtic/Brigid.js +17 -40
- package/dist/material/entity/celtic/Cernunnos.d.ts +2 -2
- package/dist/material/entity/celtic/Cernunnos.js +19 -43
- package/dist/material/entity/celtic/Dagda.d.ts +2 -2
- package/dist/material/entity/celtic/Dagda.js +26 -50
- package/dist/material/entity/celtic/Dullahan.d.ts +2 -2
- package/dist/material/entity/celtic/Dullahan.js +9 -12
- package/dist/material/entity/celtic/Fairy.d.ts +2 -2
- package/dist/material/entity/celtic/Fairy.js +9 -12
- package/dist/material/entity/celtic/Kelpie.d.ts +2 -2
- package/dist/material/entity/celtic/Kelpie.js +16 -39
- package/dist/material/entity/celtic/Leprechaun.d.ts +2 -2
- package/dist/material/entity/celtic/Leprechaun.js +9 -12
- package/dist/material/entity/celtic/Morrigan.d.ts +2 -2
- package/dist/material/entity/celtic/Morrigan.js +8 -11
- package/dist/material/entity/celtic/Selkie.d.ts +2 -2
- package/dist/material/entity/celtic/Selkie.js +14 -17
- package/dist/material/entity/chinese/ChangE.d.ts +2 -2
- package/dist/material/entity/chinese/ChangE.js +6 -9
- package/dist/material/entity/chinese/Fenghuang.d.ts +2 -2
- package/dist/material/entity/chinese/Fenghuang.js +10 -15
- package/dist/material/entity/chinese/Jiangshi.d.ts +2 -2
- package/dist/material/entity/chinese/Jiangshi.js +9 -12
- package/dist/material/entity/chinese/Mogwai.d.ts +2 -2
- package/dist/material/entity/chinese/Mogwai.js +18 -44
- package/dist/material/entity/chinese/Nian.d.ts +2 -2
- package/dist/material/entity/chinese/Nian.js +19 -42
- package/dist/material/entity/chinese/Nuwa.d.ts +2 -2
- package/dist/material/entity/chinese/Nuwa.js +9 -12
- package/dist/material/entity/chinese/Qilin.d.ts +2 -2
- package/dist/material/entity/chinese/Qilin.js +9 -12
- package/dist/material/entity/chinese/SunWukong.d.ts +2 -2
- package/dist/material/entity/chinese/SunWukong.js +17 -43
- package/dist/material/entity/chinese/Tianlong.d.ts +2 -2
- package/dist/material/entity/chinese/Tianlong.js +9 -12
- package/dist/material/entity/chinese/YanluoWang.d.ts +2 -2
- package/dist/material/entity/chinese/YanluoWang.js +9 -12
- package/dist/material/entity/egyptian/Ammit.d.ts +2 -2
- package/dist/material/entity/egyptian/Ammit.js +9 -12
- package/dist/material/entity/egyptian/Anubis.d.ts +2 -2
- package/dist/material/entity/egyptian/Anubis.js +9 -12
- package/dist/material/entity/egyptian/Beetle.d.ts +2 -2
- package/dist/material/entity/egyptian/Beetle.js +20 -43
- package/dist/material/entity/egyptian/Bennu.d.ts +2 -2
- package/dist/material/entity/egyptian/Bennu.js +9 -12
- package/dist/material/entity/egyptian/Cobra.d.ts +2 -2
- package/dist/material/entity/egyptian/Cobra.js +9 -12
- package/dist/material/entity/egyptian/Isis.d.ts +2 -2
- package/dist/material/entity/egyptian/Isis.js +15 -41
- package/dist/material/entity/egyptian/Mummy.d.ts +2 -2
- package/dist/material/entity/egyptian/Mummy.js +17 -40
- package/dist/material/entity/egyptian/Osiris.d.ts +2 -2
- package/dist/material/entity/egyptian/Osiris.js +24 -72
- package/dist/material/entity/egyptian/Ra.d.ts +2 -2
- package/dist/material/entity/egyptian/Ra.js +9 -12
- package/dist/material/entity/egyptian/Sphinx.d.ts +2 -2
- package/dist/material/entity/egyptian/Sphinx.js +9 -12
- package/dist/material/entity/greek/Athena.d.ts +2 -2
- package/dist/material/entity/greek/Athena.js +9 -12
- package/dist/material/entity/greek/Centaur.d.ts +2 -2
- package/dist/material/entity/greek/Centaur.js +9 -12
- package/dist/material/entity/greek/Chimera.d.ts +2 -2
- package/dist/material/entity/greek/Chimera.js +9 -12
- package/dist/material/entity/greek/Cyclops.d.ts +2 -2
- package/dist/material/entity/greek/Cyclops.js +15 -19
- package/dist/material/entity/greek/Gorgon.d.ts +2 -2
- package/dist/material/entity/greek/Gorgon.js +9 -12
- package/dist/material/entity/greek/Griffin.d.ts +2 -2
- package/dist/material/entity/greek/Griffin.js +9 -12
- package/dist/material/entity/greek/Hades.d.ts +2 -2
- package/dist/material/entity/greek/Hades.js +9 -12
- package/dist/material/entity/greek/Minotaur.d.ts +2 -2
- package/dist/material/entity/greek/Minotaur.js +9 -12
- package/dist/material/entity/greek/Poseidon.d.ts +2 -2
- package/dist/material/entity/greek/Poseidon.js +20 -46
- package/dist/material/entity/greek/Zeus.d.ts +2 -2
- package/dist/material/entity/greek/Zeus.js +17 -40
- package/dist/material/entity/hindu/Asura.d.ts +2 -2
- package/dist/material/entity/hindu/Asura.js +19 -67
- package/dist/material/entity/hindu/Brahma.d.ts +2 -2
- package/dist/material/entity/hindu/Brahma.js +14 -37
- package/dist/material/entity/hindu/Ganesh.d.ts +2 -2
- package/dist/material/entity/hindu/Ganesh.js +18 -41
- package/dist/material/entity/hindu/Garuda.d.ts +2 -2
- package/dist/material/entity/hindu/Garuda.js +9 -12
- package/dist/material/entity/hindu/Kinnara.d.ts +2 -2
- package/dist/material/entity/hindu/Kinnara.js +9 -12
- package/dist/material/entity/hindu/Naga.d.ts +2 -2
- package/dist/material/entity/hindu/Naga.js +29 -75
- package/dist/material/entity/hindu/Rakshasa.d.ts +2 -2
- package/dist/material/entity/hindu/Rakshasa.js +9 -12
- package/dist/material/entity/hindu/Shiva.d.ts +2 -2
- package/dist/material/entity/hindu/Shiva.js +9 -12
- package/dist/material/entity/hindu/Vetala.d.ts +2 -2
- package/dist/material/entity/hindu/Vetala.js +9 -12
- package/dist/material/entity/hindu/Vishnu.d.ts +2 -2
- package/dist/material/entity/hindu/Vishnu.js +20 -68
- package/dist/material/entity/inca/Amaru.d.ts +2 -2
- package/dist/material/entity/inca/Amaru.js +15 -38
- package/dist/material/entity/inca/Caiman.d.ts +2 -2
- package/dist/material/entity/inca/Caiman.js +9 -12
- package/dist/material/entity/inca/Condor.d.ts +2 -2
- package/dist/material/entity/inca/Condor.js +9 -12
- package/dist/material/entity/inca/Illapa.d.ts +2 -2
- package/dist/material/entity/inca/Illapa.js +9 -12
- package/dist/material/entity/inca/Inti.d.ts +2 -2
- package/dist/material/entity/inca/Inti.js +16 -39
- package/dist/material/entity/inca/MamaQucha.d.ts +2 -2
- package/dist/material/entity/inca/MamaQucha.js +20 -43
- package/dist/material/entity/inca/Puma.d.ts +2 -2
- package/dist/material/entity/inca/Puma.js +14 -40
- package/dist/material/entity/inca/Supay.d.ts +2 -2
- package/dist/material/entity/inca/Supay.js +9 -12
- package/dist/material/entity/inca/Ukuku.d.ts +2 -2
- package/dist/material/entity/inca/Ukuku.js +14 -18
- package/dist/material/entity/inca/Viracocha.d.ts +2 -2
- package/dist/material/entity/inca/Viracocha.js +9 -12
- package/dist/material/entity/norse/Alf.d.ts +2 -2
- package/dist/material/entity/norse/Alf.js +9 -12
- package/dist/material/entity/norse/Draugr.d.ts +2 -2
- package/dist/material/entity/norse/Draugr.js +9 -12
- package/dist/material/entity/norse/Fenrir.d.ts +2 -2
- package/dist/material/entity/norse/Fenrir.js +9 -12
- package/dist/material/entity/norse/Freya.d.ts +2 -2
- package/dist/material/entity/norse/Freya.js +17 -40
- package/dist/material/entity/norse/Jotunn.d.ts +2 -2
- package/dist/material/entity/norse/Jotunn.js +15 -38
- package/dist/material/entity/norse/Loki.d.ts +2 -2
- package/dist/material/entity/norse/Loki.js +14 -37
- package/dist/material/entity/norse/Odin.d.ts +2 -2
- package/dist/material/entity/norse/Odin.js +3 -6
- package/dist/material/entity/norse/Thor.d.ts +2 -2
- package/dist/material/entity/norse/Thor.js +9 -12
- package/dist/material/entity/norse/Troll.d.ts +2 -2
- package/dist/material/entity/norse/Troll.js +6 -9
- package/dist/material/entity/norse/Valkyrie.d.ts +2 -2
- package/dist/material/entity/norse/Valkyrie.js +27 -73
- package/dist/material/entity/zulu/Idlozi.d.ts +2 -2
- package/dist/material/entity/zulu/Idlozi.js +9 -12
- package/dist/material/entity/zulu/Impundulu.d.ts +2 -2
- package/dist/material/entity/zulu/Impundulu.js +9 -12
- package/dist/material/entity/zulu/Inkanyamba.d.ts +2 -2
- package/dist/material/entity/zulu/Inkanyamba.js +16 -42
- package/dist/material/entity/zulu/Inkosazana.d.ts +2 -2
- package/dist/material/entity/zulu/Inkosazana.js +9 -12
- package/dist/material/entity/zulu/Shembe.d.ts +2 -2
- package/dist/material/entity/zulu/Shembe.js +19 -44
- package/dist/material/entity/zulu/Tokoloshe.d.ts +2 -2
- package/dist/material/entity/zulu/Tokoloshe.js +24 -47
- package/dist/material/entity/zulu/Umvelinqangi.d.ts +2 -2
- package/dist/material/entity/zulu/Umvelinqangi.js +22 -45
- package/dist/material/entity/zulu/Unkulunkulu.d.ts +2 -2
- package/dist/material/entity/zulu/Unkulunkulu.js +20 -43
- package/dist/material/entity/zulu/Unwabu.d.ts +2 -2
- package/dist/material/entity/zulu/Unwabu.js +25 -49
- package/dist/material/entity/zulu/Werehyena.d.ts +2 -2
- package/dist/material/entity/zulu/Werehyena.js +9 -12
- package/dist/rules/ChooseDraftTokenRule.d.ts +15 -15
- package/dist/rules/ChooseDraftTokenRule.js +54 -103
- package/dist/rules/DrawDestinyCardRule.d.ts +7 -7
- package/dist/rules/DrawDestinyCardRule.js +44 -115
- package/dist/rules/EndGameRule.d.ts +5 -5
- package/dist/rules/EndGameRule.js +34 -105
- package/dist/rules/PlaceCardsRule.d.ts +14 -14
- package/dist/rules/PlaceCardsRule.js +107 -206
- package/dist/rules/PlaceTokenRule.d.ts +12 -12
- package/dist/rules/PlaceTokenRule.js +75 -151
- package/dist/rules/RuleId.d.ts +65 -65
- package/dist/rules/RuleId.js +66 -69
- package/dist/rules/UpkeepRule.d.ts +9 -9
- package/dist/rules/UpkeepRule.js +56 -154
- package/dist/rules/effects/AlfEffectRule.d.ts +10 -10
- package/dist/rules/effects/AlfEffectRule.js +33 -59
- package/dist/rules/effects/AmmitEffectRule.d.ts +6 -6
- package/dist/rules/effects/AmmitEffectRule.js +15 -40
- package/dist/rules/effects/AnubisEffectRule.d.ts +9 -9
- package/dist/rules/effects/AnubisEffectRule.js +24 -49
- package/dist/rules/effects/AthenaEffectRule.d.ts +10 -10
- package/dist/rules/effects/AthenaEffectRule.js +48 -150
- package/dist/rules/effects/BennuEffectRule.d.ts +6 -6
- package/dist/rules/effects/BennuEffectRule.js +10 -35
- package/dist/rules/effects/CaimanEffectRule.d.ts +7 -7
- package/dist/rules/effects/CaimanEffectRule.js +23 -72
- package/dist/rules/effects/CentaurEffectRule.d.ts +15 -15
- package/dist/rules/effects/CentaurEffectRule.js +36 -95
- package/dist/rules/effects/ChimeraEffectRule.d.ts +8 -9
- package/dist/rules/effects/ChimeraEffectRule.js +15 -44
- package/dist/rules/effects/CobraEffectRule.d.ts +13 -13
- package/dist/rules/effects/CobraEffectRule.js +30 -61
- package/dist/rules/effects/CondorEffectRule.d.ts +8 -8
- package/dist/rules/effects/CondorEffectRule.js +20 -45
- package/dist/rules/effects/CyclopsEffectRule.d.ts +11 -11
- package/dist/rules/effects/CyclopsEffectRule.js +50 -106
- package/dist/rules/effects/DraugrEffectRule.d.ts +11 -12
- package/dist/rules/effects/DraugrEffectRule.js +32 -63
- package/dist/rules/effects/DullahanEffectRule.d.ts +11 -11
- package/dist/rules/effects/DullahanEffectRule.js +48 -73
- package/dist/rules/effects/FairyEffectRule.d.ts +10 -10
- package/dist/rules/effects/FairyEffectRule.js +33 -55
- package/dist/rules/effects/FenghuangEffectRule.d.ts +8 -8
- package/dist/rules/effects/FenghuangEffectRule.js +18 -48
- package/dist/rules/effects/FenrirEffectRule.d.ts +16 -16
- package/dist/rules/effects/FenrirEffectRule.js +85 -139
- package/dist/rules/effects/GarudaEffectRule.d.ts +16 -16
- package/dist/rules/effects/GarudaEffectRule.js +55 -113
- package/dist/rules/effects/GorgonEffectRule.d.ts +7 -7
- package/dist/rules/effects/GorgonEffectRule.js +15 -40
- package/dist/rules/effects/GriffinEffectRule.d.ts +9 -9
- package/dist/rules/effects/GriffinEffectRule.js +16 -41
- package/dist/rules/effects/HadesEffectRule.d.ts +9 -9
- package/dist/rules/effects/HadesEffectRule.js +14 -39
- package/dist/rules/effects/IdloziEffectRule.d.ts +9 -9
- package/dist/rules/effects/IdloziEffectRule.js +21 -46
- package/dist/rules/effects/IllapaEffectRule.d.ts +16 -16
- package/dist/rules/effects/IllapaEffectRule.js +43 -76
- package/dist/rules/effects/ImpunduluEffectRule.d.ts +10 -11
- package/dist/rules/effects/ImpunduluEffectRule.js +39 -81
- package/dist/rules/effects/InkosazanaEffectRule.d.ts +7 -7
- package/dist/rules/effects/InkosazanaEffectRule.js +21 -46
- package/dist/rules/effects/JiangshiEffectRule.d.ts +8 -8
- package/dist/rules/effects/JiangshiEffectRule.js +25 -51
- package/dist/rules/effects/KinnaraEffectRule.d.ts +13 -13
- package/dist/rules/effects/KinnaraEffectRule.js +42 -95
- package/dist/rules/effects/LeprechaunEffectRule.d.ts +9 -9
- package/dist/rules/effects/LeprechaunEffectRule.js +23 -49
- package/dist/rules/effects/MinotaurEffectRule.d.ts +11 -11
- package/dist/rules/effects/MinotaurEffectRule.js +23 -49
- package/dist/rules/effects/MultipleSimultaneousMoveEffectRule.d.ts +14 -13
- package/dist/rules/effects/MultipleSimultaneousMoveEffectRule.js +71 -125
- package/dist/rules/effects/NuwaEffectRule.d.ts +14 -14
- package/dist/rules/effects/NuwaEffectRule.js +57 -106
- package/dist/rules/effects/OdinEffectRule.d.ts +11 -11
- package/dist/rules/effects/OdinEffectRule.js +27 -52
- package/dist/rules/effects/PermanentEffectsRule.d.ts +7 -7
- package/dist/rules/effects/PermanentEffectsRule.js +21 -54
- package/dist/rules/effects/QilinEffectRule.d.ts +8 -8
- package/dist/rules/effects/QilinEffectRule.js +40 -115
- package/dist/rules/effects/RaEffectRule.d.ts +9 -9
- package/dist/rules/effects/RaEffectRule.js +14 -39
- package/dist/rules/effects/RakshasaEffectRule.d.ts +13 -13
- package/dist/rules/effects/RakshasaEffectRule.js +23 -48
- package/dist/rules/effects/ResolveEffectsRule.d.ts +12 -12
- package/dist/rules/effects/ResolveEffectsRule.js +87 -141
- package/dist/rules/effects/SelkieEffectRule.d.ts +8 -8
- package/dist/rules/effects/SelkieEffectRule.js +19 -44
- package/dist/rules/effects/ShivaEffectRule.d.ts +10 -10
- package/dist/rules/effects/ShivaEffectRule.js +35 -61
- package/dist/rules/effects/SphinxEffectRule.d.ts +10 -10
- package/dist/rules/effects/SphinxEffectRule.js +33 -58
- package/dist/rules/effects/SupayEffectRule.d.ts +20 -20
- package/dist/rules/effects/SupayEffectRule.js +44 -81
- package/dist/rules/effects/ThorEffectRule.d.ts +11 -11
- package/dist/rules/effects/ThorEffectRule.js +32 -58
- package/dist/rules/effects/TianlongEffectRule.d.ts +17 -17
- package/dist/rules/effects/TianlongEffectRule.js +47 -105
- package/dist/rules/effects/TriggerEffectsRule.d.ts +11 -11
- package/dist/rules/effects/TriggerEffectsRule.js +65 -183
- package/dist/rules/effects/UkukuEffectRule.d.ts +14 -14
- package/dist/rules/effects/UkukuEffectRule.js +35 -66
- package/dist/rules/effects/VetalaEffectRule.d.ts +12 -12
- package/dist/rules/effects/VetalaEffectRule.js +37 -62
- package/dist/rules/effects/ViracochaEffectRule.d.ts +7 -7
- package/dist/rules/effects/ViracochaEffectRule.js +15 -40
- package/dist/rules/effects/WerehyenaEffectRule.d.ts +8 -8
- package/dist/rules/effects/WerehyenaEffectRule.js +37 -98
- package/dist/rules/effects/YanluoWangEffectRule.d.ts +9 -9
- package/dist/rules/effects/YanluoWangEffectRule.js +46 -104
- 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
|
-
|
|
15
|
-
|
|
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;
|
package/dist/material/Entity.js
CHANGED
|
@@ -1,99 +1,92 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
Entity[Entity["
|
|
7
|
-
Entity[Entity["
|
|
8
|
-
Entity[Entity["
|
|
9
|
-
Entity[Entity["
|
|
10
|
-
Entity[Entity["
|
|
11
|
-
Entity[Entity["
|
|
12
|
-
Entity[Entity["
|
|
13
|
-
Entity[Entity["
|
|
14
|
-
Entity[Entity["
|
|
15
|
-
Entity[Entity["
|
|
16
|
-
Entity[Entity["
|
|
17
|
-
Entity[Entity["
|
|
18
|
-
Entity[Entity["
|
|
19
|
-
Entity[Entity["
|
|
20
|
-
Entity[Entity["
|
|
21
|
-
Entity[Entity["
|
|
22
|
-
Entity[Entity["
|
|
23
|
-
Entity[Entity["
|
|
24
|
-
Entity[Entity["
|
|
25
|
-
Entity[Entity["
|
|
26
|
-
Entity[Entity["
|
|
27
|
-
Entity[Entity["
|
|
28
|
-
Entity[Entity["
|
|
29
|
-
Entity[Entity["
|
|
30
|
-
Entity[Entity["
|
|
31
|
-
Entity[Entity["
|
|
32
|
-
Entity[Entity["
|
|
33
|
-
Entity[Entity["
|
|
34
|
-
Entity[Entity["
|
|
35
|
-
Entity[Entity["
|
|
36
|
-
Entity[Entity["
|
|
37
|
-
Entity[Entity["
|
|
38
|
-
Entity[Entity["
|
|
39
|
-
Entity[Entity["
|
|
40
|
-
Entity[Entity["
|
|
41
|
-
Entity[Entity["
|
|
42
|
-
Entity[Entity["
|
|
43
|
-
Entity[Entity["
|
|
44
|
-
Entity[Entity["
|
|
45
|
-
Entity[Entity["
|
|
46
|
-
Entity[Entity["
|
|
47
|
-
Entity[Entity["
|
|
48
|
-
Entity[Entity["
|
|
49
|
-
Entity[Entity["
|
|
50
|
-
Entity[Entity["
|
|
51
|
-
Entity[Entity["
|
|
52
|
-
Entity[Entity["
|
|
53
|
-
Entity[Entity["
|
|
54
|
-
Entity[Entity["
|
|
55
|
-
Entity[Entity["
|
|
56
|
-
Entity[Entity["
|
|
57
|
-
Entity[Entity["
|
|
58
|
-
Entity[Entity["
|
|
59
|
-
Entity[Entity["
|
|
60
|
-
Entity[Entity["
|
|
61
|
-
Entity[Entity["
|
|
62
|
-
Entity[Entity["
|
|
63
|
-
Entity[Entity["
|
|
64
|
-
Entity[Entity["
|
|
65
|
-
Entity[Entity["
|
|
66
|
-
Entity[Entity["
|
|
67
|
-
Entity[Entity["
|
|
68
|
-
Entity[Entity["
|
|
69
|
-
Entity[Entity["
|
|
70
|
-
Entity[Entity["
|
|
71
|
-
Entity[Entity["
|
|
72
|
-
Entity[Entity["
|
|
73
|
-
Entity[Entity["
|
|
74
|
-
Entity[Entity["
|
|
75
|
-
Entity[Entity["
|
|
76
|
-
Entity[Entity["
|
|
77
|
-
Entity[Entity["
|
|
78
|
-
Entity[Entity["
|
|
79
|
-
Entity[Entity["
|
|
80
|
-
Entity[Entity["
|
|
81
|
-
Entity[Entity["
|
|
82
|
-
Entity[Entity["
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
(
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
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) =>
|
|
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
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
LocationType[LocationType["
|
|
7
|
-
LocationType[LocationType["
|
|
8
|
-
LocationType[LocationType["
|
|
9
|
-
LocationType[LocationType["
|
|
10
|
-
LocationType[LocationType["
|
|
11
|
-
LocationType[LocationType["
|
|
12
|
-
LocationType[LocationType["
|
|
13
|
-
LocationType[LocationType["
|
|
14
|
-
LocationType[LocationType["
|
|
15
|
-
LocationType[LocationType["
|
|
16
|
-
LocationType[LocationType["
|
|
17
|
-
LocationType[LocationType["
|
|
18
|
-
LocationType[LocationType["
|
|
19
|
-
LocationType[LocationType["
|
|
20
|
-
LocationType[LocationType["
|
|
21
|
-
LocationType[LocationType["
|
|
22
|
-
LocationType[LocationType["
|
|
23
|
-
LocationType[LocationType["
|
|
24
|
-
LocationType[LocationType["
|
|
25
|
-
LocationType[LocationType["
|
|
26
|
-
LocationType[LocationType["
|
|
27
|
-
LocationType[LocationType["
|
|
28
|
-
|
|
29
|
-
|
|
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
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
MaterialType[MaterialType["
|
|
7
|
-
MaterialType[MaterialType["
|
|
8
|
-
MaterialType[MaterialType["
|
|
9
|
-
MaterialType[MaterialType["
|
|
10
|
-
MaterialType[MaterialType["
|
|
11
|
-
MaterialType[MaterialType["
|
|
12
|
-
MaterialType[MaterialType["
|
|
13
|
-
MaterialType[MaterialType["
|
|
14
|
-
|
|
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
|
+
};
|