2 Commits

Author SHA1 Message Date
GreenComfyTea
26590a3e0b Bump version to v2.6.6 2024-03-01 16:57:15 +02:00
GreenComfyTea
1439498a67 [Hunting Horn -> Bead of Resonance]: Fixed in online when not host 2024-03-01 16:57:01 +02:00
2 changed files with 3 additions and 5 deletions

View File

@@ -699,7 +699,6 @@ function this.update_rising_moon()
return; return;
end end
-- Possibly requires players.myself.id instead of 0?
local light_bowgun_shell_030 = get_light_bowgun_shell_030_list_item_method:call(light_bowgun_shell_030s_speed_boost_list, 0); local light_bowgun_shell_030 = get_light_bowgun_shell_030_list_item_method:call(light_bowgun_shell_030s_speed_boost_list, 0);
if light_bowgun_shell_030 == nil then if light_bowgun_shell_030 == nil then
error_handler.report("weapon_skills.update_rising_moon", "Failed to access Data: light_bowgun_shell_030"); error_handler.report("weapon_skills.update_rising_moon", "Failed to access Data: light_bowgun_shell_030");
@@ -769,7 +768,6 @@ function this.update_setting_sun()
return; return;
end end
-- Possibly requires players.myself.id instead of 0?
local light_bowgun_shell_030 = get_light_bowgun_shell_030_list_item_method:call(light_bowgun_shell_030s_all_list, 0); local light_bowgun_shell_030 = get_light_bowgun_shell_030_list_item_method:call(light_bowgun_shell_030s_all_list, 0);
if light_bowgun_shell_030 == nil then if light_bowgun_shell_030 == nil then
error_handler.report("weapon_skills.update_setting_sun", "Failed to access Data: light_bowgun_shell_030"); error_handler.report("weapon_skills.update_setting_sun", "Failed to access Data: light_bowgun_shell_030");
@@ -929,12 +927,12 @@ function this.update_bead_of_resonance()
return; return;
end end
if players.myself.id >= horn_shell_003s_array_length then if horn_shell_003s_array_length == 0 then
this.list.bead_of_resonance = nil; this.list.bead_of_resonance = nil;
return; return;
end end
local horn_shell_003_list = get_value_method:call(horn_shell_003s_array, players.myself.id); local horn_shell_003_list = get_value_method:call(horn_shell_003s_array, 0);
if horn_shell_003_list == nil then if horn_shell_003_list == nil then
error_handler.report("weapon_skills.update_bead_of_resonance", "Failed to access Data: horn_shell_003_list"); error_handler.report("weapon_skills.update_bead_of_resonance", "Failed to access Data: horn_shell_003_list");
this.list.bead_of_resonance = nil; this.list.bead_of_resonance = nil;

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.5"; this.version = "2.6.6";
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";