valtech-components 4.0.625 → 4.0.627
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/esm2022/lib/components/organisms/mini-games/christianity-rules.mjs +120 -8
- package/esm2022/lib/components/organisms/mini-games/types.mjs +1 -1
- package/esm2022/lib/version.mjs +2 -2
- package/fesm2022/valtech-components.mjs +120 -8
- package/fesm2022/valtech-components.mjs.map +1 -1
- package/lib/components/organisms/mini-games/chessimals-game.component.d.ts +1 -1
- package/lib/components/organisms/mini-games/types.d.ts +42 -1
- package/lib/version.d.ts +1 -1
- package/package.json +1 -1
|
@@ -133,7 +133,7 @@ export declare class ChessimalsGameComponent implements OnInit, OnDestroy {
|
|
|
133
133
|
readonly botProfiles: ChessimalsBotProfile[];
|
|
134
134
|
readonly challengeLadder: ChessimalsChallengeBot[];
|
|
135
135
|
readonly animals: ChessimalsAnimalView[];
|
|
136
|
-
readonly valtechComponentsVersion = "4.0.
|
|
136
|
+
readonly valtechComponentsVersion = "4.0.627";
|
|
137
137
|
readonly screen: import("@angular/core").WritableSignal<"home" | "challenge" | "path" | "game">;
|
|
138
138
|
readonly selectedBoardSize: import("@angular/core").WritableSignal<ChessimalsBoardSize>;
|
|
139
139
|
readonly selectedLocalMode: import("@angular/core").WritableSignal<ChessimalsLocalMode>;
|
|
@@ -300,6 +300,44 @@ export type ChristianityGameStatus = 'in_progress' | 'finished';
|
|
|
300
300
|
export type ChristianityGameMode = 'solo_bot' | 'two_player' | 'local_pass';
|
|
301
301
|
export type ChristianityCardType = 'action' | 'character' | 'event' | 'leader' | 'offering' | 'place' | 'tool' | 'wisdom';
|
|
302
302
|
export type ChristianityCardRarity = 'normal' | 'good' | 'very-good' | 'uncommon' | 'rare' | 'legendary';
|
|
303
|
+
export type ChristianityStrategy = 'discard' | 'deckpeek' | 'directdamage' | 'search' | 'aggro' | 'restore' | 'accelerate' | 'slowdown' | 'mindcontrol' | 'destroy' | 'draw' | 'reveal' | 'buff';
|
|
304
|
+
export type ChristianityEffectTrigger = 'on_play' | 'on_enter' | 'on_attack' | 'on_defend' | 'on_death' | 'passive';
|
|
305
|
+
export type ChristianityEffectTarget = 'self' | 'combat_opponent' | 'all_friendly' | 'all_enemy' | 'opponent_leader' | 'own_leader';
|
|
306
|
+
export type ChristianityEffectMutation = {
|
|
307
|
+
type: 'buff_attack';
|
|
308
|
+
amount: number;
|
|
309
|
+
} | {
|
|
310
|
+
type: 'buff_life';
|
|
311
|
+
amount: number;
|
|
312
|
+
} | {
|
|
313
|
+
type: 'deal_damage';
|
|
314
|
+
amount: number;
|
|
315
|
+
} | {
|
|
316
|
+
type: 'restore_hp';
|
|
317
|
+
amount: number;
|
|
318
|
+
} | {
|
|
319
|
+
type: 'draw_card';
|
|
320
|
+
amount: number;
|
|
321
|
+
} | {
|
|
322
|
+
type: 'discard_card';
|
|
323
|
+
amount: number;
|
|
324
|
+
who: 'self' | 'opponent';
|
|
325
|
+
} | {
|
|
326
|
+
type: 'destroy';
|
|
327
|
+
} | {
|
|
328
|
+
type: 'gain_offerings';
|
|
329
|
+
amount: number;
|
|
330
|
+
};
|
|
331
|
+
export interface ChristianityCardEffect {
|
|
332
|
+
trigger: ChristianityEffectTrigger;
|
|
333
|
+
strategy: ChristianityStrategy;
|
|
334
|
+
target: ChristianityEffectTarget;
|
|
335
|
+
mutation: ChristianityEffectMutation;
|
|
336
|
+
condition?: {
|
|
337
|
+
targeting: 'character' | 'leader';
|
|
338
|
+
} | null;
|
|
339
|
+
duration?: 'combat' | 'turn' | 'permanent';
|
|
340
|
+
}
|
|
303
341
|
export interface ChristianityCardAbility {
|
|
304
342
|
name?: string;
|
|
305
343
|
text?: string;
|
|
@@ -354,7 +392,8 @@ export interface ChristianityCardDefinition {
|
|
|
354
392
|
abilityText?: string;
|
|
355
393
|
abilityCost?: number;
|
|
356
394
|
abilities?: ChristianityCardAbility[];
|
|
357
|
-
strategy?:
|
|
395
|
+
strategy?: ChristianityStrategy;
|
|
396
|
+
effects?: ChristianityCardEffect[];
|
|
358
397
|
power?: string;
|
|
359
398
|
bible?: ChristianityCardBibleReference;
|
|
360
399
|
art?: ChristianityCardArt;
|
|
@@ -387,6 +426,8 @@ export interface ChristianityCharacterInstance {
|
|
|
387
426
|
maxHp: number;
|
|
388
427
|
canAttack: boolean;
|
|
389
428
|
equippedTools?: string[];
|
|
429
|
+
effects?: ChristianityCardEffect[];
|
|
430
|
+
combatAttackBuff?: number;
|
|
390
431
|
}
|
|
391
432
|
export interface ChristianityOfferingInstance {
|
|
392
433
|
instanceId: string;
|
package/lib/version.d.ts
CHANGED