Skip to content

Commit 6a15f24

Browse files
committed
Add limitCategory unique check and fix toasts
1 parent 9c4e0d2 commit 6a15f24

23 files changed

Lines changed: 145 additions & 2058 deletions

File tree

assets/locales/en/translation.json

Lines changed: 8 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -770,34 +770,18 @@
770770
"max_ilvl": "Max ILvl",
771771
"no_results": "No results found.",
772772
"showing_results": "Showing {{max}} of {{total}} total results.",
773-
"item_added": "{{itemName}} was added to the batch."
773+
"item_added": "{{itemName}} was added to the batch.",
774+
"item_unique": "{{itemName}} is unique and already added."
774775
},
775776
"settings": {
776777
"combinations_count": "{{count}} Combinations",
777778
"combination_singular": "1 Combination",
778779
"iterations": "Iterations",
779-
"fast_mode": {
780-
"label": "Fast Mode",
781-
"tooltip": "Fast mode reduces accuracy but will run faster."
782-
},
783-
"combinations": {
784-
"label": "Combinations",
785-
"tooltip": "When checked bulk simulator will create all possible combinations of the items. When disabled trinkets and rings will still run all combinations because they each have two slots to fill."
786-
},
787-
"auto_enchant": {
788-
"label": "Auto Enchant",
789-
"tooltip": "When checked bulk simulator apply the current enchant for a slot to each replacement item it can."
790-
},
791-
"auto_gem": {
792-
"label": "Auto Gem",
793-
"tooltip": "When checked bulk simulator will fill any un-filled gem sockets with default gems."
794-
},
795-
"sim_talents": {
796-
"label": "Sim Talents",
797-
"tooltip": "When checked bulk simulator will sim chosen talent setups. Warning, it might cause the bulk sim to run for a lot longer"
798-
},
799780
"default_gems": "Default Gems",
800-
"talents_to_sim": "Talents to Sim"
781+
"inherit_upgrades": {
782+
"label": "Inherit Upgrades",
783+
"tooltip": "When enabled, items will inherit upgrades from the equipped item. Otherwise, items will be simmed without any upgrades."
784+
}
801785
},
802786
"progress": {
803787
"total_combinations": "{{count}} total combinations.",
@@ -1360,8 +1344,8 @@
13601344
"tooltip": "The amount of time specified by the <b>Input Dleay</b> setting."
13611345
},
13621346
"spell_in_flight": {
1363-
"label":"Spell in Flight",
1364-
"tooltip":"<b>True</b> if this spell is currently in flight, otherwise <b>False</b>."
1347+
"label": "Spell in Flight",
1348+
"tooltip": "<b>True</b> if this spell is currently in flight, otherwise <b>False</b>."
13651349
},
13661350
"aura_known": {
13671351
"label": "Aura Known",

assets/locales/fr/translation.json

Lines changed: 9 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -770,34 +770,18 @@
770770
"max_ilvl": "ILvl max",
771771
"no_results": "Aucun résultat trouvé.",
772772
"showing_results": "Affichage de {max} sur {total} résultats totaux.",
773-
"item_added": "{itemName} a été ajouté au lot."
773+
"item_added": "{itemName} a été ajouté au lot.",
774+
"item_unique": "{itemName} est unique et a déjà été ajouté."
774775
},
775776
"settings": {
776777
"combinations_count": "{count} Combinaisons",
777778
"combination_singular": "1 Combinaison",
778779
"iterations": "Itérations",
779-
"fast_mode": {
780-
"label": "Mode rapide",
781-
"tooltip": "Le mode rapide réduit la précision mais s'exécute plus rapidement."
782-
},
783-
"combinations": {
784-
"label": "Combinaisons",
785-
"tooltip": "Lorsqu'il est coché, le simulateur par lot créera toutes les combinaisons possibles des objets. Lorsqu'il est désactivé, les trinkets et anneaux exécuteront toujours toutes les combinaisons car chacun a deux emplacements à remplir."
786-
},
787-
"auto_enchant": {
788-
"label": "Enchantement automatique",
789-
"tooltip": "Lorsqu'il est coché, le simulateur par lot appliquera l'enchantement actuel d'un emplacement à chaque objet de remplacement qu'il peut."
790-
},
791-
"auto_gem": {
792-
"label": "Gemme automatique",
793-
"tooltip": "Lorsqu'il est coché, le simulateur par lot remplira tous les châsses de gemmes non remplis avec des gemmes par défaut."
794-
},
795-
"sim_talents": {
796-
"label": "Simuler les talents",
797-
"tooltip": "Lorsqu'il est coché, le simulateur par lot simulera les configurations de talents choisies. Attention, cela pourrait faire durer la simulation par lot beaucoup plus longtemps"
798-
},
799780
"default_gems": "Gemmes par défaut",
800-
"talents_to_sim": "Talents à simuler"
781+
"inherit_upgrades": {
782+
"label": "Hériter des améliorations",
783+
"tooltip": "Lorsque cette option est activée, les objets hériteront des améliorations de l'objet équipé. Sinon, les objets seront simulés sans aucune amélioration."
784+
}
801785
},
802786
"progress": {
803787
"total_combinations": "{{count}} combinaisons totales.",
@@ -1063,7 +1047,7 @@
10631047
},
10641048
"warlock_next_exhale_target": {
10651049
"label": "Choisir la prochaine cible d'Expiration",
1066-
"tooltip": "Choisi la prochaine cible valide d'Expiration. Si la cible actuelle n'est pas la cible de l'échange d'âme ou si l'échange d'âme n'a pas été lancé, la cible ne changera pas."
1050+
"tooltip": "Choisi la prochaine cible valide d'Expiration. Si la cible actuelle n'est pas la cible de l'échange d'âme ou si l'échange d'âme n'a pas été lancé, la cible ne changera pas."
10671051
}
10681052
},
10691053
"values": {
@@ -1360,8 +1344,8 @@
13601344
"tooltip": "La quantité de temps spécifiée par le paramètre <b>Temps de réaction</b>."
13611345
},
13621346
"spell_in_flight": {
1363-
"label":"Sort en vol",
1364-
"tooltip":"<b>Vrai</b> si ce sort est actuellement en cours, sinon <b>Faux</b>."
1347+
"label": "Sort en vol",
1348+
"tooltip": "<b>Vrai</b> si ce sort est actuellement en cours, sinon <b>Faux</b>."
13651349
},
13661350
"aura_known": {
13671351
"label": "Aura connue",

cmd/wowsimcli/cmd/bulk_replace.go

Lines changed: 0 additions & 182 deletions
This file was deleted.

cmd/wowsimcli/cmd/root.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ var rootCmd = &cobra.Command{
1616
func Execute(version string) {
1717
rootCmd.AddCommand(newVersionCommand(version))
1818
rootCmd.AddCommand(simCmd)
19-
rootCmd.AddCommand(bulkCmd)
2019
rootCmd.AddCommand(decodeLinkCmd)
2120

2221
if err := rootCmd.Execute(); err != nil {

proto/api.proto

Lines changed: 7 additions & 64 deletions
Original file line numberDiff line numberDiff line change
@@ -581,73 +581,16 @@ message ProgressMetrics {
581581
// Final Results
582582
RaidSimResult final_raid_result = 6; // only set when completed
583583
StatWeightsResult final_weight_result = 7;
584-
BulkSimResult final_bulk_result = 10;
585-
}
586-
587-
// RPC: BulkSim
588-
message BulkSimRequest {
589-
RaidSimRequest base_settings = 1;
590-
BulkSettings bulk_settings = 2;
591-
}
592-
593-
message TalentLoadout {
594-
string talents_string = 1;
595-
Glyphs glyphs = 2;
596-
string name = 3;
597584
}
598585

599586
message BulkSettings {
600587
repeated ItemSpec items = 1;
601-
bool combinations = 2;
602-
bool fast_mode = 3; // Used to run with less iterations to start and slowly increase to weed out items faster.
603-
// Use current enchant on the slot if not specified by the ItemSpec.
604-
// Only works when replacement item is valid target for enchant.
605-
bool auto_enchant = 4;
588+
int32 iterations_per_combo = 2;
589+
int32 default_red_gem = 3;
590+
int32 default_blue_gem = 4;
591+
int32 default_yellow_gem = 5;
592+
int32 default_meta_gem = 6;
593+
int32 default_prismatic_gem = 7;
606594

607-
// Currently not used.
608-
// Used to fill out gem slots that are not filled in the ItemSpec
609-
bool auto_gem = 5;
610-
int32 default_prismatic_gem = 100;
611-
int32 default_red_gem = 6;
612-
int32 default_blue_gem = 7;
613-
int32 default_yellow_gem = 8;
614-
int32 default_meta_gem = 9;
615-
bool ensure_meta_req_met = 10; // ensures that meta requirements are met when auto-gemming.
616-
617-
// Number of iterations per combo.
618-
// If set to 0 the sim core decides the optimal iterations.
619-
int32 iterations_per_combo = 11;
620-
// Should sim talents as well
621-
bool sim_talents = 12;
622-
repeated TalentLoadout talents_to_sim = 13;
623-
}
624-
625-
message BulkSimResult {
626-
repeated BulkComboResult results = 1;
627-
BulkComboResult equipped_gear_result = 2;
628-
ErrorOutcome error = 3;
595+
bool inherit_upgrades = 8;
629596
}
630-
631-
message BulkComboResult {
632-
repeated ItemSpecWithSlot items_added = 1;
633-
UnitMetrics unit_metrics = 2;
634-
TalentLoadout talent_loadout = 3;
635-
}
636-
637-
message ItemSpecWithSlot {
638-
ItemSpec item = 1;
639-
ItemSlot slot = 2;
640-
}
641-
642-
// RPC: BulkSimCombos
643-
message BulkSimCombosRequest {
644-
RaidSimRequest base_settings = 1;
645-
BulkSettings bulk_settings = 2;
646-
}
647-
648-
message BulkSimCombosResult {
649-
int32 num_combinations = 1;
650-
int32 num_iterations = 2;
651-
string error_result = 3; // only set if sim failed.
652-
}
653-

0 commit comments

Comments
 (0)