qpremake 1.5.3 → 1.6.3

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 (234) hide show
  1. package/README.md +5 -3
  2. package/package.json +2 -7
  3. package/lib/_localizationFiles/English.d.ts +0 -2
  4. package/lib/_localizationFiles/English.js +0 -307
  5. package/lib/_mods/parserModules/addSymbol.d.ts +0 -7
  6. package/lib/_mods/parserModules/addSymbol.js +0 -18
  7. package/lib/_mods/parserModules/expression.d.ts +0 -7
  8. package/lib/_mods/parserModules/expression.js +0 -45
  9. package/lib/_mods/parserModules/expression_parser.d.ts +0 -143
  10. package/lib/_mods/parserModules/expression_parser.js +0 -728
  11. package/lib/_mods/parserModules/img.d.ts +0 -8
  12. package/lib/_mods/parserModules/img.js +0 -42
  13. package/lib/_mods/parserModules/qpOriginal.d.ts +0 -5
  14. package/lib/_mods/parserModules/qpOriginal.js +0 -27
  15. package/lib/_mods/parserModules/sectionID.d.ts +0 -13
  16. package/lib/_mods/parserModules/sectionID.js +0 -56
  17. package/lib/_mods/parserModules/tags.d.ts +0 -9
  18. package/lib/_mods/parserModules/tags.js +0 -29
  19. package/lib/_mods/parserModules/uaddminus.d.ts +0 -9
  20. package/lib/_mods/parserModules/uaddminus.js +0 -42
  21. package/lib/_mods/parserModules/variantCheck.d.ts +0 -10
  22. package/lib/_mods/parserModules/variantCheck.js +0 -53
  23. package/lib/_queenSystem/handler/actionGenrator.d.ts +0 -994
  24. package/lib/_queenSystem/handler/actionGenrator.js +0 -646
  25. package/lib/_queenSystem/handler/actionInputGenerator.d.ts +0 -95
  26. package/lib/_queenSystem/handler/actionInputGenerator.js +0 -373
  27. package/lib/_queenSystem/handler/actionInputRequesterGenerator.d.ts +0 -92
  28. package/lib/_queenSystem/handler/actionInputRequesterGenerator.js +0 -341
  29. package/lib/_queenSystem/handler/cardHandler.d.ts +0 -20
  30. package/lib/_queenSystem/handler/cardHandler.js +0 -61
  31. package/lib/_queenSystem/handler/effectGenerator.d.ts +0 -1
  32. package/lib/_queenSystem/handler/effectGenerator.js +0 -127
  33. package/lib/_queenSystem/handler/localizationHandler.d.ts +0 -28
  34. package/lib/_queenSystem/handler/localizationHandler.js +0 -166
  35. package/lib/_queenSystem/handler/modHandler.d.ts +0 -10
  36. package/lib/_queenSystem/handler/modHandler.js +0 -36
  37. package/lib/_queenSystem/handler/oldDataProcessor.d.ts +0 -9
  38. package/lib/_queenSystem/handler/oldDataProcessor.js +0 -129
  39. package/lib/_queenSystem/handler/registryHandler.d.ts +0 -36
  40. package/lib/_queenSystem/handler/registryHandler.js +0 -63
  41. package/lib/_queenSystem/handler/zoneHandler.d.ts +0 -102
  42. package/lib/_queenSystem/handler/zoneHandler.js +0 -606
  43. package/lib/_queenSystem/loader/loader_card.d.ts +0 -20
  44. package/lib/_queenSystem/loader/loader_card.js +0 -124
  45. package/lib/_queenSystem/loader/loader_effect.d.ts +0 -27
  46. package/lib/_queenSystem/loader/loader_effect.js +0 -163
  47. package/lib/_queenSystem/loader/loader_handler.d.ts +0 -11
  48. package/lib/_queenSystem/loader/loader_handler.js +0 -24
  49. package/lib/_queenSystem/loader/loader_localization.d.ts +0 -11
  50. package/lib/_queenSystem/loader/loader_localization.js +0 -73
  51. package/lib/_queenSystem/loader/loader_mod.d.ts +0 -10
  52. package/lib/_queenSystem/loader/loader_mod.js +0 -72
  53. package/lib/_queenSystem/loader/loader_subtype.d.ts +0 -9
  54. package/lib/_queenSystem/loader/loader_subtype.js +0 -39
  55. package/lib/_queenSystem/loader/loader_type.d.ts +0 -9
  56. package/lib/_queenSystem/loader/loader_type.js +0 -39
  57. package/lib/_queenSystem/loader/loader_zone.d.ts +0 -14
  58. package/lib/_queenSystem/loader/loader_zone.js +0 -35
  59. package/lib/_queenSystem/queenSystem.d.ts +0 -127
  60. package/lib/_queenSystem/queenSystem.js +0 -996
  61. package/lib/_queenSystem/renderer/rendererInterface.d.ts +0 -27
  62. package/lib/_queenSystem/renderer/rendererInterface.js +0 -25
  63. package/lib/data/actionRegistry.d.ts +0 -56
  64. package/lib/data/actionRegistry.js +0 -60
  65. package/lib/data/cardRegistry.d.ts +0 -1162
  66. package/lib/data/cardRegistry.js +0 -716
  67. package/lib/data/deckRegistry.d.ts +0 -19
  68. package/lib/data/deckRegistry.js +0 -41
  69. package/lib/data/effectRegistry.d.ts +0 -465
  70. package/lib/data/effectRegistry.js +0 -151
  71. package/lib/data/effectTypeRegistry.d.ts +0 -14
  72. package/lib/data/effectTypeRegistry.js +0 -14
  73. package/lib/data/operatorRegistry.d.ts +0 -92
  74. package/lib/data/operatorRegistry.js +0 -82
  75. package/lib/data/rarityRegistry.d.ts +0 -28
  76. package/lib/data/rarityRegistry.js +0 -63
  77. package/lib/data/registryRegistry.d.ts +0 -10
  78. package/lib/data/registryRegistry.js +0 -14
  79. package/lib/data/subtypeRegistry.d.ts +0 -15
  80. package/lib/data/subtypeRegistry.js +0 -15
  81. package/lib/data/systemRegistry.d.ts +0 -253
  82. package/lib/data/systemRegistry.js +0 -56
  83. package/lib/data/zoneRegistry.d.ts +0 -43
  84. package/lib/data/zoneRegistry.js +0 -157
  85. package/lib/effectTextParser/index.d.ts +0 -42
  86. package/lib/effectTextParser/index.js +0 -316
  87. package/lib/global/index.d.ts +0 -8
  88. package/lib/global/index.js +0 -12
  89. package/lib/index.d.ts +0 -6335
  90. package/lib/index.js +0 -205
  91. package/lib/specificEffects/e_cond.d.ts +0 -11
  92. package/lib/specificEffects/e_cond.js +0 -36
  93. package/lib/specificEffects/e_fruit.d.ts +0 -3
  94. package/lib/specificEffects/e_fruit.js +0 -187
  95. package/lib/specificEffects/e_generic.d.ts +0 -191
  96. package/lib/specificEffects/e_generic.js +0 -662
  97. package/lib/specificEffects/e_generic_cardTargetting.d.ts +0 -38
  98. package/lib/specificEffects/e_generic_cardTargetting.js +0 -82
  99. package/lib/specificEffects/e_generic_noneTargetting.d.ts +0 -10
  100. package/lib/specificEffects/e_generic_noneTargetting.js +0 -26
  101. package/lib/specificEffects/e_status.d.ts +0 -80
  102. package/lib/specificEffects/e_status.js +0 -151
  103. package/lib/specificEffects/e_test.d.ts +0 -3
  104. package/lib/specificEffects/e_test.js +0 -21
  105. package/lib/types/abstract/gameComponents/API.d.ts +0 -19
  106. package/lib/types/abstract/gameComponents/API.js +0 -2
  107. package/lib/types/abstract/gameComponents/card.d.ts +0 -108
  108. package/lib/types/abstract/gameComponents/card.js +0 -771
  109. package/lib/types/abstract/gameComponents/effect.d.ts +0 -82
  110. package/lib/types/abstract/gameComponents/effect.js +0 -331
  111. package/lib/types/abstract/gameComponents/effectSubtype.d.ts +0 -22
  112. package/lib/types/abstract/gameComponents/effectSubtype.js +0 -40
  113. package/lib/types/abstract/gameComponents/effectType.d.ts +0 -11
  114. package/lib/types/abstract/gameComponents/effectType.js +0 -8
  115. package/lib/types/abstract/gameComponents/settings.d.ts +0 -80
  116. package/lib/types/abstract/gameComponents/settings.js +0 -72
  117. package/lib/types/abstract/gameComponents/zone.d.ts +0 -113
  118. package/lib/types/abstract/gameComponents/zone.js +0 -614
  119. package/lib/types/abstract/gameComponents/zone_gridBased.d.ts +0 -18
  120. package/lib/types/abstract/gameComponents/zone_gridBased.js +0 -58
  121. package/lib/types/abstract/gameComponents/zone_stackBased.d.ts +0 -13
  122. package/lib/types/abstract/gameComponents/zone_stackBased.js +0 -55
  123. package/lib/types/abstract/generics/node.d.ts +0 -23
  124. package/lib/types/abstract/generics/node.js +0 -46
  125. package/lib/types/abstract/generics/position.d.ts +0 -23
  126. package/lib/types/abstract/generics/position.js +0 -91
  127. package/lib/types/abstract/generics/tree.d.ts +0 -25
  128. package/lib/types/abstract/generics/tree.js +0 -153
  129. package/lib/types/abstract/generics/universalResponse.d.ts +0 -4
  130. package/lib/types/abstract/generics/universalResponse.js +0 -2
  131. package/lib/types/abstract/generics/wraper.d.ts +0 -21
  132. package/lib/types/abstract/generics/wraper.js +0 -56
  133. package/lib/types/abstract/parser/component.d.ts +0 -88
  134. package/lib/types/abstract/parser/component.js +0 -132
  135. package/lib/types/abstract/parser/index.d.ts +0 -6
  136. package/lib/types/abstract/parser/index.js +0 -28
  137. package/lib/types/abstract/parser/modPack.d.ts +0 -21
  138. package/lib/types/abstract/parser/modPack.js +0 -48
  139. package/lib/types/abstract/parser/moduleInputObject.d.ts +0 -12
  140. package/lib/types/abstract/parser/moduleInputObject.js +0 -21
  141. package/lib/types/abstract/parser/options.d.ts +0 -31
  142. package/lib/types/abstract/parser/options.js +0 -45
  143. package/lib/types/abstract/serializedGameComponents/Gamestate.d.ts +0 -46
  144. package/lib/types/abstract/serializedGameComponents/Gamestate.js +0 -70
  145. package/lib/types/abstract/serializedGameComponents/Localized.d.ts +0 -69
  146. package/lib/types/abstract/serializedGameComponents/Localized.js +0 -84
  147. package/lib/types/defaultZones/ability.d.ts +0 -10
  148. package/lib/types/defaultZones/ability.js +0 -22
  149. package/lib/types/defaultZones/deck.d.ts +0 -25
  150. package/lib/types/defaultZones/deck.js +0 -90
  151. package/lib/types/defaultZones/drop.d.ts +0 -5
  152. package/lib/types/defaultZones/drop.js +0 -13
  153. package/lib/types/defaultZones/field.d.ts +0 -11
  154. package/lib/types/defaultZones/field.js +0 -35
  155. package/lib/types/defaultZones/grave.d.ts +0 -8
  156. package/lib/types/defaultZones/grave.js +0 -21
  157. package/lib/types/defaultZones/hand.d.ts +0 -5
  158. package/lib/types/defaultZones/hand.js +0 -14
  159. package/lib/types/defaultZones/storage.d.ts +0 -9
  160. package/lib/types/defaultZones/storage.js +0 -21
  161. package/lib/types/defaultZones/system.d.ts +0 -12
  162. package/lib/types/defaultZones/system.js +0 -35
  163. package/lib/types/defaultZones/void.d.ts +0 -4
  164. package/lib/types/defaultZones/void.js +0 -10
  165. package/lib/types/effects/effectSubtypes/subtype_chained.d.ts +0 -10
  166. package/lib/types/effects/effectSubtypes/subtype_chained.js +0 -17
  167. package/lib/types/effects/effectSubtypes/subtype_delayed.d.ts +0 -9
  168. package/lib/types/effects/effectSubtypes/subtype_delayed.js +0 -16
  169. package/lib/types/effects/effectSubtypes/subtype_fieldLock.d.ts +0 -9
  170. package/lib/types/effects/effectSubtypes/subtype_fieldLock.js +0 -21
  171. package/lib/types/effects/effectSubtypes/subtype_graveLock.d.ts +0 -9
  172. package/lib/types/effects/effectSubtypes/subtype_graveLock.js +0 -21
  173. package/lib/types/effects/effectSubtypes/subtype_hand_or_fieldLock.d.ts +0 -9
  174. package/lib/types/effects/effectSubtypes/subtype_hand_or_fieldLock.js +0 -21
  175. package/lib/types/effects/effectSubtypes/subtype_hardUnique.d.ts +0 -9
  176. package/lib/types/effects/effectSubtypes/subtype_hardUnique.js +0 -15
  177. package/lib/types/effects/effectSubtypes/subtype_instant.d.ts +0 -8
  178. package/lib/types/effects/effectSubtypes/subtype_instant.js +0 -20
  179. package/lib/types/effects/effectSubtypes/subtype_once.d.ts +0 -12
  180. package/lib/types/effects/effectSubtypes/subtype_once.js +0 -27
  181. package/lib/types/effects/effectSubtypes/subtype_unique.d.ts +0 -9
  182. package/lib/types/effects/effectSubtypes/subtype_unique.js +0 -16
  183. package/lib/types/effects/effectTypes/initEffect.d.ts +0 -7
  184. package/lib/types/effects/effectTypes/initEffect.js +0 -23
  185. package/lib/types/effects/effectTypes/lockEffect.d.ts +0 -9
  186. package/lib/types/effects/effectTypes/lockEffect.js +0 -25
  187. package/lib/types/effects/effectTypes/manualEffect.d.ts +0 -9
  188. package/lib/types/effects/effectTypes/manualEffect.js +0 -18
  189. package/lib/types/effects/effectTypes/passiveEffect.d.ts +0 -9
  190. package/lib/types/effects/effectTypes/passiveEffect.js +0 -23
  191. package/lib/types/effects/effectTypes/triggerEffect.d.ts +0 -9
  192. package/lib/types/effects/effectTypes/triggerEffect.js +0 -28
  193. package/lib/types/errors/cannotLoad.d.ts +0 -5
  194. package/lib/types/errors/cannotLoad.js +0 -13
  195. package/lib/types/errors/cardNotExist.d.ts +0 -5
  196. package/lib/types/errors/cardNotExist.js +0 -13
  197. package/lib/types/errors/cardNotInApplicableZone.d.ts +0 -5
  198. package/lib/types/errors/cardNotInApplicableZone.js +0 -13
  199. package/lib/types/errors/effectCondNotMet.d.ts +0 -5
  200. package/lib/types/errors/effectCondNotMet.js +0 -13
  201. package/lib/types/errors/effectNotExist.d.ts +0 -5
  202. package/lib/types/errors/effectNotExist.js +0 -13
  203. package/lib/types/errors/error.d.ts +0 -17
  204. package/lib/types/errors/error.js +0 -42
  205. package/lib/types/errors/incorrectActionType.d.ts +0 -5
  206. package/lib/types/errors/incorrectActionType.js +0 -13
  207. package/lib/types/errors/index.d.ts +0 -16
  208. package/lib/types/errors/index.js +0 -36
  209. package/lib/types/errors/invalidOrderMap.d.ts +0 -6
  210. package/lib/types/errors/invalidOrderMap.js +0 -14
  211. package/lib/types/errors/invalidPosition.d.ts +0 -6
  212. package/lib/types/errors/invalidPosition.js +0 -13
  213. package/lib/types/errors/subTypeOverrideConflict.d.ts +0 -7
  214. package/lib/types/errors/subTypeOverrideConflict.js +0 -15
  215. package/lib/types/errors/unknownError.d.ts +0 -5
  216. package/lib/types/errors/unknownError.js +0 -13
  217. package/lib/types/errors/unregisteredAction.d.ts +0 -6
  218. package/lib/types/errors/unregisteredAction.js +0 -13
  219. package/lib/types/errors/wrongEffectIdx.d.ts +0 -5
  220. package/lib/types/errors/wrongEffectIdx.js +0 -14
  221. package/lib/types/errors/zoneAttrConflict.d.ts +0 -5
  222. package/lib/types/errors/zoneAttrConflict.js +0 -15
  223. package/lib/types/errors/zoneFull.d.ts +0 -5
  224. package/lib/types/errors/zoneFull.js +0 -13
  225. package/lib/types/errors/zoneNotExist.d.ts +0 -5
  226. package/lib/types/errors/zoneNotExist.js +0 -13
  227. package/lib/types/misc.d.ts +0 -97
  228. package/lib/types/misc.js +0 -8
  229. package/lib/types/mods/effectTextParserModule.d.ts +0 -16
  230. package/lib/types/mods/effectTextParserModule.js +0 -81
  231. package/lib/types/mods/gameModule.d.ts +0 -5
  232. package/lib/types/mods/gameModule.js +0 -8
  233. package/lib/utils/index.d.ts +0 -78
  234. package/lib/utils/index.js +0 -562
package/lib/index.js DELETED
@@ -1,205 +0,0 @@
1
- "use strict";
2
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
- if (k2 === undefined) k2 = k;
4
- var desc = Object.getOwnPropertyDescriptor(m, k);
5
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
- desc = { enumerable: true, get: function() { return m[k]; } };
7
- }
8
- Object.defineProperty(o, k2, desc);
9
- }) : (function(o, m, k, k2) {
10
- if (k2 === undefined) k2 = k;
11
- o[k2] = m[k];
12
- }));
13
- var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
- Object.defineProperty(o, "default", { enumerable: true, value: v });
15
- }) : function(o, v) {
16
- o["default"] = v;
17
- });
18
- var __importStar = (this && this.__importStar) || (function () {
19
- var ownKeys = function(o) {
20
- ownKeys = Object.getOwnPropertyNames || function (o) {
21
- var ar = [];
22
- for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
23
- return ar;
24
- };
25
- return ownKeys(o);
26
- };
27
- return function (mod) {
28
- if (mod && mod.__esModule) return mod;
29
- var result = {};
30
- if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
31
- __setModuleDefault(result, mod);
32
- return result;
33
- };
34
- })();
35
- var __importDefault = (this && this.__importDefault) || function (mod) {
36
- return (mod && mod.__esModule) ? mod : { "default": mod };
37
- };
38
- Object.defineProperty(exports, "__esModule", { value: true });
39
- exports.queenSystemUtils = exports.queenSystemComponents = exports.queenSystem = void 0;
40
- /**
41
- * Entry point for npm import
42
- * Role:
43
- * Import and export common symbols
44
- * List how to use if need be
45
- */
46
- const global_1 = __importDefault(require("./global"));
47
- global_1.default.load();
48
- const queenSystem_1 = __importDefault(require("./_queenSystem/queenSystem"));
49
- exports.queenSystem = queenSystem_1.default;
50
- // game component
51
- const card_1 = __importDefault(require("./types/abstract/gameComponents/card"));
52
- const effect_1 = __importDefault(require("./types/abstract/gameComponents/effect"));
53
- // zones
54
- const zone_1 = __importDefault(require("./types/abstract/gameComponents/zone"));
55
- const zone_gridBased_1 = __importDefault(require("./types/abstract/gameComponents/zone_gridBased"));
56
- const zone_stackBased_1 = __importDefault(require("./types/abstract/gameComponents/zone_stackBased"));
57
- const ability_1 = __importDefault(require("./types/defaultZones/ability"));
58
- const deck_1 = __importDefault(require("./types/defaultZones/deck"));
59
- const drop_1 = __importDefault(require("./types/defaultZones/drop"));
60
- const field_1 = __importDefault(require("./types/defaultZones/field"));
61
- const grave_1 = __importDefault(require("./types/defaultZones/grave"));
62
- const hand_1 = __importDefault(require("./types/defaultZones/hand"));
63
- const storage_1 = __importDefault(require("./types/defaultZones/storage"));
64
- const system_1 = __importDefault(require("./types/defaultZones/system"));
65
- const void_1 = __importDefault(require("./types/defaultZones/void"));
66
- // effect subtypes
67
- const effectSubtype_1 = __importDefault(require("./types/abstract/gameComponents/effectSubtype"));
68
- const subtype_chained_1 = __importDefault(require("./types/effects/effectSubtypes/subtype_chained"));
69
- const subtype_delayed_1 = __importDefault(require("./types/effects/effectSubtypes/subtype_delayed"));
70
- const subtype_fieldLock_1 = __importDefault(require("./types/effects/effectSubtypes/subtype_fieldLock"));
71
- const subtype_graveLock_1 = __importDefault(require("./types/effects/effectSubtypes/subtype_graveLock"));
72
- const subtype_hand_or_fieldLock_1 = __importDefault(require("./types/effects/effectSubtypes/subtype_hand_or_fieldLock"));
73
- const subtype_hardUnique_1 = __importDefault(require("./types/effects/effectSubtypes/subtype_hardUnique"));
74
- const subtype_instant_1 = __importDefault(require("./types/effects/effectSubtypes/subtype_instant"));
75
- const subtype_once_1 = __importDefault(require("./types/effects/effectSubtypes/subtype_once"));
76
- const subtype_unique_1 = __importDefault(require("./types/effects/effectSubtypes/subtype_unique"));
77
- // effect types
78
- const effectType_1 = __importDefault(require("./types/abstract/gameComponents/effectType"));
79
- const initEffect_1 = __importDefault(require("./types/effects/effectTypes/initEffect"));
80
- const lockEffect_1 = __importDefault(require("./types/effects/effectTypes/lockEffect"));
81
- const manualEffect_1 = __importDefault(require("./types/effects/effectTypes/manualEffect"));
82
- const passiveEffect_1 = __importDefault(require("./types/effects/effectTypes/passiveEffect"));
83
- const triggerEffect_1 = __importDefault(require("./types/effects/effectTypes/triggerEffect"));
84
- // default settings
85
- const settings_1 = require("./types/abstract/gameComponents/settings");
86
- // serialized
87
- const Gamestate_1 = require("./types/abstract/serializedGameComponents/Gamestate");
88
- // localized
89
- const Localized_1 = require("./types/abstract/serializedGameComponents/Localized");
90
- // parser
91
- const effectTextParser_1 = __importDefault(require("./effectTextParser"));
92
- // actions
93
- const actionGenrator_1 = require("./_queenSystem/handler/actionGenrator");
94
- // Localizer
95
- const localizationHandler_1 = __importDefault(require("./_queenSystem/handler/localizationHandler"));
96
- // input request generator
97
- const actionInputRequesterGenerator_1 = __importDefault(require("./_queenSystem/handler/actionInputRequesterGenerator"));
98
- // modules
99
- const gameModule_1 = __importDefault(require("./types/mods/gameModule"));
100
- const effectTextParserModule_1 = require("./types/mods/effectTextParserModule");
101
- const parser_1 = require("./types/abstract/parser");
102
- // enums
103
- const actionRegistry_1 = __importDefault(require("./data/actionRegistry"));
104
- const cardRegistry_1 = require("./data/cardRegistry");
105
- const effectRegistry_1 = __importDefault(require("./data/effectRegistry"));
106
- const effectTypeRegistry_1 = __importDefault(require("./data/effectTypeRegistry"));
107
- const operatorRegistry_1 = __importStar(require("./data/operatorRegistry"));
108
- const rarityRegistry_1 = __importStar(require("./data/rarityRegistry"));
109
- const zoneRegistry_1 = __importStar(require("./data/zoneRegistry"));
110
- const subtypeRegistry_1 = __importDefault(require("./data/subtypeRegistry"));
111
- const rendererInterface_1 = require("./_queenSystem/renderer/rendererInterface");
112
- const queenSystemComponents = {
113
- "gameComponent": {
114
- "Action": actionGenrator_1.Action_class,
115
- Card: card_1.default,
116
- Effect: effect_1.default,
117
- Zone_grid: zone_gridBased_1.default, Zone_stack: zone_stackBased_1.default,
118
- "Zone": {
119
- "ParentClass": zone_1.default,
120
- Ability: ability_1.default,
121
- Deck: deck_1.default,
122
- Drop: drop_1.default,
123
- Field: field_1.default,
124
- Grave: grave_1.default,
125
- Hand: hand_1.default,
126
- Storage: storage_1.default,
127
- System: system_1.default,
128
- Void: void_1.default
129
- },
130
- "EffectSubType": {
131
- "ParentClass": effectSubtype_1.default,
132
- Chained: subtype_chained_1.default,
133
- Delayed: subtype_delayed_1.default,
134
- FieldLock: subtype_fieldLock_1.default,
135
- GraveLock: subtype_graveLock_1.default,
136
- HandOrFieldLock: subtype_hand_or_fieldLock_1.default,
137
- HardUnique: subtype_hardUnique_1.default,
138
- Instant: subtype_instant_1.default,
139
- Once: subtype_once_1.default,
140
- Unique: subtype_unique_1.default
141
- },
142
- "EffectType": {
143
- "ParentClass": effectType_1.default,
144
- InitEffect: initEffect_1.default,
145
- LockEffect: lockEffect_1.default,
146
- ManualEffect: manualEffect_1.default,
147
- PassiveEffect: passiveEffect_1.default,
148
- TriggerEffect: triggerEffect_1.default
149
- },
150
- "Serialized": {
151
- SerializedCard: Gamestate_1.SerializedCard,
152
- Serialized_effect: Gamestate_1.Serialized_effect,
153
- SerializedZone: Gamestate_1.SerializedZone,
154
- SerializedPlayer: Gamestate_1.SerializedPlayer,
155
- SerializedSystem: Gamestate_1.SerializedSystem,
156
- },
157
- "Localized": {
158
- LocalizedAction: Localized_1.LocalizedAction,
159
- LocalizedCard: Localized_1.LocalizedCard,
160
- LocalizedEffect: Localized_1.LocalizedEffect,
161
- LocalizedZone: Localized_1.LocalizedZone,
162
- LocalizedPlayer: Localized_1.LocalizedPlayer,
163
- LocalizedSystem: Localized_1.LocalizedSystem,
164
- }
165
- },
166
- "systemComponent": {
167
- "EffectTextParser": effectTextParser_1.default,
168
- "Localizer": localizationHandler_1.default,
169
- "ActionGenerator": actionGenrator_1.actionConstructorRegistry,
170
- "InputRequester": actionInputRequesterGenerator_1.default,
171
- "Renderer": rendererInterface_1.qpRenderer,
172
- "SampleRenderer": rendererInterface_1.sampleRenderer,
173
- },
174
- "displayComponent": {
175
- "ParentClass": parser_1.DisplayComponent,
176
- TextComponent: parser_1.TextComponent,
177
- IconComponent: parser_1.IconComponent,
178
- ReferenceComponent: parser_1.ReferenceComponent,
179
- ImageComponent: parser_1.ImageComponent,
180
- SymbolComponent: parser_1.SymbolComponent,
181
- },
182
- "registry": {
183
- actionRegistry: actionRegistry_1.default,
184
- cardDataRegistry: cardRegistry_1.cardDataRegistry,
185
- effectDataRegistry: effectRegistry_1.default,
186
- effectTypeRegistry: effectTypeRegistry_1.default,
187
- operatorRegistry: operatorRegistry_1.operatorRegistry,
188
- operatorDataRegistry: operatorRegistry_1.default,
189
- rarityRegistry: rarityRegistry_1.rarityRegistry,
190
- rarityDataRegistry: rarityRegistry_1.default,
191
- subtypeRegistry: subtypeRegistry_1.default,
192
- zoneRegistry: zoneRegistry_1.zoneRegistry,
193
- zoneDataRegistry: zoneRegistry_1.default,
194
- },
195
- "setting": {
196
- defaultSetting: settings_1.defaultSetting,
197
- "settingClass": settings_1.Setting,
198
- },
199
- "mod": {
200
- GameModule: gameModule_1.default,
201
- ParserModule: effectTextParserModule_1.ParserModule,
202
- },
203
- };
204
- exports.queenSystemComponents = queenSystemComponents;
205
- exports.default = queenSystem_1.default;
@@ -1,11 +0,0 @@
1
- import { Action } from "../_queenSystem/handler/actionGenrator";
2
- import { dry_card, dry_system } from "../data/systemRegistry";
3
- import Effect from "../types/abstract/gameComponents/effect";
4
- /**@deprecated */
5
- export declare class e_on_atk_destroy extends Effect {
6
- canRespondAndActivate_final(c: dry_card, system: dry_system, a: Action): boolean;
7
- }
8
- declare const _default: {
9
- e_on_atk_destroy: typeof e_on_atk_destroy;
10
- };
11
- export default _default;
@@ -1,36 +0,0 @@
1
- "use strict";
2
- //overriding for very specific conditions
3
- var __importDefault = (this && this.__importDefault) || function (mod) {
4
- return (mod && mod.__esModule) ? mod : { "default": mod };
5
- };
6
- Object.defineProperty(exports, "__esModule", { value: true });
7
- exports.e_on_atk_destroy = void 0;
8
- const effect_1 = __importDefault(require("../types/abstract/gameComponents/effect"));
9
- const systemRegistry_1 = require("../data/systemRegistry");
10
- /**@deprecated */
11
- class e_on_atk_destroy extends effect_1.default {
12
- canRespondAndActivate_final(c, system, a) {
13
- //so logically, it is
14
- //whenever the action resolved an us attacking, deals damage, then destroy that attacked card
15
- //we activate, reactivating this card
16
- //hopefully this works?
17
- let actionChain = system.findSpecificChainOfAction_resolve([
18
- "a_attack",
19
- "a_deal_damage_internal",
20
- "a_destroy",
21
- ]);
22
- if (!actionChain)
23
- return false;
24
- let dmgTarget = actionChain[1].targets[0].card;
25
- let destroyTarget = actionChain[2].targets[0].card;
26
- return (dmgTarget.id === destroyTarget.id &&
27
- actionChain[0].cause.type === systemRegistry_1.identificationType.card &&
28
- actionChain[0].cause.card.id === c.id &&
29
- actionChain[1].cause.type === systemRegistry_1.identificationType.card &&
30
- actionChain[1].cause.card.id === c.id);
31
- }
32
- }
33
- exports.e_on_atk_destroy = e_on_atk_destroy;
34
- exports.default = {
35
- e_on_atk_destroy
36
- };
@@ -1,3 +0,0 @@
1
- import Effect from "../types/abstract/gameComponents/effect";
2
- declare const _default: Record<string, new (...p: any[]) => Effect<any>>;
3
- export default _default;
@@ -1,187 +0,0 @@
1
- "use strict";
2
- var __importDefault = (this && this.__importDefault) || function (mod) {
3
- return (mod && mod.__esModule) ? mod : { "default": mod };
4
- };
5
- Object.defineProperty(exports, "__esModule", { value: true });
6
- const actionGenrator_1 = require("../_queenSystem/handler/actionGenrator");
7
- const actionInputRequesterGenerator_1 = __importDefault(require("../_queenSystem/handler/actionInputRequesterGenerator"));
8
- const zoneRegistry_1 = require("../data/zoneRegistry");
9
- const actionGenrator_2 = require("../_queenSystem/handler/actionGenrator");
10
- const effect_1 = __importDefault(require("../types/abstract/gameComponents/effect"));
11
- const e_generic_1 = require("./e_generic");
12
- const misc_1 = require("../types/misc");
13
- const e_generic_cardTargetting_1 = require("./e_generic_cardTargetting");
14
- class e_autumn extends effect_1.default {
15
- activate_final(c, s, a, input) {
16
- const cards = actionInputRequesterGenerator_1.default.field(s, c).ofSamePlayer(s.getZoneOf(c)).cards().ofArchtype("fruit").ofLevel(1).clean();
17
- const cause = actionGenrator_2.actionFormRegistry.effect(s, c, this);
18
- c.addShareMemory(this, "count", cards.length);
19
- return cards.map(c => actionGenrator_1.actionConstructorRegistry.a_remove_all_effects(s, c)(cause));
20
- }
21
- }
22
- class e_greenhouse extends e_generic_1.e_add_to_hand {
23
- constructor() {
24
- super(...arguments);
25
- this.___target_data_id = "";
26
- }
27
- canRespondAndActivate_final(c, s, a) {
28
- var _a;
29
- if (s.isPlayAction(a) && //a card is played
30
- a.targets[0].card.level <= ((_a = this.attr.get("checkLevel")) !== null && _a !== void 0 ? _a : 1) && //that card level is this eff's checkLevel attr
31
- a.targets[0].card.dataID !== c.dataID && //that card is not "GreenHouse"
32
- a.targets[1].pos.zoneID === c.pos.zoneID && //the target pos is in the same zone as this card
33
- s.getZoneOf(c).isC2Behind(c, a.targets[1]) //the target pos is behind this card
34
- ) {
35
- this.___target_data_id = a.targets[0].card.dataID;
36
- return true;
37
- }
38
- return false;
39
- }
40
- createInputObj(c, s, a) {
41
- //one card from grave with the same name as the saved name
42
- const r1 = actionInputRequesterGenerator_1.default.grave(s, c).ofSamePlayer(s.getZoneOf(c)).cards().ofDataID(this.___target_data_id).once();
43
- const r2 = actionInputRequesterGenerator_1.default.hand(s, c).once();
44
- return r1.merge(r2);
45
- }
46
- }
47
- class e_lemon extends effect_1.default {
48
- activate_final(c, s, a, input) {
49
- const cards = actionInputRequesterGenerator_1.default.field(s, c).ofSamePlayer(s.getZoneOf(c)).cards().ofSameDataID(c).clean();
50
- const cause = actionGenrator_2.actionFormRegistry.effect(s, c, this);
51
- return cards.map(c => actionGenrator_1.actionConstructorRegistry.a_attack(s, c)(cause, {
52
- dmg: c.atk,
53
- dmgType: misc_1.damageType.physical
54
- }));
55
- }
56
- }
57
- class e_pomegranate extends effect_1.default {
58
- get exposedDmg() { var _a; return (_a = this.attr.get("exposedDmg")) !== null && _a !== void 0 ? _a : 0; }
59
- get coveredDmg() { var _a; return (_a = this.attr.get("coveredDmg")) !== null && _a !== void 0 ? _a : 0; }
60
- createInputObj(c, s, a) {
61
- return actionInputRequesterGenerator_1.default.oppositeZoneTo(s, c).once();
62
- }
63
- activate_final(c, s, a, input) {
64
- const zone = input.next();
65
- const cards = zone[0].data.zone.cardArr_filtered;
66
- const cause = actionGenrator_2.actionFormRegistry.card(s, c);
67
- return cards.map(c => actionGenrator_1.actionConstructorRegistry.a_deal_damage_card(s, c)(cause, {
68
- dmg: s.getZoneOf(c).isExposed(c) ? this.exposedDmg : this.coveredDmg,
69
- dmgType: misc_1.damageType.magic
70
- }));
71
- }
72
- getDisplayInput(c, system) {
73
- return [this.exposedDmg, this.coveredDmg];
74
- }
75
- }
76
- class e_pollinate extends effect_1.default {
77
- createInputObj(c, s, a) {
78
- return actionInputRequesterGenerator_1.default.deck(s, c).cards().ofLevel(1).ofArchtype("fruit").filter(c => c.getFirstActualPartitionIndex() >= 0).once();
79
- }
80
- activate_final(c, s, a, input) {
81
- const card = input.next()[0].data.card;
82
- const cards = this.doArchtypeCheck ?
83
- actionInputRequesterGenerator_1.default.hand(s, c).ofSamePlayer(s.getZoneOf(c)).cards().ofLevel(1).ofArchtype("fruit").clean() :
84
- actionInputRequesterGenerator_1.default.hand(s, c).ofSamePlayer(s.getZoneOf(c)).cards().ofLevel(1).clean();
85
- const cause = actionGenrator_2.actionFormRegistry.effect(s, c, this);
86
- const pid = card.getFirstActualPartitionIndex();
87
- return [
88
- ...cards.map(c => actionGenrator_1.actionConstructorRegistry.a_duplicate_effect(s, c)(card)(pid)(cause, {
89
- addedSubtype: ["subtype_once"]
90
- })),
91
- ];
92
- }
93
- }
94
- class e_spring extends effect_1.default {
95
- createInputObj(c, s, a) {
96
- const r1 = actionInputRequesterGenerator_1.default.grave(s, c).ofSamePlayer(s.getZoneOf(c)).cards().ofAtLeastLevel(this.checkLevel).ofArchtype("fruit").once();
97
- const r2 = actionInputRequesterGenerator_1.default.field(s, c).ofSamePlayer(s.getZoneOf(c)).pos().isEmpty().once();
98
- return r1.merge(r2);
99
- }
100
- activate_final(c, s, a, input) {
101
- const n = input.next();
102
- const target_c = n[0].data.card;
103
- const target_pos = n[1].data.pos;
104
- const cause = this.cause(s, c);
105
- const l = actionInputRequesterGenerator_1.default.grave(s, c).ofSamePlayer(s.getZoneOf(c)).cards().ofAtLeastLevel(this.checkLevel).ofArchtype("fruit").filter(c_ => c.id !== c_.id).clean().length - 1;
106
- if (l < 0)
107
- return [];
108
- const a1 = actionGenrator_1.actionConstructorRegistry.a_duplicate_card(s, target_c)(target_pos)(cause, {
109
- followUp: (c) => ((l) => [
110
- actionGenrator_1.actionConstructorRegistry.a_add_status_effect("e_generic_stat_change_diff", true)(s, c)(cause, {
111
- maxAtk: Math.max(l, 3),
112
- })
113
- ])(l),
114
- });
115
- return [a1];
116
- }
117
- }
118
- exports.default = {
119
- //white
120
- e_apple: e_generic_1.e_add_to_hand.implyCondition("c", (c, oldc, s) => c.dataID === oldc.dataID && //selection is same as this card
121
- s.getZoneOf(c).is(zoneRegistry_1.zoneRegistry.z_deck) //selction is from deck
122
- ),
123
- e_banana: e_generic_1.e_revive.implyCondition("c", function (c, oldC, _, _2) {
124
- return c.dataID !== oldC.dataID && //selection is NOT same name as this card
125
- c.level === 1 && //selection is lv1
126
- (!this.doArchtypeCheck || //either dont do archtypecheck or
127
- c.is("fruit") //selection has to be fruit
128
- //this condition is upgrade and not upgrade in one
129
- );
130
- }),
131
- e_lemon,
132
- e_pomegranate,
133
- e_pumpkin: e_generic_1.e_add_stat_change_diff.implyCondition("c", (c, c2) => c.dataID === c2.dataID),
134
- //e_cherry is e_draw
135
- //green
136
- e_greenhouse,
137
- e_pollinate,
138
- //blue
139
- e_autumn,
140
- //e_autumn also has these 2 in its partition:
141
- //e_draw
142
- //e_add_stat_change_diff (if upgraded)
143
- e_spring,
144
- e_summer: e_generic_1.e_add_to_hand.retarget(function (c, s, a) {
145
- const r1 = actionInputRequesterGenerator_1.default.grave(s, c).ofSamePlayer(s.getZoneOf(c)).cards().ofAtLeastLevel(this.checkLevel).ofArchtype("fruit").filter(c => c.dataID !== "c_summer").once(this);
146
- const r2 = actionInputRequesterGenerator_1.default.hand(s, c).ofSamePlayer(s.getZoneOf(c)).once(this);
147
- return r1.merge(r2);
148
- }, (res) => res),
149
- e_winter_1: e_generic_1.e_add_all_to_grave.implyCondition("c", function (c, oldC, s, a) {
150
- return c.is("fruit") && c.dataID !== "c_winter" && c.level === 1;
151
- }).thenShares(function (res, c, s, a, input) {
152
- return ["MaxHp", res.length * this.mult];
153
- }),
154
- e_winter_2: e_generic_1.e_add_stat_change_diff.toAllOfZone(function (c, s, a) {
155
- return actionInputRequesterGenerator_1.default.field(s, c).ofSamePlayer(s.getZoneOf(c)).once();
156
- }),
157
- //e_winter_3 is e_dmg_reduction
158
- e_growth: e_generic_1.e_add_all_to_hand.implyCondition("c", function (c1, c, s, a) {
159
- return (!this.doArchtypeCheck ||
160
- c.is("fruit")) && (s.getZoneOf(c).is(zoneRegistry_1.zoneRegistry.z_grave));
161
- }).thenShares(res => ["count", res.length]),
162
- //red
163
- e_demeter_1: e_generic_1.e_add_all_to_hand.implyCondition("c", (c, _, s) => c.level === 1 && c.isFrom(s, zoneRegistry_1.zoneRegistry.z_grave)),
164
- e_demeter_2: e_generic_1.e_deal_dmg_ahead.listen((c, s, a) => s.isPlayAction(a)),
165
- e_demeter_3: e_generic_1.e_lock.keyCondition((c, s, a) => {
166
- const z = s.getZoneOf(c);
167
- if (!z)
168
- return false;
169
- return actionInputRequesterGenerator_1.default.grave(s, c).ofSamePlayer(z).cards().ofArchtype("fruit").ofLevel(1).clean().length > 0;
170
- }),
171
- e_persephone_1: e_generic_cardTargetting_1.e_void.toAllOfZone((c, s, a) => actionInputRequesterGenerator_1.default.field(s, c).ofSamePlayer(s.getZoneOf(c)).once()).then((res, c, s, a) => {
172
- const l = res.length * 2;
173
- res.push(actionGenrator_1.actionConstructorRegistry.a_add_status_effect("e_generic_stat_change_diff", true)(s, c)(actionGenrator_2.actionFormRegistry.effect(s, c, this), {
174
- maxAtk: l,
175
- }));
176
- return res;
177
- }),
178
- e_persephone_2: e_generic_1.e_add_stat_change_diff.listen((c, s, a) => a.is("a_attack") && a.targets[0].is(c)),
179
- // e_persephone_2_2 : e_deal_damage_card.retargetToAllEnemies(),
180
- e_persephone_3: e_generic_1.e_lock.keyCondition((c, s, a) => {
181
- const z = s.getZoneOf(c);
182
- if (!z)
183
- return false;
184
- const cardsInField = actionInputRequesterGenerator_1.default.field(s, c).ofSamePlayer(z).cards().ofArchtype("fruit").ofLevel(1).clean();
185
- return (new Set(cardsInField.map(c => c.dataID))).size >= 3;
186
- })
187
- };
@@ -1,191 +0,0 @@
1
- import type { Action, Action_class } from "../_queenSystem/handler/actionGenrator";
2
- import type { dry_system, dry_card, inputData_card, inputData_pos, identificationInfo, inputData_zone, inputData_standard } from "../data/systemRegistry";
3
- import Effect from "../types/abstract/gameComponents/effect";
4
- import Instant from "../types/effects/effectSubtypes/subtype_instant";
5
- import { damageType } from "../types/misc";
6
- import { zoneRegistry } from "../data/zoneRegistry";
7
- import { inputRequester_finalized, inputRequester } from "../_queenSystem/handler/actionInputGenerator";
8
- /**
9
- * All typical effects should have 3 versions
10
- * - target c or this
11
- * - target inputs
12
- * - target all of a higher order input (card -> zone, eff -> card)
13
- *
14
- */
15
- export declare class e_quick extends Effect {
16
- protected instant_subtype: Instant;
17
- canRespondAndActivate_final(c: dry_card, system: dry_system, a: Action): boolean;
18
- activate_final(c: dry_card, system: dry_system, a: Action): Action_class<[import("../data/systemRegistry").identificationInfo_action], boolean | [] | import("../data/systemRegistry").identificationInfo_card | import("../data/systemRegistry").identificationInfo_action | import("../data/systemRegistry").identificationInfo_partition | import("../data/systemRegistry").identificationInfo_effect | import("../data/systemRegistry").identificationInfo_none | import("../data/systemRegistry").identificationInfo_player | import("../data/systemRegistry").identificationInfo_pos | import("../data/systemRegistry").identificationInfo_subtype | import("../data/systemRegistry").identificationInfo_zone | import("../data/systemRegistry").identificationInfo_system, Partial<{
19
- doIncreaseTurnCount: boolean;
20
- }> & Partial<{
21
- targets: [];
22
- cause: identificationInfo;
23
- canBeChainedTo: boolean;
24
- canBeTriggeredTo: boolean;
25
- }>>[];
26
- }
27
- export declare class e_attack extends Effect<inputData_card[]> {
28
- get dmg(): number | undefined;
29
- set dmg(val: number);
30
- get dmgType(): damageType;
31
- set dmgType(val: damageType);
32
- getDisplayInput(c: dry_card, system: dry_system): (string | number)[];
33
- createInputObj(c: dry_card, s: dry_system, a: Action): inputRequester<any, inputData_card[], inputData_card[], inputData_standard, inputData_standard, inputData_standard[]>;
34
- canRespondAndActivate_final(c: dry_card, system: dry_system, a: Action): boolean;
35
- activate_final(c: dry_card, s: dry_system, a: Action, input: inputRequester_finalized<inputData_card[]>): Action[];
36
- }
37
- export declare class e_add_to_hand extends Effect<[...inputData_card[], inputData_zone]> {
38
- createInputObj(c: dry_card, s: dry_system, a: Action): inputRequester<any, [...inputData_card[], inputData_zone], [...inputData_card[], inputData_zone], inputData_standard, inputData_standard, inputData_standard[]>;
39
- canRespondAndActivate_final(c: dry_card, system: dry_system, a: Action): boolean;
40
- activate_final(c: dry_card, s: dry_system, a: Action, input: inputRequester_finalized<[...inputData_card[], inputData_zone]>): Action[];
41
- getDisplayInput(c: dry_card, system: dry_system): (string | number)[];
42
- }
43
- export declare class e_add_stat_change_diff extends Effect<inputData_card[]> {
44
- get maxAtk(): number | undefined;
45
- get maxHp(): number | undefined;
46
- get level(): number | undefined;
47
- get statObj(): {
48
- maxAtk?: number;
49
- maxHp?: number;
50
- level?: number;
51
- };
52
- createInputObj(c: dry_card, s: dry_system, a: Action): inputRequester<any, inputData_card[], inputData_card[], inputData_standard, inputData_standard, inputData_standard[]>;
53
- canRespondAndActivate_final(c: dry_card, system: dry_system, a: Action): boolean;
54
- activate_final(c: dry_card, s: dry_system, a: Action, input: inputRequester_finalized<inputData_card[]>): Action[];
55
- getDisplayInput(c: dry_card, system: dry_system): (string | number)[];
56
- }
57
- export declare class e_add_stat_change_override extends e_add_stat_change_diff {
58
- activate_final(c: dry_card, s: dry_system, a: Action, input: inputRequester_finalized<inputData_card[]>): Action[];
59
- }
60
- export declare class e_deal_dmg_ahead extends e_attack {
61
- activate_final(c: dry_card, s: dry_system, a: Action): Action_class<identificationInfo[], any, any>[];
62
- }
63
- export declare class e_revenge extends e_attack {
64
- canRespondAndActivate_final(c: dry_card, system: dry_system, a: Action): boolean;
65
- }
66
- export declare class e_reflect extends e_revenge {
67
- activate_final(c: dry_card, system: dry_system, a: Action, i: any): Action_class<identificationInfo[], any, any>[];
68
- }
69
- export declare class e_dmg_reduction extends Effect {
70
- get reductionAmmount(): number;
71
- set reductionAmmount(val: number);
72
- get minDmg(): number;
73
- set minDmg(val: number);
74
- get reductionDmgType(): number | undefined;
75
- set reductionDmgType(val: number | undefined);
76
- canRespondAndActivate_final(c: dry_card, system: dry_system, a: Action): boolean;
77
- activate_final(c: dry_card, system: dry_system, a: Action<"a_deal_damage_card"> | Action<"a_deal_damage_internal"> | Action<"a_deal_damage_position">): Action_class<[import("../data/systemRegistry").identificationInfo_action], number | boolean | import("../data/systemRegistry").identificationInfo_card | import("../data/systemRegistry").identificationInfo_action | import("../data/systemRegistry").identificationInfo_partition | import("../data/systemRegistry").identificationInfo_effect | import("../data/systemRegistry").identificationInfo_none | import("../data/systemRegistry").identificationInfo_player | import("../data/systemRegistry").identificationInfo_pos | import("../data/systemRegistry").identificationInfo_subtype | import("../data/systemRegistry").identificationInfo_zone | import("../data/systemRegistry").identificationInfo_system | [import("../data/systemRegistry").identificationInfo_card], Partial<{
78
- dmg: number;
79
- dmgType: number;
80
- }> & Partial<{
81
- targets: [import("../data/systemRegistry").identificationInfo_card];
82
- cause: identificationInfo;
83
- canBeChainedTo: boolean;
84
- canBeTriggeredTo: boolean;
85
- }>>[];
86
- }
87
- export declare class e_add_counter extends Effect {
88
- get times(): number;
89
- set times(val: number);
90
- canRespondAndActivate_final(c: dry_card, system: dry_system, a: Action): boolean;
91
- activate_final(c: dry_card, system: dry_system, a: Action): Action_class<identificationInfo[], any, any>[];
92
- }
93
- export declare class e_add_counter_to_targets extends Effect<inputData_card[]> {
94
- get times(): number;
95
- set times(val: number);
96
- createInputObj(c: dry_card, s: dry_system, a: Action): inputRequester<any, inputData_card[], inputData_card[], inputData_standard, inputData_standard, inputData_standard[]>;
97
- canRespondAndActivate_final(c: dry_card, system: dry_system, a: Action): boolean;
98
- activate_final(c: dry_card, s: dry_system, a: Action, input: inputRequester_finalized<inputData_card[]>): Action[];
99
- }
100
- export declare class e_revive extends Effect<[inputData_card, inputData_pos]> {
101
- createInputObj(c: dry_card, s: dry_system, a: Action): inputRequester<any, [inputData_card, inputData_pos], [inputData_card, inputData_pos], inputData_standard, inputData_card, [inputData_pos]>;
102
- activate_final(c: dry_card, s: dry_system, a: Action, input: inputRequester_finalized<[inputData_card, inputData_pos]>): Action[];
103
- }
104
- /**Remove this card when it leaves the field */
105
- export declare class e_volatile extends Effect {
106
- canRespondAndActivate_final(c: dry_card, system: dry_system, a: Action): boolean;
107
- activate_final(c: dry_card, s: dry_system, a: Action): Action_class<[import("../data/systemRegistry").identificationInfo_action], never, {}>[];
108
- }
109
- declare const e_fragile_base: typeof Effect;
110
- /**Destroy self after attack */
111
- export declare class e_fragile extends e_fragile_base {
112
- canRespondAndActivate_final(c: dry_card, system: dry_system, a: Action): boolean;
113
- }
114
- export declare class e_draw extends Effect<[inputData_zone, inputData_zone]> {
115
- get times(): number;
116
- set times(val: number);
117
- get cooldown(): number;
118
- set cooldown(val: number);
119
- get doTurnDraw(): boolean;
120
- set doTurnDraw(val: boolean);
121
- getDisplayInput(c: dry_card, system: dry_system): (string | number)[];
122
- canRespondAndActivate_final(c: dry_card, system: dry_system, a: Action): boolean;
123
- createInputObj(c: dry_card, s: dry_system, a: Action): inputRequester<any, [inputData_zone, inputData_zone], [inputData_zone, inputData_zone], inputData_standard, inputData_zone, [inputData_zone]>;
124
- activate_final(c: dry_card, s: dry_system, a: Action, input: inputRequester_finalized<[inputData_zone, inputData_zone]>): Action[];
125
- }
126
- export declare class e_draw_until extends e_draw {
127
- canRespondAndActivate_final(c: dry_card, system: dry_system, a: Action): boolean;
128
- activate_final(c: dry_card, s: dry_system, a: Action, input: inputRequester_finalized<[inputData_zone, inputData_zone]>): Action[];
129
- }
130
- export declare class e_lock extends Effect {
131
- protected key_condition: (c: dry_card, s: dry_system, a: Action, attr: this["attr"]) => boolean;
132
- canRespondAndActivate_final(c: dry_card, system: dry_system, a: Action): boolean;
133
- activate_final(c: dry_card, s: dry_system, a: Action, input: inputRequester_finalized<inputData_standard[]>): Action[];
134
- static keyCondition(f: (...p: [dry_card, dry_system, Action, Effect["attr"]]) => boolean): (new (...p: any[]) => Effect);
135
- }
136
- export declare class e_bounce extends Effect<[...inputData_card[], inputData_zone]> {
137
- get target_zone(): zoneRegistry;
138
- createInputObj(c: dry_card, s: dry_system, a: Action): inputRequester<any, [...inputData_card[], inputData_zone], [...inputData_card[], inputData_zone], inputData_standard, inputData_standard, inputData_standard[]>;
139
- activate_final(c: dry_card, s: dry_system, a: Action, input: inputRequester_finalized<[...inputData_card[], inputData_zone]>): Action[];
140
- }
141
- export declare class e_delay extends Effect<inputData_card[]> {
142
- get delayCount(): number;
143
- canRespondAndActivate_final(c: dry_card, system: dry_system, a: Action): boolean;
144
- createInputObj(c: dry_card, s: dry_system, a: Action): inputRequester<any, inputData_card[], inputData_card[], inputData_standard, inputData_standard, inputData_standard[]>;
145
- activate_final(c: dry_card, s: dry_system, a: Action, input: inputRequester_finalized<inputData_card[]>): Action[];
146
- }
147
- /**Add all cards of a particular dataID from the same zone too hand */
148
- export declare class e_add_all_to_zone extends Effect<[inputData_card, inputData_zone]> {
149
- protected target_zone: zoneRegistry;
150
- createInputObj(c: dry_card, s: dry_system, a: Action): inputRequester<any, [inputData_card, inputData_zone], [inputData_card, inputData_zone], inputData_standard, inputData_card, [inputData_zone]>;
151
- activate_final(c: dry_card, s: dry_system, a: Action, input: inputRequester_finalized<[inputData_card, inputData_zone]>): Action[];
152
- static to(zType: zoneRegistry): typeof e_add_all_to_zone;
153
- }
154
- export declare class e_remove_all_effects extends Effect<inputData_card[]> {
155
- createInputObj(c: dry_card, s: dry_system, a: Action): inputRequester<any, inputData_card[], inputData_card[], inputData_standard, inputData_standard, inputData_standard[]>;
156
- canRespondAndActivate_final(c: dry_card, system: dry_system, a: Action): boolean;
157
- activate_final(c: dry_card, s: dry_system, a: Action, input: inputRequester_finalized<inputData_card[]>): Action[];
158
- }
159
- export declare class e_deal_dmg_card extends Effect<inputData_card[]> {
160
- get dmg(): number;
161
- get dmgType(): number;
162
- canRespondAndActivate_final(c: dry_card, system: dry_system, a: Action): boolean;
163
- createInputObj(c: dry_card, s: dry_system, a: Action): inputRequester<any, inputData_card[], inputData_card[], inputData_standard, inputData_standard, inputData_standard[]>;
164
- activate_final(c: dry_card, s: dry_system, a: Action, input: inputRequester_finalized<inputData_card[]>): Action[];
165
- }
166
- export declare class e_shuffle_into_deck extends Effect<[...inputData_card[], inputData_zone]> {
167
- get target_zone(): zoneRegistry;
168
- canRespondAndActivate_final(c: dry_card, system: dry_system, a: Action): boolean;
169
- createInputObj(c: dry_card, s: dry_system, a: Action): inputRequester<any, [...inputData_card[], inputData_zone], [...inputData_card[], inputData_zone], inputData_standard, inputData_standard, inputData_standard[]>;
170
- activate_final(c: dry_card, s: dry_system, a: Action, input: inputRequester_finalized<[...inputData_card[], inputData_zone]>): Action[];
171
- }
172
- export declare class e_send_all_to_grave extends Effect<[inputData_card, inputData_zone]> {
173
- createInputObj(c: dry_card, s: dry_system, a: Action): inputRequester<any, [inputData_card, inputData_zone], [inputData_card, inputData_zone], inputData_standard, inputData_card, [inputData_zone]>;
174
- }
175
- export declare const e_add_all_to_hand: typeof e_add_all_to_zone;
176
- export declare const e_add_all_to_grave: typeof e_add_all_to_zone;
177
- export declare class e_capacitor_1 extends Effect<[]> {
178
- canRespondAndActivate_final(c: dry_card, s: dry_system, a: Action): boolean;
179
- activate_final(c: dry_card, s: dry_system, a: Action, input: undefined): Action[];
180
- }
181
- export declare class e_capacitor_2 extends Effect<[]> {
182
- canRespondAndActivate_final(c: dry_card, system: dry_system, a: Action): boolean;
183
- activate_final(c: dry_card, s: dry_system, a: Action, input: undefined): Action[];
184
- }
185
- export declare class e_reset_all_once extends Effect<inputData_card[]> {
186
- canRespondAndActivate_final(c: dry_card, system: dry_system, a: Action): boolean;
187
- createInputObj(c: dry_card, s: dry_system, a: Action): inputRequester<any, inputData_card[], inputData_card[], inputData_standard, inputData_standard, inputData_standard[]>;
188
- activate_final(c: dry_card, s: dry_system, a: Action, input: inputRequester_finalized<inputData_card[]>): Action[];
189
- }
190
- declare const _default: Record<string, new (...p: any[]) => Effect<any>>;
191
- export default _default;