Added the new wipe counter for tests

This commit is contained in:
Tercio Jose
2024-07-15 10:50:30 -03:00
committed by andrew6180
parent 6dc4aa979f
commit 6975f3e9db
4 changed files with 166 additions and 48 deletions
+11
View File
@@ -699,6 +699,10 @@ local default_profile = {
--segments
segments_amount = 25,
segments_amount_to_save = 15,
--max amount of boss wipes allowed
segments_amount_boss_wipes = 10,
--should boss wipes delete segments with less progression?
segments_boss_wipes_keep_best_performance = true,
segments_panic_mode = false,
segments_auto_erase = 1,
@@ -1206,6 +1210,9 @@ local default_global_data = {
position = {},
},
boss_wipe_counter = {},
boss_wipe_min_time = 20, --minimum time to consider a wipe as a boss wipe
user_is_patreon_supporter = false,
show_warning_id1 = true,
@@ -1852,6 +1859,10 @@ function Details:ImportProfile (profileString, newProfileName, bImportAutoRunCod
--make the max amount of segments be 25
Details.segments_amount = 25
Details.segments_amount_to_save = 15
--max amount of boss wipes allowed
Details.segments_amount_boss_wipes = 10
--should boss wipes delete segments with less progression?
Details.segments_boss_wipes_keep_best_performance = true
--transfer instance data to the new created profile
profileObject.instances = DetailsFramework.table.copy({}, profileData.instances)