valtech-components 4.0.625 → 4.0.628
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-card.component.mjs +3 -3
- package/esm2022/lib/components/organisms/mini-games/christianity-game.component.mjs +5 -3
- 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 +126 -12
- 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
- package/src/lib/assets/games/chessimals/adventure/README.md +57 -0
- package/src/lib/assets/games/chessimals/adventure/acts/arctic.png +0 -0
- package/src/lib/assets/games/chessimals/adventure/acts/coliseum.png +0 -0
- package/src/lib/assets/games/chessimals/adventure/acts/jungle.png +0 -0
- package/src/lib/assets/games/chessimals/adventure/acts/savanna.png +0 -0
- package/src/lib/assets/games/chessimals/adventure/adventure-hero.png +0 -0
- package/src/lib/assets/games/chessimals/adventure/nodes/boss.png +0 -0
- package/src/lib/assets/games/chessimals/adventure/nodes/mystery.png +0 -0
- package/src/lib/assets/games/chessimals/adventure/nodes/rest.png +0 -0
|
@@ -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.628";
|
|
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
package/package.json
CHANGED
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
# Chessimals Adventure Assets
|
|
2
|
+
|
|
3
|
+
Assets for the Chessimals adventure mode.
|
|
4
|
+
|
|
5
|
+
## Visual Direction
|
|
6
|
+
|
|
7
|
+
- Keep the style retro, warm, friendly, and readable for kids.
|
|
8
|
+
- Use the core Chessimals palette: deep green, cream, warm gold, soft amber, and small accent colors per world.
|
|
9
|
+
- Do not place text, numbers, labels, UI controls, or watermarks inside images.
|
|
10
|
+
- Let the UI provide border radius, cards, borders, and selected states.
|
|
11
|
+
- Avoid internal frames on rectangular art. The image should fill a rounded container cleanly.
|
|
12
|
+
- Icons can have a strong illustrated object silhouette and subtle internal shadows, but no external card frame.
|
|
13
|
+
|
|
14
|
+
## Characters
|
|
15
|
+
|
|
16
|
+
Core Chessimals adventure art should use:
|
|
17
|
+
|
|
18
|
+
- the sweet pawn;
|
|
19
|
+
- lion;
|
|
20
|
+
- eagle;
|
|
21
|
+
- kangaroo;
|
|
22
|
+
- bull.
|
|
23
|
+
|
|
24
|
+
Avoid unrelated mascots in core adventure, path, tutorial, and mode-selection art.
|
|
25
|
+
Rivals can introduce other characters only when the data defines them as rivals.
|
|
26
|
+
|
|
27
|
+
## Files
|
|
28
|
+
|
|
29
|
+
### Hero
|
|
30
|
+
|
|
31
|
+
- `adventure-hero.png`: wide hub/banner art for the adventure entry point.
|
|
32
|
+
|
|
33
|
+
### Act Icons
|
|
34
|
+
|
|
35
|
+
Transparent 512x512 PNGs:
|
|
36
|
+
|
|
37
|
+
- `acts/savanna.png`: sunny savanna route.
|
|
38
|
+
- `acts/jungle.png`: deep jungle route.
|
|
39
|
+
- `acts/arctic.png`: icy mountain route.
|
|
40
|
+
- `acts/coliseum.png`: final arena route.
|
|
41
|
+
|
|
42
|
+
### Node Icons
|
|
43
|
+
|
|
44
|
+
Transparent 512x512 PNGs:
|
|
45
|
+
|
|
46
|
+
- `nodes/rest.png`: safe rest stop.
|
|
47
|
+
- `nodes/mystery.png`: mystery/reward node.
|
|
48
|
+
- `nodes/boss.png`: boss encounter node.
|
|
49
|
+
|
|
50
|
+
## Implementation Notes
|
|
51
|
+
|
|
52
|
+
- Use these assets instead of emojis in the adventure map and encounter UI.
|
|
53
|
+
- Keep the visible text in Angular/i18n, not inside images.
|
|
54
|
+
- Recommended rendered sizes:
|
|
55
|
+
- act icons: 64-112px depending on card density;
|
|
56
|
+
- node icons: 48-88px depending on node size;
|
|
57
|
+
- hero: full-width responsive image with `object-fit: cover` and UI-owned border radius.
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|