mirror of
https://github.com/GreenComfyTea/MHR-Overlay.git
synced 2026-01-29 06:48:03 -08:00
Compare commits
4 Commits
d4c52617d9
...
v2.7.1
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
2390bfe8ac | ||
|
|
7398bab9ea | ||
|
|
877a48583a | ||
|
|
ee6dfe2139 |
@@ -140,7 +140,7 @@ function this.update_servant_list()
|
|||||||
|
|
||||||
local quest_servant_id_list = get_quest_servant_id_list_method:call(singletons.servant_manager);
|
local quest_servant_id_list = get_quest_servant_id_list_method:call(singletons.servant_manager);
|
||||||
if quest_servant_id_list == nil then
|
if quest_servant_id_list == nil then
|
||||||
error_handler.report("non_players.update_servant_list", "Failed to Access Data: quest_servant_id_list");
|
-- error_handler.report("non_players.update_servant_list", "Failed to Access Data: quest_servant_id_list");
|
||||||
return;
|
return;
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
@@ -520,7 +520,7 @@ function this.update_player_list(hunter_info_field_)
|
|||||||
for i = 0, count - 1 do
|
for i = 0, count - 1 do
|
||||||
local player_info = get_item_method:call(player_info_array, i);
|
local player_info = get_item_method:call(player_info_array, i);
|
||||||
if player_info == nil then
|
if player_info == nil then
|
||||||
error_handler.report("players.update_player_list", "Failed to Access Data: player_info No. " .. tostring(i));
|
-- error_handler.report("players.update_player_list", "Failed to Access Data: player_info No. " .. tostring(i));
|
||||||
goto continue;
|
goto continue;
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
@@ -126,7 +126,7 @@ end
|
|||||||
function this.update_village_area_manager()
|
function this.update_village_area_manager()
|
||||||
this.village_area_manager = sdk.get_managed_singleton("snow.VillageAreaManager");
|
this.village_area_manager = sdk.get_managed_singleton("snow.VillageAreaManager");
|
||||||
if this.village_area_manager == nil then
|
if this.village_area_manager == nil then
|
||||||
error_handler.report("singletons.update_village_area_manager", "Failed to Access Data: village_area_manager");
|
-- error_handler.report("singletons.update_village_area_manager", "Failed to Access Data: village_area_manager");
|
||||||
end
|
end
|
||||||
|
|
||||||
return this.village_area_manager;
|
return this.village_area_manager;
|
||||||
|
|||||||
@@ -36,7 +36,7 @@ local os = os;
|
|||||||
local ValueType = ValueType;
|
local ValueType = ValueType;
|
||||||
local package = package;
|
local package = package;
|
||||||
|
|
||||||
this.version = "2.7";
|
this.version = "2.7.1";
|
||||||
|
|
||||||
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";
|
||||||
|
|||||||
@@ -205,7 +205,7 @@ function this.sort_buffs(_displayed_buffs, cached_config)
|
|||||||
if infinite_buffs_location == "First" then
|
if infinite_buffs_location == "First" then
|
||||||
|
|
||||||
if left.is_infinite and right.is_infinite then
|
if left.is_infinite and right.is_infinite then
|
||||||
return left.timer < right.timer;
|
return left.name < right.name;
|
||||||
elseif left.is_infinite then
|
elseif left.is_infinite then
|
||||||
return true;
|
return true;
|
||||||
elseif right.is_infinite then
|
elseif right.is_infinite then
|
||||||
@@ -217,7 +217,7 @@ function this.sort_buffs(_displayed_buffs, cached_config)
|
|||||||
elseif infinite_buffs_location == "Last" then
|
elseif infinite_buffs_location == "Last" then
|
||||||
|
|
||||||
if left.is_infinite and right.is_infinite then
|
if left.is_infinite and right.is_infinite then
|
||||||
return left.timer < right.timer;
|
return left.name < right.name;
|
||||||
elseif left.is_infinite then
|
elseif left.is_infinite then
|
||||||
return false;
|
return false;
|
||||||
elseif right.is_infinite then
|
elseif right.is_infinite then
|
||||||
@@ -236,7 +236,7 @@ function this.sort_buffs(_displayed_buffs, cached_config)
|
|||||||
if infinite_buffs_location == "First" then
|
if infinite_buffs_location == "First" then
|
||||||
|
|
||||||
if left.is_infinite and right.is_infinite then
|
if left.is_infinite and right.is_infinite then
|
||||||
return left.timer > right.timer;
|
return left.name > right.name;
|
||||||
elseif left.is_infinite then
|
elseif left.is_infinite then
|
||||||
return false;
|
return false;
|
||||||
elseif right.is_infinite then
|
elseif right.is_infinite then
|
||||||
@@ -248,7 +248,7 @@ function this.sort_buffs(_displayed_buffs, cached_config)
|
|||||||
elseif infinite_buffs_location == "Last" then
|
elseif infinite_buffs_location == "Last" then
|
||||||
|
|
||||||
if left.is_infinite and right.is_infinite then
|
if left.is_infinite and right.is_infinite then
|
||||||
return left.timer > right.timer;
|
return left.name > right.name;
|
||||||
elseif left.is_infinite then
|
elseif left.is_infinite then
|
||||||
return true;
|
return true;
|
||||||
elseif right.is_infinite then
|
elseif right.is_infinite then
|
||||||
@@ -269,7 +269,7 @@ function this.sort_buffs(_displayed_buffs, cached_config)
|
|||||||
if infinite_buffs_location == "First" then
|
if infinite_buffs_location == "First" then
|
||||||
|
|
||||||
if left.is_infinite and right.is_infinite then
|
if left.is_infinite and right.is_infinite then
|
||||||
return left.duration < right.duration;
|
return left.name < right.name;
|
||||||
elseif left.is_infinite then
|
elseif left.is_infinite then
|
||||||
return true;
|
return true;
|
||||||
elseif right.is_infinite then
|
elseif right.is_infinite then
|
||||||
@@ -281,7 +281,7 @@ function this.sort_buffs(_displayed_buffs, cached_config)
|
|||||||
elseif infinite_buffs_location == "Last" then
|
elseif infinite_buffs_location == "Last" then
|
||||||
|
|
||||||
if left.is_infinite and right.is_infinite then
|
if left.is_infinite and right.is_infinite then
|
||||||
return left.duration < right.duration;
|
return left.name < right.name;
|
||||||
elseif left.is_infinite then
|
elseif left.is_infinite then
|
||||||
return false;
|
return false;
|
||||||
elseif right.is_infinite then
|
elseif right.is_infinite then
|
||||||
@@ -300,7 +300,7 @@ function this.sort_buffs(_displayed_buffs, cached_config)
|
|||||||
if infinite_buffs_location == "First" then
|
if infinite_buffs_location == "First" then
|
||||||
|
|
||||||
if left.is_infinite and right.is_infinite then
|
if left.is_infinite and right.is_infinite then
|
||||||
return left.duration > right.duration;
|
return left.name > right.name;
|
||||||
elseif left.is_infinite then
|
elseif left.is_infinite then
|
||||||
return false;
|
return false;
|
||||||
elseif right.is_infinite then
|
elseif right.is_infinite then
|
||||||
@@ -312,7 +312,7 @@ function this.sort_buffs(_displayed_buffs, cached_config)
|
|||||||
elseif infinite_buffs_location == "Last" then
|
elseif infinite_buffs_location == "Last" then
|
||||||
|
|
||||||
if left.is_infinite and right.is_infinite then
|
if left.is_infinite and right.is_infinite then
|
||||||
return left.duration > right.duration;
|
return left.name > right.name;
|
||||||
elseif left.is_infinite then
|
elseif left.is_infinite then
|
||||||
return true;
|
return true;
|
||||||
elseif right.is_infinite then
|
elseif right.is_infinite then
|
||||||
|
|||||||
@@ -165,7 +165,7 @@
|
|||||||
"global_position_modifier": "Глобальный модификатор расположения",
|
"global_position_modifier": "Глобальный модификатор расположения",
|
||||||
"global_scale_modifier": "Глобальный модификатор размера",
|
"global_scale_modifier": "Глобальный модификатор размера",
|
||||||
"global_settings": "Общие настройки",
|
"global_settings": "Общие настройки",
|
||||||
"head_tracking": "Head Tracking",
|
"head_tracking": "Отслеживание головы",
|
||||||
"health": "Здоровье",
|
"health": "Здоровье",
|
||||||
"health_anomaly_filter": "Здоровье + Ядро аномалии",
|
"health_anomaly_filter": "Здоровье + Ядро аномалии",
|
||||||
"health_break_anomaly_filter": "Здоровье + Повреждение + Ядро аномалии",
|
"health_break_anomaly_filter": "Здоровье + Повреждение + Ядро аномалии",
|
||||||
|
|||||||
Reference in New Issue
Block a user