qpremake 1.5.1
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/README.md +184 -0
- package/lib/_localizationFiles/English.d.ts +2 -0
- package/lib/_localizationFiles/English.js +307 -0
- package/lib/_mods/parserModules/addSymbol.d.ts +7 -0
- package/lib/_mods/parserModules/addSymbol.js +18 -0
- package/lib/_mods/parserModules/expression.d.ts +7 -0
- package/lib/_mods/parserModules/expression.js +45 -0
- package/lib/_mods/parserModules/expression_parser.d.ts +143 -0
- package/lib/_mods/parserModules/expression_parser.js +728 -0
- package/lib/_mods/parserModules/img.d.ts +8 -0
- package/lib/_mods/parserModules/img.js +42 -0
- package/lib/_mods/parserModules/qpOriginal.d.ts +5 -0
- package/lib/_mods/parserModules/qpOriginal.js +27 -0
- package/lib/_mods/parserModules/sectionID.d.ts +13 -0
- package/lib/_mods/parserModules/sectionID.js +56 -0
- package/lib/_mods/parserModules/tags.d.ts +9 -0
- package/lib/_mods/parserModules/tags.js +29 -0
- package/lib/_mods/parserModules/uaddminus.d.ts +9 -0
- package/lib/_mods/parserModules/uaddminus.js +42 -0
- package/lib/_mods/parserModules/variantCheck.d.ts +10 -0
- package/lib/_mods/parserModules/variantCheck.js +53 -0
- package/lib/_queenSystem/handler/actionGenrator.d.ts +994 -0
- package/lib/_queenSystem/handler/actionGenrator.js +646 -0
- package/lib/_queenSystem/handler/actionInputGenerator.d.ts +95 -0
- package/lib/_queenSystem/handler/actionInputGenerator.js +373 -0
- package/lib/_queenSystem/handler/actionInputRequesterGenerator.d.ts +92 -0
- package/lib/_queenSystem/handler/actionInputRequesterGenerator.js +341 -0
- package/lib/_queenSystem/handler/cardHandler.d.ts +20 -0
- package/lib/_queenSystem/handler/cardHandler.js +61 -0
- package/lib/_queenSystem/handler/effectGenerator.d.ts +1 -0
- package/lib/_queenSystem/handler/effectGenerator.js +127 -0
- package/lib/_queenSystem/handler/localizationHandler.d.ts +28 -0
- package/lib/_queenSystem/handler/localizationHandler.js +166 -0
- package/lib/_queenSystem/handler/modHandler.d.ts +10 -0
- package/lib/_queenSystem/handler/modHandler.js +36 -0
- package/lib/_queenSystem/handler/oldDataProcessor.d.ts +9 -0
- package/lib/_queenSystem/handler/oldDataProcessor.js +129 -0
- package/lib/_queenSystem/handler/registryHandler.d.ts +36 -0
- package/lib/_queenSystem/handler/registryHandler.js +63 -0
- package/lib/_queenSystem/handler/zoneHandler.d.ts +102 -0
- package/lib/_queenSystem/handler/zoneHandler.js +606 -0
- package/lib/_queenSystem/loader/loader_card.d.ts +20 -0
- package/lib/_queenSystem/loader/loader_card.js +124 -0
- package/lib/_queenSystem/loader/loader_effect.d.ts +27 -0
- package/lib/_queenSystem/loader/loader_effect.js +163 -0
- package/lib/_queenSystem/loader/loader_handler.d.ts +11 -0
- package/lib/_queenSystem/loader/loader_handler.js +24 -0
- package/lib/_queenSystem/loader/loader_localization.d.ts +11 -0
- package/lib/_queenSystem/loader/loader_localization.js +73 -0
- package/lib/_queenSystem/loader/loader_mod.d.ts +10 -0
- package/lib/_queenSystem/loader/loader_mod.js +72 -0
- package/lib/_queenSystem/loader/loader_subtype.d.ts +9 -0
- package/lib/_queenSystem/loader/loader_subtype.js +39 -0
- package/lib/_queenSystem/loader/loader_type.d.ts +9 -0
- package/lib/_queenSystem/loader/loader_type.js +39 -0
- package/lib/_queenSystem/loader/loader_zone.d.ts +14 -0
- package/lib/_queenSystem/loader/loader_zone.js +35 -0
- package/lib/_queenSystem/queenSystem.d.ts +127 -0
- package/lib/_queenSystem/queenSystem.js +996 -0
- package/lib/_queenSystem/renderer/rendererInterface.d.ts +9 -0
- package/lib/_queenSystem/renderer/rendererInterface.js +2 -0
- package/lib/data/actionRegistry.d.ts +56 -0
- package/lib/data/actionRegistry.js +60 -0
- package/lib/data/cardRegistry.d.ts +1162 -0
- package/lib/data/cardRegistry.js +716 -0
- package/lib/data/deckRegistry.d.ts +19 -0
- package/lib/data/deckRegistry.js +41 -0
- package/lib/data/effectRegistry.d.ts +465 -0
- package/lib/data/effectRegistry.js +151 -0
- package/lib/data/effectTypeRegistry.d.ts +14 -0
- package/lib/data/effectTypeRegistry.js +14 -0
- package/lib/data/operatorRegistry.d.ts +92 -0
- package/lib/data/operatorRegistry.js +82 -0
- package/lib/data/rarityRegistry.d.ts +28 -0
- package/lib/data/rarityRegistry.js +63 -0
- package/lib/data/registryRegistry.d.ts +10 -0
- package/lib/data/registryRegistry.js +14 -0
- package/lib/data/subtypeRegistry.d.ts +15 -0
- package/lib/data/subtypeRegistry.js +15 -0
- package/lib/data/systemRegistry.d.ts +253 -0
- package/lib/data/systemRegistry.js +56 -0
- package/lib/data/zoneRegistry.d.ts +43 -0
- package/lib/data/zoneRegistry.js +157 -0
- package/lib/effectTextParser/index.d.ts +42 -0
- package/lib/effectTextParser/index.js +316 -0
- package/lib/global/index.d.ts +8 -0
- package/lib/global/index.js +12 -0
- package/lib/index.d.ts +6344 -0
- package/lib/index.js +213 -0
- package/lib/specificEffects/e_cond.d.ts +11 -0
- package/lib/specificEffects/e_cond.js +36 -0
- package/lib/specificEffects/e_fruit.d.ts +3 -0
- package/lib/specificEffects/e_fruit.js +187 -0
- package/lib/specificEffects/e_generic.d.ts +191 -0
- package/lib/specificEffects/e_generic.js +662 -0
- package/lib/specificEffects/e_generic_cardTargetting.d.ts +38 -0
- package/lib/specificEffects/e_generic_cardTargetting.js +82 -0
- package/lib/specificEffects/e_generic_noneTargetting.d.ts +10 -0
- package/lib/specificEffects/e_generic_noneTargetting.js +26 -0
- package/lib/specificEffects/e_status.d.ts +80 -0
- package/lib/specificEffects/e_status.js +151 -0
- package/lib/specificEffects/e_test.d.ts +3 -0
- package/lib/specificEffects/e_test.js +21 -0
- package/lib/types/abstract/gameComponents/API.d.ts +19 -0
- package/lib/types/abstract/gameComponents/API.js +2 -0
- package/lib/types/abstract/gameComponents/card.d.ts +108 -0
- package/lib/types/abstract/gameComponents/card.js +771 -0
- package/lib/types/abstract/gameComponents/effect.d.ts +82 -0
- package/lib/types/abstract/gameComponents/effect.js +331 -0
- package/lib/types/abstract/gameComponents/effectSubtype.d.ts +22 -0
- package/lib/types/abstract/gameComponents/effectSubtype.js +40 -0
- package/lib/types/abstract/gameComponents/effectType.d.ts +11 -0
- package/lib/types/abstract/gameComponents/effectType.js +8 -0
- package/lib/types/abstract/gameComponents/settings.d.ts +80 -0
- package/lib/types/abstract/gameComponents/settings.js +68 -0
- package/lib/types/abstract/gameComponents/zone.d.ts +113 -0
- package/lib/types/abstract/gameComponents/zone.js +614 -0
- package/lib/types/abstract/gameComponents/zone_gridBased.d.ts +18 -0
- package/lib/types/abstract/gameComponents/zone_gridBased.js +58 -0
- package/lib/types/abstract/gameComponents/zone_stackBased.d.ts +13 -0
- package/lib/types/abstract/gameComponents/zone_stackBased.js +55 -0
- package/lib/types/abstract/generics/node.d.ts +23 -0
- package/lib/types/abstract/generics/node.js +46 -0
- package/lib/types/abstract/generics/position.d.ts +23 -0
- package/lib/types/abstract/generics/position.js +91 -0
- package/lib/types/abstract/generics/tree.d.ts +25 -0
- package/lib/types/abstract/generics/tree.js +153 -0
- package/lib/types/abstract/generics/universalResponse.d.ts +4 -0
- package/lib/types/abstract/generics/universalResponse.js +2 -0
- package/lib/types/abstract/generics/wraper.d.ts +21 -0
- package/lib/types/abstract/generics/wraper.js +56 -0
- package/lib/types/abstract/parser/component.d.ts +88 -0
- package/lib/types/abstract/parser/component.js +132 -0
- package/lib/types/abstract/parser/index.d.ts +6 -0
- package/lib/types/abstract/parser/index.js +28 -0
- package/lib/types/abstract/parser/modPack.d.ts +21 -0
- package/lib/types/abstract/parser/modPack.js +48 -0
- package/lib/types/abstract/parser/moduleInputObject.d.ts +12 -0
- package/lib/types/abstract/parser/moduleInputObject.js +21 -0
- package/lib/types/abstract/parser/options.d.ts +31 -0
- package/lib/types/abstract/parser/options.js +45 -0
- package/lib/types/abstract/serializedGameComponents/Gamestate.d.ts +46 -0
- package/lib/types/abstract/serializedGameComponents/Gamestate.js +70 -0
- package/lib/types/abstract/serializedGameComponents/Localized.d.ts +69 -0
- package/lib/types/abstract/serializedGameComponents/Localized.js +84 -0
- package/lib/types/defaultZones/ability.d.ts +10 -0
- package/lib/types/defaultZones/ability.js +22 -0
- package/lib/types/defaultZones/deck.d.ts +25 -0
- package/lib/types/defaultZones/deck.js +90 -0
- package/lib/types/defaultZones/drop.d.ts +5 -0
- package/lib/types/defaultZones/drop.js +13 -0
- package/lib/types/defaultZones/field.d.ts +11 -0
- package/lib/types/defaultZones/field.js +35 -0
- package/lib/types/defaultZones/grave.d.ts +8 -0
- package/lib/types/defaultZones/grave.js +21 -0
- package/lib/types/defaultZones/hand.d.ts +5 -0
- package/lib/types/defaultZones/hand.js +14 -0
- package/lib/types/defaultZones/storage.d.ts +9 -0
- package/lib/types/defaultZones/storage.js +21 -0
- package/lib/types/defaultZones/system.d.ts +12 -0
- package/lib/types/defaultZones/system.js +35 -0
- package/lib/types/defaultZones/void.d.ts +4 -0
- package/lib/types/defaultZones/void.js +10 -0
- package/lib/types/effects/effectSubtypes/subtype_chained.d.ts +10 -0
- package/lib/types/effects/effectSubtypes/subtype_chained.js +17 -0
- package/lib/types/effects/effectSubtypes/subtype_delayed.d.ts +9 -0
- package/lib/types/effects/effectSubtypes/subtype_delayed.js +16 -0
- package/lib/types/effects/effectSubtypes/subtype_fieldLock.d.ts +9 -0
- package/lib/types/effects/effectSubtypes/subtype_fieldLock.js +21 -0
- package/lib/types/effects/effectSubtypes/subtype_graveLock.d.ts +9 -0
- package/lib/types/effects/effectSubtypes/subtype_graveLock.js +21 -0
- package/lib/types/effects/effectSubtypes/subtype_hand_or_fieldLock.d.ts +9 -0
- package/lib/types/effects/effectSubtypes/subtype_hand_or_fieldLock.js +21 -0
- package/lib/types/effects/effectSubtypes/subtype_hardUnique.d.ts +9 -0
- package/lib/types/effects/effectSubtypes/subtype_hardUnique.js +15 -0
- package/lib/types/effects/effectSubtypes/subtype_instant.d.ts +8 -0
- package/lib/types/effects/effectSubtypes/subtype_instant.js +20 -0
- package/lib/types/effects/effectSubtypes/subtype_once.d.ts +12 -0
- package/lib/types/effects/effectSubtypes/subtype_once.js +27 -0
- package/lib/types/effects/effectSubtypes/subtype_unique.d.ts +9 -0
- package/lib/types/effects/effectSubtypes/subtype_unique.js +16 -0
- package/lib/types/effects/effectTypes/initEffect.d.ts +7 -0
- package/lib/types/effects/effectTypes/initEffect.js +23 -0
- package/lib/types/effects/effectTypes/lockEffect.d.ts +9 -0
- package/lib/types/effects/effectTypes/lockEffect.js +25 -0
- package/lib/types/effects/effectTypes/manualEffect.d.ts +9 -0
- package/lib/types/effects/effectTypes/manualEffect.js +18 -0
- package/lib/types/effects/effectTypes/passiveEffect.d.ts +9 -0
- package/lib/types/effects/effectTypes/passiveEffect.js +23 -0
- package/lib/types/effects/effectTypes/triggerEffect.d.ts +9 -0
- package/lib/types/effects/effectTypes/triggerEffect.js +28 -0
- package/lib/types/errors/cannotLoad.d.ts +5 -0
- package/lib/types/errors/cannotLoad.js +13 -0
- package/lib/types/errors/cardNotExist.d.ts +5 -0
- package/lib/types/errors/cardNotExist.js +13 -0
- package/lib/types/errors/cardNotInApplicableZone.d.ts +5 -0
- package/lib/types/errors/cardNotInApplicableZone.js +13 -0
- package/lib/types/errors/effectCondNotMet.d.ts +5 -0
- package/lib/types/errors/effectCondNotMet.js +13 -0
- package/lib/types/errors/effectNotExist.d.ts +5 -0
- package/lib/types/errors/effectNotExist.js +13 -0
- package/lib/types/errors/error.d.ts +17 -0
- package/lib/types/errors/error.js +42 -0
- package/lib/types/errors/incorrectActionType.d.ts +5 -0
- package/lib/types/errors/incorrectActionType.js +13 -0
- package/lib/types/errors/index.d.ts +16 -0
- package/lib/types/errors/index.js +36 -0
- package/lib/types/errors/invalidOrderMap.d.ts +6 -0
- package/lib/types/errors/invalidOrderMap.js +14 -0
- package/lib/types/errors/invalidPosition.d.ts +6 -0
- package/lib/types/errors/invalidPosition.js +13 -0
- package/lib/types/errors/subTypeOverrideConflict.d.ts +7 -0
- package/lib/types/errors/subTypeOverrideConflict.js +15 -0
- package/lib/types/errors/unknownError.d.ts +5 -0
- package/lib/types/errors/unknownError.js +13 -0
- package/lib/types/errors/unregisteredAction.d.ts +6 -0
- package/lib/types/errors/unregisteredAction.js +13 -0
- package/lib/types/errors/wrongEffectIdx.d.ts +5 -0
- package/lib/types/errors/wrongEffectIdx.js +14 -0
- package/lib/types/errors/zoneAttrConflict.d.ts +5 -0
- package/lib/types/errors/zoneAttrConflict.js +15 -0
- package/lib/types/errors/zoneFull.d.ts +5 -0
- package/lib/types/errors/zoneFull.js +13 -0
- package/lib/types/errors/zoneNotExist.d.ts +5 -0
- package/lib/types/errors/zoneNotExist.js +13 -0
- package/lib/types/misc.d.ts +97 -0
- package/lib/types/misc.js +8 -0
- package/lib/types/mods/effectTextParserModule.d.ts +16 -0
- package/lib/types/mods/effectTextParserModule.js +81 -0
- package/lib/types/mods/gameModule.d.ts +5 -0
- package/lib/types/mods/gameModule.js +8 -0
- package/lib/utils/index.d.ts +78 -0
- package/lib/utils/index.js +562 -0
- package/package.json +45 -0
|
@@ -0,0 +1,716 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.cardDataRegistry = exports.type_and_or_subtype_inference_method = exports.partitionActivationBehavior = void 0;
|
|
4
|
+
exports.defaultPartition = defaultPartition;
|
|
5
|
+
exports.oldImgURL = oldImgURL;
|
|
6
|
+
//update 1.2.9: changed the definitions of these
|
|
7
|
+
//If changed in future to no longer be activating the entire partition if activate
|
|
8
|
+
//change activatePartition in card
|
|
9
|
+
var partitionActivationBehavior;
|
|
10
|
+
(function (partitionActivationBehavior) {
|
|
11
|
+
partitionActivationBehavior[partitionActivationBehavior["strict"] = 0] = "strict";
|
|
12
|
+
partitionActivationBehavior[partitionActivationBehavior["first"] = 1] = "first";
|
|
13
|
+
partitionActivationBehavior[partitionActivationBehavior["last"] = 2] = "last";
|
|
14
|
+
})(partitionActivationBehavior || (exports.partitionActivationBehavior = partitionActivationBehavior = {}));
|
|
15
|
+
var type_and_or_subtype_inference_method;
|
|
16
|
+
(function (type_and_or_subtype_inference_method) {
|
|
17
|
+
type_and_or_subtype_inference_method[type_and_or_subtype_inference_method["first"] = 0] = "first";
|
|
18
|
+
type_and_or_subtype_inference_method[type_and_or_subtype_inference_method["most"] = 1] = "most";
|
|
19
|
+
type_and_or_subtype_inference_method[type_and_or_subtype_inference_method["all"] = 2] = "all";
|
|
20
|
+
})(type_and_or_subtype_inference_method || (exports.type_and_or_subtype_inference_method = type_and_or_subtype_inference_method = {}));
|
|
21
|
+
const rarityRegistry_1 = require("./rarityRegistry");
|
|
22
|
+
function defaultPartition(id, num = 0) {
|
|
23
|
+
num = Array.isArray(num) ? num : [num];
|
|
24
|
+
return {
|
|
25
|
+
behaviorID: partitionActivationBehavior.first,
|
|
26
|
+
mapping: num,
|
|
27
|
+
displayID: id,
|
|
28
|
+
typeID: type_and_or_subtype_inference_method.first,
|
|
29
|
+
subTypeID: type_and_or_subtype_inference_method.all
|
|
30
|
+
};
|
|
31
|
+
}
|
|
32
|
+
function oldImgURL(oldID) {
|
|
33
|
+
return `https://raw.githubusercontent.com/qpProject/qpProject.github.io/refs/heads/main/cards/${oldID}.png`;
|
|
34
|
+
}
|
|
35
|
+
//Welp am creating another system for this stuff
|
|
36
|
+
class quickCardData extends Function {
|
|
37
|
+
constructor() {
|
|
38
|
+
super();
|
|
39
|
+
this.data = {
|
|
40
|
+
variantData: {
|
|
41
|
+
base: {
|
|
42
|
+
level: 1,
|
|
43
|
+
rarityID: rarityRegistry_1.rarityRegistry.r_white,
|
|
44
|
+
extensionArr: [],
|
|
45
|
+
belongTo: [],
|
|
46
|
+
atk: 0,
|
|
47
|
+
hp: 1,
|
|
48
|
+
effects: {},
|
|
49
|
+
imgURL: "",
|
|
50
|
+
partition: [],
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
};
|
|
54
|
+
this.T_this = 0;
|
|
55
|
+
}
|
|
56
|
+
//Adding belong to others if belongTo is empty
|
|
57
|
+
fin() {
|
|
58
|
+
if (this.data.variantData.base.belongTo.length === 0)
|
|
59
|
+
this.data.variantData.base.belongTo = ["other"];
|
|
60
|
+
return this.data;
|
|
61
|
+
}
|
|
62
|
+
//effects are added to the last partition
|
|
63
|
+
rarity(rarity) {
|
|
64
|
+
this.data.variantData.base.rarityID = rarity;
|
|
65
|
+
return this;
|
|
66
|
+
}
|
|
67
|
+
img(oldCardName) {
|
|
68
|
+
this.data.variantData.base.imgURL = oldImgURL(oldCardName);
|
|
69
|
+
return this;
|
|
70
|
+
}
|
|
71
|
+
archtype(archtype) {
|
|
72
|
+
this.data.variantData.base.belongTo.push(archtype);
|
|
73
|
+
this.data.variantData.base.extensionArr.push(archtype);
|
|
74
|
+
return this;
|
|
75
|
+
}
|
|
76
|
+
extension(ex) {
|
|
77
|
+
this.data.variantData.base.extensionArr.push(ex);
|
|
78
|
+
return this;
|
|
79
|
+
}
|
|
80
|
+
belongTo(ex) {
|
|
81
|
+
this.data.variantData.base.belongTo.push(ex);
|
|
82
|
+
return this;
|
|
83
|
+
}
|
|
84
|
+
enemy() {
|
|
85
|
+
return this.belongTo("enemy");
|
|
86
|
+
}
|
|
87
|
+
atk(atk) {
|
|
88
|
+
this.data.variantData.base.atk = atk;
|
|
89
|
+
return this;
|
|
90
|
+
}
|
|
91
|
+
hp(hp) {
|
|
92
|
+
this.data.variantData.base.hp = hp;
|
|
93
|
+
return this;
|
|
94
|
+
}
|
|
95
|
+
level(level) {
|
|
96
|
+
this.data.variantData.base.level = level;
|
|
97
|
+
return this;
|
|
98
|
+
}
|
|
99
|
+
variant(key, data) {
|
|
100
|
+
this.data.variantData[key] = data;
|
|
101
|
+
return this;
|
|
102
|
+
}
|
|
103
|
+
upgrade(data) {
|
|
104
|
+
return this.variant("upgrade_1", data);
|
|
105
|
+
}
|
|
106
|
+
effect(data) {
|
|
107
|
+
this.data.variantData.base.effects = data.effects;
|
|
108
|
+
this.data.variantData.base.partition = data.partition;
|
|
109
|
+
return this;
|
|
110
|
+
}
|
|
111
|
+
//quickhand stat, tailwind inspired
|
|
112
|
+
static get def() { return new quickCardData().toFunc(); }
|
|
113
|
+
static get green() { return new quickCardData().rarity(rarityRegistry_1.rarityRegistry.r_green).toFunc(); }
|
|
114
|
+
static get blue() { return new quickCardData().rarity(rarityRegistry_1.rarityRegistry.r_blue).toFunc(); }
|
|
115
|
+
static get red() { return new quickCardData().rarity(rarityRegistry_1.rarityRegistry.r_red).toFunc(); }
|
|
116
|
+
static get algo() { return new quickCardData().rarity(rarityRegistry_1.rarityRegistry.r_algo).toFunc(); }
|
|
117
|
+
static get ability() { return new quickCardData().rarity(rarityRegistry_1.rarityRegistry.r_ability).toFunc(); }
|
|
118
|
+
get l0() { return this.level(0); }
|
|
119
|
+
get l2() { return this.level(2); }
|
|
120
|
+
get l3() { return this.level(3); }
|
|
121
|
+
static get l0() { return new quickCardData().l0.toFunc(); }
|
|
122
|
+
static get l2() { return new quickCardData().l2.toFunc(); }
|
|
123
|
+
static get l3() { return new quickCardData().l3.toFunc(); }
|
|
124
|
+
get atk1() { return this.atk(1); }
|
|
125
|
+
get atk2() { return this.atk(2); }
|
|
126
|
+
get atk3() { return this.atk(3); }
|
|
127
|
+
get atk4() { return this.atk(4); }
|
|
128
|
+
get atk5() { return this.atk(5); }
|
|
129
|
+
get hp2() { return this.hp(2); }
|
|
130
|
+
get hp3() { return this.hp(3); }
|
|
131
|
+
get hp4() { return this.hp(4); }
|
|
132
|
+
get hp5() { return this.hp(5); }
|
|
133
|
+
get hp6() { return this.hp(6); }
|
|
134
|
+
get hp7() { return this.hp(7); }
|
|
135
|
+
get hp8() { return this.hp(8); }
|
|
136
|
+
get hp9() { return this.hp(9); }
|
|
137
|
+
get hp10() { return this.hp(10); }
|
|
138
|
+
stat(stat0, stat1) {
|
|
139
|
+
return this.atk(stat0).hp(stat1);
|
|
140
|
+
}
|
|
141
|
+
static stat(stat0, stat1) {
|
|
142
|
+
return new quickCardData().atk(stat0).hp(stat1).toFunc();
|
|
143
|
+
}
|
|
144
|
+
toFunc() {
|
|
145
|
+
return new Proxy(this, {
|
|
146
|
+
apply(target) {
|
|
147
|
+
return target.fin();
|
|
148
|
+
}
|
|
149
|
+
});
|
|
150
|
+
}
|
|
151
|
+
}
|
|
152
|
+
class quickEffectInfo extends Function {
|
|
153
|
+
constructor() {
|
|
154
|
+
super();
|
|
155
|
+
this.data = {
|
|
156
|
+
effects: {},
|
|
157
|
+
partition: []
|
|
158
|
+
};
|
|
159
|
+
this.effCountArr = 0;
|
|
160
|
+
this.currPartition = 0;
|
|
161
|
+
this.T_this = 0;
|
|
162
|
+
}
|
|
163
|
+
p_start(id) {
|
|
164
|
+
this.data.partition[this.currPartition] = defaultPartition(id);
|
|
165
|
+
return this;
|
|
166
|
+
}
|
|
167
|
+
p(id) {
|
|
168
|
+
this.currPartition++;
|
|
169
|
+
this.data.partition[this.currPartition] = defaultPartition(id, this.effCountArr);
|
|
170
|
+
return this;
|
|
171
|
+
}
|
|
172
|
+
e(key, obj) {
|
|
173
|
+
this.data.effects[key] = obj;
|
|
174
|
+
this.data.partition[this.currPartition].mapping.push(this.effCountArr);
|
|
175
|
+
this.data.partition[this.currPartition].mapping = Array.from(new Set(this.data.partition[this.currPartition].mapping));
|
|
176
|
+
this.effCountArr++;
|
|
177
|
+
return this;
|
|
178
|
+
}
|
|
179
|
+
displayID(id) {
|
|
180
|
+
this.data.partition[this.currPartition].displayID = id;
|
|
181
|
+
return this;
|
|
182
|
+
}
|
|
183
|
+
behavior(be) {
|
|
184
|
+
this.data.partition[this.currPartition].behaviorID = be;
|
|
185
|
+
return this;
|
|
186
|
+
}
|
|
187
|
+
static def(displayID) {
|
|
188
|
+
return new quickEffectInfo().p_start(displayID).toFunc();
|
|
189
|
+
}
|
|
190
|
+
fin() {
|
|
191
|
+
return this.data;
|
|
192
|
+
}
|
|
193
|
+
toFunc() {
|
|
194
|
+
return new Proxy(this, {
|
|
195
|
+
apply(target) {
|
|
196
|
+
return target.fin();
|
|
197
|
+
}
|
|
198
|
+
});
|
|
199
|
+
}
|
|
200
|
+
}
|
|
201
|
+
//TODO : change to const later
|
|
202
|
+
const cardDataRegistry //: {[key : string] : Omit<cardData, "id">}
|
|
203
|
+
= {
|
|
204
|
+
//zero eff stuff
|
|
205
|
+
//removed the 2 unused nova card that wont work anyway
|
|
206
|
+
c_blank: quickCardData.def.img("puzzleBlank")(),
|
|
207
|
+
c_knife: quickCardData.def.extension(".hck").stat(3, 5).img("quantumKnifeTutorial")(),
|
|
208
|
+
c_quantum_sigil: quickCardData.def.img("quantumSigil")(),
|
|
209
|
+
c_sentry: quickCardData.def.extension("sc").enemy().stat(1, 2).img("enemySentry")(),
|
|
210
|
+
c_stagemarker: quickCardData.def.img("stageMarker")(),
|
|
211
|
+
c_security: quickCardData.def.extension("x").img("securityLock")(),
|
|
212
|
+
c_objective_data: quickCardData.def.extension("txt").img("objectiveData1")(),
|
|
213
|
+
c_active: quickCardData.green.img("openingDungeonMark")(),
|
|
214
|
+
c_dummy: quickCardData.def.img("puzzleDummy")(),
|
|
215
|
+
c_loot_dummy: quickCardData.def.img("lootDummy")(),
|
|
216
|
+
c_lock_core: quickCardData.red.img("queenLockCore")(),
|
|
217
|
+
c_machine_block: quickCardData.def.stat(0, 2).img("machineBlock").variant("2", { hp: 3, imgURL: oldImgURL("machineBlock2") })(),
|
|
218
|
+
c_machine_coin: quickCardData.def.img("machineCoin")(),
|
|
219
|
+
c_brain_queen: quickCardData.def.img("brainQueen")(),
|
|
220
|
+
c_story_oxygen: quickCardData.def.img("storyOxygen")(),
|
|
221
|
+
c_story_hydrogen: quickCardData.def.img("storyHydrogen")(),
|
|
222
|
+
c_story_backdoor: quickCardData.def.img("storyBackdoor")(),
|
|
223
|
+
c_flower_hologram: quickCardData.def.img("flowerHologram")(),
|
|
224
|
+
c_dark_power: quickCardData.stat(2, 2).img("bossB10MinionSpawn")(),
|
|
225
|
+
c_zira_defeat: quickCardData.red.l3.belongTo("boss").extension("z").img("bossCometDefeat")(),
|
|
226
|
+
c_bug_passive: quickCardData.stat(0, 4).enemy().extension("mw").img("enemyPassiveBug")(),
|
|
227
|
+
c_stagemark: quickCardData.def.enemy().img("enemyStageTarget")(),
|
|
228
|
+
c_strong_bug: quickCardData.stat(2, 3).enemy().extension("mw").img("enemyStrongBug").upgrade({ atk: 3, hp: 5 })(),
|
|
229
|
+
c_firewall: quickCardData.stat(0, 3).enemy().extension("sc").img("enemyWeakWall")(),
|
|
230
|
+
c_target: quickCardData.def.enemy().img("enemyWeakTarget")(),
|
|
231
|
+
c_curse: quickCardData.def.extension("x").belongTo("boss").img("miniboss1")(),
|
|
232
|
+
c_legion_token: quickCardData.stat(1, 1).archtype("legion").img("vampGen2_minion").upgrade({ atk: 2 } //check syka for stat info
|
|
233
|
+
)(),
|
|
234
|
+
c_nova_protean: quickCardData.stat(2, 2).archtype("nova").img("novaStandard").upgrade({ atk: 3, hp: 3 })(),
|
|
235
|
+
//generics
|
|
236
|
+
//white
|
|
237
|
+
c_after_burner: quickCardData.def.archtype("generic").effect(quickEffectInfo
|
|
238
|
+
.def()
|
|
239
|
+
.e("e_draw_until", { count: 2 })
|
|
240
|
+
.p()
|
|
241
|
+
.e("e_quick", {})()).upgrade({
|
|
242
|
+
effects: quickEffectInfo
|
|
243
|
+
.def()
|
|
244
|
+
.e("e_draw_until", { count: 3 })
|
|
245
|
+
.e("e_quick", {})().effects
|
|
246
|
+
})(),
|
|
247
|
+
c_battery: quickCardData.def.archtype("generic").effect(quickEffectInfo
|
|
248
|
+
.def("e_turn_draw")
|
|
249
|
+
.e("e_draw", { doTurnDraw: 1 })()).upgrade(quickEffectInfo
|
|
250
|
+
.def("e_turn_draw")
|
|
251
|
+
.e("e_draw", { doTurnDraw: 1 })
|
|
252
|
+
.p()
|
|
253
|
+
.e("e_quick", {})())(),
|
|
254
|
+
c_flash_bang: quickCardData.def.archtype("generic").effect(quickEffectInfo
|
|
255
|
+
.def()
|
|
256
|
+
.e("e_delay_all", { delayCount: 3 })
|
|
257
|
+
.p()
|
|
258
|
+
.e("e_quick", {})()).upgrade({
|
|
259
|
+
effects: quickEffectInfo
|
|
260
|
+
.def()
|
|
261
|
+
.e("e_delay_all", { delayCount: 4 })
|
|
262
|
+
.p()
|
|
263
|
+
.e("e_quick", {})().effects
|
|
264
|
+
})(),
|
|
265
|
+
c_cinder: quickCardData.def.archtype("generic").effect(quickEffectInfo
|
|
266
|
+
.def()
|
|
267
|
+
.e("e_delay_all", { delayCount: 2 })
|
|
268
|
+
.e("e_quick", {})()).upgrade({
|
|
269
|
+
effects: quickEffectInfo
|
|
270
|
+
.def()
|
|
271
|
+
.e("e_delay_all", { delayCount: 3 })
|
|
272
|
+
.e("e_quick", {})().effects
|
|
273
|
+
})(),
|
|
274
|
+
c_ember: quickCardData.def.archtype("generic").effect(quickEffectInfo
|
|
275
|
+
.def()
|
|
276
|
+
.e("e_draw", { count: 1 })()).upgrade({
|
|
277
|
+
effects: quickEffectInfo
|
|
278
|
+
.def()
|
|
279
|
+
.e("e_draw", { count: 1 })().effects
|
|
280
|
+
})(),
|
|
281
|
+
//green
|
|
282
|
+
c_capacitor: quickCardData.def.archtype("generic").effect(quickEffectInfo
|
|
283
|
+
.def()
|
|
284
|
+
.e("e_capacitor_1", { maxCount: 3 })
|
|
285
|
+
.p()
|
|
286
|
+
.e("e_capacitor_2", {})
|
|
287
|
+
.p()
|
|
288
|
+
.e("e_reset_all_once_this", {})()).upgrade({
|
|
289
|
+
effects: quickEffectInfo
|
|
290
|
+
.def()
|
|
291
|
+
.e("e_capacitor_1", { maxCount: 5 })
|
|
292
|
+
.p()
|
|
293
|
+
.e("e_capacitor_2", {})
|
|
294
|
+
.p()
|
|
295
|
+
.e("e_reset_all_once_this", {})().effects
|
|
296
|
+
})(),
|
|
297
|
+
//blue
|
|
298
|
+
//fruits
|
|
299
|
+
//white
|
|
300
|
+
c_apple: {
|
|
301
|
+
variantData: {
|
|
302
|
+
base: {
|
|
303
|
+
level: 1,
|
|
304
|
+
rarityID: rarityRegistry_1.rarityRegistry.r_white,
|
|
305
|
+
extensionArr: ["fruit"],
|
|
306
|
+
belongTo: ["fruit"],
|
|
307
|
+
atk: 2,
|
|
308
|
+
hp: 2,
|
|
309
|
+
effects: {
|
|
310
|
+
e_apple: {
|
|
311
|
+
count: 1
|
|
312
|
+
}
|
|
313
|
+
},
|
|
314
|
+
imgURL: oldImgURL("naturalApple"),
|
|
315
|
+
partition: [defaultPartition()],
|
|
316
|
+
},
|
|
317
|
+
upgrade_1: {
|
|
318
|
+
atk: 3,
|
|
319
|
+
hp: 3,
|
|
320
|
+
effects: {
|
|
321
|
+
e_apple: {
|
|
322
|
+
count: 2,
|
|
323
|
+
}
|
|
324
|
+
}
|
|
325
|
+
}
|
|
326
|
+
}
|
|
327
|
+
},
|
|
328
|
+
c_banana: {
|
|
329
|
+
variantData: {
|
|
330
|
+
base: {
|
|
331
|
+
level: 1,
|
|
332
|
+
rarityID: rarityRegistry_1.rarityRegistry.r_white,
|
|
333
|
+
extensionArr: ["fruit"],
|
|
334
|
+
belongTo: ["fruit"],
|
|
335
|
+
atk: 0,
|
|
336
|
+
hp: 1,
|
|
337
|
+
effects: {
|
|
338
|
+
e_banana: {
|
|
339
|
+
doArchtypeCheck: 1
|
|
340
|
+
}
|
|
341
|
+
},
|
|
342
|
+
imgURL: oldImgURL("naturalBanana"),
|
|
343
|
+
partition: [defaultPartition()]
|
|
344
|
+
},
|
|
345
|
+
upgrade_1: {
|
|
346
|
+
effects: {
|
|
347
|
+
e_banana: {
|
|
348
|
+
doArchtypeCheck: 0
|
|
349
|
+
}
|
|
350
|
+
}
|
|
351
|
+
},
|
|
352
|
+
}
|
|
353
|
+
},
|
|
354
|
+
c_cherry: {
|
|
355
|
+
variantData: {
|
|
356
|
+
base: {
|
|
357
|
+
level: 1,
|
|
358
|
+
rarityID: rarityRegistry_1.rarityRegistry.r_white,
|
|
359
|
+
extensionArr: ["fruit"],
|
|
360
|
+
belongTo: ["fruit"],
|
|
361
|
+
atk: 0,
|
|
362
|
+
hp: 1,
|
|
363
|
+
effects: {
|
|
364
|
+
e_draw: {
|
|
365
|
+
count: 1
|
|
366
|
+
}
|
|
367
|
+
},
|
|
368
|
+
imgURL: oldImgURL("naturalCherry"),
|
|
369
|
+
partition: [defaultPartition()]
|
|
370
|
+
},
|
|
371
|
+
upgrade_1: {
|
|
372
|
+
effects: {
|
|
373
|
+
e_draw: {
|
|
374
|
+
count: 2
|
|
375
|
+
}
|
|
376
|
+
}
|
|
377
|
+
},
|
|
378
|
+
}
|
|
379
|
+
},
|
|
380
|
+
c_lemon: {
|
|
381
|
+
variantData: {
|
|
382
|
+
base: {
|
|
383
|
+
level: 1,
|
|
384
|
+
rarityID: rarityRegistry_1.rarityRegistry.r_white,
|
|
385
|
+
extensionArr: ["fruit"],
|
|
386
|
+
belongTo: ["fruit"],
|
|
387
|
+
atk: 1,
|
|
388
|
+
hp: 2,
|
|
389
|
+
effects: {
|
|
390
|
+
e_lemon: {}
|
|
391
|
+
},
|
|
392
|
+
imgURL: oldImgURL("naturalLemon"),
|
|
393
|
+
partition: [defaultPartition()]
|
|
394
|
+
},
|
|
395
|
+
upgrade_1: {
|
|
396
|
+
atk: 2
|
|
397
|
+
},
|
|
398
|
+
}
|
|
399
|
+
},
|
|
400
|
+
c_pomegranate: {
|
|
401
|
+
variantData: {
|
|
402
|
+
base: {
|
|
403
|
+
level: 1,
|
|
404
|
+
rarityID: rarityRegistry_1.rarityRegistry.r_white,
|
|
405
|
+
extensionArr: ["fruit"],
|
|
406
|
+
belongTo: ["fruit"],
|
|
407
|
+
atk: 0,
|
|
408
|
+
hp: 1,
|
|
409
|
+
effects: {
|
|
410
|
+
e_pomegranate: {
|
|
411
|
+
exposedDmg: 1,
|
|
412
|
+
coveredDmg: 1,
|
|
413
|
+
}
|
|
414
|
+
},
|
|
415
|
+
imgURL: oldImgURL("naturalPomegranate"),
|
|
416
|
+
partition: [defaultPartition()]
|
|
417
|
+
},
|
|
418
|
+
upgrade_1: {
|
|
419
|
+
effects: {
|
|
420
|
+
e_pomegranate: {
|
|
421
|
+
exposedDmg: 2,
|
|
422
|
+
coveredDmg: 1,
|
|
423
|
+
}
|
|
424
|
+
}
|
|
425
|
+
},
|
|
426
|
+
}
|
|
427
|
+
},
|
|
428
|
+
c_pumpkin: {
|
|
429
|
+
variantData: {
|
|
430
|
+
base: {
|
|
431
|
+
level: 1,
|
|
432
|
+
rarityID: rarityRegistry_1.rarityRegistry.r_white,
|
|
433
|
+
extensionArr: ["fruit"],
|
|
434
|
+
belongTo: ["fruit"],
|
|
435
|
+
atk: 3,
|
|
436
|
+
hp: 2,
|
|
437
|
+
imgURL: oldImgURL("naturalPumpkin"),
|
|
438
|
+
partition: [
|
|
439
|
+
defaultPartition(),
|
|
440
|
+
defaultPartition(undefined, 1)
|
|
441
|
+
],
|
|
442
|
+
effects: {
|
|
443
|
+
e_pumpkin: {
|
|
444
|
+
maxHp: 1,
|
|
445
|
+
},
|
|
446
|
+
e_fragile: {}
|
|
447
|
+
}
|
|
448
|
+
},
|
|
449
|
+
upgrade_1: {
|
|
450
|
+
effects: {
|
|
451
|
+
e_pumpkin: {
|
|
452
|
+
maxHp: 2,
|
|
453
|
+
},
|
|
454
|
+
e_fragile: {}
|
|
455
|
+
}
|
|
456
|
+
}
|
|
457
|
+
}
|
|
458
|
+
},
|
|
459
|
+
//green
|
|
460
|
+
c_pollinate: {
|
|
461
|
+
variantData: {
|
|
462
|
+
base: {
|
|
463
|
+
level: 1,
|
|
464
|
+
rarityID: rarityRegistry_1.rarityRegistry.r_green,
|
|
465
|
+
extensionArr: ["fruit"],
|
|
466
|
+
belongTo: ["fruit"],
|
|
467
|
+
atk: 0,
|
|
468
|
+
hp: 1,
|
|
469
|
+
imgURL: oldImgURL("naturalPollination"),
|
|
470
|
+
partition: [
|
|
471
|
+
defaultPartition()
|
|
472
|
+
],
|
|
473
|
+
effects: {
|
|
474
|
+
e_pollinate: {
|
|
475
|
+
doArchtypeCheck: 1
|
|
476
|
+
},
|
|
477
|
+
}
|
|
478
|
+
},
|
|
479
|
+
upgrade_1: {
|
|
480
|
+
effects: {
|
|
481
|
+
e_pollinate: {
|
|
482
|
+
doArchtypeCheck: 0
|
|
483
|
+
}
|
|
484
|
+
}
|
|
485
|
+
}
|
|
486
|
+
}
|
|
487
|
+
},
|
|
488
|
+
c_greenhouse: {
|
|
489
|
+
variantData: {
|
|
490
|
+
base: {
|
|
491
|
+
level: 2,
|
|
492
|
+
rarityID: rarityRegistry_1.rarityRegistry.r_green,
|
|
493
|
+
extensionArr: ["fruit"],
|
|
494
|
+
belongTo: ["fruit"],
|
|
495
|
+
atk: 0,
|
|
496
|
+
hp: 2,
|
|
497
|
+
imgURL: oldImgURL("naturalGreenhouse"),
|
|
498
|
+
partition: [
|
|
499
|
+
defaultPartition()
|
|
500
|
+
],
|
|
501
|
+
effects: {
|
|
502
|
+
e_greenhouse: {
|
|
503
|
+
checkLevel: 1
|
|
504
|
+
}
|
|
505
|
+
}
|
|
506
|
+
},
|
|
507
|
+
upgrade_1: {
|
|
508
|
+
effects: {
|
|
509
|
+
e_greenhouse: {
|
|
510
|
+
checkLevel: 2
|
|
511
|
+
}
|
|
512
|
+
}
|
|
513
|
+
}
|
|
514
|
+
}
|
|
515
|
+
},
|
|
516
|
+
//blue
|
|
517
|
+
c_growth: {
|
|
518
|
+
variantData: {
|
|
519
|
+
base: {
|
|
520
|
+
level: 1,
|
|
521
|
+
rarityID: rarityRegistry_1.rarityRegistry.r_blue,
|
|
522
|
+
extensionArr: ["fruit"],
|
|
523
|
+
belongTo: ["fruit"],
|
|
524
|
+
atk: 0,
|
|
525
|
+
hp: 1,
|
|
526
|
+
imgURL: oldImgURL("naturalGrowth"),
|
|
527
|
+
partition: [
|
|
528
|
+
defaultPartition()
|
|
529
|
+
],
|
|
530
|
+
effects: {
|
|
531
|
+
e_growth: {
|
|
532
|
+
doArchtypeCheck: 1
|
|
533
|
+
}
|
|
534
|
+
}
|
|
535
|
+
},
|
|
536
|
+
upgrade_1: {
|
|
537
|
+
effects: {
|
|
538
|
+
e_growth: {
|
|
539
|
+
doArchtypeCheck: 0
|
|
540
|
+
}
|
|
541
|
+
}
|
|
542
|
+
}
|
|
543
|
+
}
|
|
544
|
+
},
|
|
545
|
+
c_spring: {
|
|
546
|
+
variantData: {
|
|
547
|
+
base: {
|
|
548
|
+
level: 2,
|
|
549
|
+
rarityID: rarityRegistry_1.rarityRegistry.r_blue,
|
|
550
|
+
extensionArr: ["fruit"],
|
|
551
|
+
belongTo: ["fruit"],
|
|
552
|
+
atk: 1,
|
|
553
|
+
hp: 2,
|
|
554
|
+
imgURL: oldImgURL("naturalSpring"),
|
|
555
|
+
partition: [
|
|
556
|
+
defaultPartition()
|
|
557
|
+
],
|
|
558
|
+
effects: {
|
|
559
|
+
e_spring: {
|
|
560
|
+
checkLevel: 1
|
|
561
|
+
}
|
|
562
|
+
}
|
|
563
|
+
},
|
|
564
|
+
upgrade_1: {
|
|
565
|
+
effects: {
|
|
566
|
+
e_spring: {
|
|
567
|
+
checkLevel: 2
|
|
568
|
+
}
|
|
569
|
+
}
|
|
570
|
+
}
|
|
571
|
+
}
|
|
572
|
+
},
|
|
573
|
+
c_summer: {
|
|
574
|
+
variantData: {
|
|
575
|
+
base: {
|
|
576
|
+
level: 2,
|
|
577
|
+
rarityID: rarityRegistry_1.rarityRegistry.r_blue,
|
|
578
|
+
extensionArr: ["fruit"],
|
|
579
|
+
belongTo: ["fruit"],
|
|
580
|
+
atk: 1,
|
|
581
|
+
hp: 2,
|
|
582
|
+
imgURL: oldImgURL("naturalSummer"),
|
|
583
|
+
partition: [
|
|
584
|
+
defaultPartition()
|
|
585
|
+
],
|
|
586
|
+
effects: {
|
|
587
|
+
e_summer: {
|
|
588
|
+
checkLevel: 1
|
|
589
|
+
}
|
|
590
|
+
}
|
|
591
|
+
},
|
|
592
|
+
upgrade_1: {
|
|
593
|
+
effects: {
|
|
594
|
+
e_summer: {
|
|
595
|
+
checkLevel: 3
|
|
596
|
+
}
|
|
597
|
+
}
|
|
598
|
+
}
|
|
599
|
+
}
|
|
600
|
+
},
|
|
601
|
+
c_autumn: {
|
|
602
|
+
variantData: {
|
|
603
|
+
base: {
|
|
604
|
+
level: 2,
|
|
605
|
+
rarityID: rarityRegistry_1.rarityRegistry.r_blue,
|
|
606
|
+
extensionArr: ["fruit"],
|
|
607
|
+
belongTo: ["fruit"],
|
|
608
|
+
atk: 1,
|
|
609
|
+
hp: 2,
|
|
610
|
+
imgURL: oldImgURL("naturalFall"),
|
|
611
|
+
partition: [
|
|
612
|
+
defaultPartition()
|
|
613
|
+
],
|
|
614
|
+
effects: {
|
|
615
|
+
e_autumn: {
|
|
616
|
+
// doIncAtk : 0
|
|
617
|
+
}
|
|
618
|
+
}
|
|
619
|
+
},
|
|
620
|
+
upgrade_1: {
|
|
621
|
+
effects: {
|
|
622
|
+
e_autumn: {
|
|
623
|
+
// doIncAtk : 1
|
|
624
|
+
}
|
|
625
|
+
}
|
|
626
|
+
}
|
|
627
|
+
}
|
|
628
|
+
},
|
|
629
|
+
c_winter: {
|
|
630
|
+
variantData: {
|
|
631
|
+
base: {
|
|
632
|
+
level: 2,
|
|
633
|
+
rarityID: rarityRegistry_1.rarityRegistry.r_blue,
|
|
634
|
+
extensionArr: ["fruit"],
|
|
635
|
+
belongTo: ["fruit"],
|
|
636
|
+
atk: 1,
|
|
637
|
+
hp: 2,
|
|
638
|
+
imgURL: oldImgURL("naturalWinter"),
|
|
639
|
+
partition: [
|
|
640
|
+
defaultPartition(undefined, [0, 1]),
|
|
641
|
+
defaultPartition(undefined, 2)
|
|
642
|
+
],
|
|
643
|
+
effects: {
|
|
644
|
+
e_winter_1: {
|
|
645
|
+
mult: 1
|
|
646
|
+
},
|
|
647
|
+
e_winter_2: {},
|
|
648
|
+
e_dmg_reduction: {
|
|
649
|
+
reductionAmmount: Infinity,
|
|
650
|
+
minDmg: 1,
|
|
651
|
+
}
|
|
652
|
+
}
|
|
653
|
+
},
|
|
654
|
+
upgrade_1: {
|
|
655
|
+
effects: {
|
|
656
|
+
e_winter_1: {
|
|
657
|
+
mult: 2
|
|
658
|
+
},
|
|
659
|
+
e_winter_2: {},
|
|
660
|
+
e_dmg_reduction: {
|
|
661
|
+
reductionAmmount: Infinity,
|
|
662
|
+
minDmg: 1,
|
|
663
|
+
}
|
|
664
|
+
}
|
|
665
|
+
}
|
|
666
|
+
}
|
|
667
|
+
},
|
|
668
|
+
//red
|
|
669
|
+
c_persephone: {
|
|
670
|
+
variantData: {
|
|
671
|
+
base: {
|
|
672
|
+
level: 3,
|
|
673
|
+
rarityID: rarityRegistry_1.rarityRegistry.r_red,
|
|
674
|
+
extensionArr: ["fruit"],
|
|
675
|
+
belongTo: ["fruit"],
|
|
676
|
+
atk: 0,
|
|
677
|
+
hp: 5,
|
|
678
|
+
imgURL: oldImgURL("naturalPersephone"),
|
|
679
|
+
partition: [
|
|
680
|
+
defaultPartition("c_persephone"),
|
|
681
|
+
defaultPartition("c_persephone", 1),
|
|
682
|
+
defaultPartition("c_persephone", 2),
|
|
683
|
+
],
|
|
684
|
+
effects: {
|
|
685
|
+
e_persephone_1: {},
|
|
686
|
+
e_persephone_2: {},
|
|
687
|
+
e_persephone_3: {},
|
|
688
|
+
}
|
|
689
|
+
}
|
|
690
|
+
}
|
|
691
|
+
},
|
|
692
|
+
c_demeter: {
|
|
693
|
+
variantData: {
|
|
694
|
+
base: {
|
|
695
|
+
level: 3,
|
|
696
|
+
rarityID: rarityRegistry_1.rarityRegistry.r_red,
|
|
697
|
+
extensionArr: ["fruit"],
|
|
698
|
+
belongTo: ["fruit"],
|
|
699
|
+
atk: 2,
|
|
700
|
+
hp: 8,
|
|
701
|
+
imgURL: oldImgURL("naturalDemeter"),
|
|
702
|
+
partition: [
|
|
703
|
+
defaultPartition("c_demeter"),
|
|
704
|
+
defaultPartition("c_demeter", 1),
|
|
705
|
+
defaultPartition("c_demeter", 2),
|
|
706
|
+
],
|
|
707
|
+
effects: {
|
|
708
|
+
e_demeter_1: {},
|
|
709
|
+
e_demeter_2: {},
|
|
710
|
+
e_demeter_3: {},
|
|
711
|
+
}
|
|
712
|
+
}
|
|
713
|
+
}
|
|
714
|
+
},
|
|
715
|
+
};
|
|
716
|
+
exports.cardDataRegistry = cardDataRegistry;
|