Skip to content

Commit 03c9670

Browse files
authored
Battle Configs Migration (#191)
Better to merge this early than me forgetting about it
1 parent 81d5fad commit 03c9670

1 file changed

Lines changed: 49 additions & 0 deletions

File tree

Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
---
2+
title: Battle Configs Migration
3+
description: Guide to the new changes due to the Battle Configs migration to proto datastore
4+
tags:
5+
- battle configs
6+
- Preferred Support
7+
- Script Command Config
8+
- Command Card Config
9+
- Skill Maker
10+
---
11+
12+
# Battle Configs Migration
13+
14+
## Overview
15+
16+
We have performed an overhaul of the Battle Config system of the app. This transforms from a key-pair system using Android's shared preferences into a nested class similar to a JSON using protobuf. This also helps us when we transition to having a desktop app for a unified data experience.
17+
18+
## Changes
19+
20+
### Scripts
21+
22+
- We have now modified to enable the user to add multiple scripts at the same Battle Config while at the same time allowing users to add `name` and `notes` on what does specific script do.
23+
- Just like before, there can only be one active script at a time.
24+
25+
### Command Cards
26+
27+
- Like Scripts, command card there can be multiple command card preset to allow users to configure different command card configuration.
28+
- `Use Servant Priority` is now standalone and no more need for `enable servant priority`
29+
- `Use Critical Stars Priority` have been changed from overall command card setting into normal per turn setting just like the new `Use Servant Priority`
30+
31+
### Farming
32+
33+
- Users can now select multiple servers to enable to make the config appear on different server but the server would more options would take priority when updating the UI (e.g. Grand Servants with JP server)
34+
- Materials, you can now individually add count per material as well as their default count when it rans out.
35+
36+
### Support
37+
38+
- Servants have now can take distinct options per servant. For example, Castoria can take skills 10/10/10 while Tamamo can take skills 10/X/10 only.
39+
- We have also added option to customized the CE and friend option per servant too.
40+
41+
> [!Note]
42+
>
43+
> Still thinking of creating a feature when a certain servant was selected it would switch the script and command card configuration but this is still an idea.
44+
45+
## End Notes
46+
47+
- The app still support the importing of the old JSON configuration.
48+
- The default export for configs are now using `.pb` extension.
49+
- The last app version that still uses shared preferences is `pre-2614`.

0 commit comments

Comments
 (0)