4 Commits

Author SHA1 Message Date
GreenComfyTea
9b82e27725 Bump version to 2.6.3 2023-10-29 15:36:43 +02:00
GreenComfyTea
2a3c8106d5 Fix: Power Shealthe, Sonic Boom, Bead of Resonance 2023-10-29 15:36:26 +02:00
GreenComfyTea
3b89ce8303 Bump version to v2.6.2 2023-10-24 10:15:42 +03:00
GreenComfyTea
f2e23626cf Fix creating DEFAULT file in /data/ when no config 2023-10-24 10:15:19 +03:00
2 changed files with 6 additions and 7 deletions

View File

@@ -304,7 +304,7 @@ local insect_glaive_type_name = "insect_glaive";
-- 13 Bow -- 13 Bow
local bow_type_name = "bow"; local bow_type_name = "bow";
local previous_weapon_type = -1; local previous_weapon_type = 0;
local previous_weapon_key = "great_sword"; local previous_weapon_key = "great_sword";
local spirit_gauge_breakpoints = {3, 2}; local spirit_gauge_breakpoints = {3, 2};
@@ -503,7 +503,7 @@ function this.update(player, player_data, weapon_type)
end end
previous_weapon_type = weapon_type; previous_weapon_type = weapon_type;
previous_weapon_key = this.keys[previous_weapon_type].key; previous_weapon_key = this.keys[previous_weapon_type + 1].key;
if weapon_type == 0 then if weapon_type == 0 then
this.update_great_sword_skills(player); this.update_great_sword_skills(player);
@@ -952,7 +952,7 @@ function this.update_sonic_bloom(player)
local blast_speaker_shell = get_ref_blast_speaker_shell_method:call(player); local blast_speaker_shell = get_ref_blast_speaker_shell_method:call(player);
if blast_speaker_shell == nil then if blast_speaker_shell == nil then
this.list.bead_of_resonance = nil; this.list.sonic_bloom = nil;
return; return;
end end
@@ -963,7 +963,7 @@ function this.update_sonic_bloom(player)
end end
if utils.number.is_equal(life_timer, 0) then if utils.number.is_equal(life_timer, 0) then
this.list.bead_of_resonance = nil; this.list.sonic_bloom = nil;
return; return;
end end
@@ -972,7 +972,6 @@ end
function this.update_charge_blade_skills(player) function this.update_charge_blade_skills(player)
this.update_weapon_skill("element_boost", charge_blade_type_name, nil, nil, player, shield_buff_timer_field); this.update_weapon_skill("element_boost", charge_blade_type_name, nil, nil, player, shield_buff_timer_field);
this.update_weapon_skill("sword_boost_mode", charge_blade_type_name, nil, nil, player, sword_buff_timer_field); this.update_weapon_skill("sword_boost_mode", charge_blade_type_name, nil, nil, player, sword_buff_timer_field);
end end

View File

@@ -36,7 +36,7 @@ local os = os;
local ValueType = ValueType; local ValueType = ValueType;
local package = package; local package = package;
this.version = "2.6.1"; this.version = "2.6.3";
this.config_folder = "MHR Overlay\\configs\\"; this.config_folder = "MHR Overlay\\configs\\";
this.current_config_value_file_name = "MHR Overlay\\config.json"; this.current_config_value_file_name = "MHR Overlay\\config.json";
@@ -9215,7 +9215,7 @@ function this.load_configs()
table.insert(this.config_names, this.current_config_name); table.insert(this.config_names, this.current_config_name);
table.insert(this.configs, this.current_config); table.insert(this.configs, this.current_config);
this.save(this.current_config_name, this.current_config); this.save(string.format("%s\\%s.json", this.config_folder, this.current_config_name), this.current_config);
end end
this.save_current_config_name(); this.save_current_config_name();