mirror of
https://github.com/GreenComfyTea/MHR-Overlay.git
synced 2026-01-30 07:18:03 -08:00
Compare commits
90 Commits
475cd22610
...
v2.6.4
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
9bcc1142f6 | ||
|
|
afec53e5f1 | ||
|
|
b3cfa61660 | ||
|
|
2f10a5d9e5 | ||
|
|
0dc74d4cc9 | ||
|
|
9b82e27725 | ||
|
|
2a3c8106d5 | ||
|
|
3b89ce8303 | ||
|
|
f2e23626cf | ||
|
|
8a55873e14 | ||
|
|
b93bdd0338 | ||
|
|
f01ec08990 | ||
|
|
b6ed4f036a | ||
|
|
fedf5bc7af | ||
|
|
009eb9ffb0 | ||
|
|
b8a7f109e0 | ||
|
|
51b824e385 | ||
|
|
c8bd65556e | ||
|
|
0781662344 | ||
|
|
5bdcd1b9cf | ||
|
|
305a78b654 | ||
|
|
6236c1e088 | ||
|
|
ba571b0426 | ||
|
|
2c7c229ec9 | ||
|
|
39dbd23791 | ||
|
|
96407c07bf | ||
|
|
1f3a7d2bf8 | ||
|
|
423635400c | ||
|
|
17b89d3d7f | ||
|
|
c3d78705a3 | ||
|
|
764b72f0ea | ||
|
|
df43908a31 | ||
|
|
0f72fba92d | ||
|
|
e586534c4d | ||
|
|
0951de24e2 | ||
|
|
480bc9c9b7 | ||
|
|
cbaa537a0b | ||
|
|
c25ceee3d6 | ||
|
|
5a29b60fca | ||
|
|
41f75d19d3 | ||
|
|
43b2946939 | ||
|
|
43fc14e01e | ||
|
|
66b192717c | ||
|
|
bfd9463c9e | ||
|
|
ae336eea2f | ||
|
|
5454bdd48e | ||
|
|
80e309a5dd | ||
|
|
f1102eaa28 | ||
|
|
bd02dab872 | ||
|
|
8887f3c235 | ||
|
|
5177a207a9 | ||
|
|
50131b08f1 | ||
|
|
89bb48602d | ||
|
|
1580b4c4c2 | ||
|
|
5c42502700 | ||
|
|
d7a4450a37 | ||
|
|
590b3b17c2 | ||
|
|
e20af6479e | ||
|
|
6bab1b2435 | ||
|
|
195252ed70 | ||
|
|
b9a3088658 | ||
|
|
a8060c8c58 | ||
|
|
49cac58bec | ||
|
|
af53399c50 | ||
|
|
a418bb0132 | ||
|
|
5f609a588a | ||
|
|
8fb02699cc | ||
|
|
b52c903af3 | ||
|
|
8ae3928fdc | ||
|
|
bf282ca13b | ||
|
|
c7b9e5b8f9 | ||
|
|
e67fbf923f | ||
|
|
1d31a86a3f | ||
|
|
e4108f7fa9 | ||
|
|
4ede59c8c2 | ||
|
|
2db41e237f | ||
|
|
f9c1d89843 | ||
|
|
f086ff2d5d | ||
|
|
5e5df84308 | ||
|
|
528d7f7238 | ||
|
|
1c83b282ef | ||
|
|
a41ec08903 | ||
|
|
89571bd2f4 | ||
|
|
1fcb9aea5a | ||
|
|
13e68d67a9 | ||
|
|
67e0e6db6b | ||
|
|
e79660010b | ||
|
|
c597d1df09 | ||
|
|
bcb6355b61 | ||
|
|
4f5350b631 |
37
README.md
37
README.md
@@ -1,6 +1,6 @@
|
||||
<p align="center">
|
||||
<h2 align="center"><b>"MHR Overlay" Mod for Monster Hunter: Rise</b></h2>
|
||||
<p align="center">Mod that exposes in-game data about monsters, creatures, players and damage. Draws a highly customizable UI.</p>
|
||||
<p align="center">Exposes internal game data about monsters, creatures, players, damage, buffs and debuffs. Draws a highly customizable UI.</p>
|
||||
<p align="center">This mod is solely intended to empower players with means of self-improvement. Please don't use the information provided by this tool to make hurtful comments and actions toward other players.</p>
|
||||
</p>
|
||||
|
||||
@@ -38,7 +38,7 @@
|
||||
</a>
|
||||
<br>
|
||||
<a href="https://www.nexusmods.com/monsterhunterrise/mods/26">
|
||||
<img alt="REFramework Dependency" src="https://custom-icon-badges.demolab.com/badge/dependency-REFramework%20v1.503%2B-green?logo=package-dependencies" />
|
||||
<img alt="REFramework Dependency" src="https://custom-icon-badges.demolab.com/badge/dependency-REFramework%20v1.605%2B-green?logo=package-dependencies" />
|
||||
</a>
|
||||
<a href="https://www.nexusmods.com/monsterhunterrise/mods/134">
|
||||
<img alt="REFramework Direct2D Dependency" src="https://custom-icon-badges.demolab.com/badge/dependency-REFramework%20Direct2D%20v0.4.0%2B-yellow?logo=package-dependencies" />
|
||||
@@ -135,33 +135,34 @@
|
||||
* **[Troubleshooting](https://github.com/GreenComfyTea/MHR-Overlay/wiki/Troubleshooting)**
|
||||
|
||||
# Requirements
|
||||
1. [REFramework](https://www.nexusmods.com/monsterhunterrise/mods/26) (v1.503+);
|
||||
2. [REFramework Direct2D](https://www.nexusmods.com/monsterhunterrise/mods/134) (v0.4.0+) - Needed for Unicode Support.
|
||||
1. **[REFramework](https://www.nexusmods.com/monsterhunterrise/mods/26)** (v1.503+);
|
||||
2. **[REFramework Direct2D](https://www.nexusmods.com/monsterhunterrise/mods/134)** (v0.4.0+) - Needed for Unicode Support.
|
||||
|
||||
# How to install:
|
||||
1. Install [REFramework](https://www.nexusmods.com/monsterhunterrise/mods/26);
|
||||
2. Install [REFramework Direct2D](https://www.nexusmods.com/monsterhunterrise/mods/134);
|
||||
1. Install **[REFramework](https://www.nexusmods.com/monsterhunterrise/mods/26)**;
|
||||
2. Install **[REFramework Direct2D](https://www.nexusmods.com/monsterhunterrise/mods/134)**;
|
||||
>**:pushpin: Windows:** Works normally.
|
||||
|
||||
>**:pushpin: Linux:** Latest Experimental Proton seems to have it working normally as well (https://github.com/cursey/reframework-d2d/issues/5).
|
||||
|
||||
>**:pushpin: Steam Deck:** I've seen people getting it working but I don't have the exact instructions. You will have to figure it out yourself and/or search the nexus pages for information ([REFramework](https://www.nexusmods.com/monsterhunterrise/mods/26?tab=description), [REFramework Direct2D](https://www.nexusmods.com/monsterhunterrise/mods/134), [MHR Overlay](https://www.nexusmods.com/monsterhunterrise/mods/50)).
|
||||
>**:pushpin: Steam Deck:** I've seen people getting it working but I don't have the exact instructions. You will have to figure it out yourself and/or search the nexus pages for information (**[REFramework](https://www.nexusmods.com/monsterhunterrise/mods/26?tab=description)**, **[REFramework Direct2D](https://www.nexusmods.com/monsterhunterrise/mods/134)**, **[MHR Overlay](https://www.nexusmods.com/monsterhunterrise/mods/50)**).
|
||||
|
||||
3. Download the mod:
|
||||
* Official release can be downloaded from [Nexus Mods](https://www.nexusmods.com/monsterhunterrise/mods/50);
|
||||
* Nightly builds are available in [this repo](https://github.com/GreenComfyTea/MHR-Overlay) and can contain broken functionality, debugging info on screen, bugs and might require the latest [nightly build](https://github.com/praydog/REFramework-nightly/releases) of [REFramework](https://www.nexusmods.com/monsterhunterrise/mods/26). Use with caution!
|
||||
4. Extract the mod from the archive and place it in MonsterHunterRise folder. Refer to [FAQ](https://github.com/GreenComfyTea/MHR-Overlay/wiki/FAQ) to verify how the file hierarchy should look like if everything is done correctly.
|
||||
* Official release can be downloaded from **[Nexus Mods](https://www.nexusmods.com/monsterhunterrise/mods/50)**;
|
||||
* Nightly builds are available in **[this repo](https://github.com/GreenComfyTea/MHR-Overlay)** and can contain broken functionality, debugging info on screen, bugs and might require the latest **[nightly build](https://github.com/praydog/REFramework-nightly/releases)** of **[REFramework](https://www.nexusmods.com/monsterhunterrise/mods/26)**. Use with caution!
|
||||
4. Extract the mod from the archive and place it in MonsterHunterRise folder. Refer to **[FAQ](https://github.com/GreenComfyTea/MHR-Overlay/wiki/FAQ)** to verify how the file hierarchy should look like if everything is done correctly.
|
||||
|
||||
# Credits
|
||||
**GreenComfyTea** - creator of the mod and it's main contributor.
|
||||
**cursecat** - creator of [REFramework](https://www.nexusmods.com/monsterhunterrise/mods/26), [REFramework Direct2D](https://www.nexusmods.com/monsterhunterrise/mods/134) plugin and [Monster Has HP Bar](https://www.nexusmods.com/monsterhunterrise/mods/43) mod, which provided an example on how to retrieve monster HP data.
|
||||
**praydog2** - creator of [REFramework](https://www.nexusmods.com/monsterhunterrise/mods/26). Contributed huge improvements to the performance of the mod.
|
||||
**coavins** - creator of [coavins damage meter](https://www.nexusmods.com/monsterhunterrise/mods/68) mod.
|
||||
**[GreenComfyTea](https://github.com/GreenComfyTea)** - creator of the mod and it's main contributor.
|
||||
**[cursey](https://github.com/cursey)** - creator of [REFramework](https://www.nexusmods.com/monsterhunterrise/mods/26), [REFramework Direct2D](https://www.nexusmods.com/monsterhunterrise/mods/134) plugin and [Monster Has HP Bar](https://www.nexusmods.com/monsterhunterrise/mods/43) mod, which provided an example on how to retrieve monster HP data.
|
||||
**[praydog](https://github.com/praydog)** - creator of [REFramework](https://www.nexusmods.com/monsterhunterrise/mods/26). Contributed huge improvements to the performance of the mod.
|
||||
**[coavins](https://github.com/coavins)** - creator of [coavins damage meter](https://www.nexusmods.com/monsterhunterrise/mods/68) mod.
|
||||
**[lingsamuel](https://github.com/lingsamuel)** - creator of [Data Reporter and Buff Notification](https://www.nexusmods.com/monsterhunterrise/mods/1609) mod.
|
||||
|
||||
**neatnet** - Korean translation.
|
||||
**s9000008, mcc1** - Traditional Chinese translation.
|
||||
**etnAtker**, **sukiqwq** - Simplified Chinese translation.
|
||||
**AKILAND0214** - Japanese translation.
|
||||
**[neatnet](https://github.com/neatnet)** - Korean translation.
|
||||
**[s9000008](https://github.com/s9000008)**, **[mcc1](https://github.com/mcc1)** - Traditional Chinese translation.
|
||||
**[etnAtker](https://github.com/etnAtker)**, **[sukiqwq](https://github.com/sukiqwq)** - Simplified Chinese translation.
|
||||
**[AKILAND0214](https://github.com/AKILAND0214)** - Japanese translation.
|
||||
***
|
||||
# Support
|
||||
|
||||
|
||||
@@ -45,12 +45,16 @@ local utils = require("MHR_Overlay.Misc.utils");
|
||||
local player_info = require("MHR_Overlay.Misc.player_info");
|
||||
|
||||
local buffs = require("MHR_Overlay.Buffs.buffs");
|
||||
local consumables = require("MHR_Overlay.Buffs.consumables");
|
||||
local item_buffs = require("MHR_Overlay.Buffs.item_buffs");
|
||||
local melody_effects = require("MHR_Overlay.Buffs.melody_effects");
|
||||
local endemic_life_buffs = require("MHR_Overlay.Buffs.endemic_life_buffs");
|
||||
local skills = require("MHR_Overlay.Buffs.skills");
|
||||
local dangos = require("MHR_Overlay.Buffs.dangos");
|
||||
local dango_skills = require("MHR_Overlay.Buffs.dango_skills");
|
||||
local abnormal_statuses = require("MHR_Overlay.Buffs.abnormal_statuses");
|
||||
local otomo_moves = require("MHR_Overlay.Buffs.otomo_moves");
|
||||
local weapon_skills = require("MHR_Overlay.Buffs.weapon_skills");
|
||||
local rampage_skills = require("MHR_Overlay.Buffs.rampage_skills");
|
||||
local misc_buffs = require("MHR_Overlay.Buffs.misc_buffs");
|
||||
|
||||
local players = require("MHR_Overlay.Damage_Meter.players");
|
||||
local non_players = require("MHR_Overlay.Damage_Meter.non_players");
|
||||
@@ -125,12 +129,16 @@ buff_UI_entity.init_dependencies();
|
||||
player_info.init_dependencies();
|
||||
|
||||
buffs.init_dependencies();
|
||||
consumables.init_dependencies();
|
||||
item_buffs.init_dependencies();
|
||||
melody_effects.init_dependencies();
|
||||
endemic_life_buffs.init_dependencies();
|
||||
skills.init_dependencies();
|
||||
dangos.init_dependencies();
|
||||
dango_skills.init_dependencies();
|
||||
abnormal_statuses.init_dependencies();
|
||||
otomo_moves.init_dependencies();
|
||||
weapon_skills.init_dependencies();
|
||||
rampage_skills.init_dependencies();
|
||||
misc_buffs.init_dependencies();
|
||||
|
||||
damage_hook.init_dependencies();
|
||||
players.init_dependencies();
|
||||
@@ -200,12 +208,16 @@ buff_UI_entity.init_module();
|
||||
player_info.init_module();
|
||||
|
||||
buffs.init_module();
|
||||
consumables.init_module();
|
||||
item_buffs.init_module();
|
||||
melody_effects.init_module();
|
||||
endemic_life_buffs.init_module();
|
||||
skills.init_module();
|
||||
dangos.init_module();
|
||||
dango_skills.init_module();
|
||||
abnormal_statuses.init_module();
|
||||
otomo_moves.init_module();
|
||||
weapon_skills.init_module();
|
||||
rampage_skills.init_module();
|
||||
misc_buffs.init_module();
|
||||
|
||||
damage_hook.init_module();
|
||||
players.init_module();
|
||||
@@ -260,9 +272,9 @@ log.info("[MHR Overlay] Loaded.");
|
||||
|
||||
local function update_modules(module_visibility_config, flow_state_name)
|
||||
if module_visibility_config.small_monster_UI and config.current_config.small_monster_UI.enabled then
|
||||
local success = pcall(small_monster_UI.update);
|
||||
local success, error = pcall(small_monster_UI.update);
|
||||
if not success then
|
||||
error_handler.report("MHR_Overlay.update_modules", string.format("[%s] Small Monster UI Update Function threw an Exception", flow_state_name));
|
||||
error_handler.report("MHR_Overlay.update_modules", string.format("[%s] Small Monster UI: %s", flow_state_name, tostring(error)));
|
||||
end
|
||||
end
|
||||
|
||||
@@ -273,39 +285,39 @@ local function update_modules(module_visibility_config, flow_state_name)
|
||||
local highlighted_enabled = large_monster_UI_config.highlighted.enabled and module_visibility_config.large_monster_highlighted_UI;
|
||||
|
||||
if dynamic_enabled or static_enabled or highlighted_enabled then
|
||||
local success = pcall(large_monster_UI.update, dynamic_enabled, static_enabled, highlighted_enabled);
|
||||
local success, error = pcall(large_monster_UI.update, dynamic_enabled, static_enabled, highlighted_enabled);
|
||||
if not success then
|
||||
error_handler.report("MHR_Overlay.update_modules", string.format("[%s] Large Monster UI Update Function threw an Exception", flow_state_name));
|
||||
error_handler.report("MHR_Overlay.update_modules", string.format("[%s] Large Monster UI: %s", flow_state_name, tostring(error)));
|
||||
end
|
||||
end
|
||||
|
||||
if config.current_config.damage_meter_UI.enabled and module_visibility_config.damage_meter_UI then
|
||||
local success = pcall(damage_meter_UI.update);
|
||||
local success, error = pcall(damage_meter_UI.update);
|
||||
if not success then
|
||||
error_handler.report("MHR_Overlay.update_modules", string.format("[%s] Damage Meter UI Update Function threw an Exception", flow_state_name));
|
||||
error_handler.report("MHR_Overlay.update_modules", string.format("[%s] Damage Meter UI: %s", flow_state_name, tostring(error)));
|
||||
end
|
||||
end
|
||||
|
||||
if config.current_config.endemic_life_UI.enabled and module_visibility_config.endemic_life_UI then
|
||||
local success = pcall(env_creature_UI.update);
|
||||
local success, error = pcall(env_creature_UI.update);
|
||||
if not success then
|
||||
error_handler.report("MHR_Overlay.update_modules", string.format("[%s] Endemic Life UI Update Function threw an Exception", flow_state_name));
|
||||
error_handler.report("MHR_Overlay.update_modules", string.format("[%s] Endemic Life UI: %s", flow_state_name, tostring(error)));
|
||||
end
|
||||
end
|
||||
|
||||
if config.current_config.buff_UI.enabled and module_visibility_config.buff_UI then
|
||||
local success = pcall(buff_UI.update);
|
||||
local success, error = pcall(buff_UI.update);
|
||||
if not success then
|
||||
error_handler.report("MHR_Overlay.update_modules", string.format("[%s] Buff UI Update Function threw an Exception", flow_state_name));
|
||||
error_handler.report("MHR_Overlay.update_modules", string.format("[%s] Buff UI: %s", flow_state_name, tostring(error)));
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
local function draw_modules(module_visibility_config, flow_state_name)
|
||||
if module_visibility_config.small_monster_UI and config.current_config.small_monster_UI.enabled then
|
||||
local success = pcall(small_monster_UI.draw);
|
||||
local success, error = pcall(small_monster_UI.draw);
|
||||
if not success then
|
||||
error_handler.report("MHR_Overlay.draw_modules", string.format("[%s] Small Monster UI Draw Function threw an Exception", flow_state_name));
|
||||
error_handler.report("MHR_Overlay.draw_modules", string.format("[%s] Small Monster UI: %s", flow_state_name, tostring(error)));
|
||||
end
|
||||
end
|
||||
|
||||
@@ -316,44 +328,44 @@ local function draw_modules(module_visibility_config, flow_state_name)
|
||||
local highlighted_enabled = large_monster_UI_config.highlighted.enabled and module_visibility_config.large_monster_highlighted_UI;
|
||||
|
||||
if dynamic_enabled or static_enabled or highlighted_enabled then
|
||||
local success = pcall(large_monster_UI.draw, dynamic_enabled, static_enabled, highlighted_enabled);
|
||||
local success, error = pcall(large_monster_UI.draw, dynamic_enabled, static_enabled, highlighted_enabled);
|
||||
if not success then
|
||||
error_handler.report("MHR_Overlay.draw_modules", string.format("[%s] Large Monster UI Draw Function threw an Exception", flow_state_name));
|
||||
error_handler.report("MHR_Overlay.draw_modules", string.format("[%s] Large Monster UI: %s", flow_state_name, tostring(error)));
|
||||
end
|
||||
end
|
||||
|
||||
if config.current_config.time_UI.enabled and module_visibility_config.time_UI then
|
||||
local success = pcall(time_UI.draw);
|
||||
local success, error = pcall(time_UI.draw);
|
||||
if not success then
|
||||
error_handler.report("MHR_Overlay.draw_modules", string.format("[%s] Time UI Draw Function threw an Exception", flow_state_name));
|
||||
error_handler.report("MHR_Overlay.draw_modules", string.format("[%s] Time UI: %s", flow_state_name, tostring(error)));
|
||||
end
|
||||
end
|
||||
|
||||
if config.current_config.damage_meter_UI.enabled and module_visibility_config.damage_meter_UI then
|
||||
local success = pcall(damage_meter_UI.draw);
|
||||
local success, error = pcall(damage_meter_UI.draw);
|
||||
if not success then
|
||||
error_handler.report("MHR_Overlay.draw_modules", string.format("[%s] Damage Meter UI Draw Function threw an Exception", flow_state_name));
|
||||
error_handler.report("MHR_Overlay.draw_modules", string.format("[%s] Damage Meter UI: %s", flow_state_name, tostring(error)));
|
||||
end
|
||||
end
|
||||
|
||||
if config.current_config.endemic_life_UI.enabled and module_visibility_config.endemic_life_UI then
|
||||
local success = pcall(env_creature_UI.draw);
|
||||
local success, error = pcall(env_creature_UI.draw);
|
||||
if not success then
|
||||
error_handler.report("MHR_Overlay.draw_modules", string.format("[%s] Endemic Life UI Draw Function threw an Exception", flow_state_name));
|
||||
error_handler.report("MHR_Overlay.draw_modules", string.format("[%s] Endemic Life UI: %s", flow_state_name, tostring(error)));
|
||||
end
|
||||
end
|
||||
|
||||
if config.current_config.buff_UI.enabled and module_visibility_config.buff_UI then
|
||||
local success = pcall(buff_UI.draw);
|
||||
local success, error = pcall(buff_UI.draw);
|
||||
if not success then
|
||||
error_handler.report("MHR_Overlay.draw_modules", string.format("[%s] Buff UI Draw Function threw an Exception", flow_state_name));
|
||||
error_handler.report("MHR_Overlay.draw_modules", string.format("[%s] Buff UI: %s", flow_state_name, tostring(error)));
|
||||
end
|
||||
end
|
||||
|
||||
if config.current_config.stats_UI.enabled and module_visibility_config.stats_UI then
|
||||
local success = pcall(stats_UI.draw);
|
||||
local success, error = pcall(stats_UI.draw);
|
||||
if not success then
|
||||
error_handler.report("MHR_Overlay.draw_modules", string.format("[%s] Stats UI Draw Function threw an Exception", flow_state_name));
|
||||
error_handler.report("MHR_Overlay.draw_modules", string.format("[%s] Stats UI: %s", flow_state_name, tostring(error)));
|
||||
end
|
||||
end
|
||||
end
|
||||
@@ -369,30 +381,30 @@ local function update_UI()
|
||||
local highlighted_enabled = large_monster_UI_config.highlighted.enabled and module_visibility_config.large_monster_highlighted_UI;
|
||||
|
||||
if dynamic_enabled or static_enabled or highlighted_enabled then
|
||||
local success = pcall(large_monster_UI.update, dynamic_enabled, static_enabled, highlighted_enabled);
|
||||
local success, error = pcall(large_monster_UI.update, dynamic_enabled, static_enabled, highlighted_enabled);
|
||||
if not success then
|
||||
error_handler.report("MHR_Overlay.update_loop", "[In Training Area] Large Monster UI Update Function threw an Exception");
|
||||
error_handler.report("MHR_Overlay.update_UI", string.format("[In Training Area] Large Monster UI: %s", tostring(error)));
|
||||
end
|
||||
end
|
||||
|
||||
if config.current_config.damage_meter_UI.enabled and module_visibility_config.damage_meter_UI then
|
||||
local success = pcall(damage_meter_UI.update);
|
||||
local success, error = pcall(damage_meter_UI.update);
|
||||
if not success then
|
||||
error_handler.report("MHR_Overlay.update_modules", "[In Training Area] Damage Meter UI Update Function threw an Exception");
|
||||
error_handler.report("MHR_Overlay.update_UI", string.format("[In Training Area] Damage Meter UI: %s", tostring(error)));
|
||||
end
|
||||
end
|
||||
|
||||
if config.current_config.endemic_life_UI.enabled and module_visibility_config.endemic_life_UI then
|
||||
local success = pcall(env_creature_UI.update);
|
||||
local success, error = pcall(env_creature_UI.update);
|
||||
if not success then
|
||||
error_handler.report("MHR_Overlay.update_loop", "[In Training Area] Endemic Life UI Update Function threw an Exception");
|
||||
error_handler.report("MHR_Overlay.update_UI", string.format("[In Training Area] Endemic Life UI: %s", tostring(error)));
|
||||
end
|
||||
end
|
||||
|
||||
if config.current_config.buff_UI.enabled and module_visibility_config.buff_UI then
|
||||
local success = pcall(buff_UI.update);
|
||||
local success, error = pcall(buff_UI.update);
|
||||
if not success then
|
||||
error_handler.report("MHR_Overlay.update_loop", "[In Training Area] Buff UI Update Function threw an Exception");
|
||||
error_handler.report("MHR_Overlay.update_UI", string.format("[In Training Area] Buff UI: %s", tostring(error)));
|
||||
end
|
||||
end
|
||||
|
||||
@@ -424,9 +436,9 @@ local function draw_loop()
|
||||
local module_visibility_config = config.current_config.global_settings.module_visibility.in_lobby;
|
||||
|
||||
if config.current_config.stats_UI.enabled and module_visibility_config.stats_UI then
|
||||
local success = pcall(stats_UI.draw);
|
||||
local success, error = pcall(stats_UI.draw);
|
||||
if not success then
|
||||
error_handler.report("MHR_Overlay.main_loop", "[In Training Area] Stats UI Draw Function threw an Exception");
|
||||
error_handler.report("MHR_Overlay.main_loop", string.format("[In Training Area] Stats UI: %s", tostring(error)));
|
||||
end
|
||||
end
|
||||
|
||||
@@ -440,37 +452,37 @@ local function draw_loop()
|
||||
local highlighted_enabled = large_monster_UI_config.highlighted.enabled and module_visibility_config.large_monster_highlighted_UI;
|
||||
|
||||
if dynamic_enabled or static_enabled or highlighted_enabled then
|
||||
local success = pcall(large_monster_UI.draw, dynamic_enabled, static_enabled, highlighted_enabled);
|
||||
local success, error = pcall(large_monster_UI.draw, dynamic_enabled, static_enabled, highlighted_enabled);
|
||||
if not success then
|
||||
error_handler.report("MHR_Overlay.main_loop", "[In Training Area] Large Monster UI Draw Function threw an Exception");
|
||||
error_handler.report("MHR_Overlay.main_loop", string.format("[In Training Area] Large Monster UI: %s", tostring(error)));
|
||||
end
|
||||
end
|
||||
|
||||
if config.current_config.damage_meter_UI.enabled and module_visibility_config.damage_meter_UI then
|
||||
local success = pcall(damage_meter_UI.draw);
|
||||
local success, error = pcall(damage_meter_UI.draw);
|
||||
if not success then
|
||||
error_handler.report("MHR_Overlay.main_loop", "[In Training Area] Damage Meter UI Draw Function threw an Exception");
|
||||
error_handler.report("MHR_Overlay.main_loop", string.format("[In Training Area] Damage Meter UI: %s", tostring(error)));
|
||||
end
|
||||
end
|
||||
|
||||
if config.current_config.endemic_life_UI.enabled and module_visibility_config.endemic_life_UI then
|
||||
local success = pcall(env_creature_UI.draw);
|
||||
local success, error = pcall(env_creature_UI.draw);
|
||||
if not success then
|
||||
error_handler.report("MHR_Overlay.main_loop", "[In Training Area] Endemic Life UI Draw Function threw an Exception");
|
||||
error_handler.report("MHR_Overlay.main_loop", string.format("[In Training Area] Endemic Life UI: %s", tostring(error)));
|
||||
end
|
||||
end
|
||||
|
||||
if config.current_config.buff_UI.enabled and module_visibility_config.buff_UI then
|
||||
local success = pcall(buff_UI.draw);
|
||||
local success, error = pcall(buff_UI.draw);
|
||||
if not success then
|
||||
error_handler.report("MHR_Overlay.main_loop", "[In Training Area] Buff UI Draw Function threw an Exception");
|
||||
error_handler.report("MHR_Overlay.main_loop", string.format("[In Training Area] Buff UI: %s", tostring(error)));
|
||||
end
|
||||
end
|
||||
|
||||
if config.current_config.stats_UI.enabled and module_visibility_config.stats_UI then
|
||||
local success = pcall(stats_UI.draw);
|
||||
local success, error = pcall(stats_UI.draw);
|
||||
if not success then
|
||||
error_handler.report("MHR_Overlay.main_loop", "[In Training Area] Stats UI Draw Function threw an Exception");
|
||||
error_handler.report("MHR_Overlay.main_loop", string.format("[In Training Area] Stats UI: %s", tostring(error)));
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
@@ -45,16 +45,19 @@ local package = package;
|
||||
this.list = {
|
||||
fireblight = nil,
|
||||
waterblight = nil,
|
||||
iceblight = nil,
|
||||
thunderblight = nil,
|
||||
iceblight = nil,
|
||||
dragonblight = nil,
|
||||
blastblight = nil,
|
||||
bubbleblight = nil,
|
||||
minor_bubbleblight = nil,
|
||||
major_bubbleblight = nil,
|
||||
hellfireblight = nil,
|
||||
bloodblight = nil,
|
||||
poison = nil,
|
||||
deadly_poison = nil,
|
||||
stun = nil,
|
||||
paralysis = nil,
|
||||
falling_asleep = nil,
|
||||
sleep = nil,
|
||||
defense_down = nil,
|
||||
resistance_down = nil,
|
||||
@@ -63,67 +66,107 @@ this.list = {
|
||||
webbed = nil,
|
||||
stench = nil,
|
||||
leeched = nil,
|
||||
whirlwind = nil,
|
||||
-- whirlwind = nil,
|
||||
bleeding = nil,
|
||||
frenzy = nil,
|
||||
frenzy_overcome = nil,
|
||||
frenzy_infection = nil,
|
||||
engulfed = nil,
|
||||
frostblight = nil,
|
||||
muck = nil
|
||||
};
|
||||
|
||||
this.keys = {
|
||||
"fireblight",
|
||||
"waterblight",
|
||||
"thunderblight",
|
||||
"iceblight",
|
||||
"dragonblight",
|
||||
"blastblight",
|
||||
"minor_bubbleblight",
|
||||
"major_bubbleblight",
|
||||
"hellfireblight",
|
||||
"bloodblight",
|
||||
"frostblight",
|
||||
"poison",
|
||||
"deadly_poison",
|
||||
"stun",
|
||||
"paralysis",
|
||||
"falling_asleep",
|
||||
"sleep",
|
||||
"defense_down",
|
||||
"resistance_down",
|
||||
"tremor",
|
||||
"roar",
|
||||
"webbed",
|
||||
"stench",
|
||||
"leeched",
|
||||
-- "whirlwind",
|
||||
"bleeding",
|
||||
"engulfed",
|
||||
"muck",
|
||||
"frenzy",
|
||||
"frenzy_overcome",
|
||||
"frenzy_infection"
|
||||
};
|
||||
|
||||
this.UI = nil;
|
||||
|
||||
local abnormal_statuses_type_name = "abnormal_statuses";
|
||||
|
||||
local frenzy_infected_duration = 121;
|
||||
|
||||
local player_quest_base_type_def = sdk.find_type_definition("snow.player.PlayerQuestBase");
|
||||
|
||||
-- Fireblight
|
||||
local fire_duration_timer = player_quest_base_type_def:get_field("_FireLDurationTimer");
|
||||
local fire_duration_timer_field = player_quest_base_type_def:get_field("_FireLDurationTimer");
|
||||
-- Waterblight
|
||||
local water_duration_timer = player_quest_base_type_def:get_field("_WaterLDurationTimer");
|
||||
-- Iceblight
|
||||
local ice_duration_timer = player_quest_base_type_def:get_field("_IceLDurationTimer");
|
||||
local water_duration_timer_field = player_quest_base_type_def:get_field("_WaterLDurationTimer");
|
||||
-- Thunderblight
|
||||
local thunder_duration_timer = player_quest_base_type_def:get_field("_ThunderLDurationTimer");
|
||||
local thunder_duration_timer_field = player_quest_base_type_def:get_field("_ThunderLDurationTimer");
|
||||
-- Iceblight
|
||||
local ice_duration_timer_field = player_quest_base_type_def:get_field("_IceLDurationTimer");
|
||||
-- Dragonblight
|
||||
local dragon_duration_timer = player_quest_base_type_def:get_field("_DragonLDurationTimer");
|
||||
local dragon_duration_timer_field = player_quest_base_type_def:get_field("_DragonLDurationTimer");
|
||||
-- blastblight
|
||||
local bomb_duration_timer = player_quest_base_type_def:get_field("_BombDurationTimer");
|
||||
local bomb_duration_timer_field = player_quest_base_type_def:get_field("_BombDurationTimer");
|
||||
-- Bubbleblight
|
||||
local bubble_damage_timer = player_quest_base_type_def:get_field("_BubbleDamageTimer");
|
||||
local bubble_type_field = player_quest_base_type_def:get_field("_BubbleType");
|
||||
local bubble_damage_timer_field = player_quest_base_type_def:get_field("_BubbleDamageTimer");
|
||||
-- Hellfireblight
|
||||
local oni_bomb_duration_timer = player_quest_base_type_def:get_field("_OniBombDurationTimer");
|
||||
local oni_bomb_duration_timer_field = player_quest_base_type_def:get_field("_OniBombDurationTimer");
|
||||
-- Bloodblight
|
||||
local mystery_debuff_timer = player_quest_base_type_def:get_field("_MysteryDebuffTimer");
|
||||
local mystery_debuff_timer_field = player_quest_base_type_def:get_field("_MysteryDebuffTimer");
|
||||
-- Frostblight
|
||||
local get_is_frozen_damage_method = player_quest_base_type_def:get_method("get_IsFrozenDamage");
|
||||
|
||||
-- Poison
|
||||
local poison_duration_timer = player_quest_base_type_def:get_field("_PoisonDurationTimer");
|
||||
local poison_level_field = player_quest_base_type_def:get_field("_PoisonLv");
|
||||
local poison_duration_timer_field = player_quest_base_type_def:get_field("_PoisonDurationTimer");
|
||||
-- Stun
|
||||
local stun_duration_timer = player_quest_base_type_def:get_field("_StunDurationTimer");
|
||||
local stun_duration_timer_field = player_quest_base_type_def:get_field("_StunDurationTimer");
|
||||
-- Falling Sleep
|
||||
local get_sleep_movable_timer_method = player_quest_base_type_def:get_method("get_SleepMovableTimer");
|
||||
-- Sleep
|
||||
local sleep_duration_timer = player_quest_base_type_def:get_field("_SleepDurationTimer");
|
||||
local sleep_duration_timer_field = player_quest_base_type_def:get_field("_SleepDurationTimer");
|
||||
-- Paralysis
|
||||
local paralyze_duration_timer = player_quest_base_type_def:get_field("_ParalyzeDurationTimer");
|
||||
local paralyze_duration_timer_field = player_quest_base_type_def:get_field("_ParalyzeDurationTimer");
|
||||
|
||||
-- Defense Down
|
||||
local defense_down_duration_timer = player_quest_base_type_def:get_field("_DefenceDownDurationTimer");
|
||||
local defense_down_duration_timer_field = player_quest_base_type_def:get_field("_DefenceDownDurationTimer");
|
||||
-- Resistance Down
|
||||
local resistance_down_duration_timer = player_quest_base_type_def:get_field("_ResistanceDownDurationTimer");
|
||||
local resistance_down_duration_timer_field = player_quest_base_type_def:get_field("_ResistanceDownDurationTimer");
|
||||
|
||||
-- Tremor
|
||||
local quake_duration_timer = player_quest_base_type_def:get_field("_QuakeDurationTimer");
|
||||
local quake_duration_timer_field = player_quest_base_type_def:get_field("_QuakeDurationTimer");
|
||||
-- Roar
|
||||
local ear_duration_timer = player_quest_base_type_def:get_field("_EarDurationTimer");
|
||||
local ear_duration_timer_field = player_quest_base_type_def:get_field("_EarDurationTimer");
|
||||
-- Webbed
|
||||
local beto_duration_timer = player_quest_base_type_def:get_field("_BetoDurationTimer");
|
||||
local beto_duration_timer_field = player_quest_base_type_def:get_field("_BetoDurationTimer");
|
||||
-- Stench
|
||||
local stink_duration_timer = player_quest_base_type_def:get_field("_StinkDurationTimer");
|
||||
local stink_duration_timer_field = player_quest_base_type_def:get_field("_StinkDurationTimer");
|
||||
-- Leeched
|
||||
local blooding_enemy_timer = player_quest_base_type_def:get_field("_BloodingEnemyTimer");
|
||||
local blooding_enemy_timer_field = player_quest_base_type_def:get_field("_BloodingEnemyTimer");
|
||||
-- Bleeding
|
||||
local bleeding_debuff_timer = player_quest_base_type_def:get_field("_BleedingDebuffTimer");
|
||||
local bleeding_debuff_timer_field = player_quest_base_type_def:get_field("_BleedingDebuffTimer");
|
||||
-- Engulfed
|
||||
local get_is_vacuum_damage_method = player_quest_base_type_def:get_method("get__IsVacuumDamage");
|
||||
-- Muck
|
||||
@@ -136,109 +179,154 @@ local virus_timer_field = player_quest_base_type_def:get_field("_VirusTimer");
|
||||
-- Frenzy
|
||||
local virus_onset_timer_field = player_quest_base_type_def:get_field("_VirusOnsetTimer");
|
||||
|
||||
|
||||
|
||||
|
||||
local player_data_type_def = sdk.find_type_definition("snow.player.PlayerData");
|
||||
|
||||
-- Frenzy Overcome
|
||||
local virus_overcome_buff_timer_field = player_data_type_def:get_field("_VirusOvercomeBuffTimer");
|
||||
|
||||
|
||||
function this.update(player, player_data)
|
||||
--local item_parameter = get_ref_item_parameter_method:call(singletons.player_manager);
|
||||
--if item_parameter == nil then
|
||||
-- error_handler.report("consumables.update", "Failed to access Data: item_parameter");
|
||||
-- return;
|
||||
--end
|
||||
|
||||
-- Missing:
|
||||
-- Whirlwind
|
||||
-- whirlwind?
|
||||
-- Wind Pressure?
|
||||
|
||||
this.update_poison(player);
|
||||
this.update_bubbleblight(player);
|
||||
this.update_muck(player);
|
||||
this.update_frenzy_infection(player);
|
||||
|
||||
this.update_generic_timer("fireblight", player, fire_duration_timer);
|
||||
this.update_generic_timer("waterblight", player, water_duration_timer);
|
||||
this.update_generic_timer("iceblight", player, ice_duration_timer);
|
||||
this.update_generic_timer("thunderblight", player, thunder_duration_timer);
|
||||
this.update_generic_timer("dragonblight", player, dragon_duration_timer);
|
||||
this.update_abnormal_status("fireblight", nil, nil, player, fire_duration_timer_field);
|
||||
this.update_abnormal_status("waterblight", nil, nil, player, water_duration_timer_field);
|
||||
this.update_abnormal_status("thunderblight", nil, nil, player, thunder_duration_timer_field);
|
||||
this.update_abnormal_status("iceblight", nil, nil, player, ice_duration_timer_field);
|
||||
this.update_abnormal_status("dragonblight", nil, nil, player, dragon_duration_timer_field);
|
||||
this.update_abnormal_status("blastblight", nil, nil, player, bomb_duration_timer_field);
|
||||
this.update_abnormal_status("hellfireblight", nil, nil, player, oni_bomb_duration_timer_field);
|
||||
this.update_abnormal_status("bloodblight", nil, nil, player, mystery_debuff_timer_field);
|
||||
this.update_abnormal_status("frostblight", player, get_is_frozen_damage_method);
|
||||
|
||||
this.update_generic_timer("blastblight", player, bomb_duration_timer);
|
||||
this.update_generic_timer("bubbleblight", player, bubble_damage_timer);
|
||||
this.update_generic_timer("hellfireblight", player, oni_bomb_duration_timer);
|
||||
this.update_generic_timer("bloodblight", player, mystery_debuff_timer);
|
||||
this.update_abnormal_status("stun", nil, nil, player, stun_duration_timer_field);
|
||||
this.update_abnormal_status("paralysis", nil, nil, player, paralyze_duration_timer_field);
|
||||
this.update_abnormal_status("falling_asleep", nil, nil, player, get_sleep_movable_timer_method);
|
||||
this.update_abnormal_status("defense_down", nil, nil, player, defense_down_duration_timer_field);
|
||||
this.update_abnormal_status("resistance_down", nil, nil, player, resistance_down_duration_timer_field);
|
||||
|
||||
this.update_generic_timer("poison", player, poison_duration_timer);
|
||||
this.update_generic_timer("stun", player, stun_duration_timer);
|
||||
this.update_generic_timer("paralysis", player, paralyze_duration_timer);
|
||||
this.update_generic_timer("sleep", player, sleep_duration_timer);
|
||||
this.update_abnormal_status("tremor", nil, nil, player, quake_duration_timer_field);
|
||||
this.update_abnormal_status("roar", nil, nil, player, ear_duration_timer_field);
|
||||
this.update_abnormal_status("webbed", nil, nil, player, beto_duration_timer_field);
|
||||
this.update_abnormal_status("stench", nil, nil, player, stink_duration_timer_field);
|
||||
this.update_abnormal_status("leeched", nil, nil, player, blooding_enemy_timer_field, true);
|
||||
this.update_abnormal_status("bleeding", nil, nil, player, bleeding_debuff_timer_field);
|
||||
this.update_abnormal_status("engulfed", player, get_is_vacuum_damage_method);
|
||||
|
||||
this.update_generic_timer("defense_down", player, defense_down_duration_timer);
|
||||
this.update_generic_timer("resistance_down", player, resistance_down_duration_timer);
|
||||
this.update_abnormal_status("frenzy", nil, nil, player, virus_onset_timer_field);
|
||||
this.update_abnormal_status("frenzy_overcome", nil, nil, player_data, virus_overcome_buff_timer_field);
|
||||
|
||||
this.update_generic_timer("tremor", player, quake_duration_timer);
|
||||
this.update_generic_timer("roar", player, ear_duration_timer);
|
||||
this.update_generic_timer("webbed", player, beto_duration_timer);
|
||||
this.update_generic_timer("stench", player, stink_duration_timer);
|
||||
this.update_generic_timer("leeched", player, blooding_enemy_timer, true);
|
||||
-- whirlwind?
|
||||
this.update_generic_timer("bleeding", player, bleeding_debuff_timer);
|
||||
this.update_generic_timer("frenzy", player, virus_onset_timer_field);
|
||||
this.update_generic_timer("frenzy_overcome", player_data, virus_overcome_buff_timer_field);
|
||||
|
||||
this.update_generic_boolean_value_method("engulfed", player, get_is_vacuum_damage_method);
|
||||
this.update_generic_boolean_value_method("frostblight", player, get_is_frozen_damage_method);
|
||||
this.update_sleep(player);
|
||||
end
|
||||
|
||||
function this.update_generic_timer(debuff_key, timer_owner, timer_field, is_infinite)
|
||||
if is_infinite == nil then is_infinite = false; end
|
||||
function this.update_abnormal_status(key, value_owner, value_holder, timer_owner, timer_holder, is_infinite, minimal_value, level_breakpoints)
|
||||
return buffs.update_generic_buff(this.list, config.current_config.buff_UI.filter.abnormal_statuses, this.get_abnormal_status_name,
|
||||
abnormal_statuses_type_name, key, value_owner, value_holder, timer_owner, timer_holder, is_infinite, minimal_value, level_breakpoints);
|
||||
end
|
||||
|
||||
local timer = timer_field:get_data(timer_owner);
|
||||
if timer == nil then
|
||||
error_handler.report("abnormal_statuses.update_generic_timer", string.format("Failed to access Data: %s_timer", debuff_key));
|
||||
function this.update_generic(key, level, timer)
|
||||
return buffs.update_generic(this.list, this.get_abnormal_status_name, abnormal_statuses_type_name, key, level, timer);
|
||||
end
|
||||
|
||||
function this.apply_filter(key)
|
||||
return buffs.apply_filter(this.list, config.current_config.buff_UI.filter.abnormal_statuses, key);
|
||||
end
|
||||
|
||||
function this.update_poison(player)
|
||||
local cached_config = config.current_config.buff_UI.filter.abnormal_statuses;
|
||||
|
||||
if not cached_config.poison
|
||||
and not cached_config.deadly_poison then
|
||||
if this.apply_filter("poison") then
|
||||
return;
|
||||
end
|
||||
|
||||
if utils.number.is_equal(timer, 0) then
|
||||
this.list[debuff_key] = nil;
|
||||
if this.apply_filter("deadly_poison") then
|
||||
return;
|
||||
end
|
||||
end
|
||||
|
||||
local poison_level = poison_level_field:get_data(player);
|
||||
if poison_level == nil then
|
||||
error_handler.report("abnormal_statuses.update_poison", "Failed to access Data: poison_level");
|
||||
this.list.poison = nil;
|
||||
this.list.deadly_poison = nil;
|
||||
return;
|
||||
end
|
||||
|
||||
if is_infinite then
|
||||
timer = nil;
|
||||
if poison_level == 0 then
|
||||
this.list.poison = nil;
|
||||
this.list.deadly_poison = nil;
|
||||
return;
|
||||
end
|
||||
|
||||
if poison_level == 1 then
|
||||
this.update_abnormal_status("poison", nil, nil, player, poison_duration_timer_field);
|
||||
this.list.deadly_poison = nil;
|
||||
else
|
||||
timer = timer / 60;
|
||||
this.update_abnormal_status("deadly_poison", nil, nil, player, poison_duration_timer_field);
|
||||
this.list.poison = nil;
|
||||
end
|
||||
|
||||
this.update_generic(debuff_key, timer);
|
||||
end
|
||||
|
||||
function this.update_generic_boolean_value_method(debuff_key, value_owner, value_method)
|
||||
local value = value_method:call(value_owner);
|
||||
if value == nil then
|
||||
error_handler.report("abnormal_statuses.update_generic_boolean_value_method", string.format("Failed to access Data: %s_value", debuff_key));
|
||||
function this.update_bubbleblight(player)
|
||||
local cached_config = config.current_config.buff_UI.filter.abnormal_statuses;
|
||||
|
||||
if not cached_config.minor_bubbleblight
|
||||
and not cached_config.major_bubbleblight then
|
||||
if this.apply_filter("minor_bubbleblight") then
|
||||
return;
|
||||
end
|
||||
|
||||
if not value then
|
||||
this.list[debuff_key] = nil;
|
||||
if this.apply_filter("major_bubbleblight") then
|
||||
return;
|
||||
end
|
||||
end
|
||||
|
||||
local bubble_type = bubble_type_field:get_data(player);
|
||||
if bubble_type == nil then
|
||||
error_handler.report("abnormal_statuses.update_bubbleblight", "Failed to access Data: bubble_Type");
|
||||
this.list.minor_bubbleblight = nil;
|
||||
this.list.major_bubbleblight = nil;
|
||||
return;
|
||||
end
|
||||
|
||||
this.update_generic(debuff_key, nil);
|
||||
if bubble_type == 0 then
|
||||
this.list.minor_bubbleblight = nil;
|
||||
this.list.major_bubbleblight = nil;
|
||||
return;
|
||||
end
|
||||
|
||||
if bubble_type == 1 then
|
||||
this.update_abnormal_status("minor_bubbleblight", nil, nil, player, bubble_damage_timer_field);
|
||||
this.list.major_bubbleblight = nil;
|
||||
else
|
||||
this.update_abnormal_status("major_bubbleblight", nil, nil, player, bubble_damage_timer_field);
|
||||
this.list.minor_bubbleblight = nil;
|
||||
end
|
||||
end
|
||||
|
||||
function this.update_muck(player)
|
||||
if this.apply_filter("muck") then
|
||||
return;
|
||||
end
|
||||
|
||||
local is_mud_damage = get_is_mud_damage_method:call(player);
|
||||
if is_mud_damage == nil then
|
||||
error_handler.report("abnormal_statuses.update_generic_boolean_value_method", "Failed to access Data: is_mud_damage");
|
||||
this.list.muck = nil;
|
||||
return;
|
||||
end
|
||||
|
||||
local is_gold_mud_damage = get_is_gold_mud_damage_method:call(player);
|
||||
if is_gold_mud_damage == nil then
|
||||
error_handler.report("abnormal_statuses.update_generic_boolean_value_method", "Failed to access Data: is_gold_mud_damage");
|
||||
this.list.muck = nil;
|
||||
return;
|
||||
end
|
||||
|
||||
@@ -247,59 +335,71 @@ function this.update_muck(player)
|
||||
return;
|
||||
end
|
||||
|
||||
this.update_generic("muck", nil);
|
||||
this.update_generic("muck");
|
||||
end
|
||||
|
||||
function this.update_frenzy_infection(player)
|
||||
if this.apply_filter("frenzy_infection") then
|
||||
return;
|
||||
end
|
||||
|
||||
local virus_accumulator_value = virus_accumulator_field:get_data(player);
|
||||
if virus_accumulator_value == nil then
|
||||
error_handler.report("abnormal_statuses.update_frenzy_infection", "Failed to access Data: virus_accumulator_value");
|
||||
this.list.frenzy_infection = nil;
|
||||
return;
|
||||
end
|
||||
|
||||
local virus_timer = virus_timer_field:get_data(player);
|
||||
if virus_timer == nil then
|
||||
error_handler.report("abnormal_statuses.update_frenzy_infection", "Failed to access Data: virus_timer");
|
||||
this.list.frenzy_infection = nil;
|
||||
return;
|
||||
end
|
||||
|
||||
if virus_accumulator_value == 0 and utils.number.is_equal(virus_timer, 0)then
|
||||
if virus_accumulator_value == 0 and utils.number.is_equal(virus_timer, 0) then
|
||||
this.list.frenzy_infection = nil;
|
||||
return;
|
||||
end
|
||||
|
||||
local timer = frenzy_infected_duration - (virus_accumulator_value + virus_timer / 60);
|
||||
|
||||
this.update_generic("frenzy_infection", timer, frenzy_infected_duration);
|
||||
this.update_generic("frenzy_infection", 1, timer);
|
||||
end
|
||||
|
||||
function this.update_generic(debuff_key, timer, duration)
|
||||
duration = duration or timer;
|
||||
|
||||
local debuff = this.list[debuff_key];
|
||||
if debuff == nil then
|
||||
local name = language.current_language.ailments[debuff_key];
|
||||
if name == nil then
|
||||
name = debuff_key;
|
||||
function this.update_sleep(player)
|
||||
if this.apply_filter("sleep") then
|
||||
this.list.sleep = nil;
|
||||
return;
|
||||
end
|
||||
|
||||
debuff = buffs.new(buffs.types.debuff, debuff_key, name, 1, duration);
|
||||
this.list[debuff_key] = debuff;
|
||||
elseif timer ~= nil then
|
||||
buffs.update_timer(debuff, timer);
|
||||
if this.list.falling_asleep ~= nil then
|
||||
this.list.sleep = nil;
|
||||
return;
|
||||
end
|
||||
|
||||
this.update_abnormal_status("sleep", nil, nil, player, sleep_duration_timer_field);
|
||||
end
|
||||
|
||||
function this.init_all_UI()
|
||||
for abnormal_status_key, abnormal_status in pairs(this.list) do
|
||||
buffs.init_UI(abnormal_status);
|
||||
end
|
||||
end
|
||||
|
||||
function this.init_names()
|
||||
for debuff_key, debuff in pairs(this.list) do
|
||||
local name = language.current_language.ailments[debuff_key];
|
||||
for abnormal_status_key, abnormal_status in pairs(this.list) do
|
||||
abnormal_status.name = this.get_abnormal_status_name(abnormal_status_key);
|
||||
end
|
||||
end
|
||||
|
||||
if name == nil then
|
||||
name = debuff_key;
|
||||
function this.get_abnormal_status_name(key)
|
||||
local abnormal_status_name = language.current_language.ailments[key];
|
||||
if abnormal_status_name == nil then
|
||||
return key;
|
||||
end
|
||||
|
||||
debuff.name = name;
|
||||
end
|
||||
return abnormal_status_name;
|
||||
end
|
||||
|
||||
function this.init_dependencies()
|
||||
|
||||
@@ -4,7 +4,7 @@ local buff_UI_entity;
|
||||
local config;
|
||||
local singletons;
|
||||
local players;
|
||||
local consumables;
|
||||
local item_buffs;
|
||||
local melody_effects;
|
||||
local utils;
|
||||
local language;
|
||||
@@ -13,8 +13,12 @@ local quest_status;
|
||||
local error_handler;
|
||||
local endemic_life_buffs;
|
||||
local skills;
|
||||
local dangos;
|
||||
local dango_skills;
|
||||
local abnormal_statuses;
|
||||
local otomo_moves;
|
||||
local weapon_skills;
|
||||
local misc_buffs;
|
||||
local rampage_skills;
|
||||
|
||||
local sdk = sdk;
|
||||
local tostring = tostring;
|
||||
@@ -48,23 +52,18 @@ local os = os;
|
||||
local ValueType = ValueType;
|
||||
local package = package;
|
||||
|
||||
this.types = {
|
||||
consumable = 0,
|
||||
melody_effect = 1,
|
||||
dango = 2,
|
||||
skill = 4,
|
||||
debuff = 8
|
||||
};
|
||||
|
||||
local player_manager_type_def = sdk.find_type_definition("snow.player.PlayerManager");
|
||||
local get_player_method = player_manager_type_def:get_method("getPlayer");
|
||||
local find_master_player_method = player_manager_type_def:get_method("findMasterPlayer");
|
||||
local get_ref_item_parameter_method = player_manager_type_def:get_method("get_RefItemParameter");
|
||||
|
||||
local player_base_type_def = find_master_player_method:get_return_type();
|
||||
local get_player_data_method = player_base_type_def:get_method("get_PlayerData");
|
||||
|
||||
local player_lobby_base_type_def = sdk.find_type_definition("snow.player.PlayerLobbyBase");
|
||||
|
||||
local player_base_type_def = sdk.find_type_definition("snow.player.PlayerBase");
|
||||
local player_weapon_type_field = player_base_type_def:get_field("_playerWeaponType");
|
||||
|
||||
function this.new(type, key, name, level, duration)
|
||||
local is_infinite = false;
|
||||
|
||||
@@ -92,7 +91,7 @@ function this.new(type, key, name, level, duration)
|
||||
buff.timer = duration;
|
||||
buff.duration = duration;
|
||||
|
||||
buff.is_active = true;
|
||||
buff.is_visible = true;
|
||||
|
||||
buff.timer_percentage = 0;
|
||||
|
||||
@@ -112,18 +111,35 @@ function this.init_buffs()
|
||||
this.list = {};
|
||||
end
|
||||
|
||||
function this.init_all_UI()
|
||||
abnormal_statuses.init_all_UI();
|
||||
item_buffs.init_all_UI();
|
||||
endemic_life_buffs.init_all_UI();
|
||||
melody_effects.init_all_UI();
|
||||
dango_skills.init_all_UI();
|
||||
rampage_skills.init_all_UI();
|
||||
skills.init_all_UI();
|
||||
weapon_skills.init_all_UI();
|
||||
otomo_moves.init_all_UI();
|
||||
misc_buffs.init_all_UI();
|
||||
end
|
||||
|
||||
function this.init_UI(buff)
|
||||
local cached_config = config.current_config.buff_UI;
|
||||
local cached_config = config.current_config.buff_UI[buff.type];
|
||||
buff.buff_UI = buff_UI_entity.new(cached_config.bar, cached_config.name_label, cached_config.timer_label);
|
||||
end
|
||||
|
||||
function this.init_names()
|
||||
consumables.init_names();
|
||||
melody_effects.init_names();
|
||||
endemic_life_buffs.init_names();
|
||||
skills.init_names();
|
||||
dangos.init_names();
|
||||
abnormal_statuses.init_names();
|
||||
item_buffs.init_names();
|
||||
endemic_life_buffs.init_names();
|
||||
melody_effects.init_names();
|
||||
dango_skills.init_names();
|
||||
rampage_skills.init_names();
|
||||
skills.init_names();
|
||||
weapon_skills.init_names();
|
||||
otomo_moves.init_names();
|
||||
misc_buffs.init_names();
|
||||
end
|
||||
|
||||
function this.update()
|
||||
@@ -148,32 +164,59 @@ function this.update()
|
||||
return;
|
||||
end
|
||||
|
||||
melody_effects.update(master_player);
|
||||
|
||||
local master_player_data = get_player_data_method:call(master_player);
|
||||
if master_player_data == nil then
|
||||
error_handler.report("buffs.update", "Failed to access Data: master_player_data");
|
||||
return;
|
||||
end
|
||||
|
||||
local weapon_type = player_weapon_type_field:get_data(master_player);
|
||||
if weapon_type == nil then
|
||||
error_handler.report("buffs.update", "Failed to access Data: weapon_type");
|
||||
return;
|
||||
end
|
||||
|
||||
if singletons.player_manager == nil then
|
||||
error_handler.report("buffs.update", "Failed to access Data: player_manager");
|
||||
return;
|
||||
end
|
||||
|
||||
local item_parameter = get_ref_item_parameter_method:call(singletons.player_manager);
|
||||
if item_parameter == nil then
|
||||
error_handler.report("buffs.update", "Failed to access Data: item_parameter");
|
||||
return;
|
||||
end
|
||||
|
||||
local is_player_lobby_base = master_player:get_type_definition() == player_lobby_base_type_def;
|
||||
|
||||
local master_player_data = get_player_data_method:call(master_player);
|
||||
if master_player_data ~= nil then
|
||||
consumables.update(master_player_data);
|
||||
endemic_life_buffs.update(master_player_data);
|
||||
skills.update(master_player, master_player_data);
|
||||
dangos.update(master_player_data);
|
||||
item_buffs.update(master_player_data, item_parameter);
|
||||
rampage_skills.update(master_player_data);
|
||||
otomo_moves.update(master_player_data);
|
||||
|
||||
if not is_player_lobby_base then
|
||||
abnormal_statuses.update(master_player, master_player_data);
|
||||
endemic_life_buffs.update(master_player, master_player_data);
|
||||
dango_skills.update(master_player, master_player_data);
|
||||
skills.update(master_player, master_player_data, weapon_type);
|
||||
weapon_skills.update(master_player, master_player_data, weapon_type);
|
||||
misc_buffs.update(master_player, master_player_data, item_parameter);
|
||||
end
|
||||
else
|
||||
error_handler.report("buffs.update", "Failed to access Data: master_player_data");
|
||||
end
|
||||
|
||||
melody_effects.update(master_player);
|
||||
end
|
||||
|
||||
function this.update_timer(buff, timer)
|
||||
buff.is_visible = true;
|
||||
|
||||
if timer == nil then
|
||||
return;
|
||||
end
|
||||
|
||||
if timer < 0 then
|
||||
timer = 0;
|
||||
end
|
||||
|
||||
if timer > buff.duration then
|
||||
if timer > buff.duration or timer > buff.timer then
|
||||
buff.duration = timer;
|
||||
end
|
||||
|
||||
@@ -188,17 +231,150 @@ function this.update_timer(buff, timer)
|
||||
end
|
||||
end
|
||||
|
||||
function this.update_generic_buff(buff_list, filter_list, get_name_function,
|
||||
buff_type, buff_key,
|
||||
value_owner, value_holder,
|
||||
timer_owner, timer_holder,
|
||||
is_infinite, minimal_value, level_breakpoints)
|
||||
|
||||
if this.apply_filter(buff_list, filter_list, buff_key) then
|
||||
return;
|
||||
end
|
||||
|
||||
if timer_owner == nil then timer_owner = value_owner; end
|
||||
if minimal_value == nil then minimal_value = 1; end
|
||||
|
||||
local level = 1;
|
||||
|
||||
if value_holder ~= nil then
|
||||
local value;
|
||||
if utils.type.is_REField(value_holder) then
|
||||
value = value_holder:get_data(value_owner);
|
||||
else
|
||||
value = value_holder:call(value_owner);
|
||||
end
|
||||
|
||||
if value == nil then
|
||||
error_handler.report("buffs.update_generic_number", string.format("Failed to access Data: %s_value", buff_key));
|
||||
buff_list[buff_key] = nil;
|
||||
return;
|
||||
end
|
||||
|
||||
if utils.type.is_boolean(value) then
|
||||
if not value then
|
||||
buff_list[buff_key] = nil;
|
||||
return;
|
||||
end
|
||||
else
|
||||
if value < minimal_value then
|
||||
buff_list[buff_key] = nil;
|
||||
return;
|
||||
end
|
||||
|
||||
if level_breakpoints ~= nil then
|
||||
local level_breakpoints_count = #level_breakpoints;
|
||||
for index, breakpoint in ipairs(level_breakpoints) do
|
||||
if value >= breakpoint then
|
||||
level = 2 + level_breakpoints_count - index;
|
||||
break;
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
local timer = nil;
|
||||
if timer_holder ~= nil then
|
||||
if utils.type.is_REField(timer_holder) then
|
||||
timer = timer_holder:get_data(timer_owner);
|
||||
else
|
||||
timer = timer_holder:call(timer_owner);
|
||||
end
|
||||
|
||||
if timer == nil then
|
||||
error_handler.report("buffs.update_generic_number", string.format("Failed to access Data: %s_timer", buff_key));
|
||||
buff_list[buff_key] = nil;
|
||||
return;
|
||||
end
|
||||
|
||||
if value_holder == nil and utils.number.is_equal(timer, 0) then
|
||||
buff_list[buff_key] = nil;
|
||||
return;
|
||||
end
|
||||
|
||||
if is_infinite then
|
||||
timer = nil;
|
||||
else
|
||||
timer = timer / 60;
|
||||
end
|
||||
end
|
||||
|
||||
return this.update_generic(buff_list, get_name_function, buff_type, buff_key, level, timer);
|
||||
end
|
||||
|
||||
function this.update_generic(buff_list, get_name_function, buff_type, buff_key, level, timer)
|
||||
level = level or 1;
|
||||
|
||||
local buff = buff_list[buff_key];
|
||||
if buff == nil then
|
||||
local name = get_name_function(buff_key);
|
||||
|
||||
buff = this.new(buff_type, buff_key, name, level, timer);
|
||||
buff_list[buff_key] = buff;
|
||||
else
|
||||
if buff.level ~= level then
|
||||
buff.duration = timer;
|
||||
end
|
||||
|
||||
buff.level = level;
|
||||
this.update_timer(buff, timer);
|
||||
end
|
||||
|
||||
return buff;
|
||||
end
|
||||
|
||||
function this.apply_filter(buff_list, filter_list, buff_key)
|
||||
if filter_list[buff_key] then
|
||||
return false;
|
||||
end
|
||||
|
||||
local buff = buff_list[buff_key];
|
||||
if buff == nil then
|
||||
return true;
|
||||
end
|
||||
|
||||
if not buff.is_visible then
|
||||
return true;
|
||||
end
|
||||
|
||||
if buff.is_infinite then
|
||||
buff_list[buff_key] = nil;
|
||||
return true;
|
||||
end
|
||||
|
||||
time.new_delay_timer(function()
|
||||
|
||||
local _buff = buff_list[buff_key];
|
||||
if _buff ~= nil and not _buff.is_visible then
|
||||
buff_list[buff_key] = nil;
|
||||
end
|
||||
|
||||
end, buff.timer);
|
||||
|
||||
buff.is_visible = false;
|
||||
return true;
|
||||
end
|
||||
|
||||
function this.draw(buff, buff_UI, position_on_screen, opacity_scale)
|
||||
buff_UI_entity.draw(buff, buff_UI, position_on_screen, opacity_scale);
|
||||
end
|
||||
|
||||
|
||||
function this.init_dependencies()
|
||||
config = require("MHR_Overlay.Misc.config");
|
||||
buff_UI_entity = require("MHR_Overlay.UI.UI_Entities.buff_UI_entity");
|
||||
singletons = require("MHR_Overlay.Game_Handler.singletons");
|
||||
players = require("MHR_Overlay.Damage_Meter.players");
|
||||
consumables = require("MHR_Overlay.Buffs.consumables");
|
||||
item_buffs = require("MHR_Overlay.Buffs.item_buffs");
|
||||
melody_effects = require("MHR_Overlay.Buffs.melody_effects");
|
||||
utils = require("MHR_Overlay.Misc.utils");
|
||||
language = require("MHR_Overlay.Misc.language");
|
||||
@@ -207,8 +383,12 @@ function this.init_dependencies()
|
||||
error_handler = require("MHR_Overlay.Misc.error_handler");
|
||||
endemic_life_buffs = require("MHR_Overlay.Buffs.endemic_life_buffs");
|
||||
skills = require("MHR_Overlay.Buffs.skills");
|
||||
dangos = require("MHR_Overlay.Buffs.dangos");
|
||||
dango_skills = require("MHR_Overlay.Buffs.dango_skills");
|
||||
abnormal_statuses = require("MHR_Overlay.Buffs.abnormal_statuses");
|
||||
otomo_moves = require("MHR_Overlay.Buffs.otomo_moves");
|
||||
weapon_skills = require("MHR_Overlay.Buffs.weapon_skills");
|
||||
rampage_skills = require("MHR_Overlay.Buffs.rampage_skills");
|
||||
misc_buffs = require("MHR_Overlay.Buffs.misc_buffs");
|
||||
end
|
||||
|
||||
function this.init_module()
|
||||
|
||||
@@ -1,327 +0,0 @@
|
||||
local this = {};
|
||||
|
||||
local buffs;
|
||||
local buff_UI_entity;
|
||||
local config;
|
||||
local singletons;
|
||||
local players;
|
||||
local utils;
|
||||
local language;
|
||||
local error_handler;
|
||||
|
||||
local sdk = sdk;
|
||||
local tostring = tostring;
|
||||
local pairs = pairs;
|
||||
local ipairs = ipairs;
|
||||
local tonumber = tonumber;
|
||||
local require = require;
|
||||
local pcall = pcall;
|
||||
local table = table;
|
||||
local string = string;
|
||||
local Vector3f = Vector3f;
|
||||
local d2d = d2d;
|
||||
local math = math;
|
||||
local json = json;
|
||||
local log = log;
|
||||
local fs = fs;
|
||||
local next = next;
|
||||
local type = type;
|
||||
local setmetatable = setmetatable;
|
||||
local getmetatable = getmetatable;
|
||||
local assert = assert;
|
||||
local select = select;
|
||||
local coroutine = coroutine;
|
||||
local utf8 = utf8;
|
||||
local re = re;
|
||||
local imgui = imgui;
|
||||
local draw = draw;
|
||||
local Vector2f = Vector2f;
|
||||
local reframework = reframework;
|
||||
local os = os;
|
||||
local ValueType = ValueType;
|
||||
local package = package;
|
||||
|
||||
this.list = {
|
||||
demondrug = nil,
|
||||
mega_demondrug = nil,
|
||||
armorskin = nil,
|
||||
mega_armorskin = nil,
|
||||
might_seed = nil,
|
||||
adamant_seed = nil,
|
||||
demon_powder = nil,
|
||||
hardshell_powder = nil,
|
||||
immunizer = nil,
|
||||
dash_juice = nil,
|
||||
gourmet_fish = nil,
|
||||
};
|
||||
|
||||
local player_manager_type_def = sdk.find_type_definition("snow.player.PlayerManager");
|
||||
local get_player_data_method = player_manager_type_def:get_method("get_PlayerData");
|
||||
local get_ref_item_parameter_method = player_manager_type_def:get_method("get_RefItemParameter");
|
||||
|
||||
local player_user_data_item_parameter_type_def = get_ref_item_parameter_method:get_return_type();
|
||||
|
||||
local demondrug_atk_up_field = player_user_data_item_parameter_type_def:get_field("_DemondrugAtkUp");
|
||||
local great_demondrug_atk_up_field = player_user_data_item_parameter_type_def:get_field("_GreatDemondrugAtkUp");
|
||||
local armorskin_def_up_field = player_user_data_item_parameter_type_def:get_field("_ArmorSkinDefUp");
|
||||
local great_armorskin_def_up_field = player_user_data_item_parameter_type_def:get_field("_GreatArmorSkinDefUp");
|
||||
|
||||
local might_seed_timer_field = player_user_data_item_parameter_type_def:get_field("_MightSeedTimer");
|
||||
local adamant_seed_timer_field = player_user_data_item_parameter_type_def:get_field("_AdamantSeedTimer");
|
||||
local demondrug_powder_timer_field = player_user_data_item_parameter_type_def:get_field("_DemondrugPowderTimer");
|
||||
local armorskin_powder_timer_field = player_user_data_item_parameter_type_def:get_field("_ArmorSkinPowderTimer");
|
||||
local vitalizer_timer_const_field = player_user_data_item_parameter_type_def:get_field("_VitalizerTimer");
|
||||
local stamina_up_buff_second_field = player_user_data_item_parameter_type_def:get_field("_StaminaUpBuffSecond");
|
||||
|
||||
local player_data_type_def = sdk.find_type_definition("snow.player.PlayerData");
|
||||
-- Demondrug/Mega Demondrug
|
||||
local atk_up_alive_field = player_data_type_def:get_field("_AtkUpAlive");
|
||||
-- Armorskin/Mega Armorskin
|
||||
local def_up_alive_field = player_data_type_def:get_field("_DefUpAlive");
|
||||
-- Might Seed
|
||||
local atk_up_buff_second_field = player_data_type_def:get_field("_AtkUpBuffSecond");
|
||||
local atk_up_buff_second_timer_field = player_data_type_def:get_field("_AtkUpBuffSecondTimer");
|
||||
-- Adamant Seed
|
||||
local def_up_buff_second_field = player_data_type_def:get_field("_DefUpBuffSecond");
|
||||
local def_up_buff_second_timer_field = player_data_type_def:get_field("_DefUpBuffSecondTimer");
|
||||
-- Demon Powder
|
||||
local atk_up_item_second_field = player_data_type_def:get_field("_AtkUpItemSecond");
|
||||
local atk_up_item_second_timer_field = player_data_type_def:get_field("_AtkUpItemSecondTimer");
|
||||
-- Hardshell Powder
|
||||
local def_up_item_second_field = player_data_type_def:get_field("_DefUpItemSecond");
|
||||
local def_up_item_second_timer_field = player_data_type_def:get_field("_DefUpItemSecondTimer");
|
||||
-- Immunizer
|
||||
local vitalizer_timer_field = player_data_type_def:get_field("_VitalizerTimer");
|
||||
-- Dash Juice
|
||||
local stamina_up_buff_second_timer_field = player_data_type_def:get_field("_StaminaUpBuffSecondTimer");
|
||||
-- Gourmet Fish
|
||||
local fish_regene_enable_field = player_data_type_def:get_field("_FishRegeneEnableTimer");
|
||||
|
||||
function this.update(player_data)
|
||||
local item_parameter = get_ref_item_parameter_method:call(singletons.player_manager);
|
||||
if item_parameter == nil then
|
||||
error_handler.report("consumables.update", "Failed to access Data: item_parameter");
|
||||
return;
|
||||
end
|
||||
|
||||
this.update_demondrug(player_data, item_parameter);
|
||||
this.update_armorskin(player_data, item_parameter);
|
||||
this.update_gourmet_fish(player_data, item_parameter);
|
||||
|
||||
this.update_generic("might_seed", player_data, item_parameter,
|
||||
atk_up_buff_second_field, atk_up_buff_second_timer_field, might_seed_timer_field);
|
||||
|
||||
this.update_generic("adamant_seed", player_data, item_parameter,
|
||||
def_up_buff_second_field, def_up_buff_second_timer_field, adamant_seed_timer_field);
|
||||
|
||||
this.update_generic("demon_powder", player_data, item_parameter,
|
||||
atk_up_item_second_field, atk_up_item_second_timer_field, demondrug_powder_timer_field);
|
||||
|
||||
this.update_generic("hardshell_powder", player_data, item_parameter,
|
||||
def_up_item_second_field, def_up_item_second_timer_field, armorskin_powder_timer_field);
|
||||
|
||||
this.update_generic("immunizer", player_data, item_parameter,
|
||||
nil, vitalizer_timer_field, vitalizer_timer_const_field);
|
||||
|
||||
this.update_generic("dash_juice", player_data, item_parameter,
|
||||
nil, stamina_up_buff_second_timer_field, stamina_up_buff_second_field);
|
||||
|
||||
end
|
||||
|
||||
function this.update_generic(consumable_key, player_data, item_parameter, value_field, timer_field, timer_const_value_field)
|
||||
if value_field ~= nil then
|
||||
|
||||
local value = value_field:get_data(player_data);
|
||||
if value == nil then
|
||||
error_handler.report("consumables.update_generic", string.format("Failed to access Data: %s_value", consumable_key));
|
||||
return;
|
||||
end
|
||||
|
||||
if value == 0 then
|
||||
this.list[consumable_key] = nil;
|
||||
return;
|
||||
end
|
||||
end
|
||||
|
||||
local timer = timer_field:get_data(player_data);
|
||||
if timer == nil then
|
||||
error_handler.report("consumables.update_generic", string.format("Failed to access Data: %s_timer", consumable_key));
|
||||
return;
|
||||
end
|
||||
|
||||
if value_field == nil and utils.number.is_equal(timer, 0)then
|
||||
this.list[consumable_key] = nil;
|
||||
return;
|
||||
end
|
||||
|
||||
local consumable = this.list[consumable_key];
|
||||
if consumable == nil then
|
||||
local timer_const_value = timer_const_value_field:get_data(item_parameter);
|
||||
if timer_const_value == nil then
|
||||
error_handler.report("consumables.update_generic", string.format("Failed to access Data: %s_timer_const_value", consumable_key));
|
||||
return;
|
||||
end
|
||||
|
||||
local name = language.current_language.consumables[consumable_key];
|
||||
|
||||
consumable = buffs.new(buffs.types.consumable, consumable_key, name, 1, timer_const_value);
|
||||
this.list[consumable_key] = consumable;
|
||||
else
|
||||
buffs.update_timer(consumable, timer / 60);
|
||||
end
|
||||
end
|
||||
|
||||
function this.update_demondrug(player_data, item_parameter)
|
||||
local demondrug_value = atk_up_alive_field:get_data(player_data);
|
||||
if demondrug_value == nil then
|
||||
error_handler.report("consumables.update_demondrug", "Failed to access Data: demondrug_value");
|
||||
return;
|
||||
end
|
||||
|
||||
if demondrug_value == 0 then
|
||||
this.list.demondrug = nil;
|
||||
this.list.mega_demondrug = nil;
|
||||
return;
|
||||
end
|
||||
|
||||
local demondrug_const_value = demondrug_atk_up_field:get_data(item_parameter);
|
||||
if demondrug_const_value == nil then
|
||||
error_handler.report("consumables.update_demondrug", "Failed to access Data: demondrug_const_value");
|
||||
return;
|
||||
end
|
||||
|
||||
local mega_demondrug_const_value = great_demondrug_atk_up_field:get_data(item_parameter);
|
||||
if mega_demondrug_const_value == nil then
|
||||
error_handler.report("consumables.update_demondrug", "Failed to access Data: mega_demondrug_const_value");
|
||||
return;
|
||||
end
|
||||
if demondrug_value == demondrug_const_value then
|
||||
local buff = this.list.demondrug;
|
||||
if buff ~= nil and buff.value == demondrug_value then
|
||||
return;
|
||||
end
|
||||
|
||||
local name = language.current_language.consumables.demondrug;
|
||||
|
||||
this.list.demondrug = buffs.new(buffs.types.consumable, "demondrug", name);
|
||||
this.list.mega_demondrug = nil;
|
||||
|
||||
elseif demondrug_value == mega_demondrug_const_value then
|
||||
local buff = this.list.mega_demondrug;
|
||||
if buff ~= nil and buff.value == demondrug_value then
|
||||
return;
|
||||
end
|
||||
|
||||
local name = language.current_language.consumables.mega_demondrug;
|
||||
|
||||
this.list.demondrug = nil;
|
||||
this.list.mega_demondrug = buffs.new(buffs.types.consumable, "mega_demondrug", name);
|
||||
end
|
||||
end
|
||||
|
||||
function this.update_armorskin(player_data, item_parameter)
|
||||
local armorskin_value = def_up_alive_field:get_data(player_data);
|
||||
if armorskin_value == nil then
|
||||
error_handler.report("consumables.update_armorskin", "Failed to access Data: armorskin_value");
|
||||
return;
|
||||
end
|
||||
|
||||
if armorskin_value == 0 then
|
||||
this.list.armorskin = nil;
|
||||
this.list.mega_armorskin = nil;
|
||||
return;
|
||||
end
|
||||
|
||||
local armorskin_const_value = armorskin_def_up_field:get_data(item_parameter);
|
||||
if armorskin_const_value == nil then
|
||||
error_handler.report("consumables.update_armorskin", "Failed to access Data: armorskin_const_value");
|
||||
return;
|
||||
end
|
||||
|
||||
local mega_armorskin_const_value = great_armorskin_def_up_field:get_data(item_parameter);
|
||||
if mega_armorskin_const_value == nil then
|
||||
error_handler.report("consumables.update_armorskin", "Failed to access Data: mega_armorskin_const_value");
|
||||
return;
|
||||
end
|
||||
|
||||
if armorskin_value == armorskin_const_value then
|
||||
local buff = this.list.armorskin;
|
||||
if buff ~= nil and buff.value == armorskin_value then
|
||||
return;
|
||||
end
|
||||
|
||||
local name = language.current_language.consumables.armorskin;
|
||||
|
||||
this.list.armorskin = buffs.new(buffs.types.consumable, "armorskin", name);
|
||||
this.list.mega_armorskin = nil;
|
||||
|
||||
elseif armorskin_value == mega_armorskin_const_value then
|
||||
local buff = this.list.mega_armorskin;
|
||||
if buff ~= nil and buff.value == armorskin_value then
|
||||
return;
|
||||
end
|
||||
|
||||
local name = language.current_language.consumables.mega_armorskin;
|
||||
|
||||
this.list.armorskin = nil;
|
||||
this.list.mega_armorskin = buffs.new(buffs.types.consumable, "mega_armorskin", name);
|
||||
end
|
||||
end
|
||||
|
||||
function this.update_gourmet_fish(player_data, item_parameter)
|
||||
local gourmet_fish_timer = fish_regene_enable_field:get_data(player_data);
|
||||
if gourmet_fish_timer == nil then
|
||||
error_handler.report("consumables.update_gourmet_fish", "Failed to access Data: gourmet_fish_timer");
|
||||
return;
|
||||
end
|
||||
|
||||
if utils.number.is_equal(gourmet_fish_timer, 0) then
|
||||
this.list.gourmet_fish = nil;
|
||||
return;
|
||||
end
|
||||
|
||||
local buff = this.list.gourmet_fish;
|
||||
|
||||
if buff == nil then
|
||||
--local gourmet_fish_timer_const_value = stamina_up_buff_second_field:get_data(item_parameter);
|
||||
--if gourmet_fish_timer_const_value == nil then
|
||||
-- error_handler.report("consumables.update_gourmet_fish", "Failed to access Data: gourmet_fish_timer_const_value");
|
||||
-- return;
|
||||
--end
|
||||
|
||||
local name = language.current_language.consumables.gourmet_fish;
|
||||
|
||||
buff = buffs.new(buffs.types.consumable, "gourmet_fish", name, 1, gourmet_fish_timer);
|
||||
this.list.gourmet_fish = buff;
|
||||
else
|
||||
buffs.update_timer(buff, gourmet_fish_timer / 60);
|
||||
end
|
||||
end
|
||||
|
||||
function this.init_names()
|
||||
for consumable_key, consumable in pairs(this.list) do
|
||||
local name = language.current_language.consumables[consumable_key];
|
||||
|
||||
if name == nil then
|
||||
name = consumable_key;
|
||||
end
|
||||
|
||||
consumable.name = name;
|
||||
end
|
||||
end
|
||||
|
||||
function this.init_dependencies()
|
||||
buffs = require("MHR_Overlay.Buffs.buffs");
|
||||
config = require("MHR_Overlay.Misc.config");
|
||||
utils = require("MHR_Overlay.Misc.utils");
|
||||
buff_UI_entity = require("MHR_Overlay.UI.UI_Entities.buff_UI_entity");
|
||||
singletons = require("MHR_Overlay.Game_Handler.singletons");
|
||||
players = require("MHR_Overlay.Damage_Meter.players");
|
||||
language = require("MHR_Overlay.Misc.language");
|
||||
error_handler = require("MHR_Overlay.Misc.error_handler");
|
||||
end
|
||||
|
||||
function this.init_module()
|
||||
end
|
||||
|
||||
return this;
|
||||
405
reframework/autorun/MHR_Overlay/Buffs/dango_skills.lua
Normal file
405
reframework/autorun/MHR_Overlay/Buffs/dango_skills.lua
Normal file
@@ -0,0 +1,405 @@
|
||||
local this = {};
|
||||
|
||||
local buffs;
|
||||
local buff_UI_entity;
|
||||
local config;
|
||||
local singletons;
|
||||
local players;
|
||||
local utils;
|
||||
local language;
|
||||
local error_handler;
|
||||
local time;
|
||||
|
||||
local sdk = sdk;
|
||||
local tostring = tostring;
|
||||
local pairs = pairs;
|
||||
local ipairs = ipairs;
|
||||
local tonumber = tonumber;
|
||||
local require = require;
|
||||
local pcall = pcall;
|
||||
local table = table;
|
||||
local string = string;
|
||||
local Vector3f = Vector3f;
|
||||
local d2d = d2d;
|
||||
local math = math;
|
||||
local json = json;
|
||||
local log = log;
|
||||
local fs = fs;
|
||||
local next = next;
|
||||
local type = type;
|
||||
local setmetatable = setmetatable;
|
||||
local getmetatable = getmetatable;
|
||||
local assert = assert;
|
||||
local select = select;
|
||||
local coroutine = coroutine;
|
||||
local utf8 = utf8;
|
||||
local re = re;
|
||||
local imgui = imgui;
|
||||
local draw = draw;
|
||||
local Vector2f = Vector2f;
|
||||
local reframework = reframework;
|
||||
local os = os;
|
||||
local ValueType = ValueType;
|
||||
local package = package;
|
||||
|
||||
this.list = {
|
||||
dango_adrenaline = nil,
|
||||
dango_booster = nil,
|
||||
dango_connector = nil,
|
||||
dango_defender = nil,
|
||||
dango_flyer = nil,
|
||||
dango_glutton = nil,
|
||||
dango_hunter = nil,
|
||||
dango_insurance = nil,
|
||||
dango_insurance_defense_up = nil,
|
||||
super_recovery_dango = nil
|
||||
};
|
||||
|
||||
this.keys = {
|
||||
"dango_adrenaline",
|
||||
"dango_booster",
|
||||
"dango_connector",
|
||||
"dango_defender",
|
||||
"dango_flyer",
|
||||
"dango_glutton",
|
||||
"dango_hunter",
|
||||
"dango_insurance",
|
||||
"dango_insurance_defense_up",
|
||||
"super_recovery_dango"
|
||||
};
|
||||
|
||||
local dango_skill_ids = {
|
||||
-- dango_polisher = 1,
|
||||
-- dango_rider = 2,
|
||||
dango_adrenaline = 3,
|
||||
-- dango_carver_lo = 4,
|
||||
-- dango_carver_hi = 5,
|
||||
-- dango_medic_lo = 6,
|
||||
-- dango_medic_hi = 7,
|
||||
-- dango_fighter = 8,
|
||||
-- dango_pyro = 9,
|
||||
-- dango_specialist = 10,
|
||||
-- dango_defender_lo = 11,
|
||||
-- dango_defender_hi = 12,
|
||||
-- dango_harvester = 13,
|
||||
-- dango_marksman = 14,
|
||||
-- dango_fortune_caller = 15,
|
||||
-- dango_miracle_worker = 16,
|
||||
-- dango_deflector = 17,
|
||||
-- dango_weakener = 18,
|
||||
-- dango_calculator = 19,
|
||||
-- dango_temper = 20,
|
||||
-- dango_wall_runner = 21,
|
||||
-- dango_slugger = 22,
|
||||
-- dango_money_maker = 23,
|
||||
-- dango_bombardier = 24,
|
||||
-- dango_moxie = 25,
|
||||
-- dango_immunizer = 26,
|
||||
-- dango_trainer = 27,
|
||||
dango_booster = 28,
|
||||
-- dango_feet = 29,
|
||||
dango_bulker = 30,
|
||||
dango_insurance = 31,
|
||||
-- dango_reviver = 32,
|
||||
-- dango_summoner = 33,
|
||||
-- dango_hurler = 34,
|
||||
-- dango_fire_res_lo = 35,
|
||||
-- dango_fire_res_hi = 36,
|
||||
-- dango_water_res_lo = 37,
|
||||
-- dango_water_res_hi = 38,
|
||||
-- dango_thunder_res_lo = 39,
|
||||
-- dango_thunder_res_hi = 40,
|
||||
-- dango_ice_res_lo = 41,
|
||||
-- dango_ice_res_hi = 42,
|
||||
-- dango_dragon_res_lo = 43,
|
||||
-- dango_dragon_res_hi = 44,
|
||||
-- dango_gatherer = 45,
|
||||
dango_glutton = 46,
|
||||
-- dango_bird_caller = 47,
|
||||
dango_flyer = 48,
|
||||
dango_defender = 49,
|
||||
-- enhanced_dango_fighter = 50,
|
||||
-- dango_driver = 51,
|
||||
dango_hunter = 52,
|
||||
-- dango_guard = 53,
|
||||
-- dango_shifter = 54,
|
||||
dango_connector = 55,
|
||||
super_recovery_dango = 56
|
||||
};
|
||||
|
||||
|
||||
this.is_dango_adrenaline_active = false;
|
||||
|
||||
local dango_skills_type_name = "dango_skills";
|
||||
|
||||
local dango_bulker_attack_up = 15;
|
||||
local previous_super_recovery_dango_timer = 0;
|
||||
|
||||
local player_manager_type_def = sdk.find_type_definition("snow.player.PlayerManager");
|
||||
local has_anyone_kitchen_skill_in_quest_method = player_manager_type_def:get_method("hasAnyoneKitchenSkillInQuest");
|
||||
|
||||
|
||||
local player_data_type_def = sdk.find_type_definition("snow.player.PlayerData");
|
||||
-- Dango Defender
|
||||
local is_enable_kitchen_skill_048_reduce_field = player_data_type_def:get_field("_IsEnable_KitchenSkill048_Reduce");
|
||||
-- Dango Booster
|
||||
local kitchen_skill_027_timer_field = player_data_type_def:get_field("_KitchenSkill027Timer");
|
||||
-- Dango Glutton
|
||||
local kitchen_skill_045_timer_field = player_data_type_def:get_field("_KitchenSkill045Timer");
|
||||
-- Dango Insurance
|
||||
local kitchen_skill_insurance_def_up_lv3_field = player_data_type_def:get_field("_KitchenSkill_Insurance_DefUp_Lv3");
|
||||
local kitchen_skill_insurance_def_up_lv4_field = player_data_type_def:get_field("_KitchenSkill_Insurance_DefUp_Lv4");
|
||||
-- Dango Hunter
|
||||
local kitchen_skill_051_atk_up_timer_field = player_data_type_def:get_field("_KitchenSkill051_AtkUpTimer");
|
||||
-- Dango Connector
|
||||
local kitchen_skill_054_timer_field = player_data_type_def:get_field("_KitchenSkill054_Timer");
|
||||
|
||||
|
||||
local player_base_type_def = sdk.find_type_definition("snow.player.PlayerBase");
|
||||
-- Dango Adrenaline
|
||||
-- local is_kitchen_skill_predicament_powerup_method = player_base_type_def:get_method("isKitchenSkillPredicamentPowerUp");
|
||||
-- Dango Flyer
|
||||
local get_is_kitchen_skill_wire_stop_heal_spd_method = player_base_type_def:get_method("get_IsKitchenSkill_WireStop_HealSpd");
|
||||
local get_is_kitchen_skill_wire_stop_regene_method = player_base_type_def:get_method("get_IsKitchenSkill_WireStop_Regene");
|
||||
-- Super Recovery Dango
|
||||
local get_kitchen_skill_surume_regene_timer_method = player_base_type_def:get_method("get_KitchenSkill_Surume_RegeneTimer");
|
||||
|
||||
|
||||
|
||||
local data_shortcut_type_def = sdk.find_type_definition("snow.data.DataShortcut");
|
||||
local get_name_method = data_shortcut_type_def:get_method("getName(snow.data.DataDef.PlKitchenSkillId)");
|
||||
|
||||
local quest_manager_type_def = sdk.find_type_definition("snow.QuestManager");
|
||||
local flag_cat_skill_insurance_field = quest_manager_type_def:get_field("_FlagCatSkillInsurance");
|
||||
local is_cat_skill_insurance_method = quest_manager_type_def:get_method("isCatSkillInsurance");
|
||||
|
||||
function this.update(player, player_data)
|
||||
this.update_dango_adrenaline();
|
||||
this.update_dango_hunter(player_data);
|
||||
this.update_dango_insurance();
|
||||
this.update_dango_insurance_defense_up(player_data);
|
||||
this.update_dango_flyer(player);
|
||||
this.update_super_recovery_dango(player);
|
||||
|
||||
this.update_dango_skill("dango_booster", nil, nil, player_data, kitchen_skill_027_timer_field);
|
||||
this.update_dango_skill("dango_defender", player_data, is_enable_kitchen_skill_048_reduce_field, nil, nil, true);
|
||||
this.update_dango_skill("dango_glutton", nil, nil, player_data, kitchen_skill_045_timer_field);
|
||||
this.update_dango_skill("dango_connector", nil, nil, player_data, kitchen_skill_054_timer_field);
|
||||
end
|
||||
|
||||
function this.update_dango_skill(key, value_owner, value_holder, timer_owner, timer_holder, is_infinite, minimal_value, level_breakpoints)
|
||||
return buffs.update_generic_buff(this.list, config.current_config.buff_UI.filter.dango_skills, this.get_dango_skill_name,
|
||||
dango_skills_type_name, key,
|
||||
value_owner, value_holder, timer_owner, timer_holder, is_infinite, minimal_value, level_breakpoints);
|
||||
end
|
||||
|
||||
function this.update_generic(key, level, timer)
|
||||
return buffs.update_generic(this.list, this.get_dango_skill_name, dango_skills_type_name, key, level, timer);
|
||||
end
|
||||
|
||||
function this.apply_filter(key)
|
||||
return buffs.apply_filter(this.list, config.current_config.buff_UI.filter.dango_skills, key);
|
||||
end
|
||||
|
||||
function this.update_dango_adrenaline()
|
||||
if this.apply_filter("dango_adrenaline") then
|
||||
return;
|
||||
end
|
||||
|
||||
if not this.is_dango_adrenaline_active then
|
||||
this.list.dango_adrenaline = nil;
|
||||
return;
|
||||
end
|
||||
|
||||
this.update_generic("dango_adrenaline");
|
||||
end
|
||||
|
||||
function this.update_dango_insurance()
|
||||
if this.apply_filter("dango_insurance") then
|
||||
return;
|
||||
end
|
||||
|
||||
if singletons.player_manager == nil then
|
||||
error_handler.report("dango_skills.update_dango_insurance", "Failed to access Data: player_manager");
|
||||
this.list.dango_insurance = nil;
|
||||
return;
|
||||
end
|
||||
|
||||
if singletons.quest_manager == nil then
|
||||
error_handler.report("dango_skills.update_dango_insurance", "Failed to access Data: quest_manager");
|
||||
this.list.dango_insurance = nil;
|
||||
return;
|
||||
end
|
||||
|
||||
local has_insurance_skill = has_anyone_kitchen_skill_in_quest_method:call(singletons.player_manager, dango_skill_ids.dango_insurance);
|
||||
|
||||
local flag_cat_skill_insurance = flag_cat_skill_insurance_field:get_data(singletons.quest_manager);
|
||||
if flag_cat_skill_insurance == nil then
|
||||
error_handler.report("dango_skills.update_dango_insurance", "Failed to access Data: flag_cat_skill_insurance");
|
||||
this.list.dango_insurance = nil;
|
||||
return;
|
||||
end
|
||||
|
||||
local is_cat_skill_insurance = is_cat_skill_insurance_method:call(singletons.quest_manager, flag_cat_skill_insurance);
|
||||
if is_cat_skill_insurance == nil then
|
||||
error_handler.report("dango_skills.update_dango_insurance", "Failed to access Data: is_cat_skill_insurance");
|
||||
this.list.dango_insurance = nil;
|
||||
return;
|
||||
end
|
||||
|
||||
if not has_insurance_skill or is_cat_skill_insurance then
|
||||
this.list.dango_insurance = nil;
|
||||
return;
|
||||
end
|
||||
|
||||
this.update_generic("dango_insurance");
|
||||
end
|
||||
|
||||
function this.update_dango_insurance_defense_up(player_data)
|
||||
if this.apply_filter("dango_insurance_defense_up") then
|
||||
return;
|
||||
end
|
||||
|
||||
local level = 3;
|
||||
|
||||
local insurance_def_up_lv3 = kitchen_skill_insurance_def_up_lv3_field:get_data(player_data);
|
||||
if insurance_def_up_lv3 == nil then
|
||||
error_handler.report("dango_skills.update_dango_insurance_defense_up", "Failed to access Data: insurance_def_up_lv3");
|
||||
this.list.dango_insurance_defense_up = nil;
|
||||
return;
|
||||
end
|
||||
|
||||
if not insurance_def_up_lv3 then
|
||||
local insurance_def_up_lv4 = kitchen_skill_insurance_def_up_lv4_field:get_data(player_data);
|
||||
|
||||
if insurance_def_up_lv4 == nil then
|
||||
error_handler.report("dango_skills.update_dango_insurance_defense_up", "Failed to access Data: insurance_def_up_lv4");
|
||||
this.list.dango_insurance_defense_up = nil;
|
||||
return;
|
||||
end
|
||||
|
||||
if not insurance_def_up_lv4 then
|
||||
this.list.dango_insurance_defense_up = nil;
|
||||
return;
|
||||
end
|
||||
|
||||
level = 4;
|
||||
end
|
||||
|
||||
this.update_generic("dango_insurance_defense_up", level);
|
||||
end
|
||||
|
||||
function this.update_dango_flyer(player)
|
||||
if this.apply_filter("dango_flyer") then
|
||||
return;
|
||||
end
|
||||
|
||||
local level = 4;
|
||||
|
||||
local is_kitchen_skill_wire_stop_regene = get_is_kitchen_skill_wire_stop_regene_method:call(player);
|
||||
if is_kitchen_skill_wire_stop_regene == nil then
|
||||
error_handler.report("dango_skills.update_dango_flyer", "Failed to access Data: is_kitchen_skill_wire_stop_regene");
|
||||
this.list.dango_flyer = nil;
|
||||
return;
|
||||
end
|
||||
|
||||
if not is_kitchen_skill_wire_stop_regene then
|
||||
|
||||
local is_kitchen_skill_wire_stop_heal_spd = get_is_kitchen_skill_wire_stop_heal_spd_method:call(player);
|
||||
if is_kitchen_skill_wire_stop_heal_spd == nil then
|
||||
error_handler.report("dango_skills.update_dango_flyer", "Failed to access Data: is_kitchen_skill_wire_stop_heal_spd");
|
||||
this.list.dango_flyer = nil;
|
||||
return;
|
||||
end
|
||||
|
||||
if not is_kitchen_skill_wire_stop_regene then
|
||||
this.list.dango_flyer = nil;
|
||||
return;
|
||||
end
|
||||
|
||||
level = 3;
|
||||
end
|
||||
|
||||
this.update_generic("dango_flyer", level);
|
||||
end
|
||||
|
||||
function this.update_dango_hunter(player_data)
|
||||
local dango_hunter_buff = this.update_dango_skill("dango_hunter", nil, nil, player_data, kitchen_skill_051_atk_up_timer_field);
|
||||
|
||||
if dango_hunter_buff ~= nil then
|
||||
dango_hunter_buff.level = 4;
|
||||
end
|
||||
end
|
||||
|
||||
function this.update_super_recovery_dango(player)
|
||||
if this.apply_filter("super_recovery_dango") then
|
||||
return;
|
||||
end
|
||||
|
||||
local kitchen_skill_surume_regene_timer = get_kitchen_skill_surume_regene_timer_method:call(player);
|
||||
if kitchen_skill_surume_regene_timer == nil then
|
||||
error_handler.report("dango_skills.update_super_recovery_dango", "Failed to access Data: kitchen_skill_surume_regene_timer");
|
||||
this.list.super_recovery_dango = nil;
|
||||
return;
|
||||
end
|
||||
|
||||
if utils.number.is_equal(kitchen_skill_surume_regene_timer, 0)
|
||||
and utils.number.is_equal(previous_super_recovery_dango_timer, 0) then
|
||||
this.list.super_recovery_dango = nil;
|
||||
return;
|
||||
end
|
||||
|
||||
previous_super_recovery_dango_timer = kitchen_skill_surume_regene_timer;
|
||||
this.update_generic("super_recovery_dango");
|
||||
end
|
||||
|
||||
function this.init_all_UI()
|
||||
for dango_skill_key, dango_skill in pairs(this.list) do
|
||||
buffs.init_UI(dango_skill);
|
||||
end
|
||||
end
|
||||
|
||||
function this.init_names()
|
||||
for dango_skill_key, dango_skill in pairs(this.list) do
|
||||
dango_skill.name = this.get_dango_skill_name(dango_skill_key);
|
||||
end
|
||||
end
|
||||
|
||||
function this.get_dango_skill_name(key)
|
||||
local dango_skill_id = dango_skill_ids[key];
|
||||
if dango_skill_id == nil then
|
||||
|
||||
local dango_skill_name = language.current_language.dango_skills[key];
|
||||
if dango_skill_name == nil then
|
||||
return key;
|
||||
end
|
||||
|
||||
return dango_skill_name;
|
||||
end
|
||||
|
||||
local dango_skill_name = get_name_method:call(nil, dango_skill_id);
|
||||
if dango_skill_name == nil then
|
||||
error_handler.report("dango_skills.get_dango_name", string.format("Failed to access Data: %s_name", key));
|
||||
return key;
|
||||
end
|
||||
|
||||
return dango_skill_name;
|
||||
end
|
||||
|
||||
function this.init_dependencies()
|
||||
buffs = require("MHR_Overlay.Buffs.buffs");
|
||||
config = require("MHR_Overlay.Misc.config");
|
||||
utils = require("MHR_Overlay.Misc.utils");
|
||||
buff_UI_entity = require("MHR_Overlay.UI.UI_Entities.buff_UI_entity");
|
||||
singletons = require("MHR_Overlay.Game_Handler.singletons");
|
||||
players = require("MHR_Overlay.Damage_Meter.players");
|
||||
language = require("MHR_Overlay.Misc.language");
|
||||
error_handler = require("MHR_Overlay.Misc.error_handler");
|
||||
time = require("MHR_Overlay.Game_Handler.time");
|
||||
end
|
||||
|
||||
|
||||
function this.init_module()
|
||||
end
|
||||
|
||||
return this;
|
||||
@@ -1,129 +0,0 @@
|
||||
local this = {};
|
||||
|
||||
local buffs;
|
||||
local buff_UI_entity;
|
||||
local config;
|
||||
local singletons;
|
||||
local players;
|
||||
local utils;
|
||||
local language;
|
||||
local error_handler;
|
||||
|
||||
local sdk = sdk;
|
||||
local tostring = tostring;
|
||||
local pairs = pairs;
|
||||
local ipairs = ipairs;
|
||||
local tonumber = tonumber;
|
||||
local require = require;
|
||||
local pcall = pcall;
|
||||
local table = table;
|
||||
local string = string;
|
||||
local Vector3f = Vector3f;
|
||||
local d2d = d2d;
|
||||
local math = math;
|
||||
local json = json;
|
||||
local log = log;
|
||||
local fs = fs;
|
||||
local next = next;
|
||||
local type = type;
|
||||
local setmetatable = setmetatable;
|
||||
local getmetatable = getmetatable;
|
||||
local assert = assert;
|
||||
local select = select;
|
||||
local coroutine = coroutine;
|
||||
local utf8 = utf8;
|
||||
local re = re;
|
||||
local imgui = imgui;
|
||||
local draw = draw;
|
||||
local Vector2f = Vector2f;
|
||||
local reframework = reframework;
|
||||
local os = os;
|
||||
local ValueType = ValueType;
|
||||
local package = package;
|
||||
|
||||
this.list = {
|
||||
dango_defender = nil,
|
||||
};
|
||||
|
||||
local player_manager_type_def = sdk.find_type_definition("snow.player.PlayerManager");
|
||||
local get_player_data_method = player_manager_type_def:get_method("get_PlayerData");
|
||||
local get_ref_item_parameter_method = player_manager_type_def:get_method("get_RefItemParameter");
|
||||
|
||||
local player_user_data_item_parameter_type_def = get_ref_item_parameter_method:get_return_type();
|
||||
|
||||
local demondrug_atk_up_field = player_user_data_item_parameter_type_def:get_field("_DemondrugAtkUp");
|
||||
local great_demondrug_atk_up_field = player_user_data_item_parameter_type_def:get_field("_GreatDemondrugAtkUp");
|
||||
local armorskin_def_up_field = player_user_data_item_parameter_type_def:get_field("_ArmorSkinDefUp");
|
||||
local great_armorskin_def_up_field = player_user_data_item_parameter_type_def:get_field("_GreatArmorSkinDefUp");
|
||||
|
||||
local might_seed_timer_field = player_user_data_item_parameter_type_def:get_field("_MightSeedTimer");
|
||||
local adamant_seed_timer_field = player_user_data_item_parameter_type_def:get_field("_AdamantSeedTimer");
|
||||
local demondrug_powder_timer_field = player_user_data_item_parameter_type_def:get_field("_DemondrugPowderTimer");
|
||||
local armorskin_powder_timer_field = player_user_data_item_parameter_type_def:get_field("_ArmorSkinPowderTimer");
|
||||
local vitalizer_timer_const_field = player_user_data_item_parameter_type_def:get_field("_VitalizerTimer");
|
||||
local stamina_up_buff_second_field = player_user_data_item_parameter_type_def:get_field("_StaminaUpBuffSecond");
|
||||
|
||||
local player_data_type_def = sdk.find_type_definition("snow.player.PlayerData");
|
||||
-- Dango Defender
|
||||
local kitchen_skill_048_field = player_data_type_def:get_field("_KitchenSkill048_Damage");
|
||||
|
||||
function this.update(player_data)
|
||||
local item_parameter = get_ref_item_parameter_method:call(singletons.player_manager);
|
||||
if item_parameter == nil then
|
||||
error_handler.report("dangos.update", "Failed to access Data: item_parameter");
|
||||
return;
|
||||
end
|
||||
|
||||
--this.update_dango_defender(player_data, item_parameter);
|
||||
end
|
||||
|
||||
-- Not working??
|
||||
function this.update_dango_defender(player_data, item_parameter)
|
||||
local dango_defender_value = kitchen_skill_048_field:get_data(player_data);
|
||||
if dango_defender_value == nil then
|
||||
error_handler.report("dangos.update_dango_defender", "Failed to access Data: dango_defender_value");
|
||||
return;
|
||||
end
|
||||
|
||||
if dango_defender_value < 200 then
|
||||
this.list.dango_defender = nil;
|
||||
return;
|
||||
end
|
||||
|
||||
local buff = this.list.dango_defender;
|
||||
if buff ~= nil then
|
||||
return;
|
||||
end
|
||||
|
||||
local name = language.current_language.dangos.dango_defender_hi;
|
||||
|
||||
this.list.dango_defender = buffs.new(buffs.types.dango, "dango_defender", name, 1);
|
||||
end
|
||||
|
||||
function this.init_names()
|
||||
for dango_key, dango in pairs(this.list) do
|
||||
local name = language.current_language.dangos[dango_key];
|
||||
|
||||
if name == nil then
|
||||
name = dango_key;
|
||||
end
|
||||
|
||||
dango.name = name;
|
||||
end
|
||||
end
|
||||
|
||||
function this.init_dependencies()
|
||||
buffs = require("MHR_Overlay.Buffs.buffs");
|
||||
config = require("MHR_Overlay.Misc.config");
|
||||
utils = require("MHR_Overlay.Misc.utils");
|
||||
buff_UI_entity = require("MHR_Overlay.UI.UI_Entities.buff_UI_entity");
|
||||
singletons = require("MHR_Overlay.Game_Handler.singletons");
|
||||
players = require("MHR_Overlay.Damage_Meter.players");
|
||||
language = require("MHR_Overlay.Misc.language");
|
||||
error_handler = require("MHR_Overlay.Misc.error_handler");
|
||||
end
|
||||
|
||||
function this.init_module()
|
||||
end
|
||||
|
||||
return this;
|
||||
@@ -9,6 +9,8 @@ local utils;
|
||||
local language;
|
||||
local error_handler;
|
||||
local env_creature;
|
||||
local item_buffs;
|
||||
local time;
|
||||
|
||||
local sdk = sdk;
|
||||
local tostring = tostring;
|
||||
@@ -44,94 +46,167 @@ local package = package;
|
||||
|
||||
this.list = {
|
||||
cutterfly = nil,
|
||||
clothfly = nil
|
||||
clothfly = nil,
|
||||
butterflame = nil,
|
||||
-- peepersects = nil,
|
||||
stinkmink = nil,
|
||||
ruby_wirebug = nil,
|
||||
gold_wirebug = nil,
|
||||
red_lampsquid = nil,
|
||||
yellow_lampsquid = nil
|
||||
};
|
||||
|
||||
local player_manager_type_def = sdk.find_type_definition("snow.player.PlayerManager");
|
||||
local get_player_data_method = player_manager_type_def:get_method("get_PlayerData");
|
||||
local get_ref_item_parameter_method = player_manager_type_def:get_method("get_RefItemParameter");
|
||||
this.keys = {
|
||||
"cutterfly",
|
||||
"clothfly",
|
||||
"butterflame",
|
||||
-- "peepersects",
|
||||
"stinkmink",
|
||||
"ruby_wirebug",
|
||||
"gold_wirebug",
|
||||
"red_lampsquid",
|
||||
"yellow_lampsquid"
|
||||
};
|
||||
|
||||
this.peepersects_duration = 90;
|
||||
this.butterflame_attack_up = 25;
|
||||
|
||||
local endemic_life_buffs_type_name = "endemic_life_buffs";
|
||||
|
||||
local marionette_mode_types = { "ruby_wirebug", "gold_wirebug" };
|
||||
|
||||
|
||||
local player_user_data_item_parameter_type_def = get_ref_item_parameter_method:get_return_type();
|
||||
local demondrug_atk_up_field = player_user_data_item_parameter_type_def:get_field("_DemondrugAtkUp");
|
||||
|
||||
local player_data_type_def = sdk.find_type_definition("snow.player.PlayerData");
|
||||
-- Cutterfly
|
||||
local crit_up_ec_second_timer_field = player_data_type_def:get_field("_CritUpEcSecondTimer");
|
||||
-- Clothfly
|
||||
local def_up_buff_second_rate_timer_field = player_data_type_def:get_field("_DefUpBuffSecondRateTimer");
|
||||
-- Ruby/Gold Wirebugs
|
||||
local wirebug_powerup_timer_field = player_data_type_def:get_field("_WireBugPowerUpTimer");
|
||||
-- Butterflame
|
||||
local atk_up_buff_second_field = player_data_type_def:get_field("_AtkUpBuffSecond");
|
||||
local atk_up_buff_second_timer_field = player_data_type_def:get_field("_AtkUpBuffSecondTimer");
|
||||
-- Stinkmink
|
||||
local lead_enemy_timer_field = player_data_type_def:get_field("_LeadEnemyTimer");
|
||||
-- Red Lampsquid
|
||||
local atk_up_ec_second_timer_field = player_data_type_def:get_field("_AtkUpEcSecondTimer");
|
||||
-- Yellow Lampsquid
|
||||
local def_up_ec_second_timer_field = player_data_type_def:get_field("_DefUpEcSecondTimer");
|
||||
|
||||
|
||||
local player_quest_base_type_def = sdk.find_type_definition("snow.player.PlayerQuestBase");
|
||||
-- Ruby/Gold Wirebugs
|
||||
local get_marionette_mode_type_method = player_quest_base_type_def:get_method("get_MarionetteModeType");
|
||||
|
||||
local message_manager_type_def = sdk.find_type_definition("snow.gui.MessageManager");
|
||||
local get_env_creature_name_message_method = message_manager_type_def:get_method("getEnvCreatureNameMessage");
|
||||
|
||||
function this.update(player_data)
|
||||
local item_parameter = get_ref_item_parameter_method:call(singletons.player_manager);
|
||||
if item_parameter == nil then
|
||||
error_handler.report("endemic_life_buffs.update", "Failed to access Data: item_parameter");
|
||||
return;
|
||||
end
|
||||
function this.update(player, player_data, item_parameter)
|
||||
this.update_ruby_and_gold_wirebugs(player, player_data);
|
||||
this.update_butterflame(player_data);
|
||||
|
||||
this.update_cutterfly(player_data, item_parameter);
|
||||
this.update_clothfly(player_data, item_parameter);
|
||||
this.update_endemic_life_buff("cutterfly", nil, nil, player_data, crit_up_ec_second_timer_field);
|
||||
this.update_endemic_life_buff("clothfly", nil, nil, player_data, def_up_buff_second_rate_timer_field);
|
||||
this.update_endemic_life_buff("stinkmink", nil, nil, player_data, lead_enemy_timer_field);
|
||||
this.update_endemic_life_buff("red_lampsquid", nil, nil, player_data, atk_up_ec_second_timer_field);
|
||||
this.update_endemic_life_buff("yellow_lampsquid", nil, nil, player_data, def_up_ec_second_timer_field);
|
||||
end
|
||||
|
||||
function this.update_cutterfly(player_data, item_parameter)
|
||||
local cutterfly_timer = crit_up_ec_second_timer_field:get_data(player_data);
|
||||
if cutterfly_timer == nil then
|
||||
error_handler.report("endemic_life_buffs.update_cutterfly", "Failed to access Data: cutterfly_timer");
|
||||
return;
|
||||
end
|
||||
|
||||
if utils.number.is_equal(cutterfly_timer, 0) then
|
||||
this.list.cutterfly = nil;
|
||||
return;
|
||||
end
|
||||
|
||||
local buff = this.list.cutterfly;
|
||||
|
||||
if buff == nil then
|
||||
local name = get_env_creature_name_message_method:call(singletons.message_manager, env_creature.creature_ids.cutterfly);
|
||||
if name == nil then
|
||||
error_handler.report("endemic_life_buffs.update_cutterfly", "Failed to access Data: name");
|
||||
return;
|
||||
end
|
||||
|
||||
buff = buffs.new(buffs.types.consumable, "cutterfly", name, 1, cutterfly_timer / 60);
|
||||
this.list.cutterfly = buff;
|
||||
else
|
||||
buffs.update_timer(buff, cutterfly_timer / 60);
|
||||
end
|
||||
function this.update_endemic_life_buff(key, value_owner, value_holder, timer_owner, timer_holder, is_infinite, minimal_value, level_breakpoints)
|
||||
return buffs.update_generic_buff(this.list, config.current_config.buff_UI.filter.endemic_life_buffs, this.get_endemic_life_name,
|
||||
endemic_life_buffs_type_name, key,
|
||||
value_owner, value_holder, timer_owner, timer_holder, is_infinite, minimal_value, level_breakpoints)
|
||||
end
|
||||
|
||||
function this.update_clothfly(player_data, item_parameter)
|
||||
local clothfly_timer = def_up_buff_second_rate_timer_field:get_data(player_data);
|
||||
if clothfly_timer == nil then
|
||||
error_handler.report("endemic_life_buffs.update_clothfly", "Failed to access Data: clothfly_timer");
|
||||
function this.update_generic(key, level, timer)
|
||||
return buffs.update_generic(this.list, this.get_endemic_life_name, endemic_life_buffs_type_name, key, level, timer);
|
||||
end
|
||||
|
||||
function this.apply_filter(key)
|
||||
return buffs.apply_filter(this.list, config.current_config.buff_UI.filter.endemic_life_buffs, key);
|
||||
end
|
||||
|
||||
function this.update_ruby_and_gold_wirebugs(player, player_data)
|
||||
local cached_config = config.current_config.buff_UI.filter.endemic_life_buffs;
|
||||
|
||||
if not cached_config.ruby_wirebug
|
||||
and not cached_config.gold_wirebug then
|
||||
if this.apply_filter("ruby_wirebug") then
|
||||
return;
|
||||
end
|
||||
|
||||
if utils.number.is_equal(clothfly_timer, 0) then
|
||||
this.list.clothfly = nil;
|
||||
if this.apply_filter("gold_wirebug") then
|
||||
return;
|
||||
end
|
||||
|
||||
local buff = this.list.clothfly;
|
||||
|
||||
if buff == nil then
|
||||
local name = get_env_creature_name_message_method:call(singletons.message_manager, env_creature.creature_ids.clothfly);
|
||||
if name == nil then
|
||||
error_handler.report("endemic_life_buffs.update_clothfly", "Failed to access Data: name");
|
||||
return;
|
||||
end
|
||||
|
||||
buff = buffs.new(buffs.types.consumable, "clothfly", name, 1, clothfly_timer / 60);
|
||||
this.list.clothfly = buff;
|
||||
local marionette_mode_type = get_marionette_mode_type_method:call(player);
|
||||
if marionette_mode_type == nil then
|
||||
error_handler.report("endemic_life_buffs.update_ruby_and_gold_wirebugs", "Failed to access Data: marionette_mode_type");
|
||||
this.list.ruby_wirebug = nil;
|
||||
this.list.gold_wirebug = nil;
|
||||
end
|
||||
|
||||
if marionette_mode_type ~= 1 and marionette_mode_type ~= 2 then
|
||||
this.list.ruby_wirebug = nil;
|
||||
this.list.gold_wirebug = nil;
|
||||
return;
|
||||
elseif marionette_mode_type ~= 1 then
|
||||
this.list.ruby_wirebug = nil;
|
||||
else
|
||||
buffs.update_timer(buff, clothfly_timer / 60);
|
||||
this.list.gold_wirebug = nil;
|
||||
end
|
||||
|
||||
local endemic_life_buff_key = marionette_mode_types[marionette_mode_type];
|
||||
this.update_endemic_life_buff(endemic_life_buff_key, nil, nil, player_data, wirebug_powerup_timer_field);
|
||||
end
|
||||
|
||||
function this.update_butterflame(player_data)
|
||||
if this.apply_filter("butterflame") then
|
||||
return;
|
||||
end
|
||||
|
||||
local atk_up_buff_second = atk_up_buff_second_field:get_data(player_data);
|
||||
if atk_up_buff_second == nil then
|
||||
error_handler.report("item_buffs.update_butterflame", "Failed to access Data: atk_up_buff_second");
|
||||
this.list.butterflame = nil;
|
||||
return;
|
||||
end
|
||||
|
||||
if atk_up_buff_second ~= this.butterflame_attack_up then
|
||||
this.list.butterflame = nil;
|
||||
return;
|
||||
end
|
||||
|
||||
this.update_endemic_life_buff("butterflame", nil, nil, player_data, atk_up_buff_second_timer_field);
|
||||
end
|
||||
|
||||
function this.init_all_UI()
|
||||
for endemic_life_key, endemic_life in pairs(this.list) do
|
||||
buffs.init_UI(endemic_life);
|
||||
end
|
||||
end
|
||||
|
||||
function this.init_names()
|
||||
-- Nothing to do here
|
||||
for endemic_life_key, endemic_life in pairs(this.list) do
|
||||
endemic_life.name = this.get_endemic_life_name(endemic_life_key);
|
||||
end
|
||||
end
|
||||
|
||||
function this.get_endemic_life_name(key)
|
||||
if singletons.message_manager == nil then
|
||||
error_handler.report("endemic_life_buffs.get_endemic_life_name", "Failed to access Data: message_manager");
|
||||
return key;
|
||||
end
|
||||
|
||||
local endemic_life_name = get_env_creature_name_message_method:call(singletons.message_manager, env_creature.creature_ids[key]);
|
||||
if endemic_life_name == nil then
|
||||
error_handler.report("endemic_life_buffs.get_endemic_life_name", string.format("Failed to access Data: %s_name", key));
|
||||
return key;
|
||||
end
|
||||
|
||||
return endemic_life_name;
|
||||
end
|
||||
|
||||
function this.init_dependencies()
|
||||
@@ -144,6 +219,8 @@ function this.init_dependencies()
|
||||
language = require("MHR_Overlay.Misc.language");
|
||||
error_handler = require("MHR_Overlay.Misc.error_handler");
|
||||
env_creature = require("MHR_Overlay.Endemic_Life.env_creature");
|
||||
item_buffs = require("MHR_Overlay.Buffs.item_buffs");
|
||||
time = require("MHR_Overlay.Game_Handler.time");
|
||||
end
|
||||
|
||||
function this.init_module()
|
||||
|
||||
340
reframework/autorun/MHR_Overlay/Buffs/item_buffs.lua
Normal file
340
reframework/autorun/MHR_Overlay/Buffs/item_buffs.lua
Normal file
@@ -0,0 +1,340 @@
|
||||
local this = {};
|
||||
|
||||
local buffs;
|
||||
local buff_UI_entity;
|
||||
local config;
|
||||
local singletons;
|
||||
local players;
|
||||
local utils;
|
||||
local language;
|
||||
local error_handler;
|
||||
local endemic_life_buffs;
|
||||
|
||||
local sdk = sdk;
|
||||
local tostring = tostring;
|
||||
local pairs = pairs;
|
||||
local ipairs = ipairs;
|
||||
local tonumber = tonumber;
|
||||
local require = require;
|
||||
local pcall = pcall;
|
||||
local table = table;
|
||||
local string = string;
|
||||
local Vector3f = Vector3f;
|
||||
local d2d = d2d;
|
||||
local math = math;
|
||||
local json = json;
|
||||
local log = log;
|
||||
local fs = fs;
|
||||
local next = next;
|
||||
local type = type;
|
||||
local setmetatable = setmetatable;
|
||||
local getmetatable = getmetatable;
|
||||
local assert = assert;
|
||||
local select = select;
|
||||
local coroutine = coroutine;
|
||||
local utf8 = utf8;
|
||||
local re = re;
|
||||
local imgui = imgui;
|
||||
local draw = draw;
|
||||
local Vector2f = Vector2f;
|
||||
local reframework = reframework;
|
||||
local os = os;
|
||||
local ValueType = ValueType;
|
||||
local package = package;
|
||||
|
||||
this.list = {
|
||||
demondrug = nil,
|
||||
mega_demondrug = nil,
|
||||
armorskin = nil,
|
||||
mega_armorskin = nil,
|
||||
might_seed = nil,
|
||||
-- adamant_seed = nil,
|
||||
demon_powder = nil,
|
||||
hardshell_powder = nil,
|
||||
-- immunizer = nil,
|
||||
-- dash_juice = nil,
|
||||
gourmet_fish = nil,
|
||||
demon_ammo = nil,
|
||||
armor_ammo = nil
|
||||
};
|
||||
|
||||
this.keys = {
|
||||
"demondrug",
|
||||
"mega_demondrug",
|
||||
"armorskin",
|
||||
"mega_armorskin",
|
||||
"might_seed",
|
||||
-- "adamant_seed",
|
||||
"demon_powder",
|
||||
"hardshell_powder",
|
||||
-- "immunizer",
|
||||
-- "dash_juice",
|
||||
"gourmet_fish",
|
||||
"demon_ammo",
|
||||
"armor_ammo"
|
||||
};
|
||||
|
||||
local item_ids = {
|
||||
demondrug = 68157917,
|
||||
mega_demondrug = 68157918,
|
||||
armorskin = 68157922,
|
||||
mega_armorskin = 68157923,
|
||||
might_seed = 68157919,
|
||||
-- adamant_seed = 68157924,
|
||||
demon_powder = 68157920,
|
||||
hardshell_powder = 68157925,
|
||||
-- immunizer = 68157911,
|
||||
-- dash_juice = 68157913,
|
||||
gourmet_fish = 68157909,
|
||||
demon_ammo = 68157595,
|
||||
armor_ammo = 68157596
|
||||
}
|
||||
|
||||
this.might_seed_attack_up = 10;
|
||||
|
||||
local item_buffs_type_name = "item_buffs";
|
||||
|
||||
local player_data_type_def = sdk.find_type_definition("snow.player.PlayerData");
|
||||
-- Demondrug/Mega Demondrug
|
||||
local atk_up_alive_field = player_data_type_def:get_field("_AtkUpAlive");
|
||||
-- Armorskin/Mega Armorskin
|
||||
local def_up_alive_field = player_data_type_def:get_field("_DefUpAlive");
|
||||
-- Might Seed
|
||||
local atk_up_buff_second_field = player_data_type_def:get_field("_AtkUpBuffSecond");
|
||||
local atk_up_buff_second_timer_field = player_data_type_def:get_field("_AtkUpBuffSecondTimer");
|
||||
-- Demon Powder
|
||||
local atk_up_item_second_field = player_data_type_def:get_field("_AtkUpItemSecond");
|
||||
local atk_up_item_second_timer_field = player_data_type_def:get_field("_AtkUpItemSecondTimer");
|
||||
-- Hardshell Powder
|
||||
local def_up_item_second_field = player_data_type_def:get_field("_DefUpItemSecond");
|
||||
local def_up_item_second_timer_field = player_data_type_def:get_field("_DefUpItemSecondTimer");
|
||||
-- Gourmet Fish
|
||||
local fish_regene_enable_field = player_data_type_def:get_field("_FishRegeneEnableTimer");
|
||||
-- Demon Ammo
|
||||
local kijin_bullet_timer_field = player_data_type_def:get_field("_KijinBulletTimer");
|
||||
-- Armor Ammo
|
||||
local kouka_bullet_timer_field = player_data_type_def:get_field("_KoukaBulletTimer");
|
||||
|
||||
local player_manager_type_def = sdk.find_type_definition("snow.player.PlayerManager");
|
||||
local get_ref_item_parameter_method = player_manager_type_def:get_method("get_RefItemParameter");
|
||||
|
||||
local player_user_data_item_parameter_type_def = get_ref_item_parameter_method:get_return_type();
|
||||
|
||||
-- Demondrug/Mega Demondrug
|
||||
local demondrug_atk_up_field = player_user_data_item_parameter_type_def:get_field("_DemondrugAtkUp");
|
||||
local great_demondrug_atk_up_field = player_user_data_item_parameter_type_def:get_field("_GreatDemondrugAtkUp");
|
||||
-- Armorskin/Mega Armorskin
|
||||
local armorskin_def_up_field = player_user_data_item_parameter_type_def:get_field("_ArmorSkinDefUp");
|
||||
local great_armorskin_def_up_field = player_user_data_item_parameter_type_def:get_field("_GreatArmorSkinDefUp");
|
||||
-- Might Seed
|
||||
local might_seed_atk_up_field = player_user_data_item_parameter_type_def:get_field("_MightSeedAtkUp");
|
||||
|
||||
|
||||
local data_shortcut_type_def = sdk.find_type_definition("snow.data.DataShortcut");
|
||||
local get_name_method = data_shortcut_type_def:get_method("getName(snow.data.ContentsIdSystem.ItemId)");
|
||||
|
||||
function this.update(player_data, item_parameter)
|
||||
this.update_demondrug(player_data, item_parameter);
|
||||
this.update_armorskin(player_data, item_parameter);
|
||||
this.update_might_seed(player_data, item_parameter);
|
||||
|
||||
this.update_item_buff("demon_powder", player_data, atk_up_item_second_field, player_data, atk_up_item_second_timer_field);
|
||||
this.update_item_buff("hardshell_powder", player_data, def_up_item_second_field, player_data, def_up_item_second_timer_field);
|
||||
this.update_item_buff("gourmet_fish", nil, nil, player_data, fish_regene_enable_field);
|
||||
this.update_item_buff("demon_ammo", nil, nil, player_data, kijin_bullet_timer_field);
|
||||
this.update_item_buff("armor_ammo", nil, nil, player_data, kouka_bullet_timer_field);
|
||||
end
|
||||
|
||||
function this.update_item_buff(key, value_owner, value_holder, timer_owner, timer_holder, is_infinite, minimal_value, level_breakpoints)
|
||||
return buffs.update_generic_buff(this.list, config.current_config.buff_UI.filter.item_buffs, this.get_item_buff_name,
|
||||
item_buffs_type_name, key,
|
||||
value_owner, value_holder, timer_owner, timer_holder, is_infinite, minimal_value, level_breakpoints)
|
||||
end
|
||||
|
||||
function this.update_generic(key, level, timer)
|
||||
return buffs.update_generic(this.list, this.get_item_buff_name, item_buffs_type_name, key, level, timer);
|
||||
end
|
||||
|
||||
function this.apply_filter(key)
|
||||
return buffs.apply_filter(this.list, config.current_config.buff_UI.filter.item_buffs, key);
|
||||
end
|
||||
|
||||
function this.update_demondrug(player_data, item_parameter)
|
||||
local cached_config = config.current_config.buff_UI.filter.item_buffs;
|
||||
|
||||
if not cached_config.demondrug and not cached_config.mega_demondrug then
|
||||
this.list.demondrug = nil;
|
||||
this.list.mega_demondrug = nil;
|
||||
return;
|
||||
end
|
||||
|
||||
local demondrug_value = atk_up_alive_field:get_data(player_data);
|
||||
if demondrug_value == nil then
|
||||
error_handler.report("item_buffs.update_demondrug", "Failed to access Data: demondrug_value");
|
||||
this.list.demondrug = nil;
|
||||
this.list.mega_demondrug = nil;
|
||||
return;
|
||||
end
|
||||
|
||||
if demondrug_value == 0 then
|
||||
this.list.demondrug = nil;
|
||||
this.list.mega_demondrug = nil;
|
||||
return;
|
||||
end
|
||||
|
||||
local demondrug_const_value = demondrug_atk_up_field:get_data(item_parameter);
|
||||
if demondrug_const_value == nil then
|
||||
error_handler.report("item_buffs.update_demondrug", "Failed to access Data: demondrug_const_value");
|
||||
this.list.demondrug = nil;
|
||||
this.list.mega_demondrug = nil;
|
||||
return;
|
||||
end
|
||||
|
||||
local mega_demondrug_const_value = great_demondrug_atk_up_field:get_data(item_parameter);
|
||||
if mega_demondrug_const_value == nil then
|
||||
error_handler.report("item_buffs.update_demondrug", "Failed to access Data: mega_demondrug_const_value");
|
||||
this.list.demondrug = nil;
|
||||
this.list.mega_demondrug = nil;
|
||||
return;
|
||||
end
|
||||
|
||||
local item_key;
|
||||
if demondrug_value == demondrug_const_value then
|
||||
item_key = "demondrug";
|
||||
this.list.mega_demondrug = nil;
|
||||
|
||||
elseif demondrug_value == mega_demondrug_const_value then
|
||||
item_key = "mega_demondrug";
|
||||
this.list.demondrug = nil;
|
||||
end
|
||||
|
||||
if not cached_config[item_key] then
|
||||
this.list[item_key] = nil;
|
||||
return;
|
||||
end
|
||||
|
||||
this.update_generic(item_key);
|
||||
end
|
||||
|
||||
function this.update_armorskin(player_data, item_parameter)
|
||||
local cached_config = config.current_config.buff_UI.filter.item_buffs;
|
||||
|
||||
if not cached_config.armorskin and not cached_config.mega_armorskin then
|
||||
this.list.armorskin = nil;
|
||||
this.list.mega_armorskin = nil;
|
||||
return;
|
||||
end
|
||||
|
||||
local armorskin_value = def_up_alive_field:get_data(player_data);
|
||||
if armorskin_value == nil then
|
||||
error_handler.report("item_buffs.update_armorskin", "Failed to access Data: armorskin_value");
|
||||
this.list.armorskin = nil;
|
||||
this.list.mega_armorskin = nil;
|
||||
return;
|
||||
end
|
||||
|
||||
if armorskin_value == 0 then
|
||||
this.list.armorskin = nil;
|
||||
this.list.mega_armorskin = nil;
|
||||
return;
|
||||
end
|
||||
|
||||
local armorskin_const_value = armorskin_def_up_field:get_data(item_parameter);
|
||||
if armorskin_const_value == nil then
|
||||
error_handler.report("item_buffs.update_armorskin", "Failed to access Data: armorskin_const_value");
|
||||
this.list.armorskin = nil;
|
||||
this.list.mega_armorskin = nil;
|
||||
return;
|
||||
end
|
||||
|
||||
local mega_armorskin_const_value = great_armorskin_def_up_field:get_data(item_parameter);
|
||||
if mega_armorskin_const_value == nil then
|
||||
error_handler.report("item_buffs.update_armorskin", "Failed to access Data: mega_armorskin_const_value");
|
||||
this.list.armorskin = nil;
|
||||
this.list.mega_armorskin = nil;
|
||||
return;
|
||||
end
|
||||
|
||||
local item_key;
|
||||
if armorskin_value == armorskin_const_value then
|
||||
item_key = "armorskin";
|
||||
this.list.mega_armorskin = nil;
|
||||
|
||||
elseif armorskin_value == mega_armorskin_const_value then
|
||||
item_key = "mega_armorskin";
|
||||
this.list.armorskin = nil;
|
||||
end
|
||||
|
||||
if not cached_config[item_key] then
|
||||
this.list[item_key] = nil;
|
||||
return;
|
||||
end
|
||||
|
||||
this.update_generic(item_key);
|
||||
end
|
||||
|
||||
function this.update_might_seed(player_data, item_parameter)
|
||||
if this.apply_filter("might_seed") then
|
||||
return;
|
||||
end
|
||||
|
||||
local atk_up_buff_second = atk_up_buff_second_field:get_data(player_data);
|
||||
if atk_up_buff_second == nil then
|
||||
error_handler.report("item_buffs.update_might_seed", "Failed to access Data: atk_up_buff_second");
|
||||
this.list.might_seed = nil;
|
||||
return;
|
||||
end
|
||||
|
||||
local might_seed_atk_up = might_seed_atk_up_field:get_data(item_parameter);
|
||||
if might_seed_atk_up == nil then
|
||||
error_handler.report("item_buffs.update_might_seed", "Failed to access Data: might_seed_atk_up");
|
||||
this.list.might_seed = nil;
|
||||
return;
|
||||
end
|
||||
|
||||
if atk_up_buff_second ~= might_seed_atk_up then
|
||||
this.list.might_seed = nil;
|
||||
return;
|
||||
end
|
||||
|
||||
this.update_item_buff("might_seed", nil, nil, player_data, atk_up_buff_second_timer_field);
|
||||
end
|
||||
|
||||
function this.init_all_UI()
|
||||
for item_buff_key, item_buff in pairs(this.list) do
|
||||
buffs.init_UI(item_buff);
|
||||
end
|
||||
end
|
||||
|
||||
function this.init_names()
|
||||
for item_buff_key, item_buff in pairs(this.list) do
|
||||
item_buff.name = this.get_item_buff_name(item_buff_key);
|
||||
end
|
||||
end
|
||||
|
||||
function this.get_item_buff_name(key)
|
||||
local item_buff_name = get_name_method:call(nil, item_ids[key]);
|
||||
if item_buff_name == nil then
|
||||
error_handler.report("item_buffs.get_item_buff_name", string.format("Failed to access Data: %s_name", key));
|
||||
return key;
|
||||
end
|
||||
|
||||
return item_buff_name;
|
||||
end
|
||||
|
||||
function this.init_dependencies()
|
||||
buffs = require("MHR_Overlay.Buffs.buffs");
|
||||
config = require("MHR_Overlay.Misc.config");
|
||||
utils = require("MHR_Overlay.Misc.utils");
|
||||
buff_UI_entity = require("MHR_Overlay.UI.UI_Entities.buff_UI_entity");
|
||||
singletons = require("MHR_Overlay.Game_Handler.singletons");
|
||||
players = require("MHR_Overlay.Damage_Meter.players");
|
||||
language = require("MHR_Overlay.Misc.language");
|
||||
error_handler = require("MHR_Overlay.Misc.error_handler");
|
||||
endemic_life_buffs = require("MHR_Overlay.Buffs.endemic_life_buffs");
|
||||
end
|
||||
|
||||
function this.init_module()
|
||||
end
|
||||
|
||||
return this;
|
||||
@@ -8,6 +8,7 @@ local players;
|
||||
local utils;
|
||||
local language;
|
||||
local error_handler;
|
||||
local time;
|
||||
|
||||
local sdk = sdk;
|
||||
local tostring = tostring;
|
||||
@@ -41,7 +42,7 @@ local os = os;
|
||||
local ValueType = ValueType;
|
||||
local package = package;
|
||||
|
||||
local ids = {
|
||||
--[[local melody_effect_ids = {
|
||||
self_improvement = 0,
|
||||
attack_up = 1,
|
||||
defense_up = 2,
|
||||
@@ -70,9 +71,9 @@ local ids = {
|
||||
infernal_melody = 25,
|
||||
sharpness_regeneration = 26,
|
||||
sharpness_extension = 27
|
||||
};
|
||||
};]]
|
||||
|
||||
local melody_effect_keys = {
|
||||
this.keys = {
|
||||
"self_improvement",
|
||||
"attack_up",
|
||||
"defense_up",
|
||||
@@ -105,6 +106,8 @@ local melody_effect_keys = {
|
||||
|
||||
this.list = {};
|
||||
|
||||
local melody_effects_type_name = "melody_effects";
|
||||
|
||||
local player_manager_type_def = sdk.find_type_definition("snow.player.PlayerManager");
|
||||
local find_master_player_method = player_manager_type_def:get_method("findMasterPlayer");
|
||||
|
||||
@@ -118,6 +121,9 @@ local system_array_type_def = sdk.find_type_definition("System.Array");
|
||||
local get_length_method = system_array_type_def:get_method("get_Length");
|
||||
local get_value_method = system_array_type_def:get_method("GetValue(System.Int32)");
|
||||
|
||||
local data_shortcut_type_def = sdk.find_type_definition("snow.data.DataShortcut");
|
||||
local get_name_method = data_shortcut_type_def:get_method("getName(snow.data.DataDef.HornConcertId)");
|
||||
|
||||
function this.update(master_player)
|
||||
local music_data_array = music_data_field:get_data(master_player);
|
||||
if music_data_array == nil then
|
||||
@@ -125,28 +131,42 @@ function this.update(master_player)
|
||||
return;
|
||||
end
|
||||
|
||||
local length = get_length_method:call(music_data_array) - 1;
|
||||
local length = get_length_method:call(music_data_array);
|
||||
if length == nil then
|
||||
error_handler.report("melody_effects.update", "Failed to access Data: music_data_array -> length");
|
||||
return;
|
||||
end
|
||||
|
||||
for i = 0, length do
|
||||
local music_data = get_value_method:call(music_data_array, i);
|
||||
if music_data == nil then
|
||||
error_handler.report("melody_effects.update", "Failed to access Data: music_data No." .. tostring(i));
|
||||
length = length - 1;
|
||||
|
||||
for id = 0, length do
|
||||
|
||||
local lua_index = id + 1;
|
||||
|
||||
local melody_effect = this.list[lua_index];
|
||||
local key = this.keys[lua_index];
|
||||
|
||||
if this.apply_filter(key, lua_index) then
|
||||
goto continue;
|
||||
end
|
||||
|
||||
this.update_melody_effect(i+1, music_data);
|
||||
local music_data = get_value_method:call(music_data_array, id);
|
||||
if music_data == nil then
|
||||
error_handler.report("melody_effects.update", "Failed to access Data: music_data No." .. tostring(id));
|
||||
this.list[lua_index] = nil;
|
||||
goto continue;
|
||||
end
|
||||
|
||||
this.update_melody_effect(lua_index, id, key, melody_effect, music_data);
|
||||
::continue::
|
||||
end
|
||||
end
|
||||
|
||||
function this.update_melody_effect(lua_index, melody_data)
|
||||
function this.update_melody_effect(lua_index, id, key, melody_effect, melody_data)
|
||||
local melody_timer = time_field:get_data(melody_data);
|
||||
if melody_timer == nil then
|
||||
error_handler.report("melody_effects.update", "Failed to access Data: melody_timer No. " .. tostring(lua_index - 1));
|
||||
error_handler.report("melody_effects.update_melody_effect", "Failed to access Data: melody_timer No. " .. tostring(id));
|
||||
this.list[lua_index] = nil;
|
||||
return;
|
||||
end
|
||||
|
||||
@@ -155,28 +175,69 @@ function this.update_melody_effect(lua_index, melody_data)
|
||||
return;
|
||||
end
|
||||
|
||||
local melody_effect = this.list[lua_index];
|
||||
if melody_effect == nil then
|
||||
local melody_effect_key = melody_effect_keys[lua_index];
|
||||
local name = language.current_language.melody_effects[melody_effect_key];
|
||||
local melody_effect_name = this.get_melody_effect_name(id);
|
||||
|
||||
melody_effect = buffs.new(buffs.types.melody_effect, melody_effect_key, name, 1, melody_timer / 60);
|
||||
melody_effect = buffs.new(melody_effects_type_name, key, melody_effect_name, 1, melody_timer / 60);
|
||||
this.list[lua_index] = melody_effect;
|
||||
else
|
||||
buffs.update_timer(melody_effect, melody_timer / 60);
|
||||
end
|
||||
end
|
||||
|
||||
function this.apply_filter(key, lua_index)
|
||||
if config.current_config.buff_UI.filter.melody_effects[key] then
|
||||
return false;
|
||||
end
|
||||
|
||||
local buff = this.list[lua_index];
|
||||
if buff == nil then
|
||||
return true;
|
||||
end
|
||||
|
||||
if not buff.is_visible then
|
||||
return true;
|
||||
end
|
||||
|
||||
if buff.is_infinite then
|
||||
this.list[lua_index] = nil;
|
||||
return true;
|
||||
end
|
||||
|
||||
time.new_delay_timer(function()
|
||||
|
||||
local _buff = this.list[lua_index];
|
||||
if _buff ~= nil and not _buff.is_visible then
|
||||
this.list[lua_index] = nil;
|
||||
end
|
||||
|
||||
end, buff.timer);
|
||||
|
||||
buff.is_visible = false;
|
||||
return true;
|
||||
end
|
||||
|
||||
function this.init_all_UI()
|
||||
for melody_effect_id, melody_effect in pairs(this.list) do
|
||||
buffs.init_UI(melody_effect);
|
||||
end
|
||||
end
|
||||
|
||||
function this.init_names()
|
||||
for index, dango in pairs(this.list) do
|
||||
local name = language.current_language.dangos[dango.key];
|
||||
for melody_effect_id, melody_effect in pairs(this.list) do
|
||||
melody_effect.name = this.get_melody_effect_name(melody_effect_id - 1);
|
||||
end
|
||||
end
|
||||
|
||||
if name == nil then
|
||||
name = dango.key;
|
||||
function this.get_melody_effect_name(id)
|
||||
local melody_effect_name = get_name_method:call(nil, id);
|
||||
if melody_effect_name == nil then
|
||||
local name = string.format("Melody Effect No. %d", id);
|
||||
error_handler.report("melody_effects.get_melody_effect_name", "Failed to access Data: " .. melody_effect_name);
|
||||
return name;
|
||||
end
|
||||
|
||||
dango.name = name;
|
||||
end
|
||||
return melody_effect_name;
|
||||
end
|
||||
|
||||
function this.init_dependencies()
|
||||
@@ -188,6 +249,7 @@ function this.init_dependencies()
|
||||
players = require("MHR_Overlay.Damage_Meter.players");
|
||||
language = require("MHR_Overlay.Misc.language");
|
||||
error_handler = require("MHR_Overlay.Misc.error_handler");
|
||||
time = require("MHR_Overlay.Game_Handler.time");
|
||||
end
|
||||
|
||||
function this.init_module()
|
||||
|
||||
190
reframework/autorun/MHR_Overlay/Buffs/misc_buffs.lua
Normal file
190
reframework/autorun/MHR_Overlay/Buffs/misc_buffs.lua
Normal file
@@ -0,0 +1,190 @@
|
||||
local this = {};
|
||||
|
||||
local buffs;
|
||||
local buff_UI_entity;
|
||||
local config;
|
||||
local singletons;
|
||||
local players;
|
||||
local utils;
|
||||
local language;
|
||||
local error_handler;
|
||||
local endemic_life_buffs;
|
||||
local item_buffs;
|
||||
|
||||
local sdk = sdk;
|
||||
local tostring = tostring;
|
||||
local pairs = pairs;
|
||||
local ipairs = ipairs;
|
||||
local tonumber = tonumber;
|
||||
local require = require;
|
||||
local pcall = pcall;
|
||||
local table = table;
|
||||
local string = string;
|
||||
local Vector3f = Vector3f;
|
||||
local d2d = d2d;
|
||||
local math = math;
|
||||
local json = json;
|
||||
local log = log;
|
||||
local fs = fs;
|
||||
local next = next;
|
||||
local type = type;
|
||||
local setmetatable = setmetatable;
|
||||
local getmetatable = getmetatable;
|
||||
local assert = assert;
|
||||
local select = select;
|
||||
local coroutine = coroutine;
|
||||
local utf8 = utf8;
|
||||
local re = re;
|
||||
local imgui = imgui;
|
||||
local draw = draw;
|
||||
local Vector2f = Vector2f;
|
||||
local reframework = reframework;
|
||||
local os = os;
|
||||
local ValueType = ValueType;
|
||||
local package = package;
|
||||
|
||||
this.list = {
|
||||
attack_up = nil,
|
||||
defense_up = nil,
|
||||
stamina_use_down = nil,
|
||||
natural_healing_up = nil,
|
||||
immunity = nil
|
||||
};
|
||||
|
||||
this.keys = {
|
||||
"attack_up",
|
||||
"defense_up",
|
||||
"stamina_use_down",
|
||||
"natural_healing_up",
|
||||
"immunity"
|
||||
};
|
||||
|
||||
-- Attack Up
|
||||
-- Might Seed +10 3min -- Separated
|
||||
-- Dango Bulker + 15 30sec
|
||||
-- Chameleos Soul +15 30sec
|
||||
-- Butterflame +25 1min -- Separated
|
||||
|
||||
-- Defense Up
|
||||
-- Adamant Seed +20 3min
|
||||
-- Chameleos Souls +20 30sec
|
||||
|
||||
-- Stamina Use Down
|
||||
-- Dash Juice 3min
|
||||
-- Peepersects 1.5min
|
||||
-- Chameleos Soul 30sec
|
||||
|
||||
-- Natural Healing Up
|
||||
-- Immunizer 5min
|
||||
-- Vase of Vitality 20sec
|
||||
|
||||
local misc_buffs_type_name = "misc_buffs";
|
||||
|
||||
local player_data_type_def = sdk.find_type_definition("snow.player.PlayerData");
|
||||
|
||||
-- Attack Up
|
||||
local atk_up_buff_second_field = player_data_type_def:get_field("_AtkUpBuffSecond");
|
||||
local atk_up_buff_second_timer_field = player_data_type_def:get_field("_AtkUpBuffSecondTimer");
|
||||
-- Defense Up
|
||||
local def_up_buff_second_field = player_data_type_def:get_field("_DefUpBuffSecond");
|
||||
local def_up_buff_second_timer_field = player_data_type_def:get_field("_DefUpBuffSecondTimer");
|
||||
-- Stamina Use Down
|
||||
local stamina_up_buff_second_timer_field = player_data_type_def:get_field("_StaminaUpBuffSecondTimer");
|
||||
-- Immunity
|
||||
local debuff_prevention_timer_field = player_data_type_def:get_field("_DebuffPreventionTimer");
|
||||
-- Immunizer
|
||||
local vitalizer_timer_field = player_data_type_def:get_field("_VitalizerTimer");
|
||||
|
||||
local player_manager_type_def = sdk.find_type_definition("snow.player.PlayerManager");
|
||||
local get_ref_item_parameter_method = player_manager_type_def:get_method("get_RefItemParameter");
|
||||
|
||||
local player_user_data_item_parameter_type_def = get_ref_item_parameter_method:get_return_type();
|
||||
|
||||
-- Might Seed
|
||||
local might_seed_atk_up_field = player_user_data_item_parameter_type_def:get_field("_MightSeedAtkUp");
|
||||
|
||||
function this.update(player, player_data, item_parameter)
|
||||
this.update_attack_up(player_data, item_parameter);
|
||||
|
||||
--this.update_misc_buff("attack_up", player_data, atk_up_buff_second_field, player_data, atk_up_buff_second_timer_field);
|
||||
this.update_misc_buff("defense_up", player_data, def_up_buff_second_field, player_data, def_up_buff_second_timer_field);
|
||||
this.update_misc_buff("stamina_use_down", nil, nil, player_data, stamina_up_buff_second_timer_field);
|
||||
this.update_misc_buff("natural_healing_up", nil, nil, player_data, vitalizer_timer_field);
|
||||
this.update_misc_buff("immunity", nil, nil, player_data, debuff_prevention_timer_field);
|
||||
end
|
||||
|
||||
function this.update_misc_buff(key, value_owner, value_holder, timer_owner, timer_holder, is_infinite, minimal_value, level_breakpoints)
|
||||
return buffs.update_generic_buff(this.list, config.current_config.buff_UI.filter.misc_buffs, this.get_misc_buff_name,
|
||||
misc_buffs_type_name, key,
|
||||
value_owner, value_holder, timer_owner, timer_holder, is_infinite, minimal_value, level_breakpoints);
|
||||
end
|
||||
|
||||
function this.apply_filter(key)
|
||||
return buffs.apply_filter(this.list, config.current_config.buff_UI.filter.misc_buffs, key);
|
||||
end
|
||||
|
||||
function this.update_attack_up(player_data, item_parameter)
|
||||
if this.apply_filter("attack_up") then
|
||||
return;
|
||||
end
|
||||
|
||||
local atk_up_buff_second = atk_up_buff_second_field:get_data(player_data);
|
||||
if atk_up_buff_second == nil then
|
||||
error_handler.report("item_buffs.update_attack_up", "Failed to access Data: atk_up_buff_second");
|
||||
this.list.attack_up = nil;
|
||||
return;
|
||||
end
|
||||
|
||||
local might_seed_atk_up = might_seed_atk_up_field:get_data(item_parameter);
|
||||
if might_seed_atk_up == nil then
|
||||
error_handler.report("item_buffs.update_might_seed", "Failed to access Data: might_seed_atk_up");
|
||||
this.list.attack_up = nil;
|
||||
return;
|
||||
end
|
||||
|
||||
if atk_up_buff_second == might_seed_atk_up or atk_up_buff_second == endemic_life_buffs.butterflame_attack_up then
|
||||
this.list.attack_up = nil;
|
||||
return;
|
||||
end
|
||||
|
||||
this.update_misc_buff("attack_up", nil, nil, player_data, atk_up_buff_second_timer_field);
|
||||
end
|
||||
|
||||
function this.init_all_UI()
|
||||
for misc_buff_key, misc_buff in pairs(this.list) do
|
||||
buffs.init_UI(misc_buff);
|
||||
end
|
||||
end
|
||||
|
||||
function this.init_names()
|
||||
for misc_buff_key, misc_buff in pairs(this.list) do
|
||||
misc_buff.name = this.get_misc_buff_name(misc_buff_key);
|
||||
end
|
||||
end
|
||||
|
||||
function this.get_misc_buff_name(key)
|
||||
local misc_buff_name = language.current_language.misc_buffs[key];
|
||||
if misc_buff_name == nil then
|
||||
return key;
|
||||
end
|
||||
|
||||
return misc_buff_name;
|
||||
end
|
||||
|
||||
function this.init_dependencies()
|
||||
buffs = require("MHR_Overlay.Buffs.buffs");
|
||||
config = require("MHR_Overlay.Misc.config");
|
||||
utils = require("MHR_Overlay.Misc.utils");
|
||||
buff_UI_entity = require("MHR_Overlay.UI.UI_Entities.buff_UI_entity");
|
||||
singletons = require("MHR_Overlay.Game_Handler.singletons");
|
||||
players = require("MHR_Overlay.Damage_Meter.players");
|
||||
language = require("MHR_Overlay.Misc.language");
|
||||
error_handler = require("MHR_Overlay.Misc.error_handler");
|
||||
endemic_life_buffs = require("MHR_Overlay.Buffs.endemic_life_buffs");
|
||||
item_buffs = require("MHR_Overlay.Buffs.item_buffs");
|
||||
end
|
||||
|
||||
function this.init_module()
|
||||
end
|
||||
|
||||
return this;
|
||||
162
reframework/autorun/MHR_Overlay/Buffs/otomo_moves.lua
Normal file
162
reframework/autorun/MHR_Overlay/Buffs/otomo_moves.lua
Normal file
@@ -0,0 +1,162 @@
|
||||
local this = {};
|
||||
|
||||
local buffs;
|
||||
local buff_UI_entity;
|
||||
local config;
|
||||
local singletons;
|
||||
local players;
|
||||
local utils;
|
||||
local language;
|
||||
local error_handler;
|
||||
local env_creature;
|
||||
local player_info;
|
||||
local time;
|
||||
local abnormal_statuses;
|
||||
|
||||
local sdk = sdk;
|
||||
local tostring = tostring;
|
||||
local pairs = pairs;
|
||||
local ipairs = ipairs;
|
||||
local tonumber = tonumber;
|
||||
local require = require;
|
||||
local pcall = pcall;
|
||||
local table = table;
|
||||
local string = string;
|
||||
local Vector3f = Vector3f;
|
||||
local d2d = d2d;
|
||||
local math = math;
|
||||
local json = json;
|
||||
local log = log;
|
||||
local fs = fs;
|
||||
local next = next;
|
||||
local type = type;
|
||||
local setmetatable = setmetatable;
|
||||
local getmetatable = getmetatable;
|
||||
local assert = assert;
|
||||
local select = select;
|
||||
local coroutine = coroutine;
|
||||
local utf8 = utf8;
|
||||
local re = re;
|
||||
local imgui = imgui;
|
||||
local draw = draw;
|
||||
local Vector2f = Vector2f;
|
||||
local reframework = reframework;
|
||||
local os = os;
|
||||
local ValueType = ValueType;
|
||||
local package = package;
|
||||
|
||||
this.list = {
|
||||
go_fight_win = nil,
|
||||
power_drum = nil,
|
||||
rousing_roar = nil
|
||||
};
|
||||
|
||||
this.keys = {
|
||||
"go_fight_win",
|
||||
"power_drum",
|
||||
"rousing_roar"
|
||||
};
|
||||
|
||||
local otomo_moves_ids = {
|
||||
-- herbaceous_healing = 1,
|
||||
-- felyne_silkbind = 2,
|
||||
-- felyne_wyvernblast = 3,
|
||||
rousing_roar = 4,
|
||||
-- endemic_life_barrage = 5,
|
||||
-- health_horn = 6,
|
||||
-- healing_bubble = 7,
|
||||
vase_of_vitality = 8,
|
||||
-- furbidden_acorn = 9,
|
||||
-- poison_purr_ison = 10,
|
||||
-- summeown_endemic_life = 11,
|
||||
-- shock_purr_ison = 12,
|
||||
go_fight_win = 13,
|
||||
-- giga_barrel_bombay = 14,
|
||||
-- flash_bombay = 15,
|
||||
-- anti_monster_mine = 16,
|
||||
-- zap_blast_spinner = 17,
|
||||
-- furr_ious = 18,
|
||||
power_drum = 19,
|
||||
-- fleet_foot_feat = 20,
|
||||
-- whirlwind_assault = 21,
|
||||
-- pilfer = 22,
|
||||
-- shock_tripper = 23,
|
||||
-- mega_boomerang = 24,
|
||||
-- camouflage = 25,
|
||||
-- healing_clover_bat = 26,
|
||||
-- felyne_firewors = 27,
|
||||
-- lottery_box = 28,
|
||||
-- felyne_powered_up = 29,
|
||||
-- ameowzing_mist = 30
|
||||
};
|
||||
|
||||
local otomo_moves_type_name = "otomo_moves"
|
||||
|
||||
local player_data_type_def = sdk.find_type_definition("snow.player.PlayerData");
|
||||
-- Palico: Rousing Roar
|
||||
local beast_roar_otomo_timer_field = player_data_type_def:get_field("_BeastRoarOtomoTimer");
|
||||
-- Palico: Power Drum
|
||||
local kijin_otomo_timer_field = player_data_type_def:get_field("_KijinOtomoTimer");
|
||||
-- Palico: Go, Fight, Win
|
||||
local runhigh_otomo_timer_field = player_data_type_def:get_field("_RunhighOtomoTimer");
|
||||
|
||||
local data_shortcut_type_def = sdk.find_type_definition("snow.data.DataShortcut");
|
||||
local get_name_method = data_shortcut_type_def:get_method("getName(snow.data.DataDef.OtSupportActionId)");
|
||||
|
||||
function this.update(player_data)
|
||||
this.update_otomo_move("rousing_roar", nil, nil, player_data, beast_roar_otomo_timer_field);
|
||||
this.update_otomo_move("go_fight_win", nil, nil, player_data, runhigh_otomo_timer_field);
|
||||
this.update_otomo_move("power_drum", nil, nil, player_data, kijin_otomo_timer_field);
|
||||
end
|
||||
|
||||
function this.update_otomo_move(key, value_owner, value_holder, timer_owner, timer_holder, is_infinite, minimal_value, level_breakpoints)
|
||||
return buffs.update_generic_buff(this.list, config.current_config.buff_UI.filter.otomo_moves, this.get_otomo_move_name,
|
||||
otomo_moves_type_name, key,
|
||||
value_owner, value_holder, timer_owner, timer_holder, is_infinite, minimal_value, level_breakpoints)
|
||||
end
|
||||
|
||||
function this.apply_filter(key)
|
||||
return buffs.apply_filter(this.list, config.current_config.buff_UI.filter.otomo_moves, key);
|
||||
end
|
||||
|
||||
function this.init_all_UI()
|
||||
for otomo_move_key, otomo_move in pairs(this.list) do
|
||||
buffs.init_UI(otomo_move);
|
||||
end
|
||||
end
|
||||
|
||||
function this.init_names()
|
||||
for otomo_move_key, otomo_move in pairs(this.list) do
|
||||
otomo_move.name = this.get_otomo_move_name(otomo_move_key);
|
||||
end
|
||||
end
|
||||
|
||||
function this.get_otomo_move_name(key)
|
||||
local otomo_move_name = get_name_method:call(nil, otomo_moves_ids[key]);
|
||||
if otomo_move_name == nil then
|
||||
error_handler.report("otomo_moves.get_otomo_move_name", string.format("Failed to access Data: %s_name", key));
|
||||
return key;
|
||||
end
|
||||
|
||||
return otomo_move_name;
|
||||
end
|
||||
|
||||
function this.init_dependencies()
|
||||
buffs = require("MHR_Overlay.Buffs.buffs");
|
||||
config = require("MHR_Overlay.Misc.config");
|
||||
utils = require("MHR_Overlay.Misc.utils");
|
||||
buff_UI_entity = require("MHR_Overlay.UI.UI_Entities.buff_UI_entity");
|
||||
singletons = require("MHR_Overlay.Game_Handler.singletons");
|
||||
players = require("MHR_Overlay.Damage_Meter.players");
|
||||
language = require("MHR_Overlay.Misc.language");
|
||||
error_handler = require("MHR_Overlay.Misc.error_handler");
|
||||
env_creature = require("MHR_Overlay.Endemic_Life.env_creature");
|
||||
player_info = require("MHR_Overlay.Misc.player_info");
|
||||
time = require("MHR_Overlay.Game_Handler.time");
|
||||
abnormal_statuses = require("MHR_Overlay.Buffs.abnormal_statuses");
|
||||
end
|
||||
|
||||
function this.init_module()
|
||||
end
|
||||
|
||||
return this;
|
||||
134
reframework/autorun/MHR_Overlay/Buffs/rampage_skills.lua
Normal file
134
reframework/autorun/MHR_Overlay/Buffs/rampage_skills.lua
Normal file
@@ -0,0 +1,134 @@
|
||||
local this = {};
|
||||
|
||||
local buffs;
|
||||
local buff_UI_entity;
|
||||
local config;
|
||||
local singletons;
|
||||
local players;
|
||||
local utils;
|
||||
local language;
|
||||
local error_handler;
|
||||
local env_creature;
|
||||
local player_info;
|
||||
local time;
|
||||
local abnormal_statuses;
|
||||
|
||||
local sdk = sdk;
|
||||
local tostring = tostring;
|
||||
local pairs = pairs;
|
||||
local ipairs = ipairs;
|
||||
local tonumber = tonumber;
|
||||
local require = require;
|
||||
local pcall = pcall;
|
||||
local table = table;
|
||||
local string = string;
|
||||
local Vector3f = Vector3f;
|
||||
local d2d = d2d;
|
||||
local math = math;
|
||||
local json = json;
|
||||
local log = log;
|
||||
local fs = fs;
|
||||
local next = next;
|
||||
local skills_type_name = type;
|
||||
local setmetatable = setmetatable;
|
||||
local getmetatable = getmetatable;
|
||||
local assert = assert;
|
||||
local select = select;
|
||||
local coroutine = coroutine;
|
||||
local utf8 = utf8;
|
||||
local re = re;
|
||||
local imgui = imgui;
|
||||
local draw = draw;
|
||||
local Vector2f = Vector2f;
|
||||
local reframework = reframework;
|
||||
local os = os;
|
||||
local ValueType = ValueType;
|
||||
local package = package;
|
||||
|
||||
this.list = {
|
||||
chameleos_soul = nil,
|
||||
kushala_daora_soul = nil,
|
||||
};
|
||||
|
||||
this.keys = {
|
||||
"chameleos_soul",
|
||||
"kushala_daora_soul",
|
||||
};
|
||||
|
||||
local rampage_skill_ids = {
|
||||
chameleos_soul = 250,
|
||||
kushala_daora_soul = 251,
|
||||
};
|
||||
|
||||
local rampage_skills_type_name = "rampage_skills";
|
||||
|
||||
local kushara_daora_soul_breakpoint = 5;
|
||||
|
||||
local player_data_type_def = sdk.find_type_definition("snow.player.PlayerData");
|
||||
-- Kushala Daora Soul
|
||||
local hyakuryu_dragon_power_up_count_field = player_data_type_def:get_field("_HyakuryuDragonPowerUpCnt");
|
||||
local hyakuryu_dragon_power_up_timer_field = player_data_type_def:get_field("_HyakuryuDragonPowerUpTimer");
|
||||
-- Chameleos Soul
|
||||
local hyakuryu_onazuti_power_up_interval_field = player_data_type_def:get_field("_HyakuryuHyakuryuOnazutiPowerUpInterval");
|
||||
|
||||
local data_shortcut_type_def = sdk.find_type_definition("snow.data.DataShortcut");
|
||||
local get_name_method = data_shortcut_type_def:get_method("getName(snow.data.DataDef.PlHyakuryuSkillId)");
|
||||
|
||||
function this.update(player_data)
|
||||
this.update_rampage_skill("kushala_daora_soul", player_data, hyakuryu_dragon_power_up_count_field,
|
||||
player_data, hyakuryu_dragon_power_up_timer_field, false, nil, {kushara_daora_soul_breakpoint});
|
||||
|
||||
this.update_rampage_skill("chameleos_soul", nil, nil, player_data, hyakuryu_onazuti_power_up_interval_field);
|
||||
end
|
||||
|
||||
function this.update_rampage_skill(key, value_owner, value_holder, timer_owner, timer_holder, is_infinite, minimal_value, level_breakpoints)
|
||||
return buffs.update_generic_buff(this.list, config.current_config.buff_UI.filter.rampage_skills, this.get_rampage_skill_name,
|
||||
rampage_skills_type_name, key,
|
||||
value_owner, value_holder, timer_owner, timer_holder, is_infinite, minimal_value, level_breakpoints)
|
||||
end
|
||||
|
||||
function this.apply_filter(key)
|
||||
return buffs.apply_filter(this.list, config.current_config.buff_UI.filter.rampage_skills, key);
|
||||
end
|
||||
|
||||
function this.init_all_UI()
|
||||
for rampage_skill_key, rampage_skill in pairs(this.list) do
|
||||
buffs.init_UI(rampage_skill);
|
||||
end
|
||||
end
|
||||
|
||||
function this.init_names()
|
||||
for rampage_skill_key, rampage_skill in pairs(this.list) do
|
||||
rampage_skill.name = this.get_rampage_skill_name(rampage_skill_key);
|
||||
end
|
||||
end
|
||||
|
||||
function this.get_rampage_skill_name(key)
|
||||
local rampage_skill_name = get_name_method:call(nil, rampage_skill_ids[key]);
|
||||
if rampage_skill_name == nil then
|
||||
error_handler.report("rampage_skills.get_rampage_skill_name", string.format("Failed to access Data: %s_name", key));
|
||||
return key;
|
||||
end
|
||||
|
||||
return rampage_skill_name;
|
||||
end
|
||||
|
||||
function this.init_dependencies()
|
||||
buffs = require("MHR_Overlay.Buffs.buffs");
|
||||
config = require("MHR_Overlay.Misc.config");
|
||||
utils = require("MHR_Overlay.Misc.utils");
|
||||
buff_UI_entity = require("MHR_Overlay.UI.UI_Entities.buff_UI_entity");
|
||||
singletons = require("MHR_Overlay.Game_Handler.singletons");
|
||||
players = require("MHR_Overlay.Damage_Meter.players");
|
||||
language = require("MHR_Overlay.Misc.language");
|
||||
error_handler = require("MHR_Overlay.Misc.error_handler");
|
||||
env_creature = require("MHR_Overlay.Endemic_Life.env_creature");
|
||||
player_info = require("MHR_Overlay.Misc.player_info");
|
||||
time = require("MHR_Overlay.Game_Handler.time");
|
||||
abnormal_statuses = require("MHR_Overlay.Buffs.abnormal_statuses");
|
||||
end
|
||||
|
||||
function this.init_module()
|
||||
end
|
||||
|
||||
return this;
|
||||
File diff suppressed because it is too large
Load Diff
1135
reframework/autorun/MHR_Overlay/Buffs/weapon_skills.lua
Normal file
1135
reframework/autorun/MHR_Overlay/Buffs/weapon_skills.lua
Normal file
File diff suppressed because it is too large
Load Diff
@@ -231,33 +231,6 @@ function this.update_damage(enemy, enemy_calc_damage_info)
|
||||
|
||||
players.update_damage(players.total, damage_source_type, is_large_monster, damage_object);
|
||||
players.update_damage(player, damage_source_type, is_large_monster, damage_object);
|
||||
|
||||
--[[xy = string.format(
|
||||
|
||||
PhysicalPartsVitalDamage(): %s
|
||||
PhysicalPartsBreakVitalDamage(): %s
|
||||
PhysicalPartsLossVitalDamage(): %s
|
||||
PhysicalMultiPartsVitalDamage(): %s
|
||||
|
||||
ElementPartsVitalDamage(): %s
|
||||
ElementPartsBreakVitalDamage(): %s
|
||||
ElementPartsLossVitalDamage(): %s
|
||||
ElementMultiPartsVitalDamage(): %s
|
||||
|
||||
IsBreakPartsDamage(): %s
|
||||
,
|
||||
tostring(enemy_calc_damage_info:get_PhysicalPartsVitalDamage()),
|
||||
tostring(enemy_calc_damage_info:get_PhysicalPartsBreakVitalDamage()),
|
||||
tostring(enemy_calc_damage_info:get_PhysicalPartsLossVitalDamage()),
|
||||
tostring(enemy_calc_damage_info:get_PhysicalMultiPartsVitalDamage()),
|
||||
|
||||
tostring(enemy_calc_damage_info:get_ElementPartsVitalDamage()),
|
||||
tostring(enemy_calc_damage_info:get_ElementPartsBreakVitalDamage()),
|
||||
tostring(enemy_calc_damage_info:get_ElementPartsLossVitalDamage()),
|
||||
tostring(enemy_calc_damage_info:get_ElementMultiPartsVitalDamage()),
|
||||
|
||||
tostring(enemy_calc_damage_info:get_IsBreakPartsDamage())
|
||||
);]]
|
||||
end
|
||||
|
||||
function this.cart(dead_player_id, flag_cat_skill_insurance)
|
||||
|
||||
@@ -232,7 +232,7 @@ function this.update_my_otomos()
|
||||
|
||||
local myself_id = players.myself.id;
|
||||
local otomo = this.otomo_list[myself_id];
|
||||
if otomo == nil then
|
||||
if otomo == nil or name ~= otomo.name then
|
||||
otomo = this.new(0, name, level, players.types.my_otomo);
|
||||
this.otomo_list[myself_id] = otomo;
|
||||
end
|
||||
@@ -255,7 +255,7 @@ function this.update_my_otomos()
|
||||
-- the secondary otomo is actually the 4th one!
|
||||
local otomo = this.otomo_list[this.my_second_otomo_id];
|
||||
|
||||
if otomo == nil then
|
||||
if otomo == nil or name ~= otomo.name then
|
||||
otomo = this.new(this.my_second_otomo_id, name, level, players.types.my_otomo);
|
||||
this.otomo_list[this.my_second_otomo_id] = otomo;
|
||||
end
|
||||
|
||||
@@ -42,8 +42,15 @@ local package = package;
|
||||
this.list = {};
|
||||
|
||||
this.creature_ids = {
|
||||
clothfly = 7,
|
||||
stinkmink = 23,
|
||||
butterflame = 28,
|
||||
peepersects = 29,
|
||||
red_lampsquid = 34,
|
||||
yellow_lampsquid = 35,
|
||||
cutterfly = 50,
|
||||
clothfly = 7
|
||||
ruby_wirebug = 62,
|
||||
gold_wirebug = 63,
|
||||
};
|
||||
|
||||
function this.new(REcreature)
|
||||
@@ -97,6 +104,7 @@ function this.init(creature, REcreature)
|
||||
end
|
||||
|
||||
creature.name = creature_name;
|
||||
creature.id = creature_type;
|
||||
end
|
||||
|
||||
function this.init_UI(creature)
|
||||
@@ -148,7 +156,18 @@ function this.draw(creature, position_on_screen, opacity_scale)
|
||||
position_on_screen.x = position_on_screen.x - text_width / 2;
|
||||
end
|
||||
|
||||
drawing.draw_label(creature.name_label, position_on_screen, opacity_scale, creature.name);
|
||||
local cached_config = config.current_config.endemic_life_UI.creature_name_label.include;
|
||||
|
||||
local name_text = "";
|
||||
if cached_config.name then
|
||||
name_text = string.format("%s ", creature.name);
|
||||
end
|
||||
|
||||
if cached_config.id then
|
||||
name_text = string.format("%s%s ", name_text, tostring(creature.id));
|
||||
end
|
||||
|
||||
drawing.draw_label(creature.name_label, position_on_screen, opacity_scale, name_text);
|
||||
end
|
||||
|
||||
function this.init_list()
|
||||
|
||||
@@ -480,6 +480,28 @@ function this.register_hotkey(hard_keyboard)
|
||||
return true;
|
||||
end
|
||||
end
|
||||
elseif customization_menu.buff_UI_waiting_for_key then
|
||||
for key, key_name in pairs(this.keys) do
|
||||
if get_release_method:call(hard_keyboard, key) then
|
||||
cached_config.buff_UI.ctrl = this.hotkey_modifiers_down.ctrl;
|
||||
cached_config.buff_UI.shift = this.hotkey_modifiers_down.shift;
|
||||
cached_config.buff_UI.alt = this.hotkey_modifiers_down.alt;
|
||||
cached_config.buff_UI.key = key;
|
||||
customization_menu.buff_UI_waiting_for_key = false;
|
||||
return true;
|
||||
end
|
||||
end
|
||||
elseif customization_menu.stats_UI_waiting_for_key then
|
||||
for key, key_name in pairs(this.keys) do
|
||||
if get_release_method:call(hard_keyboard, key) then
|
||||
cached_config.stats_UI.ctrl = this.hotkey_modifiers_down.ctrl;
|
||||
cached_config.stats_UI.shift = this.hotkey_modifiers_down.shift;
|
||||
cached_config.stats_UI.alt = this.hotkey_modifiers_down.alt;
|
||||
cached_config.stats_UI.key = key;
|
||||
customization_menu.stats_UI_waiting_for_key = false;
|
||||
return true;
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
return false;
|
||||
@@ -503,7 +525,10 @@ function this.check_hotkeys(hard_keyboard)
|
||||
or config.current_config.large_monster_UI.dynamic.enabled
|
||||
or config.current_config.large_monster_UI.static.enabled
|
||||
or config.current_config.large_monster_UI.highlighted.enabled
|
||||
or config.current_config.damage_meter_UI.enabled;
|
||||
or config.current_config.damage_meter_UI.enabled
|
||||
or config.current_config.endemic_life_UI.enabled
|
||||
or config.current_config.buff_UI.enabled
|
||||
or config.current_config.stats_UI.enabled;
|
||||
|
||||
config.current_config.time_UI.enabled = not is_any_enabled;
|
||||
config.current_config.small_monster_UI.enabled = not is_any_enabled;
|
||||
@@ -511,6 +536,9 @@ function this.check_hotkeys(hard_keyboard)
|
||||
config.current_config.large_monster_UI.static.enabled = not is_any_enabled;
|
||||
config.current_config.large_monster_UI.highlighted.enabled = not is_any_enabled;
|
||||
config.current_config.damage_meter_UI.enabled = not is_any_enabled;
|
||||
config.current_config.endemic_life_UI.enabled = not is_any_enabled;
|
||||
config.current_config.buff_UI.enabled = not is_any_enabled;
|
||||
config.current_config.stats_UI.enabled = not is_any_enabled;
|
||||
end
|
||||
end
|
||||
|
||||
@@ -631,6 +659,34 @@ function this.check_hotkeys(hard_keyboard)
|
||||
config.current_config.endemic_life_UI.enabled = not config.current_config.endemic_life_UI.enabled;
|
||||
end
|
||||
end
|
||||
|
||||
if not (cached_config.buff_UI.ctrl and not this.hotkey_modifiers_down.ctrl)
|
||||
and not (cached_config.buff_UI.shift and not this.hotkey_modifiers_down.shift)
|
||||
and not (cached_config.buff_UI.alt and not this.hotkey_modifiers_down.alt) then
|
||||
|
||||
local buff_UI_key_release = get_release_method:call(hard_keyboard, math.tointeger(cached_config.buff_UI.key));
|
||||
|
||||
if buff_UI_key_release == nil then
|
||||
error_handler.report("keyboard.check_hotkeys", "Failed to access Data: buff_UI_key_release");
|
||||
|
||||
elseif buff_UI_key_release then
|
||||
config.current_config.buff_UI.enabled = not config.current_config.buff_UI.enabled;
|
||||
end
|
||||
end
|
||||
|
||||
if not (cached_config.stats_UI.ctrl and not this.hotkey_modifiers_down.ctrl)
|
||||
and not (cached_config.stats_UI.shift and not this.hotkey_modifiers_down.shift)
|
||||
and not (cached_config.stats_UI.alt and not this.hotkey_modifiers_down.alt) then
|
||||
|
||||
local stats_UI_key_release = get_release_method:call(hard_keyboard, math.tointeger(cached_config.stats_UI.key));
|
||||
|
||||
if stats_UI_key_release == nil then
|
||||
error_handler.report("keyboard.check_hotkeys", "Failed to access Data: stats_UI_key_release");
|
||||
|
||||
elseif stats_UI_key_release then
|
||||
config.current_config.stats_UI.enabled = not config.current_config.stats_UI.enabled;
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
function this.get_hotkey_name(hotkey)
|
||||
|
||||
@@ -48,141 +48,172 @@ this.game_keyboard = nil;
|
||||
this.scene_manager = nil;
|
||||
this.game_manager = nil;
|
||||
|
||||
function this.init()
|
||||
this.init_message_manager();
|
||||
this.init_enemy_manager();
|
||||
this.init_lobby_manager()
|
||||
this.init_progress_manager();
|
||||
this.init_quest_manager();
|
||||
this.init_player_manager();
|
||||
this.init_village_area_manager();
|
||||
this.init_gui_manager();
|
||||
this.init_game_keyboard();
|
||||
this.init_scene_manager();
|
||||
this.init_game_manager();
|
||||
this.init_servant_manager();
|
||||
this.init_otomo_manager();
|
||||
function this.update()
|
||||
this.update_message_manager();
|
||||
this.update_enemy_manager();
|
||||
this.update_lobby_manager()
|
||||
this.update_progress_manager();
|
||||
this.update_quest_manager();
|
||||
this.update_player_manager();
|
||||
this.update_village_area_manager();
|
||||
this.update_gui_manager();
|
||||
this.update_game_keyboard();
|
||||
this.update_scene_manager();
|
||||
this.update_game_manager();
|
||||
this.update_servant_manager();
|
||||
this.update_otomo_manager();
|
||||
this.update_long_sword_shell_manager();
|
||||
this.update_light_bowgun_shell_manager();
|
||||
this.update_horn_shell_manager();
|
||||
end
|
||||
|
||||
function this.init_message_manager()
|
||||
function this.update_message_manager()
|
||||
this.message_manager = sdk.get_managed_singleton("snow.gui.MessageManager");
|
||||
if this.message_manager == nil then
|
||||
error_handler.report("singletons.init_message_manager", "Failed to access Data: message_manager");
|
||||
error_handler.report("singletons.update_message_manager", "Failed to access Data: message_manager");
|
||||
end
|
||||
|
||||
return this.message_manager;
|
||||
end
|
||||
|
||||
function this.init_enemy_manager()
|
||||
function this.update_enemy_manager()
|
||||
this.enemy_manager = sdk.get_managed_singleton("snow.enemy.EnemyManager");
|
||||
if this.enemy_manager == nil then
|
||||
error_handler.report("singletons.init_enemy_manager", "Failed to access Data: enemy_manager");
|
||||
error_handler.report("singletons.update_enemy_manager", "Failed to access Data: enemy_manager");
|
||||
end
|
||||
|
||||
return this.enemy_manager;
|
||||
end
|
||||
|
||||
function this.init_lobby_manager()
|
||||
function this.update_lobby_manager()
|
||||
this.lobby_manager = sdk.get_managed_singleton("snow.LobbyManager");
|
||||
if this.lobby_manager == nil then
|
||||
error_handler.report("singletons.init_lobby_manager", "Failed to access Data: lobby_manager");
|
||||
error_handler.report("singletons.update_lobby_manager", "Failed to access Data: lobby_manager");
|
||||
return false;
|
||||
end
|
||||
|
||||
return this.lobby_manager;
|
||||
end
|
||||
|
||||
function this.init_progress_manager()
|
||||
function this.update_progress_manager()
|
||||
this.progress_manager = sdk.get_managed_singleton("snow.progress.ProgressManager");
|
||||
if this.progress_manager == nil then
|
||||
error_handler.report("singletons.init_lobby_manager", "Failed to access Data: progress_manager");
|
||||
error_handler.report("singletons.update_progress_manager", "Failed to access Data: progress_manager");
|
||||
return false;
|
||||
end
|
||||
|
||||
return this.progress_manager;
|
||||
end
|
||||
|
||||
function this.init_quest_manager()
|
||||
function this.update_quest_manager()
|
||||
this.quest_manager = sdk.get_managed_singleton("snow.QuestManager");
|
||||
if this.quest_manager == nil then
|
||||
error_handler.report("singletons.init_quest_manager", "Failed to access Data: quest_manager");
|
||||
error_handler.report("singletons.update_quest_manager", "Failed to access Data: quest_manager");
|
||||
end
|
||||
|
||||
return this.quest_manager;
|
||||
end
|
||||
|
||||
function this.init_player_manager()
|
||||
function this.update_player_manager()
|
||||
this.player_manager = sdk.get_managed_singleton("snow.player.PlayerManager");
|
||||
if this.player_manager == nil then
|
||||
error_handler.report("singletons.init_player_manager", "Failed to access Data: player_manager");
|
||||
error_handler.report("singletons.update_player_manager", "Failed to access Data: player_manager");
|
||||
end
|
||||
|
||||
return this.player_manager;
|
||||
end
|
||||
|
||||
function this.init_village_area_manager()
|
||||
function this.update_village_area_manager()
|
||||
this.village_area_manager = sdk.get_managed_singleton("snow.VillageAreaManager");
|
||||
if this.village_area_manager == nil then
|
||||
error_handler.report("singletons.init_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
|
||||
|
||||
return this.village_area_manager;
|
||||
end
|
||||
|
||||
function this.init_gui_manager()
|
||||
function this.update_gui_manager()
|
||||
this.gui_manager = sdk.get_managed_singleton("snow.gui.GuiManager");
|
||||
if this.gui_manager == nil then
|
||||
error_handler.report("singletons.init_gui_manager", "Failed to access Data: gui_manager");
|
||||
error_handler.report("singletons.update_gui_manager", "Failed to access Data: gui_manager");
|
||||
end
|
||||
|
||||
return this.gui_manager;
|
||||
end
|
||||
|
||||
function this.init_game_keyboard()
|
||||
function this.update_game_keyboard()
|
||||
this.game_keyboard = sdk.get_managed_singleton("snow.GameKeyboard");
|
||||
if this.game_keyboard == nil then
|
||||
error_handler.report("singletons.init_game_keyboard", "Failed to access Data: game_keyboard");
|
||||
error_handler.report("singletons.update_game_keyboard", "Failed to access Data: game_keyboard");
|
||||
end
|
||||
|
||||
return this.game_keyboard;
|
||||
end
|
||||
|
||||
function this.init_scene_manager()
|
||||
function this.update_scene_manager()
|
||||
this.scene_manager = sdk.get_native_singleton("via.SceneManager");
|
||||
if this.scene_manager == nil then
|
||||
error_handler.report("singletons.init_scene_manager", "Failed to access Data: scene_manager");
|
||||
error_handler.report("singletons.update_scene_manager", "Failed to access Data: scene_manager");
|
||||
end
|
||||
|
||||
return this.scene_manager;
|
||||
end
|
||||
|
||||
function this.init_game_manager()
|
||||
function this.update_game_manager()
|
||||
this.game_manager = sdk.get_managed_singleton("snow.SnowGameManager");
|
||||
if this.game_manager == nil then
|
||||
error_handler.report("singletons.init_game_manager", "Failed to access Data: game_manager");
|
||||
error_handler.report("singletons.update_game_manager", "Failed to access Data: game_manager");
|
||||
end
|
||||
|
||||
return this.game_manager;
|
||||
end
|
||||
|
||||
function this.init_servant_manager()
|
||||
function this.update_servant_manager()
|
||||
this.servant_manager = sdk.get_managed_singleton("snow.ai.ServantManager");
|
||||
if this.servant_manager == nil then
|
||||
error_handler.report("singletons.init_servant_manager", "Failed to access Data: servant_manager");
|
||||
error_handler.report("singletons.update_servant_manager", "Failed to access Data: servant_manager");
|
||||
end
|
||||
|
||||
return this.servant_manager;
|
||||
end
|
||||
|
||||
function this.init_otomo_manager()
|
||||
function this.update_otomo_manager()
|
||||
this.otomo_manager = sdk.get_managed_singleton("snow.otomo.OtomoManager");
|
||||
if this.otomo_manager == nil then
|
||||
error_handler.report("singletons.init_otomo_manager", "Failed to access Data: otomo_manager");
|
||||
error_handler.report("singletons.update_otomo_manager", "Failed to access Data: otomo_manager");
|
||||
end
|
||||
|
||||
return this.otomo_manager;
|
||||
end
|
||||
|
||||
function this.update_long_sword_shell_manager()
|
||||
this.long_sword_shell_manager = sdk.get_managed_singleton("snow.shell.LongSwordShellManager");
|
||||
if this.long_sword_shell_manager == nil then
|
||||
error_handler.report("singletons.update_long_sword_shell_manager", "Failed to access Data: long_sword_shell_manager");
|
||||
end
|
||||
|
||||
return this.long_sword_shell_manager;
|
||||
end
|
||||
|
||||
function this.update_light_bowgun_shell_manager()
|
||||
this.light_bowgun_shell_manager = sdk.get_managed_singleton("snow.shell.LightBowgunShellManager");
|
||||
if this.light_bowgun_shell_manager == nil then
|
||||
error_handler.report("singletons.update_light_bowgun_shell_manager", "Failed to access Data: light_bowgun_shell_manager");
|
||||
end
|
||||
|
||||
return this.light_bowgun_shell_manager;
|
||||
end
|
||||
|
||||
function this.update_horn_shell_manager()
|
||||
this.horn_shell_manager = sdk.get_managed_singleton("snow.shell.HornShellManager");
|
||||
if this.horn_shell_manager == nil then
|
||||
error_handler.report("singletons.update_horn_shell_manager", "Failed to access Data: horn_shell_manager");
|
||||
end
|
||||
|
||||
return this.horn_shell_manager;
|
||||
end
|
||||
|
||||
|
||||
function this.init_dependencies()
|
||||
time = require("MHR_Overlay.Game_Handler.time");
|
||||
utils = require("MHR_Overlay.Misc.utils");
|
||||
@@ -190,7 +221,7 @@ function this.init_dependencies()
|
||||
end
|
||||
|
||||
function this.init_module()
|
||||
this.init();
|
||||
this.update();
|
||||
end
|
||||
|
||||
return this;
|
||||
|
||||
@@ -72,7 +72,6 @@ function this.new_timer(callback, cooldown_seconds, start_offset_seconds)
|
||||
timer.last_trigger_time = os.clock() + start_offset_seconds;
|
||||
|
||||
this.timer_list[callback] = timer;
|
||||
|
||||
end
|
||||
|
||||
function this.new_delay_timer(callback, delay)
|
||||
@@ -88,18 +87,30 @@ function this.new_delay_timer(callback, delay)
|
||||
|
||||
this.delay_timer_list[callback] = delay_timer;
|
||||
|
||||
return delay_timer;
|
||||
end
|
||||
|
||||
function this.remove_delay_timer(delay_timer)
|
||||
if delay_timer == nil then
|
||||
return;
|
||||
end
|
||||
|
||||
this.delay_timer_list[delay_timer.callback] = nil;
|
||||
end
|
||||
|
||||
function this.init_global_timers()
|
||||
this.new_timer(singletons.init, 1);
|
||||
this.new_timer(screen.update_window_size, 1);
|
||||
this.new_timer(quest_status.update_is_online, 1);
|
||||
this.new_timer(this.update_quest_time, 1 / 60);
|
||||
this.new_timer(players.update_players, 0.5);
|
||||
this.new_timer(players.update_myself_position, 1);
|
||||
this.new_timer(buffs.update, 1/60);
|
||||
this.new_timer(player_info.update, 0.5);
|
||||
local cached_config = config.current_config.global_settings.performance.timer_delays;
|
||||
|
||||
this.timer_list = {};
|
||||
|
||||
this.new_timer(singletons.update, cached_config.update_singletons_delay);
|
||||
this.new_timer(screen.update_window_size, cached_config.update_window_size_delay);
|
||||
this.new_timer(quest_status.update_is_online, cached_config.update_is_online_delay);
|
||||
this.new_timer(this.update_quest_time, cached_config.update_quest_time_delay);
|
||||
this.new_timer(players.update_players, cached_config.update_players_delay);
|
||||
this.new_timer(players.update_myself_position, cached_config.update_myself_position_delay);
|
||||
this.new_timer(buffs.update, cached_config.update_buffs_delay);
|
||||
this.new_timer(player_info.update, cached_config.update_player_info_delay);
|
||||
end
|
||||
|
||||
function this.update_timers()
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -37,47 +37,53 @@ local package = package;
|
||||
|
||||
this.language_folder = "MHR Overlay\\languages\\";
|
||||
|
||||
--[[
|
||||
EXAMPLE:
|
||||
unicode_glyph_ranges = {
|
||||
0x0020, 0x00FF, -- Basic Latin + Latin Supplement
|
||||
0x2000, 0x206F, -- General Punctuation
|
||||
0x3000, 0x30FF, -- CJK Symbols and Punctuations, Hiragana, Katakana
|
||||
0x31F0, 0x31FF, -- Katakana Phonetic Extensions
|
||||
0x4e00, 0x9FAF, -- CJK Ideograms
|
||||
0xFF00, 0xFFEF, -- Half-width characters
|
||||
0
|
||||
},
|
||||
]]
|
||||
-- this.chinese_ranges = {
|
||||
-- 0x0020, 0x00FF, -- Basic Latin + Latin Supplement
|
||||
-- 0x2000, 0x206F, -- General Punctuations
|
||||
-- 0x2E80, 0x2EFF, -- CJK Radicals Supplement
|
||||
-- 0x3000, 0x303F, -- CJK Symbols and Punctuations
|
||||
-- 0x3200, 0x4DBF, -- Enclosed CJK Letters and Months, CJK Compatibility, CJK Unified Ideographs Extension A
|
||||
-- 0x4E00, 0x9FFF, -- CJK Unified Ideograms
|
||||
-- 0xF900, 0xFAFF, -- CJK Compatibility Ideographs
|
||||
-- 0xFE30, 0xFE4F, -- CJK Compatibility Forms
|
||||
-- 0xFF00, 0xFFEF, -- Half-width characters
|
||||
-- 0
|
||||
-- };
|
||||
|
||||
--[[
|
||||
EXAMPLE:
|
||||
unicode_glyph_ranges = {
|
||||
0x0020, 0x00FF, -- Basic Latin + Latin Supplement
|
||||
0x0400, 0x052F, -- Cyrillic
|
||||
0x2000, 0x206F, -- General Punctuation
|
||||
0xFF00, 0xFFEF, -- Half-width characters
|
||||
0
|
||||
},
|
||||
]]
|
||||
-- this.japanese_glyph_ranges = {
|
||||
-- 0x0020, 0x00FF, -- Basic Latin + Latin Supplement
|
||||
-- 0x2000, 0x206F, -- General Punctuation
|
||||
-- 0x2E80, 0x2EFF, -- CJK Radicals Supplement
|
||||
-- 0x3000, 0x30FF, -- CJK Symbols and Punctuations, Hiragana, Katakana
|
||||
-- 0x31F0, 0x4DBF, -- Katakana Phonetic Extensions, Enclosed CJK Letters and Months, CJK Compatibility, CJK Unified Ideographs Extension A
|
||||
-- 0x4E00, 0x9FFF, -- CJK Unified Ideograms
|
||||
-- 0xF900, 0xFAFF, -- CJK Compatibility Ideographs
|
||||
-- 0xFE30, 0xFE4F, -- CJK Compatibility Forms
|
||||
-- 0xFF00, 0xFFEF, -- Half-width characters
|
||||
-- 0
|
||||
-- };
|
||||
|
||||
--[[
|
||||
EXAMPLE:
|
||||
unicode_glyph_ranges = {
|
||||
0x0020, 0x00FF, -- Basic Latin + Latin Supplement
|
||||
0x1100, 0x11FF, -- Hangul Jamo
|
||||
0x2000, 0x206F, -- General Punctuation
|
||||
0x3130, 0x318F, -- Hangul Compatibility Jamo
|
||||
0xAC00, 0xD7AF, -- Hangul Syllables
|
||||
0xFF00, 0xFFEF, -- Half-width characters
|
||||
0
|
||||
},
|
||||
]]
|
||||
-- this.korean_glyph_ranges = {
|
||||
-- 0x0020, 0x00FF, -- Basic Latin + Latin Supplement
|
||||
-- 0x1100, 0x11FF, -- Hangul Jamo
|
||||
-- 0x2000, 0x206F, -- General Punctuation
|
||||
-- 0x2E80, 0x2EFF, -- CJK Radicals Supplement
|
||||
-- 0x3000, 0x303F, -- CJK Symbols and Punctuations
|
||||
-- 0x3130, 0x318F, -- Hangul Compatibility Jamo
|
||||
-- 0x3200, 0x4DBF, -- Enclosed CJK Letters and Months, CJK Compatibility, CJK Unified Ideographs Extension A
|
||||
-- 0x4E00, 0x9FFF, -- CJK Unified Ideograms
|
||||
-- 0xAC00, 0xD7AF, -- Hangul Syllables
|
||||
-- 0xF900, 0xFAFF, -- CJK Compatibility Ideographs
|
||||
-- 0xFE30, 0xFE4F, -- CJK Compatibility Forms
|
||||
-- 0xFF00, 0xFFEF, -- Half-width characters
|
||||
-- 0
|
||||
-- }
|
||||
|
||||
this.current_language = {};
|
||||
this.default_language = {
|
||||
font_name = "",
|
||||
unicode_glyph_ranges = {0},
|
||||
font_name = nil,
|
||||
unicode_glyph_ranges = nil,
|
||||
|
||||
parts = {
|
||||
head = "Head",
|
||||
neck = "Neck",
|
||||
@@ -171,15 +177,17 @@ this.default_language = {
|
||||
sleep = "Sleep",
|
||||
stun = "Stun",
|
||||
flash = "Flash",
|
||||
poison = "Poison",
|
||||
blast = "Blast",
|
||||
exhaust = "Exhaust",
|
||||
ride = "Wyvern Riding",
|
||||
|
||||
poison = "Poison",
|
||||
deadly_poison = "Deadly Poison",
|
||||
|
||||
fireblight = "Fireblight",
|
||||
waterblight = "Waterblight",
|
||||
iceblight = "Iceblight",
|
||||
thunderblight = "Thunderblight",
|
||||
iceblight = "Iceblight",
|
||||
|
||||
fall_trap = "Fall Trap",
|
||||
shock_trap = "Shock Trap",
|
||||
@@ -192,14 +200,17 @@ this.default_language = {
|
||||
|
||||
dragonblight = "Dragonblight",
|
||||
blastblight = "Blastblight",
|
||||
bubbleblight = "Bubbleblight",
|
||||
hellfireblight = "Hellfireblight",
|
||||
bloodblight = "Bloodblight",
|
||||
frostblight = "Frostblight",
|
||||
|
||||
minor_bubbleblight = "Minor Bubbleblight",
|
||||
major_bubbleblight = "Major Bubbleblight",
|
||||
|
||||
defense_down = "Defense Down",
|
||||
resistance_down = "Resistance Down",
|
||||
|
||||
falling_asleep = "Falling Asleep",
|
||||
tremor = "Tremor",
|
||||
roar = "Roar",
|
||||
webbed = "Webbed",
|
||||
@@ -213,7 +224,7 @@ this.default_language = {
|
||||
frenzy_overcome = "Frenzy Overcome"
|
||||
},
|
||||
|
||||
consumables = {
|
||||
item_buffs = {
|
||||
demondrug = "Demondrug",
|
||||
mega_demondrug = "Mega Demondrug",
|
||||
armorskin = "Armorskin",
|
||||
@@ -224,13 +235,27 @@ this.default_language = {
|
||||
hardshell_powder = "Hardshell Powder",
|
||||
immunizer = "Immunizer",
|
||||
dash_juice = "Dash Juice",
|
||||
gourmet_fish = "Gourmet Fish"
|
||||
gourmet_fish = "Gourmet Fish",
|
||||
demon_ammo = "Demon Ammo",
|
||||
armor_ammo = "Armor Ammo",
|
||||
},
|
||||
|
||||
endemic_life = {
|
||||
cutterfly = "Cutterfly",
|
||||
clothfly = "Clothfly",
|
||||
butterflame = "Butterflame",
|
||||
peepersects = "Peepersects",
|
||||
stinkmink = "Stinkmink",
|
||||
ruby_wirebug = "Ruby Wirebug",
|
||||
gold_wirebug = "Gold Wirebug",
|
||||
red_lampsquid = "Red Lampsquid",
|
||||
yellow_lampsquid = "Yellow Lampsquid"
|
||||
},
|
||||
|
||||
melody_effects = {
|
||||
self_improvement = "Self-Improvement",
|
||||
attack_up = "Attack Up",
|
||||
defense_up = "Defense Up",
|
||||
defense_up ="Defense Up",
|
||||
affinity_up = "Affinity Up",
|
||||
elemental_attack_boost = "Elemental Attack Boost",
|
||||
attack_and_defense_up = "Attack and Defense Up",
|
||||
@@ -255,34 +280,182 @@ this.default_language = {
|
||||
sonic_barrier = "Sonic Barrier",
|
||||
infernal_melody = "Infernal Melody",
|
||||
sharpness_regeneration = "Sharpness Regeneration",
|
||||
sharpness_extension = "Sharpness Extension"
|
||||
sharpness_extension = "Sharpness Extension",
|
||||
},
|
||||
|
||||
dango_skills = {
|
||||
dango_adrenaline = "Dango Adrenaline",
|
||||
dango_booster = "Dango Booster",
|
||||
dango_bulker = "Dango Bulker",
|
||||
dango_connector = "Dango Connector",
|
||||
dango_defender = "Dango Defender",
|
||||
dango_flyer = "Dango Flyer",
|
||||
dango_glutton = "Dango Glutton",
|
||||
dango_hunter = "Dango Hunter",
|
||||
dango_insurance = "Dango Insurance",
|
||||
dango_insurance_defense_up = "Dango Insurance Defense Up",
|
||||
super_recovery_dango = "Super Recovery Dango"
|
||||
},
|
||||
|
||||
rampage_skills = {
|
||||
chameleos_soul = "Chameleos Soul",
|
||||
kushala_daora_soul = "Kushala Daora Soul"
|
||||
},
|
||||
|
||||
skills = {
|
||||
burst = "Burst",
|
||||
kushala_daora_soul = "Kushala Daora Soul",
|
||||
intrepid_heart = "Intrepid Heart",
|
||||
dereliction = "Dereliction",
|
||||
latent_power = "Latent Power",
|
||||
protective_polish = "Protective Polish",
|
||||
wind_mantle = "Wind Mantle",
|
||||
heaven_sent = "Heaven-Sent",
|
||||
grinder_s = "Grinder (S)",
|
||||
counterstrike = "Counterstrike",
|
||||
affinity_sliding = "Affinity Sliding",
|
||||
coalescence = "Coalescence",
|
||||
adrenaline_rush = "Adrenaline Rush",
|
||||
wall_runner = "Wall Runner",
|
||||
offensive_guard = "Offensive Guard",
|
||||
hellfire_cloak = "Hellfire Cloak",
|
||||
affinity_sliding = "Affinity Sliding",
|
||||
agitator = "Agitator",
|
||||
berserk = "Berserk",
|
||||
bladescale_hone = "Bladescale Hone",
|
||||
blood_awakening = "Blood Awakening",
|
||||
bloodlust = "Bloodlust",
|
||||
burst = "Burst",
|
||||
coalescence = "Coalescence",
|
||||
counterstrike = "Counterstrike",
|
||||
dereliction = "Dereliction",
|
||||
dragon_conversion_elemental_attack_up = "Dragon Conversion: Elem. Atk Up",
|
||||
dragon_conversion_elemental_res_up = "Dragon Conversion: Elem. Res Up",
|
||||
dragonheart = "Dragonheart",
|
||||
embolden = "Embolden",
|
||||
frenzied_bloodlust = "Frenzied Bloodlust",
|
||||
furious = "Furious",
|
||||
grinder_s = "Grinder (S)",
|
||||
heaven_sent = "Heaven-Sent",
|
||||
hellfire_cloak = "Hellfire Cloak",
|
||||
heroics = "Heroics",
|
||||
resuscitate = "Resuscitate"
|
||||
inspiration = "Inspiration",
|
||||
intrepid_heart = "Intrepid Heart",
|
||||
latent_power = "Latent Power",
|
||||
maximum_might = "Maximum Might",
|
||||
offensive_guard = "Offensive Guard",
|
||||
partbreaker = "Partbreaker",
|
||||
peak_performance = "Peak Performance",
|
||||
powder_mantle_red = "Powder Mantle (Red)",
|
||||
powder_mantle_blue = "Powder Mantle (Blue)",
|
||||
protective_polish = "Protective Polish",
|
||||
resentment = "Resentment",
|
||||
resuscitate = "Resuscitate",
|
||||
spiribirds_call = "Spiribird's Call",
|
||||
status_trigger = "Status Trigger",
|
||||
strife = "Strife",
|
||||
wall_runner = "Wall Runner",
|
||||
wind_mantle = "Wind Mantle"
|
||||
},
|
||||
|
||||
dangos = {
|
||||
dango_defender_hi = "Dango Defender (Hi)"
|
||||
weapons = {
|
||||
great_sword = "Great Sword",
|
||||
long_sword = "Long Sword",
|
||||
sword_and_shield = "Sword & Shield",
|
||||
dual_blades = "Dual Blades",
|
||||
lance = "Lance",
|
||||
gunlance = "Gunlance",
|
||||
hammer = "Hammer",
|
||||
hunting_horn = "Hunting Horn",
|
||||
switch_axe = "Switch Axe",
|
||||
charge_blade = "Charge Blade",
|
||||
insect_glaive = "Insect Glaive",
|
||||
light_bowgun = "Light Bowgun",
|
||||
heavy_bowgun = "Heavy Bowgun",
|
||||
bow = "Bow"
|
||||
},
|
||||
|
||||
weapon_skills = {
|
||||
-- Great Sword
|
||||
great_sword = {
|
||||
power_sheathe = "Power Sheathe"
|
||||
},
|
||||
-- Long Sword
|
||||
long_sword = {
|
||||
harvest_moon = "Harvest Moon",
|
||||
iai_slash = "Iai Slash",
|
||||
soaring_kick = "Soaring Kick",
|
||||
spirit_gauge = "Spirit Gauge",
|
||||
spirit_gauge_autofill = "Spirit Gauge Autofill", -- Soaring Kick, Iai Slash
|
||||
},
|
||||
-- Sword & Shield
|
||||
sword_and_shield = {
|
||||
destroyer_oil = "Destroyer Oil"
|
||||
},
|
||||
-- Dual Blades
|
||||
dual_blades = {
|
||||
archdemon_mode = "Archdemon Mode",
|
||||
ironshine_silk = "Ironshine Silk"
|
||||
},
|
||||
-- Lance
|
||||
lance = {
|
||||
anchor_rage = "Anchor Rage",
|
||||
spiral_thrust = "Spiral Thrust",
|
||||
twin_wine = "Twin Wine"
|
||||
},
|
||||
-- Gunlance
|
||||
gunlance = {
|
||||
erupting_cannon = "Erupting Cannon",
|
||||
ground_splitter = "Ground Splitter"
|
||||
},
|
||||
-- Hammer
|
||||
hammer = {
|
||||
impact_burst = "Impact Burst"
|
||||
},
|
||||
-- Hunting Horn
|
||||
hunting_horn = {
|
||||
bead_of_resonance = "Bead of Resonance",
|
||||
silkbind_shockwave = "Silkbind Shockwave",
|
||||
sonic_bloom = "Sonic Bloom"
|
||||
},
|
||||
-- Switch Axe
|
||||
switch_axe = {
|
||||
amped_state = "Amped State",
|
||||
axe_heavy_slam = "Axe: Heavy Slam",
|
||||
switch_charger = "Switch Charger"
|
||||
},
|
||||
-- Charge Blade
|
||||
charge_blade = {
|
||||
element_boost = "Element Boost",
|
||||
sword_boost_mode = "Sword Boost Mode"
|
||||
},
|
||||
-- Insect Glaive
|
||||
insect_glaive = {
|
||||
red_extract = "Red Extract",
|
||||
white_extract = "White Extract",
|
||||
orange_extract = "Orange Extract",
|
||||
all_extracts_mix = "All Extracts Mix"
|
||||
},
|
||||
-- Light Bowgun
|
||||
light_bowgun = {
|
||||
fanning_maneuver = "Fanning Maneuver",
|
||||
wyvernblast_reload = "Wyvernblast Reload"
|
||||
},
|
||||
-- Heavy Bowgun
|
||||
heavy_bowgun = {
|
||||
counter_charger = "Counter Charger",
|
||||
overheat = "Overheat",
|
||||
rising_moon = "Rising Moon",
|
||||
setting_sun = "Setting Sun",
|
||||
wyvernsnipe_reload = "Wyvernsnipe Reload"
|
||||
},
|
||||
-- Bow
|
||||
bow = {
|
||||
arc_shot_affinity = "Arc Shot: Affinity",
|
||||
arc_shot_brace = "Arc Shot: Brace",
|
||||
bolt_boost = "Bolt Boost",
|
||||
herculean_draw = "Herculean Draw"
|
||||
}
|
||||
},
|
||||
|
||||
otomo_moves = {
|
||||
go_fight_win = "Go, Fight, Win",
|
||||
power_drum = "Power Drum",
|
||||
rousing_roar = "Rousing Roar",
|
||||
vase_of_vitality = "Vase of Vitality",
|
||||
},
|
||||
|
||||
misc_buffs = {
|
||||
attack_up = "Attack Up",
|
||||
defense_up = "Defense Up",
|
||||
stamina_use_down = "Stamina Use Down",
|
||||
immunity = "Immunity",
|
||||
natural_healing_up = "Natural Healing Up"
|
||||
},
|
||||
|
||||
UI = {
|
||||
@@ -302,6 +475,28 @@ this.default_language = {
|
||||
|
||||
otomo = "Buddy",
|
||||
servant = "Follower",
|
||||
|
||||
lv = ""
|
||||
},
|
||||
|
||||
stats = {
|
||||
attack = "Attack",
|
||||
defense = "Defense",
|
||||
affinity = "Affinity",
|
||||
|
||||
fire_resistance = "Fire Res";
|
||||
water_resistance = "Water Res";
|
||||
thunder_resistance = "Thunder Res";
|
||||
ice_resistance = "Ice Res";
|
||||
dragon_resistance = "Dragon Res";
|
||||
|
||||
stamina = "Stamina",
|
||||
|
||||
fire = "Fire",
|
||||
water = "Water",
|
||||
thunder = "Thunder",
|
||||
ice = "Ice",
|
||||
dragon = "Dragon",
|
||||
},
|
||||
|
||||
customization_menu = {
|
||||
@@ -670,6 +865,8 @@ this.default_language = {
|
||||
value = "Value",
|
||||
|
||||
stats_UI = "Stats UI",
|
||||
health_label = "Health Label",
|
||||
stamina_label = "Stamina Label",
|
||||
attack_label = "Attack Label",
|
||||
defense_label = "Defense Label",
|
||||
affinity_label = "Affinity Label",
|
||||
@@ -678,33 +875,37 @@ this.default_language = {
|
||||
thunder_resistance_label = "Thunder Resistance Label",
|
||||
ice_resistance_label = "Ice Resistance Label",
|
||||
dragon_resistance_label = "Dragon Resistance Label",
|
||||
stamina_label = "Stamina Label",
|
||||
element_label = "Element Label",
|
||||
element_2_label = "Element 2 Label"
|
||||
element_2_label = "Element 2 Label",
|
||||
|
||||
abnormal_statuses = "Abnormal Statuses",
|
||||
item_buffs = "Item Buffs",
|
||||
endemic_life_buffs = "Endemic Life Buffs",
|
||||
melody_effects = "Melody Effects",
|
||||
dango_skills = "Dango Skills",
|
||||
rampage_skills = "Rampage Skills",
|
||||
skills = "Skills",
|
||||
weapon_skills = "Weapon Skills",
|
||||
otomo_moves = "Buddy Moves",
|
||||
misc_buffs = "Misc Buffs",
|
||||
|
||||
timer_delays = "Timer Delays",
|
||||
update_singletons_delay = "Update Singletons (seconds)",
|
||||
update_window_size_delay = "Update Window Size (seconds)",
|
||||
update_quest_time_delay = "Update Quest Time (seconds)",
|
||||
update_is_online_delay = "Update Is Online (seconds)",
|
||||
update_players_delay = "Update Players (seconds)",
|
||||
update_myself_position_delay = "Update Myself Position (seconds)",
|
||||
update_player_info_delay = "Update Player Info (seconds)",
|
||||
update_buffs_delay = "Update Buffs (seconds)",
|
||||
|
||||
infinite_buffs_location = "Infinite Buffs Location",
|
||||
|
||||
effect_level = "Effect Level",
|
||||
},
|
||||
|
||||
stats = {
|
||||
attack = "Attack",
|
||||
defense = "Defense",
|
||||
affinity = "Affinity",
|
||||
|
||||
fire_resistance = "Fire Res";
|
||||
water_resistance = "Water Res";
|
||||
thunder_resistance = "Thunder Res";
|
||||
ice_resistance = "Ice Res";
|
||||
dragon_resistance = "Dragon Res";
|
||||
|
||||
stamina = "Stamina",
|
||||
|
||||
fire = "Fire",
|
||||
water = "Water",
|
||||
thunder = "Thunder",
|
||||
ice = "Ice",
|
||||
dragon = "Dragon",
|
||||
}
|
||||
};
|
||||
|
||||
this.language_names = { "default"};
|
||||
this.language_names = { "default" };
|
||||
this.languages = { this.default_language };
|
||||
|
||||
function this.load()
|
||||
@@ -758,9 +959,21 @@ function this.init_dependencies()
|
||||
end
|
||||
|
||||
function this.init_module()
|
||||
this.save_default();
|
||||
this.load();
|
||||
this.current_language = this.default_language;
|
||||
|
||||
this.default_language.font_name = "NotoSans-Bold.otf";
|
||||
this.default_language.unicode_glyph_ranges = {
|
||||
0x0020, 0x00FF, -- Basic Latin + Latin Supplement
|
||||
0x0100, 0x024F, -- Latin Extended-A, Latin Extended-B,
|
||||
0x0400, 0x052F, -- Cyrillic, Cyrillic Supplementary
|
||||
0x1E00, 0x1EFF, -- Latin Extended Additional
|
||||
0x2000, 0x206F, -- General Punctuation
|
||||
0xFF00, 0xFFEF, -- Halfwidth and Fullwidth Forms
|
||||
0
|
||||
};
|
||||
|
||||
this.save_default();
|
||||
end
|
||||
|
||||
return this;
|
||||
|
||||
@@ -8,6 +8,8 @@ local utils;
|
||||
local error_handler;
|
||||
local quest_status;
|
||||
local time;
|
||||
local dango_skills;
|
||||
local skills;
|
||||
|
||||
local sdk = sdk;
|
||||
local tostring = tostring;
|
||||
@@ -42,12 +44,15 @@ local ValueType = ValueType;
|
||||
local package = package;
|
||||
|
||||
this.list = {
|
||||
health = 0;
|
||||
max_health = 0;
|
||||
|
||||
attack = 0;
|
||||
defense = 0;
|
||||
affinity = 0;
|
||||
|
||||
stamina = 0;
|
||||
max_stamina = 0;
|
||||
max_stamina = -1;
|
||||
|
||||
element_type = 0;
|
||||
element_attack = 0;
|
||||
@@ -62,6 +67,8 @@ this.list = {
|
||||
dragon_resistance = 0;
|
||||
};
|
||||
|
||||
local should_health_update = true;
|
||||
|
||||
local player_manager_type_def = sdk.find_type_definition("snow.player.PlayerManager");
|
||||
local get_player_method = player_manager_type_def:get_method("getPlayer");
|
||||
local find_master_player_method = player_manager_type_def:get_method("findMasterPlayer");
|
||||
@@ -71,10 +78,12 @@ local get_player_data_method = player_base_type_def:get_method("get_PlayerData")
|
||||
|
||||
local player_data_type_def = get_player_data_method:get_return_type();
|
||||
|
||||
local get_vital_method = player_data_type_def:get_method("get_vital");
|
||||
local attack_field = player_data_type_def:get_field("_Attack");
|
||||
local defence_field = player_data_type_def:get_field("_Defence");
|
||||
local critical_rate_field = player_data_type_def:get_field("_CriticalRate");
|
||||
|
||||
local vital_max_field = player_data_type_def:get_field("_vitalMax");
|
||||
|
||||
local stamina_field = player_data_type_def:get_field("_stamina");
|
||||
local stamina_max_field = player_data_type_def:get_field("_staminaMax");
|
||||
@@ -91,12 +100,31 @@ local system_array_type_def = sdk.find_type_definition("System.Array");
|
||||
local get_length_method = system_array_type_def:get_method("get_Length");
|
||||
local get_value_method = system_array_type_def:get_method("GetValue(System.Int32)");
|
||||
|
||||
local player_quest_base_type_def = sdk.find_type_definition("snow.player.PlayerQuestBase");
|
||||
local player_quest_base_update_method = player_quest_base_type_def:get_method("update");
|
||||
local is_master_player_method = player_quest_base_type_def:get_method("isMasterPlayer");
|
||||
|
||||
local player_base_type_def = sdk.find_type_definition("snow.player.PlayerBase");
|
||||
-- Heroics
|
||||
local is_predicament_power_up_method = player_base_type_def:get_method("isPredicamentPowerUp");
|
||||
-- Dango Adrenaline
|
||||
local is_kitchen_skill_predicament_powerup_method = player_base_type_def:get_method("isKitchenSkillPredicamentPowerUp");
|
||||
|
||||
local single_type_def = sdk.find_type_definition("System.Single");
|
||||
local mvalue_field = single_type_def:get_field("mValue");
|
||||
|
||||
local master_player_ref = nil;
|
||||
local master_player_data_ref = nil;
|
||||
|
||||
function this.update()
|
||||
if not config.current_config.stats_UI.enabled then
|
||||
if quest_status.flow_state == quest_status.flow_states.NONE then
|
||||
return;
|
||||
end
|
||||
|
||||
if quest_status.flow_state == quest_status.flow_states.NONE then
|
||||
local cached_config = config.current_config;
|
||||
|
||||
if not cached_config.buff_UI.enabled
|
||||
and not cached_config.stats_UI.enabled then
|
||||
return;
|
||||
end
|
||||
|
||||
@@ -116,9 +144,11 @@ function this.update()
|
||||
error_handler.report("player_info.update", "Failed to access Data: master_player_data");
|
||||
end
|
||||
|
||||
this.update_generic("attack", master_player_data, attack_field);
|
||||
this.update_generic("affinity", master_player_data, critical_rate_field);
|
||||
this.update_generic("defense", master_player_data, defence_field);
|
||||
master_player_ref = master_player;
|
||||
master_player_data_ref = master_player_data;
|
||||
should_health_update = true;
|
||||
|
||||
this.update_generic("max_health", master_player_data, vital_max_field);
|
||||
|
||||
this.update_generic("stamina", master_player_data, stamina_field);
|
||||
this.list.stamina = math.floor(this.list.stamina / 30);
|
||||
@@ -126,6 +156,14 @@ function this.update()
|
||||
this.update_generic("max_stamina", master_player_data, stamina_max_field);
|
||||
this.list.max_stamina = math.floor(this.list.max_stamina / 30);
|
||||
|
||||
if not cached_config.stats_UI.enabled then
|
||||
return;
|
||||
end
|
||||
|
||||
this.update_generic("attack", master_player_data, attack_field);
|
||||
this.update_generic("affinity", master_player_data, critical_rate_field);
|
||||
this.update_generic("defense", master_player_data, defence_field);
|
||||
|
||||
this.update_generic("element_type", master_player_data, element_type_field);
|
||||
this.update_generic("element_attack", master_player_data, element_attack_field);
|
||||
|
||||
@@ -153,13 +191,13 @@ function this.update_resistances(player_data)
|
||||
end
|
||||
|
||||
-- Fire Resistance
|
||||
local fire_resistance_valtype = get_value_method:call(resistance_element_array, 0);
|
||||
if fire_resistance_valtype == nil then
|
||||
error_handler.report("player_info.update_resistances", "Failed to access Data: fire_resistance_valtype");
|
||||
local fire_resistance_single_valtype = get_value_method:call(resistance_element_array, 0);
|
||||
if fire_resistance_single_valtype == nil then
|
||||
error_handler.report("player_info.update_resistances", "Failed to access Data: fire_resistance_single_valtype");
|
||||
return;
|
||||
end
|
||||
|
||||
local fire_resistance = fire_resistance_valtype:get_field("mValue");
|
||||
local fire_resistance = mvalue_field:get_data(fire_resistance_single_valtype);
|
||||
if fire_resistance ~= nil then
|
||||
this.list.fire_resistance = math.floor(fire_resistance);
|
||||
else
|
||||
@@ -168,13 +206,13 @@ function this.update_resistances(player_data)
|
||||
end
|
||||
|
||||
-- Water Resistance
|
||||
local water_resistance_valtype = get_value_method:call(resistance_element_array, 1);
|
||||
if water_resistance_valtype == nil then
|
||||
error_handler.report("player_info.update_resistances", "Failed to access Data: water_resistance_valtype");
|
||||
local water_resistance_single_valtype = get_value_method:call(resistance_element_array, 1);
|
||||
if water_resistance_single_valtype == nil then
|
||||
error_handler.report("player_info.update_resistances", "Failed to access Data: water_resistance_single_valtype");
|
||||
return;
|
||||
end
|
||||
|
||||
local water_resistance = water_resistance_valtype:get_field("mValue");
|
||||
local water_resistance = mvalue_field:get_data(water_resistance_single_valtype);
|
||||
if water_resistance ~= nil then
|
||||
this.list.water_resistance = math.floor(water_resistance);
|
||||
else
|
||||
@@ -183,13 +221,13 @@ function this.update_resistances(player_data)
|
||||
end
|
||||
|
||||
-- Thunder Resistance
|
||||
local thunder_resistance_valtype = get_value_method:call(resistance_element_array, 2);
|
||||
if thunder_resistance_valtype == nil then
|
||||
error_handler.report("player_info.update_resistances", "Failed to access Data: thunder_resistance_valtype");
|
||||
local thunder_resistance_single_valtype = get_value_method:call(resistance_element_array, 2);
|
||||
if thunder_resistance_single_valtype == nil then
|
||||
error_handler.report("player_info.update_resistances", "Failed to access Data: thunder_resistance_single_valtype");
|
||||
return;
|
||||
end
|
||||
|
||||
local thunder_resistance = thunder_resistance_valtype:get_field("mValue");
|
||||
local thunder_resistance = mvalue_field:get_data(thunder_resistance_single_valtype);
|
||||
if thunder_resistance ~= nil then
|
||||
this.list.thunder_resistance = math.floor(thunder_resistance);
|
||||
else
|
||||
@@ -198,13 +236,13 @@ function this.update_resistances(player_data)
|
||||
end
|
||||
|
||||
-- Ice Resistance
|
||||
local ice_resistance_valtype = get_value_method:call(resistance_element_array, 3);
|
||||
if ice_resistance_valtype == nil then
|
||||
error_handler.report("player_info.update_resistances", "Failed to access Data: ice_resistance_valtype");
|
||||
local ice_resistance_single_valtype = get_value_method:call(resistance_element_array, 3);
|
||||
if ice_resistance_single_valtype == nil then
|
||||
error_handler.report("player_info.update_resistances", "Failed to access Data: ice_resistance_single_valtype");
|
||||
return;
|
||||
end
|
||||
|
||||
local ice_resistance = ice_resistance_valtype:get_field("mValue");
|
||||
local ice_resistance = mvalue_field:get_data(ice_resistance_single_valtype);
|
||||
if ice_resistance ~= nil then
|
||||
this.list.ice_resistance = math.floor(ice_resistance);
|
||||
else
|
||||
@@ -213,13 +251,13 @@ function this.update_resistances(player_data)
|
||||
end
|
||||
|
||||
-- Dragon Resistance
|
||||
local dragon_resistance_valtype = get_value_method:call(resistance_element_array, 4);
|
||||
if dragon_resistance_valtype == nil then
|
||||
error_handler.report("player_info.update_resistances", "Failed to access Data: dragon_resistance_valtype");
|
||||
local dragon_resistance_single_valtype = get_value_method:call(resistance_element_array, 4);
|
||||
if dragon_resistance_single_valtype == nil then
|
||||
error_handler.report("player_info.update_resistances", "Failed to access Data: dragon_resistance_single_valtype");
|
||||
return;
|
||||
end
|
||||
|
||||
local dragon_resistance = dragon_resistance_valtype:get_field("mValue");
|
||||
local dragon_resistance = mvalue_field:get_data(dragon_resistance_single_valtype);
|
||||
if dragon_resistance ~= nil then
|
||||
this.list.dragon_resistance = math.floor(dragon_resistance);
|
||||
else
|
||||
@@ -228,6 +266,60 @@ function this.update_resistances(player_data)
|
||||
end
|
||||
end
|
||||
|
||||
function this.on_pre_player_update(quest_player_base)
|
||||
if not should_health_update then
|
||||
return;
|
||||
end
|
||||
|
||||
if quest_player_base ~= master_player_ref then
|
||||
return;
|
||||
end
|
||||
|
||||
this.update_health(quest_player_base);
|
||||
this.update_heroics(quest_player_base);
|
||||
this.update_dango_adrenaline(quest_player_base);
|
||||
|
||||
should_health_update = false;
|
||||
end
|
||||
|
||||
function this.update_health(quest_player_base)
|
||||
local vital = get_vital_method:call(master_player_data_ref);
|
||||
if vital == nil then
|
||||
error_handler.report("player_info.update_health", "Failed to access Data: vital");
|
||||
return;
|
||||
end
|
||||
|
||||
this.list.health = vital;
|
||||
end
|
||||
|
||||
function this.update_heroics(quest_player_base)
|
||||
if not config.current_config.buff_UI.filter.skills.heroics then
|
||||
return;
|
||||
end
|
||||
|
||||
local is_predicament_power_up = is_predicament_power_up_method:call(master_player_ref);
|
||||
if is_predicament_power_up == nil then
|
||||
error_handler.report("player_info.update_heroics", "Failed to access Data: is_predicament_power_up");
|
||||
return;
|
||||
end
|
||||
|
||||
skills.is_heroics_active = is_predicament_power_up;
|
||||
end
|
||||
|
||||
function this.update_dango_adrenaline(quest_player_base)
|
||||
if not config.current_config.buff_UI.filter.dango_skills.dango_adrenaline then
|
||||
return;
|
||||
end
|
||||
|
||||
local is_kitchen_skill_predicament_powerup = is_kitchen_skill_predicament_powerup_method:call(master_player_ref);
|
||||
if is_kitchen_skill_predicament_powerup == nil then
|
||||
error_handler.report("player_info.update_dango_adrenaline", "Failed to access Data: is_kitchen_skill_predicament_powerup");
|
||||
return;
|
||||
end
|
||||
|
||||
dango_skills.is_dango_adrenaline_active = is_kitchen_skill_predicament_powerup;
|
||||
end
|
||||
|
||||
function this.init_dependencies()
|
||||
singletons = require("MHR_Overlay.Game_Handler.singletons");
|
||||
customization_menu = require("MHR_Overlay.UI.customization_menu");
|
||||
@@ -242,9 +334,17 @@ function this.init_dependencies()
|
||||
error_handler = require("MHR_Overlay.Misc.error_handler");
|
||||
quest_status = require("MHR_Overlay.Game_Handler.quest_status");
|
||||
time = require("MHR_Overlay.Game_Handler.time");
|
||||
dango_skills = require("MHR_Overlay.Buffs.dango_skills");
|
||||
skills = require("MHR_Overlay.Buffs.skills");
|
||||
end
|
||||
|
||||
function this.init_module()
|
||||
sdk.hook(player_quest_base_update_method, function(args)
|
||||
local quest_player_base = sdk.to_managed_object(args[2]);
|
||||
this.on_pre_player_update(quest_player_base);
|
||||
end, function(retval)
|
||||
return retval;
|
||||
end);
|
||||
end
|
||||
|
||||
return this;
|
||||
|
||||
@@ -44,6 +44,7 @@ local unicode_chars;
|
||||
local epsilon = 0.000001;
|
||||
|
||||
this.table = {};
|
||||
this.type = {};
|
||||
this.number = {};
|
||||
this.string = {};
|
||||
this.vec2 = {};
|
||||
@@ -51,6 +52,7 @@ this.vec3 = {};
|
||||
this.vec4 = {};
|
||||
this.math = {};
|
||||
this.unicode = {};
|
||||
this.sdk = {};
|
||||
|
||||
this.constants = {};
|
||||
this.constants.uninitialized_int = -420;
|
||||
@@ -215,6 +217,18 @@ function this.table.merge(...)
|
||||
return result;
|
||||
end
|
||||
|
||||
function this.type.is_boolean(value)
|
||||
return value == true or value == false;
|
||||
end
|
||||
|
||||
function this.type.is_REField(value)
|
||||
return value.get_return_type == nil;
|
||||
end
|
||||
|
||||
function this.type.is_REMethodDefinition(value)
|
||||
return value.get_return_type ~= nil;
|
||||
end
|
||||
|
||||
function this.number.is_NaN(value)
|
||||
return tostring(value) == tostring(0/0);
|
||||
end
|
||||
@@ -429,6 +443,40 @@ function this.unicode.sub(str, i, j)
|
||||
return string.sub(str, i, b + c - 1);
|
||||
end
|
||||
|
||||
function this.sdk.generate_enum(type_def)
|
||||
if not type_def then
|
||||
return {};
|
||||
end
|
||||
|
||||
local fields = type_def:get_fields();
|
||||
local enum = {};
|
||||
|
||||
for i, field in ipairs(fields) do
|
||||
if field:is_static() then
|
||||
local name = field:get_name();
|
||||
local raw_value = field:get_data(nil);
|
||||
|
||||
local enum_entry = {
|
||||
name = name,
|
||||
value = raw_value;
|
||||
};
|
||||
|
||||
table.insert(enum, enum_entry);
|
||||
end
|
||||
end
|
||||
|
||||
return enum;
|
||||
end
|
||||
|
||||
function this.sdk.generate_enum_by_typename(type_name)
|
||||
local type_def = sdk.find_type_definition(type_name);
|
||||
if not type_def then
|
||||
return {};
|
||||
end;
|
||||
|
||||
return this.sdk.generate_enum(type_def);
|
||||
end
|
||||
|
||||
function this.init_dependencies()
|
||||
error_handler = require("MHR_Overlay.Misc.error_handler");
|
||||
end
|
||||
|
||||
@@ -275,6 +275,12 @@ local system_array_type_def = sdk.find_type_definition("System.Array");
|
||||
local get_length_method = system_array_type_def:get_method("get_Length");
|
||||
local get_value_method = system_array_type_def:get_method("GetValue(System.Int32)");
|
||||
|
||||
local int32_type_def = sdk.find_type_definition("System.Int32");
|
||||
local int32_mvalue_field = int32_type_def:get_field("mValue");
|
||||
|
||||
local single_type_def = sdk.find_type_definition("System.Single");
|
||||
local single_mvalue_field = single_type_def:get_field("mValue");
|
||||
|
||||
function this.update_ailments(enemy, monster)
|
||||
if enemy == nil then
|
||||
error_handler.report("ailments.update_ailments", "Missing Parameter: enemy");
|
||||
@@ -369,12 +375,12 @@ function this.update_ailment(monster, ailment_param, id)
|
||||
if activate_count_array_length ~= nil then
|
||||
|
||||
if activate_count_array_length > 0 then
|
||||
local activate_count_valuetype = get_value_method:call(activate_count_array, 0);
|
||||
local activate_count_valtype = get_value_method:call(activate_count_array, 0);
|
||||
|
||||
if activate_count_valuetype ~= nil then
|
||||
activate_count = activate_count_valuetype:get_field("mValue");
|
||||
if activate_count_valtype ~= nil then
|
||||
activate_count = int32_mvalue_field:get_data(activate_count_valtype);
|
||||
else
|
||||
error_handler.report("ailments.update_ailment", "Failed to access Data: activate_count_valuetype");
|
||||
error_handler.report("ailments.update_ailment", "Failed to access Data: activate_count_valtype");
|
||||
end
|
||||
end
|
||||
else
|
||||
@@ -390,12 +396,12 @@ function this.update_ailment(monster, ailment_param, id)
|
||||
if buildup_array_length ~= nil then
|
||||
|
||||
if buildup_array_length > 0 then
|
||||
local buildup_valuetype = get_value_method:call(buildup_array, 0);
|
||||
local buildup_valtype = get_value_method:call(buildup_array, 0);
|
||||
|
||||
if buildup_valuetype ~= nil then
|
||||
buildup = buildup_valuetype:get_field("mValue");
|
||||
if buildup_valtype ~= nil then
|
||||
buildup = single_mvalue_field:get_data(buildup_valtype);
|
||||
else
|
||||
error_handler.report("ailments.update_ailment", "Failed to access Data: buildup_valuetype");
|
||||
error_handler.report("ailments.update_ailment", "Failed to access Data: buildup_valtype");
|
||||
end
|
||||
end
|
||||
else
|
||||
@@ -411,12 +417,12 @@ function this.update_ailment(monster, ailment_param, id)
|
||||
if buildup_limit_array_length ~= nil then
|
||||
|
||||
if buildup_limit_array_length > 0 then
|
||||
local buildup_limit_valuetype = get_value_method:call(buildup_limit_array, 0);
|
||||
local buildup_limit_valtype = get_value_method:call(buildup_limit_array, 0);
|
||||
|
||||
if buildup_limit_valuetype ~= nil then
|
||||
buildup_limit = buildup_limit_valuetype:get_field("mValue");
|
||||
if buildup_limit_valtype ~= nil then
|
||||
buildup_limit = single_mvalue_field:get_data(buildup_limit_valtype);
|
||||
else
|
||||
error_handler.report("ailments.update_ailment", "Failed to access Data: buildup_limit_valuetype");
|
||||
error_handler.report("ailments.update_ailment", "Failed to access Data: buildup_limit_valtype");
|
||||
end
|
||||
end
|
||||
else
|
||||
|
||||
@@ -1196,7 +1196,7 @@ function this.draw(monster, type, cached_config, position_on_screen, opacity_sca
|
||||
monster_name_text = string.format("%s%s ", monster_name_text, monster.crown);
|
||||
end
|
||||
|
||||
if cached_config.monster_name_label.include.size and monster.size ~= -1 then
|
||||
if cached_config.monster_name_label.include.size and monster.size > 0 then
|
||||
monster_name_text = string.format("%s#%.0f ", monster_name_text, 100 * monster.size);
|
||||
end
|
||||
|
||||
|
||||
@@ -3,15 +3,19 @@ local this = {};
|
||||
local buff_UI_entity;
|
||||
local config;
|
||||
local buffs;
|
||||
local consumables;
|
||||
local item_buffs;
|
||||
local melody_effects;
|
||||
local endemic_life_buff;
|
||||
local screen;
|
||||
local utils;
|
||||
local error_handler;
|
||||
local skills;
|
||||
local dangos;
|
||||
local dango_skills;
|
||||
local abnormal_statuses;
|
||||
local otomo_moves;
|
||||
local weapon_skills;
|
||||
local misc_buffs;
|
||||
local rampage_skills;
|
||||
|
||||
local sdk = sdk;
|
||||
local tostring = tostring;
|
||||
@@ -52,102 +56,274 @@ function this.update()
|
||||
|
||||
local _displayed_buffs = {};
|
||||
|
||||
for key, consumable in pairs(consumables.list) do
|
||||
for key, abnormal_status in pairs(abnormal_statuses.list) do
|
||||
|
||||
if not consumable.is_active then
|
||||
goto continue;
|
||||
if abnormal_status.is_visible then
|
||||
table.insert(_displayed_buffs, abnormal_status);
|
||||
end
|
||||
end
|
||||
|
||||
table.insert(_displayed_buffs, consumable);
|
||||
for key, item_buff in pairs(item_buffs.list) do
|
||||
|
||||
::continue::
|
||||
if item_buff.is_visible then
|
||||
table.insert(_displayed_buffs, item_buff);
|
||||
end
|
||||
end
|
||||
|
||||
for key, endemic_life_buff in pairs(endemic_life_buff.list) do
|
||||
|
||||
if endemic_life_buff.is_visible then
|
||||
table.insert(_displayed_buffs, endemic_life_buff);
|
||||
end
|
||||
end
|
||||
|
||||
for _, melody_effect in pairs(melody_effects.list) do
|
||||
|
||||
if not melody_effect.is_active then
|
||||
goto continue2;
|
||||
end
|
||||
|
||||
if melody_effect.is_visible then
|
||||
table.insert(_displayed_buffs, melody_effect);
|
||||
|
||||
::continue2::
|
||||
end
|
||||
end
|
||||
|
||||
for key, endemic_life_buff in pairs(endemic_life_buff.list) do
|
||||
if not endemic_life_buff.is_active then
|
||||
goto continue3;
|
||||
for key, dango_skill in pairs(dango_skills.list) do
|
||||
|
||||
if dango_skill.is_visible then
|
||||
table.insert(_displayed_buffs, dango_skill);
|
||||
end
|
||||
end
|
||||
|
||||
table.insert(_displayed_buffs, endemic_life_buff);
|
||||
for key, rampage_skill in pairs(rampage_skills.list) do
|
||||
|
||||
::continue3::
|
||||
if rampage_skill.is_visible then
|
||||
table.insert(_displayed_buffs, rampage_skill);
|
||||
end
|
||||
end
|
||||
|
||||
for key, skill in pairs(skills.list) do
|
||||
if not skill.is_active then
|
||||
goto continue4;
|
||||
end
|
||||
|
||||
if skill.is_visible then
|
||||
table.insert(_displayed_buffs, skill);
|
||||
|
||||
::continue4::
|
||||
end
|
||||
end
|
||||
|
||||
for key, dango_buff in pairs(dangos.list) do
|
||||
if not dango_buff.is_active then
|
||||
goto continue5;
|
||||
for key, weapon_skill in pairs(weapon_skills.list) do
|
||||
|
||||
if weapon_skill.is_visible then
|
||||
table.insert(_displayed_buffs, weapon_skill);
|
||||
end
|
||||
end
|
||||
|
||||
table.insert(_displayed_buffs, dango_buff);
|
||||
for key, otomo_move in pairs(otomo_moves.list) do
|
||||
|
||||
::continue5::
|
||||
if otomo_move.is_visible then
|
||||
table.insert(_displayed_buffs, otomo_move);
|
||||
end
|
||||
end
|
||||
|
||||
for key, abnormal_status in pairs(abnormal_statuses.list) do
|
||||
if not abnormal_status.is_active then
|
||||
goto continue6;
|
||||
for key, misc_buffs in pairs(misc_buffs.list) do
|
||||
|
||||
if misc_buffs.is_visible then
|
||||
table.insert(_displayed_buffs, misc_buffs);
|
||||
end
|
||||
|
||||
table.insert(_displayed_buffs, abnormal_status);
|
||||
|
||||
::continue6::
|
||||
end
|
||||
|
||||
displayed_buffs = this.sort_buffs(_displayed_buffs, cached_config);
|
||||
|
||||
end
|
||||
|
||||
function this.sort_buffs(_displayed_buffs, cached_config)
|
||||
local infinite_buffs_location = cached_config.settings.infinite_buffs_location;
|
||||
cached_config = cached_config.sorting;
|
||||
|
||||
if cached_config.type == "Name" then
|
||||
if cached_config.reversed_order then
|
||||
table.sort(_displayed_buffs, function(left, right)
|
||||
return left.name > right.name;
|
||||
|
||||
if infinite_buffs_location == "First" then
|
||||
|
||||
if left.is_infinite and right.is_infinite then
|
||||
return left.name < right.name;
|
||||
elseif left.is_infinite then
|
||||
return true;
|
||||
elseif right.is_infinite then
|
||||
return false;
|
||||
else
|
||||
return left.name < right.name;
|
||||
end
|
||||
|
||||
elseif infinite_buffs_location == "Last" then
|
||||
|
||||
if left.is_infinite and right.is_infinite then
|
||||
return left.name < right.name;
|
||||
elseif left.is_infinite then
|
||||
return false;
|
||||
elseif right.is_infinite then
|
||||
return true;
|
||||
else
|
||||
return left.name < right.name;
|
||||
end
|
||||
|
||||
else
|
||||
return left.name < right.name;
|
||||
end
|
||||
end);
|
||||
else
|
||||
table.sort(_displayed_buffs, function(left, right)
|
||||
return left.name < right.name;
|
||||
|
||||
if infinite_buffs_location == "First" then
|
||||
|
||||
if left.is_infinite and right.is_infinite then
|
||||
return left.name > right.name;
|
||||
elseif left.is_infinite then
|
||||
return false;
|
||||
elseif right.is_infinite then
|
||||
return true;
|
||||
else
|
||||
return left.name > right.name;
|
||||
end
|
||||
|
||||
elseif infinite_buffs_location == "Last" then
|
||||
|
||||
if left.is_infinite and right.is_infinite then
|
||||
return left.name > right.name;
|
||||
elseif left.is_infinite then
|
||||
return true;
|
||||
elseif right.is_infinite then
|
||||
return false;
|
||||
else
|
||||
return left.name > right.name;
|
||||
end
|
||||
|
||||
else
|
||||
return left.name > right.name;
|
||||
end
|
||||
end);
|
||||
end
|
||||
elseif cached_config.type == "Timer" then
|
||||
if cached_config.reversed_order then
|
||||
table.sort(_displayed_buffs, function(left, right)
|
||||
return left.timer > right.timer;
|
||||
|
||||
if infinite_buffs_location == "First" then
|
||||
|
||||
if left.is_infinite and right.is_infinite then
|
||||
return left.timer < right.timer;
|
||||
elseif left.is_infinite then
|
||||
return true;
|
||||
elseif right.is_infinite then
|
||||
return false;
|
||||
else
|
||||
return left.timer < right.timer;
|
||||
end
|
||||
|
||||
elseif infinite_buffs_location == "Last" then
|
||||
|
||||
if left.is_infinite and right.is_infinite then
|
||||
return left.timer < right.timer;
|
||||
elseif left.is_infinite then
|
||||
return false;
|
||||
elseif right.is_infinite then
|
||||
return true;
|
||||
else
|
||||
return left.timer < right.timer;
|
||||
end
|
||||
|
||||
else
|
||||
return left.timer < right.timer;
|
||||
end
|
||||
end);
|
||||
else
|
||||
table.sort(_displayed_buffs, function(left, right)
|
||||
return left.timer < right.timer;
|
||||
|
||||
if infinite_buffs_location == "First" then
|
||||
|
||||
if left.is_infinite and right.is_infinite then
|
||||
return left.timer > right.timer;
|
||||
elseif left.is_infinite then
|
||||
return false;
|
||||
elseif right.is_infinite then
|
||||
return true;
|
||||
else
|
||||
return left.timer > right.timer;
|
||||
end
|
||||
|
||||
elseif infinite_buffs_location == "Last" then
|
||||
|
||||
if left.is_infinite and right.is_infinite then
|
||||
return left.timer > right.timer;
|
||||
elseif left.is_infinite then
|
||||
return true;
|
||||
elseif right.is_infinite then
|
||||
return false;
|
||||
else
|
||||
return left.timer > right.timer;
|
||||
end
|
||||
|
||||
else
|
||||
return left.timer > right.timer;
|
||||
end
|
||||
end);
|
||||
end
|
||||
else
|
||||
else -- Duration
|
||||
if cached_config.reversed_order then
|
||||
table.sort(_displayed_buffs, function(left, right)
|
||||
return left.duration > right.duration;
|
||||
|
||||
if infinite_buffs_location == "First" then
|
||||
|
||||
if left.is_infinite and right.is_infinite then
|
||||
return left.duration < right.duration;
|
||||
elseif left.is_infinite then
|
||||
return true;
|
||||
elseif right.is_infinite then
|
||||
return false;
|
||||
else
|
||||
return left.duration < right.duration;
|
||||
end
|
||||
|
||||
elseif infinite_buffs_location == "Last" then
|
||||
|
||||
if left.is_infinite and right.is_infinite then
|
||||
return left.duration < right.duration;
|
||||
elseif left.is_infinite then
|
||||
return false;
|
||||
elseif right.is_infinite then
|
||||
return true;
|
||||
else
|
||||
return left.duration < right.duration;
|
||||
end
|
||||
|
||||
else
|
||||
return left.duration < right.duration;
|
||||
end
|
||||
end);
|
||||
else
|
||||
table.sort(_displayed_buffs, function(left, right)
|
||||
return left.duration < right.duration;
|
||||
|
||||
if infinite_buffs_location == "First" then
|
||||
|
||||
if left.is_infinite and right.is_infinite then
|
||||
return left.duration > right.duration;
|
||||
elseif left.is_infinite then
|
||||
return false;
|
||||
elseif right.is_infinite then
|
||||
return true;
|
||||
else
|
||||
return left.duration > right.duration;
|
||||
end
|
||||
|
||||
elseif infinite_buffs_location == "Last" then
|
||||
|
||||
if left.is_infinite and right.is_infinite then
|
||||
return left.duration > right.duration;
|
||||
elseif left.is_infinite then
|
||||
return true;
|
||||
elseif right.is_infinite then
|
||||
return false;
|
||||
else
|
||||
return left.duration > right.duration;
|
||||
end
|
||||
|
||||
else
|
||||
return left.duration > right.duration;
|
||||
end
|
||||
end);
|
||||
end
|
||||
end
|
||||
@@ -179,7 +355,7 @@ end
|
||||
function this.init_dependencies()
|
||||
config = require("MHR_Overlay.Misc.config");
|
||||
buff_UI_entity = require("MHR_Overlay.UI.UI_Entities.buff_UI_entity");
|
||||
consumables = require("MHR_Overlay.Buffs.consumables");
|
||||
item_buffs = require("MHR_Overlay.Buffs.item_buffs");
|
||||
melody_effects = require("MHR_Overlay.Buffs.melody_effects");
|
||||
buffs = require("MHR_Overlay.Buffs.buffs");
|
||||
--singletons = require("MHR_Overlay.Game_Handler.singletons");
|
||||
@@ -194,8 +370,12 @@ function this.init_dependencies()
|
||||
error_handler = require("MHR_Overlay.Misc.error_handler");
|
||||
endemic_life_buff = require("MHR_Overlay.Buffs.endemic_life_buffs");
|
||||
skills = require("MHR_Overlay.Buffs.skills");
|
||||
dangos = require("MHR_Overlay.Buffs.dangos");
|
||||
dango_skills = require("MHR_Overlay.Buffs.dango_skills");
|
||||
abnormal_statuses = require("MHR_Overlay.Buffs.abnormal_statuses");
|
||||
otomo_moves = require("MHR_Overlay.Buffs.otomo_moves");
|
||||
weapon_skills = require("MHR_Overlay.Buffs.weapon_skills");
|
||||
misc_buffs = require("MHR_Overlay.Buffs.misc_buffs");
|
||||
rampage_skills = require("MHR_Overlay.Buffs.rampage_skills");
|
||||
end
|
||||
|
||||
function this.init_module()
|
||||
|
||||
@@ -71,6 +71,8 @@ function this.update()
|
||||
table.insert(_displayed_creatures, creature);
|
||||
::continue::
|
||||
end
|
||||
|
||||
displayed_creatures = _displayed_creatures;
|
||||
end
|
||||
|
||||
function this.draw()
|
||||
|
||||
@@ -55,6 +55,8 @@ local get_tg_camera_method = gui_manager_type_def:get_method("get_refGuiHud_TgCa
|
||||
local tg_camera_type_def = get_tg_camera_method:get_return_type();
|
||||
local get_targeting_enemy_index_field = tg_camera_type_def:get_field("OldTargetingEmIndex");
|
||||
|
||||
local large_monster_list = {};
|
||||
|
||||
local displayed_dynamic_monsters = {};
|
||||
local displayed_static_monsters = {};
|
||||
local highlighted_monster = nil;
|
||||
@@ -67,7 +69,7 @@ function this.update(dynamic_enabled, static_enabled, highlighted_enabled)
|
||||
return;
|
||||
end
|
||||
|
||||
local large_monster_list = {};
|
||||
large_monster_list = {};
|
||||
|
||||
local enemy_count = get_boss_enemy_count_method:call(singletons.enemy_manager);
|
||||
if enemy_count == nil then
|
||||
@@ -96,8 +98,6 @@ function this.update(dynamic_enabled, static_enabled, highlighted_enabled)
|
||||
::continue::
|
||||
end
|
||||
|
||||
this.update_highlighted_monster(large_monster_list, cached_config.highlighted.auto_highlight);
|
||||
|
||||
if dynamic_enabled then
|
||||
this.update_dynamic_monsters(large_monster_list, cached_config);
|
||||
end
|
||||
@@ -306,6 +306,8 @@ end
|
||||
function this.draw(dynamic_enabled, static_enabled, highlighted_enabled)
|
||||
local cached_config = config.current_config.large_monster_UI;
|
||||
|
||||
this.update_highlighted_monster(large_monster_list, cached_config.highlighted.auto_highlight);
|
||||
|
||||
if dynamic_enabled then
|
||||
local success = pcall(this.draw_dynamic, cached_config);
|
||||
if not success then
|
||||
|
||||
@@ -3,14 +3,14 @@ local this = {};
|
||||
local buff_UI_entity;
|
||||
local config;
|
||||
local buffs;
|
||||
local consumables;
|
||||
local item_buffs;
|
||||
local melody_effects;
|
||||
local endemic_life_buff;
|
||||
local screen;
|
||||
local utils;
|
||||
local error_handler;
|
||||
local skills;
|
||||
local dangos;
|
||||
local dango_skills;
|
||||
local abnormal_statuses;
|
||||
local drawing;
|
||||
local player_info;
|
||||
@@ -60,6 +60,7 @@ this.label_list = {
|
||||
};
|
||||
|
||||
this.affinity_label = nil;
|
||||
this.health_label = nil;
|
||||
this.stamina_label = nil;
|
||||
this.element_label = nil;
|
||||
this.element_2_label = nil;
|
||||
@@ -81,7 +82,11 @@ function this.draw()
|
||||
for label_key, label in pairs(this.label_list) do
|
||||
local name_text = "";
|
||||
if label.include.name then
|
||||
if label.include.value then
|
||||
name_text = string.format("%s: ", cached_names[label_key]);
|
||||
else
|
||||
name_text = string.format("%s", cached_names[label_key]);
|
||||
end
|
||||
end
|
||||
|
||||
if label.include.value then
|
||||
@@ -93,22 +98,38 @@ function this.draw()
|
||||
::continue::
|
||||
end
|
||||
|
||||
-- Affinity Label
|
||||
local affinity_name_text = "";
|
||||
if this.affinity_label.include.name then
|
||||
affinity_name_text = string.format("%s: ", cached_names.affinity);
|
||||
-- Health Label
|
||||
local health_name_text = "";
|
||||
if this.health_label.include.name then
|
||||
health_name_text = string.format("%s: ", language.current_language.customization_menu.health);
|
||||
|
||||
if this.health_label.include.value or this.health_label.include.max_value then
|
||||
health_name_text = string.format("%s: ", language.current_language.customization_menu.health);
|
||||
else
|
||||
health_name_text = string.format("%s", language.current_language.customization_menu.health);
|
||||
end
|
||||
end
|
||||
|
||||
if this.affinity_label.include.value then
|
||||
affinity_name_text = string.format("%s%s%%", affinity_name_text, tostring(player_info.list.affinity));
|
||||
if this.health_label.include.value and not this.health_label.include.max_value then
|
||||
health_name_text = string.format("%s%s", health_name_text, tostring(player_info.list.health));
|
||||
|
||||
elseif not this.health_label.include.value and this.health_label.include.max_value then
|
||||
health_name_text = string.format("%s%s", health_name_text, tostring(player_info.list.max_health));
|
||||
|
||||
elseif this.health_label.include.value and this.health_label.include.max_value then
|
||||
health_name_text = string.format("%s%s/%s", health_name_text, tostring(player_info.list.health), tostring(player_info.list.max_health));
|
||||
end
|
||||
|
||||
drawing.draw_label(this.affinity_label, position_on_screen, 1, affinity_name_text);
|
||||
drawing.draw_label(this.health_label, position_on_screen, 1, health_name_text);
|
||||
|
||||
-- Stamina Label
|
||||
local stamina_name_text = "";
|
||||
if this.stamina_label.include.name then
|
||||
if this.stamina_label.include.value or this.stamina_label.include.max_value then
|
||||
stamina_name_text = string.format("%s: ", cached_names.stamina);
|
||||
else
|
||||
stamina_name_text = string.format("%s", cached_names.stamina);
|
||||
end
|
||||
end
|
||||
|
||||
if this.stamina_label.include.value and not this.stamina_label.include.max_value then
|
||||
@@ -123,6 +144,22 @@ function this.draw()
|
||||
|
||||
drawing.draw_label(this.stamina_label, position_on_screen, 1, stamina_name_text);
|
||||
|
||||
-- Affinity Label
|
||||
local affinity_name_text = "";
|
||||
if this.affinity_label.include.name then
|
||||
if this.affinity_label.include.value then
|
||||
affinity_name_text = string.format("%s: ", cached_names.affinity);
|
||||
else
|
||||
affinity_name_text = string.format("%s", cached_names.affinity);
|
||||
end
|
||||
end
|
||||
|
||||
if this.affinity_label.include.value then
|
||||
affinity_name_text = string.format("%s%s%%", affinity_name_text, tostring(player_info.list.affinity));
|
||||
end
|
||||
|
||||
drawing.draw_label(this.affinity_label, position_on_screen, 1, affinity_name_text);
|
||||
|
||||
-- Element Label
|
||||
if player_info.list.element_type ~= 0 then
|
||||
|
||||
@@ -131,26 +168,33 @@ function this.draw()
|
||||
|
||||
local ailment_names = language.current_language.ailments;
|
||||
|
||||
local ailment_name = "";
|
||||
|
||||
if player_info.list.element_type == 1 then
|
||||
element_name_text = string.format("%s: ", cached_names.fire);
|
||||
ailment_name = cached_names.fire;
|
||||
elseif player_info.list.element_type == 2 then
|
||||
element_name_text = string.format("%s: ", cached_names.water);
|
||||
ailment_name = cached_names.water;
|
||||
elseif player_info.list.element_type == 3 then
|
||||
element_name_text = string.format("%s: ", cached_names.thunder);
|
||||
ailment_name = cached_names.thunder;
|
||||
elseif player_info.list.element_type == 4 then
|
||||
element_name_text = string.format("%s: ", cached_names.ice);
|
||||
ailment_name = cached_names.ice;
|
||||
elseif player_info.list.element_type == 5 then
|
||||
element_name_text = string.format("%s: ", cached_names.dragon);
|
||||
ailment_name = cached_names.dragon;
|
||||
elseif player_info.list.element_type == 6 then
|
||||
element_name_text = string.format("%s: ", ailment_names.poison);
|
||||
ailment_name = ailment_names.poison;
|
||||
elseif player_info.list.element_type == 7 then
|
||||
element_name_text = string.format("%s: ", ailment_names.sleep);
|
||||
ailment_name = ailment_names.sleep;
|
||||
elseif player_info.list.element_type == 8 then
|
||||
element_name_text = string.format("%s: ", ailment_names.paralysis);
|
||||
ailment_name = ailment_names.paralysis;
|
||||
elseif player_info.list.element_type == 9 then
|
||||
element_name_text = string.format("%s: ", ailment_names.blast);
|
||||
ailment_name = ailment_names.blast;
|
||||
end
|
||||
|
||||
if this.element_label.include.value then
|
||||
element_name_text = string.format("%s: ", ailment_name);
|
||||
else
|
||||
element_name_text = string.format("%s", ailment_name);
|
||||
end
|
||||
end
|
||||
|
||||
if this.element_label.include.value then
|
||||
@@ -169,24 +213,32 @@ function this.draw()
|
||||
|
||||
local ailment_names = language.current_language.ailments;
|
||||
|
||||
local ailment_name = "";
|
||||
|
||||
if player_info.list.element_type_2 == 1 then
|
||||
element_2_name_text = string.format("%s: ", cached_names.fire);
|
||||
ailment_name = cached_names.fire;
|
||||
elseif player_info.list.element_type_2 == 2 then
|
||||
element_2_name_text = string.format("%s: ", cached_names.water);
|
||||
ailment_name = cached_names.water;
|
||||
elseif player_info.list.element_type_2 == 3 then
|
||||
element_2_name_text = string.format("%s: ", cached_names.thunder);
|
||||
ailment_name = cached_names.thunder;
|
||||
elseif player_info.list.element_type_2 == 4 then
|
||||
element_2_name_text = string.format("%s: ", cached_names.ice);
|
||||
ailment_name = cached_names.ice;
|
||||
elseif player_info.list.element_type_2 == 5 then
|
||||
element_2_name_text = string.format("%s: ", cached_names.dragon);
|
||||
ailment_name = cached_names.dragon;
|
||||
elseif player_info.list.element_type_2 == 6 then
|
||||
element_2_name_text = string.format("%s: ", ailment_names.poison);
|
||||
ailment_name = ailment_names.poison;
|
||||
elseif player_info.list.element_type_2 == 7 then
|
||||
element_2_name_text = string.format("%s: ", ailment_names.sleep);
|
||||
ailment_name = ailment_names.sleep;
|
||||
elseif player_info.list.element_type_2 == 8 then
|
||||
element_2_name_text = string.format("%s: ", ailment_names.paralysis);
|
||||
ailment_name = ailment_names.paralysis;
|
||||
elseif player_info.list.element_type_2 == 9 then
|
||||
element_2_name_text = string.format("%s: ", ailment_names.blast);
|
||||
ailment_name = ailment_names.blast;
|
||||
end
|
||||
|
||||
if this.element_2_label.include.value then
|
||||
element_2_name_text = string.format("%s: ", ailment_name);
|
||||
else
|
||||
element_2_name_text = string.format("%s", ailment_name);
|
||||
end
|
||||
|
||||
end
|
||||
@@ -210,6 +262,7 @@ function this.init_UI()
|
||||
this.label_list.dragon_resistance = utils.table.deep_copy(config.current_config.stats_UI.dragon_resistance_label);
|
||||
|
||||
this.affinity_label = utils.table.deep_copy(config.current_config.stats_UI.affinity_label);
|
||||
this.health_label = utils.table.deep_copy(config.current_config.stats_UI.health_label);
|
||||
this.stamina_label = utils.table.deep_copy(config.current_config.stats_UI.stamina_label);
|
||||
this.element_label = utils.table.deep_copy(config.current_config.stats_UI.element_label);
|
||||
this.element_2_label = utils.table.deep_copy(config.current_config.stats_UI.element_2_label);
|
||||
@@ -224,6 +277,9 @@ function this.init_UI()
|
||||
this.affinity_label.offset.x = this.affinity_label.offset.x * global_scale_modifier;
|
||||
this.affinity_label.offset.y = this.affinity_label.offset.y * global_scale_modifier;
|
||||
|
||||
this.health_label.offset.x = this.health_label.offset.x * global_scale_modifier;
|
||||
this.health_label.offset.y = this.health_label.offset.y * global_scale_modifier;
|
||||
|
||||
this.stamina_label.offset.x = this.stamina_label.offset.x * global_scale_modifier;
|
||||
this.stamina_label.offset.y = this.stamina_label.offset.y * global_scale_modifier;
|
||||
|
||||
@@ -237,7 +293,7 @@ end
|
||||
function this.init_dependencies()
|
||||
config = require("MHR_Overlay.Misc.config");
|
||||
buff_UI_entity = require("MHR_Overlay.UI.UI_Entities.buff_UI_entity");
|
||||
consumables = require("MHR_Overlay.Buffs.consumables");
|
||||
item_buffs = require("MHR_Overlay.Buffs.item_buffs");
|
||||
melody_effects = require("MHR_Overlay.Buffs.melody_effects");
|
||||
buffs = require("MHR_Overlay.Buffs.buffs");
|
||||
--singletons = require("MHR_Overlay.Game_Handler.singletons");
|
||||
@@ -252,7 +308,7 @@ function this.init_dependencies()
|
||||
error_handler = require("MHR_Overlay.Misc.error_handler");
|
||||
endemic_life_buff = require("MHR_Overlay.Buffs.endemic_life_buffs");
|
||||
skills = require("MHR_Overlay.Buffs.skills");
|
||||
dangos = require("MHR_Overlay.Buffs.dangos");
|
||||
dango_skills = require("MHR_Overlay.Buffs.dango_skills");
|
||||
abnormal_statuses = require("MHR_Overlay.Buffs.abnormal_statuses");
|
||||
drawing = require("MHR_Overlay.UI.drawing");
|
||||
player_info = require("MHR_Overlay.Misc.player_info");
|
||||
|
||||
@@ -73,9 +73,13 @@ function this.draw(buff, buff_UI, position_on_screen, opacity_scale)
|
||||
drawing.draw_bar(buff_UI.bar, position_on_screen, opacity_scale, 1);
|
||||
end
|
||||
|
||||
local buff_name = buff.name;
|
||||
if cached_config.name_label.include.skill_level and buff.level > 1 then
|
||||
buff_name = string.format("%s %d", buff_name, buff.level);
|
||||
local buff_name = "";
|
||||
if buff_UI.name_label.include.name then
|
||||
buff_name = string.format("%s ", buff.name);
|
||||
end
|
||||
|
||||
if buff_UI.name_label.include.effect_level and buff.level > 1 then
|
||||
buff_name = string.format("%s%s%d", buff_name, language.current_language.UI.lv, buff.level);
|
||||
end
|
||||
|
||||
drawing.draw_label(buff_UI.name_label, position_on_screen, opacity_scale, buff_name);
|
||||
|
||||
@@ -13,11 +13,22 @@ local time_UI;
|
||||
local keyboard;
|
||||
local non_players;
|
||||
local quest_status;
|
||||
local buffs;
|
||||
local error_handler;
|
||||
local time;
|
||||
local stats_UI;
|
||||
|
||||
local buffs;
|
||||
local item_buffs;
|
||||
local melody_effects;
|
||||
local endemic_life_buffs;
|
||||
local skills;
|
||||
local dango_skills;
|
||||
local abnormal_statuses;
|
||||
local otomo_moves;
|
||||
local weapon_skills;
|
||||
local rampage_skills;
|
||||
local misc_buffs;
|
||||
|
||||
local label_customization;
|
||||
local bar_customization;
|
||||
local large_monster_UI_customization;
|
||||
@@ -88,6 +99,9 @@ this.displayed_monster_UI_sorting_types = {};
|
||||
this.buff_UI_sorting_types = {};
|
||||
this.displayed_buff_UI_sorting_types = {};
|
||||
|
||||
this.buff_UI_infinite_buffs_location_types = {};
|
||||
this.displayed_buff_UI_infinite_buffs_location_types = {};
|
||||
|
||||
this.damage_meter_UI_highlighted_entity_types = {};
|
||||
this.displayed_damage_meter_UI_highlighted_entity_types = {};
|
||||
|
||||
@@ -131,6 +145,8 @@ this.large_monster_highlighted_UI_waiting_for_key = false;
|
||||
this.time_UI_waiting_for_key = false;
|
||||
this.damage_meter_UI_waiting_for_key = false;
|
||||
this.endemic_life_UI_waiting_for_key = false;
|
||||
this.buff_UI_waiting_for_key = false;
|
||||
this.stats_UI_waiting_for_key = false;
|
||||
this.menu_font_changed = false;
|
||||
|
||||
this.config_name_input = "";
|
||||
@@ -226,6 +242,20 @@ function this.init()
|
||||
current.duration
|
||||
};
|
||||
|
||||
this.buff_UI_infinite_buffs_location_types =
|
||||
{
|
||||
default.normal,
|
||||
default.first,
|
||||
default.last
|
||||
};
|
||||
|
||||
this.displayed_buff_UI_infinite_buffs_location_types =
|
||||
{
|
||||
current.normal,
|
||||
current.first,
|
||||
current.last
|
||||
};
|
||||
|
||||
this.damage_meter_UI_highlighted_entity_types =
|
||||
{
|
||||
default.top_damage,
|
||||
@@ -359,7 +389,9 @@ function this.draw()
|
||||
local language_changed = false;
|
||||
local modifiers_changed = false;
|
||||
local modules_changed = false;
|
||||
local hotkeys_changed = false;
|
||||
local global_settings_changed = false;
|
||||
local timer_delays_changed = false;
|
||||
local small_monster_UI_changed = false;
|
||||
local large_monster_dynamic_UI_changed = false;
|
||||
local large_monster_static_UI_changed = false;
|
||||
@@ -393,8 +425,8 @@ function this.draw()
|
||||
|
||||
config_changed, apply_font_requested = this.draw_config();
|
||||
modules_changed = this.draw_modules();
|
||||
this.draw_hotkeys();
|
||||
global_settings_changed, modifiers_changed, apply_font_requested, language_changed = this.draw_global_settings(apply_font_requested, config_changed);
|
||||
hotkeys_changed = this.draw_hotkeys();
|
||||
global_settings_changed, modifiers_changed, timer_delays_changed, apply_font_requested, language_changed = this.draw_global_settings(apply_font_requested, config_changed);
|
||||
small_monster_UI_changed = this.draw_small_monster_UI();
|
||||
|
||||
if imgui.tree_node(language.current_language.customization_menu.large_monster_UI) then
|
||||
@@ -471,22 +503,24 @@ function this.draw()
|
||||
end
|
||||
|
||||
if buff_UI_changed or modifiers_changed or config_changed then
|
||||
for _, buff in pairs(buffs.list) do
|
||||
buffs.init_UI(buff);
|
||||
end
|
||||
buffs.init_all_UI();
|
||||
buffs.init_names();
|
||||
end
|
||||
|
||||
if stats_UI_changed or modifiers_changed or config_changed then
|
||||
stats_UI.init_UI();
|
||||
end
|
||||
|
||||
if timer_delays_changed then
|
||||
time.init_global_timers();
|
||||
end
|
||||
|
||||
if this.menu_font_changed and (apply_font_requested or config_changed) then
|
||||
this.menu_font_changed = false;
|
||||
this.reload_font();
|
||||
end
|
||||
|
||||
if window_changed or modules_changed or global_settings_changed or small_monster_UI_changed or large_monster_dynamic_UI_changed or
|
||||
if window_changed or modules_changed or hotkeys_changed or global_settings_changed or small_monster_UI_changed or large_monster_dynamic_UI_changed or
|
||||
large_monster_static_UI_changed or large_monster_highlighted_UI_changed or time_UI_changed or damage_meter_UI_changed or
|
||||
endemic_life_UI_changed or buff_UI_changed or stats_UI_changed or modifiers_changed or config_changed or debug_changed then
|
||||
config.save_current();
|
||||
@@ -622,6 +656,8 @@ function this.draw_modules()
|
||||
end
|
||||
|
||||
function this.draw_hotkeys()
|
||||
local config_changed = false;
|
||||
|
||||
if imgui.tree_node(language.current_language.customization_menu.hotkeys) then
|
||||
if this.all_UI_waiting_for_key then
|
||||
if imgui.button(language.current_language.customization_menu.press_any_key) then
|
||||
@@ -630,25 +666,26 @@ function this.draw_hotkeys()
|
||||
config.current_config.global_settings.hotkeys_with_modifiers.all_UI.shift = false;
|
||||
config.current_config.global_settings.hotkeys_with_modifiers.all_UI.alt = false;
|
||||
this.all_UI_waiting_for_key = false;
|
||||
config_changed = true;
|
||||
end
|
||||
|
||||
elseif imgui.button(language.current_language.customization_menu.all_UI) then
|
||||
local is_any_other_waiting = this.small_monster_UI_waiting_for_key or
|
||||
this.large_monster_UI_waiting_for_key or
|
||||
this.large_monster_dynamic_UI_waiting_for_key or
|
||||
this.large_monster_static_UI_waiting_for_key or
|
||||
this.large_monster_highlighted_UI_waiting_for_key or
|
||||
this.time_UI_waiting_for_key or
|
||||
this.damage_meter_UI_waiting_for_key or
|
||||
this.endemic_life_UI_waiting_for_key;
|
||||
if not is_any_other_waiting then
|
||||
this.all_UI_waiting_for_key = true;
|
||||
end
|
||||
this.small_monster_UI_waiting_for_key = false;
|
||||
this.large_monster_UI_waiting_for_key = false;
|
||||
this.large_monster_dynamic_UI_waiting_for_key = false;
|
||||
this.large_monster_static_UI_waiting_for_key = false;
|
||||
this.large_monster_highlighted_UI_waiting_for_key = false;
|
||||
this.time_UI_waiting_for_key = false;
|
||||
this.damage_meter_UI_waiting_for_key = false;
|
||||
this.endemic_life_UI_waiting_for_key = false;
|
||||
this.buff_UI_waiting_for_key = false;
|
||||
this.stats_UI_waiting_for_key = false;
|
||||
end
|
||||
|
||||
imgui.same_line();
|
||||
|
||||
imgui.text(keyboard.get_hotkey_name(config.current_config.global_settings.hotkeys_with_modifiers.all_UI));
|
||||
|
||||
if this.small_monster_UI_waiting_for_key then
|
||||
if imgui.button(language.current_language.customization_menu.press_any_key) then
|
||||
config.current_config.global_settings.hotkeys_with_modifiers.small_monster_UI.key = 0;
|
||||
@@ -656,24 +693,25 @@ function this.draw_hotkeys()
|
||||
config.current_config.global_settings.hotkeys_with_modifiers.small_monster_UI.shift = false;
|
||||
config.current_config.global_settings.hotkeys_with_modifiers.small_monster_UI.alt = false;
|
||||
this.small_monster_UI_waiting_for_key = false;
|
||||
config_changed = true;
|
||||
end
|
||||
elseif imgui.button(language.current_language.customization_menu.small_monster_UI) then
|
||||
local is_any_other_waiting = this.all_UI_waiting_for_key or
|
||||
this.large_monster_UI_waiting_for_key or
|
||||
this.large_monster_dynamic_UI_waiting_for_key or
|
||||
this.large_monster_static_UI_waiting_for_key or
|
||||
this.large_monster_highlighted_UI_waiting_for_key or
|
||||
this.time_UI_waiting_for_key or
|
||||
this.damage_meter_UI_waiting_for_key or
|
||||
this.endemic_life_UI_waiting_for_key;
|
||||
if not is_any_other_waiting then
|
||||
this.all_UI_waiting_for_key = false;
|
||||
this.small_monster_UI_waiting_for_key = true;
|
||||
end
|
||||
this.large_monster_UI_waiting_for_key = false;
|
||||
this.large_monster_dynamic_UI_waiting_for_key = false;
|
||||
this.large_monster_static_UI_waiting_for_key = false;
|
||||
this.large_monster_highlighted_UI_waiting_for_key = false;
|
||||
this.time_UI_waiting_for_key = false;
|
||||
this.damage_meter_UI_waiting_for_key = false;
|
||||
this.endemic_life_UI_waiting_for_key = false;
|
||||
this.buff_UI_waiting_for_key = false;
|
||||
this.stats_UI_waiting_for_key = false;
|
||||
end
|
||||
|
||||
imgui.same_line();
|
||||
|
||||
imgui.text(keyboard.get_hotkey_name(config.current_config.global_settings.hotkeys_with_modifiers.small_monster_UI));
|
||||
|
||||
if this.large_monster_UI_waiting_for_key then
|
||||
if imgui.button(language.current_language.customization_menu.press_any_key) then
|
||||
config.current_config.global_settings.hotkeys_with_modifiers.large_monster_UI.key = 0;
|
||||
@@ -681,24 +719,25 @@ function this.draw_hotkeys()
|
||||
config.current_config.global_settings.hotkeys_with_modifiers.large_monster_UI.shift = false;
|
||||
config.current_config.global_settings.hotkeys_with_modifiers.large_monster_UI.alt = false;
|
||||
this.large_monster_UI_waiting_for_key = false;
|
||||
config_changed = true;
|
||||
end
|
||||
elseif imgui.button(language.current_language.customization_menu.large_monster_UI) then
|
||||
local is_any_other_waiting = this.all_UI_waiting_for_key or
|
||||
this.small_monster_UI_waiting_for_key or
|
||||
this.large_monster_dynamic_UI_waiting_for_key or
|
||||
this.large_monster_static_UI_waiting_for_key or
|
||||
this.large_monster_highlighted_UI_waiting_for_key or
|
||||
this.time_UI_waiting_for_key or
|
||||
this.damage_meter_UI_waiting_for_key or
|
||||
this.endemic_life_UI_waiting_for_key;
|
||||
if not is_any_other_waiting then
|
||||
this.all_UI_waiting_for_key = false;
|
||||
this.small_monster_UI_waiting_for_key = false;
|
||||
this.large_monster_UI_waiting_for_key = true;
|
||||
end
|
||||
this.large_monster_dynamic_UI_waiting_for_key = false;
|
||||
this.large_monster_static_UI_waiting_for_key = false;
|
||||
this.large_monster_highlighted_UI_waiting_for_key = false;
|
||||
this.time_UI_waiting_for_key = false;
|
||||
this.damage_meter_UI_waiting_for_key = false;
|
||||
this.endemic_life_UI_waiting_for_key = false;
|
||||
this.buff_UI_waiting_for_key = false;
|
||||
this.stats_UI_waiting_for_key = false;
|
||||
end
|
||||
|
||||
imgui.same_line();
|
||||
|
||||
imgui.text(keyboard.get_hotkey_name(config.current_config.global_settings.hotkeys_with_modifiers.large_monster_UI));
|
||||
|
||||
if this.large_monster_dynamic_UI_waiting_for_key then
|
||||
if imgui.button(language.current_language.customization_menu.press_any_key) then
|
||||
config.current_config.global_settings.hotkeys_with_modifiers.large_monster_dynamic_UI.key = 0;
|
||||
@@ -706,25 +745,25 @@ function this.draw_hotkeys()
|
||||
config.current_config.global_settings.hotkeys_with_modifiers.large_monster_dynamic_UI.shift = false;
|
||||
config.current_config.global_settings.hotkeys_with_modifiers.large_monster_dynamic_UI.alt = false;
|
||||
this.large_monster_dynamic_UI_waiting_for_key = false;
|
||||
config_changed = true;
|
||||
end
|
||||
elseif imgui.button(language.current_language.customization_menu.large_monster_dynamic_UI) then
|
||||
local is_any_other_waiting = this.all_UI_waiting_for_key or
|
||||
this.small_monster_UI_waiting_for_key or
|
||||
this.large_monster_UI_waiting_for_key or
|
||||
this.large_monster_static_UI_waiting_for_key or
|
||||
this.large_monster_highlighted_UI_waiting_for_key or
|
||||
this.time_UI_waiting_for_key or
|
||||
this.damage_meter_UI_waiting_for_key or
|
||||
this.endemic_life_UI_waiting_for_key;
|
||||
if not is_any_other_waiting then
|
||||
this.all_UI_waiting_for_key = false;
|
||||
this.small_monster_UI_waiting_for_key = false;
|
||||
this.large_monster_UI_waiting_for_key = false;
|
||||
this.large_monster_dynamic_UI_waiting_for_key = true;
|
||||
end
|
||||
this.large_monster_static_UI_waiting_for_key = false;
|
||||
this.large_monster_highlighted_UI_waiting_for_key = false;
|
||||
this.time_UI_waiting_for_key = false;
|
||||
this.damage_meter_UI_waiting_for_key = false;
|
||||
this.endemic_life_UI_waiting_for_key = false;
|
||||
this.buff_UI_waiting_for_key = false;
|
||||
this.stats_UI_waiting_for_key = false;
|
||||
end
|
||||
|
||||
imgui.same_line();
|
||||
imgui.text(keyboard.get_hotkey_name(config.current_config.global_settings.hotkeys_with_modifiers.large_monster_dynamic_UI));
|
||||
|
||||
imgui.text(keyboard.get_hotkey_name(config.current_config.global_settings.hotkeys_with_modifiers
|
||||
.large_monster_dynamic_UI));
|
||||
if this.large_monster_static_UI_waiting_for_key then
|
||||
if imgui.button(language.current_language.customization_menu.press_any_key) then
|
||||
config.current_config.global_settings.hotkeys_with_modifiers.large_monster_static_UI.key = 0;
|
||||
@@ -732,25 +771,25 @@ function this.draw_hotkeys()
|
||||
config.current_config.global_settings.hotkeys_with_modifiers.large_monster_static_UI.shift = false;
|
||||
config.current_config.global_settings.hotkeys_with_modifiers.large_monster_static_UI.alt = false;
|
||||
this.large_monster_static_UI_waiting_for_key = false;
|
||||
config_changed = true;
|
||||
end
|
||||
elseif imgui.button(language.current_language.customization_menu.large_monster_static_UI) then
|
||||
local is_any_other_waiting = this.all_UI_waiting_for_key or
|
||||
this.small_monster_UI_waiting_for_key or
|
||||
this.large_monster_UI_waiting_for_key or
|
||||
this.large_monster_dynamic_UI_waiting_for_key or
|
||||
this.large_monster_highlighted_UI_waiting_for_key or
|
||||
this.time_UI_waiting_for_key or
|
||||
this.damage_meter_UI_waiting_for_key or
|
||||
this.endemic_life_UI_waiting_for_key;
|
||||
if not is_any_other_waiting then
|
||||
this.all_UI_waiting_for_key = false;
|
||||
this.small_monster_UI_waiting_for_key = false;
|
||||
this.large_monster_UI_waiting_for_key = false;
|
||||
this.large_monster_dynamic_UI_waiting_for_key = false;
|
||||
this.large_monster_static_UI_waiting_for_key = true;
|
||||
end
|
||||
this.large_monster_highlighted_UI_waiting_for_key = false;
|
||||
this.time_UI_waiting_for_key = false;
|
||||
this.damage_meter_UI_waiting_for_key = false;
|
||||
this.endemic_life_UI_waiting_for_key = false;
|
||||
this.buff_UI_waiting_for_key = false;
|
||||
this.stats_UI_waiting_for_key = false;
|
||||
end
|
||||
|
||||
imgui.same_line();
|
||||
imgui.text(keyboard.get_hotkey_name(config.current_config.global_settings.hotkeys_with_modifiers.large_monster_static_UI));
|
||||
|
||||
imgui.text(keyboard.get_hotkey_name(config.current_config.global_settings.hotkeys_with_modifiers
|
||||
.large_monster_static_UI));
|
||||
if this.large_monster_highlighted_UI_waiting_for_key then
|
||||
if imgui.button(language.current_language.customization_menu.press_any_key) then
|
||||
config.current_config.global_settings.hotkeys_with_modifiers.large_monster_highlighted_UI.key = 0;
|
||||
@@ -758,23 +797,25 @@ function this.draw_hotkeys()
|
||||
config.current_config.global_settings.hotkeys_with_modifiers.large_monster_highlighted_UI.shift = false;
|
||||
config.current_config.global_settings.hotkeys_with_modifiers.large_monster_highlighted_UI.alt = false;
|
||||
this.large_monster_highlighted_UI_waiting_for_key = false;
|
||||
config_changed = true;
|
||||
end
|
||||
elseif imgui.button(language.current_language.customization_menu.large_monster_highlighted_UI) then
|
||||
local is_any_other_waiting = this.all_UI_waiting_for_key or
|
||||
this.small_monster_UI_waiting_for_key or
|
||||
this.large_monster_UI_waiting_for_key or
|
||||
this.large_monster_dynamic_UI_waiting_for_key or
|
||||
this.large_monster_static_UI_waiting_for_key or
|
||||
this.time_UI_waiting_for_key or
|
||||
this.damage_meter_UI_waiting_for_key or
|
||||
this.endemic_life_UI_waiting_for_key;
|
||||
if not is_any_other_waiting then
|
||||
this.all_UI_waiting_for_key = false;
|
||||
this.small_monster_UI_waiting_for_key = false;
|
||||
this.large_monster_UI_waiting_for_key = false;
|
||||
this.large_monster_dynamic_UI_waiting_for_key = false;
|
||||
this.large_monster_static_UI_waiting_for_key = false;
|
||||
this.large_monster_highlighted_UI_waiting_for_key = true;
|
||||
this.time_UI_waiting_for_key = false;
|
||||
this.damage_meter_UI_waiting_for_key = false;
|
||||
this.endemic_life_UI_waiting_for_key = false;
|
||||
this.buff_UI_waiting_for_key = false;
|
||||
this.stats_UI_waiting_for_key = false;
|
||||
end
|
||||
end
|
||||
|
||||
imgui.same_line();
|
||||
imgui.text(keyboard.get_hotkey_name(config.current_config.global_settings.hotkeys_with_modifiers
|
||||
.large_monster_highlighted_UI));
|
||||
imgui.text(keyboard.get_hotkey_name(config.current_config.global_settings.hotkeys_with_modifiers.large_monster_highlighted_UI));
|
||||
|
||||
if this.time_UI_waiting_for_key then
|
||||
if imgui.button(language.current_language.customization_menu.press_any_key) then
|
||||
config.current_config.global_settings.hotkeys_with_modifiers.time_UI.key = 0;
|
||||
@@ -782,24 +823,25 @@ function this.draw_hotkeys()
|
||||
config.current_config.global_settings.hotkeys_with_modifiers.time_UI.shift = false;
|
||||
config.current_config.global_settings.hotkeys_with_modifiers.time_UI.alt = false;
|
||||
this.time_UI_waiting_for_key = false;
|
||||
config_changed = true;
|
||||
end
|
||||
elseif imgui.button(language.current_language.customization_menu.time_UI) then
|
||||
local is_any_other_waiting = this.all_UI_waiting_for_key or
|
||||
this.small_monster_UI_waiting_for_key or
|
||||
this.large_monster_UI_waiting_for_key or
|
||||
this.large_monster_dynamic_UI_waiting_for_key or
|
||||
this.large_monster_static_UI_waiting_for_key or
|
||||
this.large_monster_highlighted_UI_waiting_for_key or
|
||||
this.damage_meter_UI_waiting_for_key or
|
||||
this.endemic_life_UI_waiting_for_key;
|
||||
if not is_any_other_waiting then
|
||||
this.all_UI_waiting_for_key = false;
|
||||
this.small_monster_UI_waiting_for_key = false;
|
||||
this.large_monster_UI_waiting_for_key = false;
|
||||
this.large_monster_dynamic_UI_waiting_for_key = false;
|
||||
this.large_monster_static_UI_waiting_for_key = false;
|
||||
this.large_monster_highlighted_UI_waiting_for_key = false;
|
||||
this.time_UI_waiting_for_key = true;
|
||||
end
|
||||
this.damage_meter_UI_waiting_for_key = false;
|
||||
this.endemic_life_UI_waiting_for_key = false;
|
||||
this.buff_UI_waiting_for_key = false;
|
||||
this.stats_UI_waiting_for_key = false;
|
||||
end
|
||||
|
||||
imgui.same_line();
|
||||
|
||||
imgui.text(keyboard.get_hotkey_name(config.current_config.global_settings.hotkeys_with_modifiers.time_UI));
|
||||
|
||||
if this.damage_meter_UI_waiting_for_key then
|
||||
if imgui.button(language.current_language.customization_menu.press_any_key) then
|
||||
config.current_config.global_settings.hotkeys_with_modifiers.damage_meter_UI.key = 0;
|
||||
@@ -807,24 +849,25 @@ function this.draw_hotkeys()
|
||||
config.current_config.global_settings.hotkeys_with_modifiers.damage_meter_UI.shift = false;
|
||||
config.current_config.global_settings.hotkeys_with_modifiers.damage_meter_UI.alt = false;
|
||||
this.damage_meter_UI_waiting_for_key = false;
|
||||
config_changed = true;
|
||||
end
|
||||
elseif imgui.button(language.current_language.customization_menu.damage_meter_UI) then
|
||||
local is_any_other_waiting = this.all_UI_waiting_for_key or
|
||||
this.small_monster_UI_waiting_for_key or
|
||||
this.large_monster_UI_waiting_for_key or
|
||||
this.large_monster_dynamic_UI_waiting_for_key or
|
||||
this.large_monster_static_UI_waiting_for_key or
|
||||
this.large_monster_highlighted_UI_waiting_for_key or
|
||||
this.time_UI_waiting_for_key or
|
||||
this.endemic_life_UI_waiting_for_key;
|
||||
if not is_any_other_waiting then
|
||||
this.all_UI_waiting_for_key = false;
|
||||
this.small_monster_UI_waiting_for_key = false;
|
||||
this.large_monster_UI_waiting_for_key = false;
|
||||
this.large_monster_dynamic_UI_waiting_for_key = false;
|
||||
this.large_monster_static_UI_waiting_for_key = false;
|
||||
this.large_monster_highlighted_UI_waiting_for_key = false;
|
||||
this.time_UI_waiting_for_key = false;
|
||||
this.damage_meter_UI_waiting_for_key = true;
|
||||
end
|
||||
this.endemic_life_UI_waiting_for_key = false;
|
||||
this.buff_UI_waiting_for_key = false;
|
||||
this.stats_UI_waiting_for_key = false;
|
||||
end
|
||||
|
||||
imgui.same_line();
|
||||
|
||||
imgui.text(keyboard.get_hotkey_name(config.current_config.global_settings.hotkeys_with_modifiers.damage_meter_UI));
|
||||
|
||||
if this.endemic_life_UI_waiting_for_key then
|
||||
if imgui.button(language.current_language.customization_menu.press_any_key) then
|
||||
config.current_config.global_settings.hotkeys_with_modifiers.endemic_life_UI.key = 0;
|
||||
@@ -832,32 +875,88 @@ function this.draw_hotkeys()
|
||||
config.current_config.global_settings.hotkeys_with_modifiers.endemic_life_UI.shift = false;
|
||||
config.current_config.global_settings.hotkeys_with_modifiers.endemic_life_UI.alt = false;
|
||||
this.endemic_life_UI_waiting_for_key = false;
|
||||
config_changed = true;
|
||||
end
|
||||
elseif imgui.button(language.current_language.customization_menu.endemic_life_UI) then
|
||||
local is_any_other_waiting = this.all_UI_waiting_for_key or
|
||||
this.small_monster_UI_waiting_for_key or
|
||||
this.large_monster_UI_waiting_for_key or
|
||||
this.large_monster_dynamic_UI_waiting_for_key or
|
||||
this.large_monster_static_UI_waiting_for_key or
|
||||
this.large_monster_highlighted_UI_waiting_for_key or
|
||||
this.time_UI_waiting_for_key or
|
||||
this.endemic_life_UI_waiting_for_key;
|
||||
if not is_any_other_waiting then
|
||||
this.all_UI_waiting_for_key = false;
|
||||
this.small_monster_UI_waiting_for_key = false;
|
||||
this.large_monster_UI_waiting_for_key = false;
|
||||
this.large_monster_dynamic_UI_waiting_for_key = false;
|
||||
this.large_monster_static_UI_waiting_for_key = false;
|
||||
this.large_monster_highlighted_UI_waiting_for_key = false;
|
||||
this.time_UI_waiting_for_key = false;
|
||||
this.damage_meter_UI_waiting_for_key = false;
|
||||
this.endemic_life_UI_waiting_for_key = true;
|
||||
end
|
||||
this.buff_UI_waiting_for_key = false;
|
||||
this.stats_UI_waiting_for_key = false;
|
||||
end
|
||||
|
||||
imgui.same_line();
|
||||
|
||||
imgui.text(keyboard.get_hotkey_name(config.current_config.global_settings.hotkeys_with_modifiers.endemic_life_UI));
|
||||
|
||||
if this.buff_UI_waiting_for_key then
|
||||
if imgui.button(language.current_language.customization_menu.press_any_key) then
|
||||
config.current_config.global_settings.hotkeys_with_modifiers.buff_UI.key = 0;
|
||||
config.current_config.global_settings.hotkeys_with_modifiers.buff_UI.ctrl = false;
|
||||
config.current_config.global_settings.hotkeys_with_modifiers.buff_UI.shift = false;
|
||||
config.current_config.global_settings.hotkeys_with_modifiers.buff_UI.alt = false;
|
||||
this.buff_UI_waiting_for_key = false;
|
||||
config_changed = true;
|
||||
end
|
||||
elseif imgui.button(language.current_language.customization_menu.buff_UI) then
|
||||
this.all_UI_waiting_for_key = false;
|
||||
this.small_monster_UI_waiting_for_key = false;
|
||||
this.large_monster_UI_waiting_for_key = false;
|
||||
this.large_monster_dynamic_UI_waiting_for_key = false;
|
||||
this.large_monster_static_UI_waiting_for_key = false;
|
||||
this.large_monster_highlighted_UI_waiting_for_key = false;
|
||||
this.time_UI_waiting_for_key = false;
|
||||
this.damage_meter_UI_waiting_for_key = false;
|
||||
this.endemic_life_UI_waiting_for_key = false;
|
||||
this.buff_UI_waiting_for_key = true;
|
||||
this.stats_UI_waiting_for_key = false;
|
||||
end
|
||||
|
||||
imgui.same_line();
|
||||
imgui.text(keyboard.get_hotkey_name(config.current_config.global_settings.hotkeys_with_modifiers.buff_UI));
|
||||
|
||||
if this.stats_UI_waiting_for_key then
|
||||
if imgui.button(language.current_language.customization_menu.press_any_key) then
|
||||
config.current_config.global_settings.hotkeys_with_modifiers.stats_UI.key = 0;
|
||||
config.current_config.global_settings.hotkeys_with_modifiers.stats_UI.ctrl = false;
|
||||
config.current_config.global_settings.hotkeys_with_modifiers.stats_UI.shift = false;
|
||||
config.current_config.global_settings.hotkeys_with_modifiers.stats_UI.alt = false;
|
||||
this.stats_UI_waiting_for_key = false;
|
||||
config_changed = true;
|
||||
end
|
||||
elseif imgui.button(language.current_language.customization_menu.stats_UI) then
|
||||
this.all_UI_waiting_for_key = false;
|
||||
this.small_monster_UI_waiting_for_key = false;
|
||||
this.large_monster_UI_waiting_for_key = false;
|
||||
this.large_monster_dynamic_UI_waiting_for_key = false;
|
||||
this.large_monster_static_UI_waiting_for_key = false;
|
||||
this.large_monster_highlighted_UI_waiting_for_key = false;
|
||||
this.time_UI_waiting_for_key = false;
|
||||
this.damage_meter_UI_waiting_for_key = false;
|
||||
this.endemic_life_UI_waiting_for_key = false;
|
||||
this.buff_UI_waiting_for_key = false;
|
||||
this.stats_UI_waiting_for_key = true;
|
||||
end
|
||||
|
||||
imgui.same_line();
|
||||
imgui.text(keyboard.get_hotkey_name(config.current_config.global_settings.hotkeys_with_modifiers.stats_UI));
|
||||
|
||||
imgui.tree_pop();
|
||||
end
|
||||
|
||||
return config_changed;
|
||||
end
|
||||
|
||||
function this.draw_global_settings(apply_font_requested, language_changed)
|
||||
local changed = false;
|
||||
local config_changed = false;
|
||||
local modifiers_changed = false;
|
||||
local timer_delays_changed = false;
|
||||
|
||||
local index = 1;
|
||||
|
||||
@@ -997,6 +1096,67 @@ function this.draw_global_settings(apply_font_requested, language_changed)
|
||||
|
||||
config_changed = config_changed or changed;
|
||||
|
||||
if imgui.tree_node(language.current_language.customization_menu.timer_delays) then
|
||||
|
||||
changed, cached_config.performance.timer_delays.update_singletons_delay = imgui.drag_float(
|
||||
language.current_language.customization_menu.update_singletons_delay,
|
||||
cached_config.performance.timer_delays.update_singletons_delay, 0.001, 0.001, screen.width, "%.3f");
|
||||
|
||||
config_changed = config_changed or changed;
|
||||
timer_delays_changed = timer_delays_changed or changed;
|
||||
|
||||
changed, cached_config.performance.timer_delays.update_window_size_delay = imgui.drag_float(
|
||||
language.current_language.customization_menu.update_window_size_delay,
|
||||
cached_config.performance.timer_delays.update_window_size_delay, 0.001, 0.001, screen.width, "%.3f");
|
||||
|
||||
config_changed = config_changed or changed;
|
||||
timer_delays_changed = timer_delays_changed or changed;
|
||||
|
||||
changed, cached_config.performance.timer_delays.update_quest_time_delay = imgui.drag_float(
|
||||
language.current_language.customization_menu.update_quest_time_delay,
|
||||
cached_config.performance.timer_delays.update_quest_time_delay, 0.001, 0.001, screen.width, "%.3f");
|
||||
|
||||
config_changed = config_changed or changed;
|
||||
timer_delays_changed = timer_delays_changed or changed;
|
||||
|
||||
changed, cached_config.performance.timer_delays.update_is_online_delay = imgui.drag_float(
|
||||
language.current_language.customization_menu.update_is_online_delay,
|
||||
cached_config.performance.timer_delays.update_is_online_delay, 0.001, 0.001, screen.width, "%.3f");
|
||||
|
||||
config_changed = config_changed or changed;
|
||||
timer_delays_changed = timer_delays_changed or changed;
|
||||
|
||||
changed, cached_config.performance.timer_delays.update_players_delay = imgui.drag_float(
|
||||
language.current_language.customization_menu.update_players_delay,
|
||||
cached_config.performance.timer_delays.update_players_delay, 0.001, 0.001, screen.width, "%.3f");
|
||||
|
||||
config_changed = config_changed or changed;
|
||||
timer_delays_changed = timer_delays_changed or changed;
|
||||
|
||||
changed, cached_config.performance.timer_delays.update_myself_position_delay = imgui.drag_float(
|
||||
language.current_language.customization_menu.update_myself_position_delay,
|
||||
cached_config.performance.timer_delays.update_myself_position_delay, 0.001, 0.001, screen.width, "%.3f");
|
||||
|
||||
config_changed = config_changed or changed;
|
||||
timer_delays_changed = timer_delays_changed or changed;
|
||||
|
||||
changed, cached_config.performance.timer_delays.update_player_info_delay = imgui.drag_float(
|
||||
language.current_language.customization_menu.update_player_info_delay,
|
||||
cached_config.performance.timer_delays.update_player_info_delay, 0.001, 0.001, screen.width, "%.3f");
|
||||
|
||||
config_changed = config_changed or changed;
|
||||
timer_delays_changed = timer_delays_changed or changed;
|
||||
|
||||
changed, cached_config.performance.timer_delays.update_buffs_delay = imgui.drag_float(
|
||||
language.current_language.customization_menu.update_buffs_delay,
|
||||
cached_config.performance.timer_delays.update_buffs_delay, 0.001, 0.001, screen.width, "%.3f");
|
||||
|
||||
config_changed = config_changed or changed;
|
||||
timer_delays_changed = timer_delays_changed or changed;
|
||||
|
||||
imgui.tree_pop();
|
||||
end
|
||||
|
||||
imgui.tree_pop();
|
||||
end
|
||||
|
||||
@@ -1136,7 +1296,7 @@ function this.draw_global_settings(apply_font_requested, language_changed)
|
||||
imgui.tree_pop();
|
||||
end
|
||||
|
||||
return config_changed, modifiers_changed, apply_font_requested, language_changed;
|
||||
return config_changed, modifiers_changed, timer_delays_changed, apply_font_requested, language_changed;
|
||||
end
|
||||
|
||||
function this.draw_small_monster_UI()
|
||||
@@ -1287,9 +1447,7 @@ function this.draw_small_monster_UI()
|
||||
imgui.tree_pop();
|
||||
end
|
||||
|
||||
changed = label_customization.draw(language.current_language.customization_menu.monster_name_label,
|
||||
cached_config.monster_name_label);
|
||||
|
||||
changed = label_customization.draw(language.current_language.customization_menu.monster_name_label, cached_config.monster_name_label);
|
||||
config_changed = config_changed or changed;
|
||||
|
||||
changed = health_customization.draw(cached_config.health);
|
||||
@@ -1316,8 +1474,7 @@ function this.draw_large_monster_dynamic_UI()
|
||||
if imgui.tree_node(language.current_language.customization_menu.dynamically_positioned) then
|
||||
local cached_config = config.current_config.large_monster_UI.dynamic;
|
||||
|
||||
changed, cached_config.enabled = imgui.checkbox(
|
||||
language.current_language.customization_menu.enabled, cached_config.enabled);
|
||||
changed, cached_config.enabled = imgui.checkbox(language.current_language.customization_menu.enabled, cached_config.enabled);
|
||||
|
||||
config_changed = config_changed or changed;
|
||||
|
||||
@@ -2240,6 +2397,17 @@ function this.draw_buff_UI()
|
||||
cached_config.settings.orientation = this.orientation_types[index];
|
||||
end
|
||||
|
||||
changed, index = imgui.combo(
|
||||
language.current_language.customization_menu.infinite_buffs_location,
|
||||
utils.table.find_index(this.buff_UI_infinite_buffs_location_types, cached_config.settings.infinite_buffs_location),
|
||||
this.displayed_buff_UI_infinite_buffs_location_types);
|
||||
|
||||
config_changed = config_changed or changed;
|
||||
|
||||
if changed then
|
||||
cached_config.settings.infinite_buffs_location = this.buff_UI_infinite_buffs_location_types[index];
|
||||
end
|
||||
|
||||
imgui.tree_pop();
|
||||
end
|
||||
|
||||
@@ -2302,15 +2470,328 @@ function this.draw_buff_UI()
|
||||
imgui.tree_pop();
|
||||
end
|
||||
|
||||
changed = label_customization.draw(language.current_language.customization_menu.name_label, cached_config.name_label);
|
||||
if imgui.tree_node(language.current_language.customization_menu.filter) then
|
||||
|
||||
if imgui.tree_node(language.current_language.customization_menu.abnormal_statuses) then
|
||||
|
||||
for _, key in ipairs(abnormal_statuses.keys) do
|
||||
changed, cached_config.filter.abnormal_statuses[key] = imgui.checkbox(
|
||||
abnormal_statuses.get_abnormal_status_name(key), cached_config.filter.abnormal_statuses[key]);
|
||||
|
||||
config_changed = config_changed or changed;
|
||||
end
|
||||
|
||||
imgui.tree_pop();
|
||||
end
|
||||
|
||||
if imgui.tree_node(language.current_language.customization_menu.item_buffs) then
|
||||
|
||||
local cached_language = language.current_language.item_buffs;
|
||||
|
||||
for _, key in ipairs(item_buffs.keys) do
|
||||
changed, cached_config.filter.item_buffs[key] = imgui.checkbox(cached_language[key], cached_config.filter.item_buffs[key]);
|
||||
config_changed = config_changed or changed;
|
||||
end
|
||||
|
||||
imgui.tree_pop();
|
||||
end
|
||||
|
||||
if imgui.tree_node(language.current_language.customization_menu.endemic_life_buffs) then
|
||||
|
||||
local cached_language = language.current_language.endemic_life;
|
||||
|
||||
for _, key in ipairs(endemic_life_buffs.keys) do
|
||||
changed, cached_config.filter.endemic_life_buffs[key] = imgui.checkbox(cached_language[key], cached_config.filter.endemic_life_buffs[key]);
|
||||
config_changed = config_changed or changed;
|
||||
end
|
||||
|
||||
imgui.tree_pop();
|
||||
end
|
||||
|
||||
if imgui.tree_node(language.current_language.customization_menu.melody_effects) then
|
||||
|
||||
local cached_language = language.current_language.melody_effects;
|
||||
|
||||
for lua_index, key in ipairs(melody_effects.keys) do
|
||||
-- Health Recovery (S), Health Recovery (L), Health Recovery (S) + (Antidote), Sonic Wave
|
||||
if (lua_index >= 16 and lua_index <= 18) or lua_index == 24 then
|
||||
goto continue;
|
||||
end
|
||||
|
||||
changed, cached_config.filter.melody_effects[key] = imgui.checkbox(cached_language[key], cached_config.filter.melody_effects[key]);
|
||||
config_changed = config_changed or changed;
|
||||
|
||||
changed = label_customization.draw(language.current_language.customization_menu.timer_label, cached_config.timer_label);
|
||||
::continue::
|
||||
end
|
||||
|
||||
imgui.tree_pop();
|
||||
end
|
||||
|
||||
if imgui.tree_node(language.current_language.customization_menu.dango_skills) then
|
||||
|
||||
local cached_language = language.current_language.dango_skills;
|
||||
|
||||
for _, key in ipairs(dango_skills.keys) do
|
||||
changed, cached_config.filter.dango_skills[key] = imgui.checkbox(cached_language[key], cached_config.filter.dango_skills[key]);
|
||||
config_changed = config_changed or changed;
|
||||
end
|
||||
|
||||
imgui.tree_pop();
|
||||
end
|
||||
|
||||
if imgui.tree_node(language.current_language.customization_menu.rampage_skills) then
|
||||
|
||||
local cached_language = language.current_language.rampage_skills;
|
||||
|
||||
for _, key in ipairs(rampage_skills.keys) do
|
||||
changed, cached_config.filter.rampage_skills[key] = imgui.checkbox(cached_language[key], cached_config.filter.rampage_skills[key]);
|
||||
|
||||
config_changed = config_changed or changed;
|
||||
end
|
||||
|
||||
imgui.tree_pop();
|
||||
end
|
||||
|
||||
if imgui.tree_node(language.current_language.customization_menu.skills) then
|
||||
|
||||
local cached_language = language.current_language.skills;
|
||||
|
||||
for _, key in ipairs(skills.keys) do
|
||||
changed, cached_config.filter.skills[key] = imgui.checkbox(cached_language[key], cached_config.filter.skills[key]);
|
||||
config_changed = config_changed or changed;
|
||||
end
|
||||
|
||||
imgui.tree_pop();
|
||||
end
|
||||
|
||||
if imgui.tree_node(language.current_language.customization_menu.weapon_skills) then
|
||||
|
||||
for _, weapon in ipairs(weapon_skills.keys) do
|
||||
if imgui.tree_node(language.current_language.weapons[weapon.key]) then
|
||||
|
||||
local cached_weapon_filter = cached_config.filter.weapon_skills[weapon.key];
|
||||
local cached_language = language.current_language.weapon_skills[weapon.key];
|
||||
|
||||
for _, key in ipairs(weapon.skill_keys) do
|
||||
local name = cached_language[key];
|
||||
|
||||
if key == "spirit_gauge_autofill" then
|
||||
local soaring_kick_name = tostring(cached_language.soaring_kick);
|
||||
local iai_slash_name = tostring(cached_language.iai_slash);
|
||||
name = string.format("%s (%s, %s)", name, soaring_kick_name, iai_slash_name);
|
||||
end
|
||||
|
||||
changed, cached_weapon_filter[key] = imgui.checkbox(
|
||||
name, cached_weapon_filter[key]);
|
||||
|
||||
config_changed = config_changed or changed;
|
||||
end
|
||||
|
||||
imgui.tree_pop();
|
||||
end
|
||||
end
|
||||
|
||||
imgui.tree_pop();
|
||||
end
|
||||
|
||||
if imgui.tree_node(language.current_language.customization_menu.otomo_moves) then
|
||||
|
||||
local cached_language = language.current_language.otomo_moves;
|
||||
|
||||
for _, key in ipairs(otomo_moves.keys) do
|
||||
changed, cached_config.filter.otomo_moves[key] = imgui.checkbox(cached_language[key], cached_config.filter.otomo_moves[key]);
|
||||
config_changed = config_changed or changed;
|
||||
end
|
||||
|
||||
imgui.tree_pop();
|
||||
end
|
||||
|
||||
if imgui.tree_node(language.current_language.customization_menu.misc_buffs) then
|
||||
|
||||
local cached_language = language.current_language.misc_buffs;
|
||||
|
||||
for _, key in ipairs(misc_buffs.keys) do
|
||||
local name = cached_language[key];
|
||||
|
||||
if key == "attack_up" then
|
||||
|
||||
local might_seed_name = tostring(language.current_language.item_buffs.might_seed);
|
||||
local dango_bulker_name = tostring(language.current_language.dango_skills.dango_bulker);
|
||||
local chameleos_soul_name = tostring(language.current_language.rampage_skills.chameleos_soul);
|
||||
name = string.format("%s (%s, %s, %s)", name, might_seed_name, dango_bulker_name, chameleos_soul_name);
|
||||
|
||||
elseif key == "defense_up" then
|
||||
|
||||
local adamant_seed_name = tostring(language.current_language.item_buffs.adamant_seed);
|
||||
local chameleos_soul_name = tostring(language.current_language.rampage_skills.chameleos_soul);
|
||||
|
||||
name = string.format("%s (%s, %s)", name, adamant_seed_name, chameleos_soul_name);
|
||||
elseif key == "stamina_use_down" then
|
||||
|
||||
local dash_juice_name = tostring(language.current_language.item_buffs.dash_juice);
|
||||
local peepersects_name = tostring(language.current_language.endemic_life.peepersects);
|
||||
local chameleos_soul_name = tostring(language.current_language.rampage_skills.chameleos_soul);
|
||||
|
||||
name = string.format("%s (%s, %s, %s)", name, dash_juice_name, peepersects_name, chameleos_soul_name);
|
||||
elseif key == "natural_healing_up" then
|
||||
|
||||
local immunizer_name = tostring(language.current_language.item_buffs.immunizer);
|
||||
local vase_of_vitality_name = tostring(language.current_language.otomo_moves.vase_of_vitality);
|
||||
|
||||
name = string.format("%s (%s, %s)", name, immunizer_name, vase_of_vitality_name);
|
||||
end
|
||||
|
||||
changed, cached_config.filter.misc_buffs[key] = imgui.checkbox(name, cached_config.filter.misc_buffs[key]);
|
||||
|
||||
config_changed = config_changed or changed;
|
||||
end
|
||||
|
||||
imgui.tree_pop();
|
||||
end
|
||||
|
||||
imgui.tree_pop();
|
||||
end
|
||||
|
||||
if imgui.tree_node(language.current_language.customization_menu.abnormal_statuses) then
|
||||
|
||||
changed = label_customization.draw(language.current_language.customization_menu.name_label, cached_config.abnormal_statuses.name_label);
|
||||
config_changed = config_changed or changed;
|
||||
|
||||
changed = bar_customization.draw(language.current_language.customization_menu.bar, cached_config.bar);
|
||||
changed = label_customization.draw(language.current_language.customization_menu.timer_label, cached_config.abnormal_statuses.timer_label);
|
||||
config_changed = config_changed or changed;
|
||||
|
||||
changed = bar_customization.draw(language.current_language.customization_menu.bar, cached_config.abnormal_statuses.bar);
|
||||
config_changed = config_changed or changed;
|
||||
|
||||
imgui.tree_pop();
|
||||
end
|
||||
|
||||
if imgui.tree_node(language.current_language.customization_menu.item_buffs) then
|
||||
|
||||
changed = label_customization.draw(language.current_language.customization_menu.name_label, cached_config.item_buffs.name_label);
|
||||
config_changed = config_changed or changed;
|
||||
|
||||
changed = label_customization.draw(language.current_language.customization_menu.timer_label, cached_config.item_buffs.timer_label);
|
||||
config_changed = config_changed or changed;
|
||||
|
||||
changed = bar_customization.draw(language.current_language.customization_menu.bar, cached_config.item_buffs.bar);
|
||||
config_changed = config_changed or changed;
|
||||
|
||||
imgui.tree_pop();
|
||||
end
|
||||
|
||||
if imgui.tree_node(language.current_language.customization_menu.endemic_life_buffs) then
|
||||
|
||||
changed = label_customization.draw(language.current_language.customization_menu.name_label, cached_config.endemic_life_buffs.name_label);
|
||||
config_changed = config_changed or changed;
|
||||
|
||||
changed = label_customization.draw(language.current_language.customization_menu.timer_label, cached_config.endemic_life_buffs.timer_label);
|
||||
config_changed = config_changed or changed;
|
||||
|
||||
changed = bar_customization.draw(language.current_language.customization_menu.bar, cached_config.endemic_life_buffs.bar);
|
||||
config_changed = config_changed or changed;
|
||||
|
||||
imgui.tree_pop();
|
||||
end
|
||||
|
||||
if imgui.tree_node(language.current_language.customization_menu.melody_effects) then
|
||||
|
||||
changed = label_customization.draw(language.current_language.customization_menu.name_label, cached_config.melody_effects.name_label);
|
||||
config_changed = config_changed or changed;
|
||||
|
||||
changed = label_customization.draw(language.current_language.customization_menu.timer_label, cached_config.melody_effects.timer_label);
|
||||
config_changed = config_changed or changed;
|
||||
|
||||
changed = bar_customization.draw(language.current_language.customization_menu.bar, cached_config.melody_effects.bar);
|
||||
config_changed = config_changed or changed;
|
||||
|
||||
imgui.tree_pop();
|
||||
end
|
||||
|
||||
if imgui.tree_node(language.current_language.customization_menu.dango_skills) then
|
||||
|
||||
changed = label_customization.draw(language.current_language.customization_menu.name_label, cached_config.dango_skills.name_label);
|
||||
config_changed = config_changed or changed;
|
||||
|
||||
changed = label_customization.draw(language.current_language.customization_menu.timer_label, cached_config.dango_skills.timer_label);
|
||||
config_changed = config_changed or changed;
|
||||
|
||||
changed = bar_customization.draw(language.current_language.customization_menu.bar, cached_config.dango_skills.bar);
|
||||
config_changed = config_changed or changed;
|
||||
|
||||
imgui.tree_pop();
|
||||
end
|
||||
|
||||
if imgui.tree_node(language.current_language.customization_menu.rampage_skills) then
|
||||
|
||||
changed = label_customization.draw(language.current_language.customization_menu.name_label, cached_config.rampage_skills.name_label);
|
||||
config_changed = config_changed or changed;
|
||||
|
||||
changed = label_customization.draw(language.current_language.customization_menu.timer_label, cached_config.rampage_skills.timer_label);
|
||||
config_changed = config_changed or changed;
|
||||
|
||||
changed = bar_customization.draw(language.current_language.customization_menu.bar, cached_config.rampage_skills.bar);
|
||||
config_changed = config_changed or changed;
|
||||
|
||||
imgui.tree_pop();
|
||||
end
|
||||
|
||||
if imgui.tree_node(language.current_language.customization_menu.skills) then
|
||||
|
||||
changed = label_customization.draw(language.current_language.customization_menu.name_label, cached_config.skills.name_label);
|
||||
config_changed = config_changed or changed;
|
||||
|
||||
changed = label_customization.draw(language.current_language.customization_menu.timer_label, cached_config.skills.timer_label);
|
||||
config_changed = config_changed or changed;
|
||||
|
||||
changed = bar_customization.draw(language.current_language.customization_menu.bar, cached_config.skills.bar);
|
||||
config_changed = config_changed or changed;
|
||||
|
||||
imgui.tree_pop();
|
||||
end
|
||||
|
||||
if imgui.tree_node(language.current_language.customization_menu.weapon_skills) then
|
||||
|
||||
changed = label_customization.draw(language.current_language.customization_menu.name_label, cached_config.weapon_skills.name_label);
|
||||
config_changed = config_changed or changed;
|
||||
|
||||
changed = label_customization.draw(language.current_language.customization_menu.timer_label, cached_config.weapon_skills.timer_label);
|
||||
config_changed = config_changed or changed;
|
||||
|
||||
changed = bar_customization.draw(language.current_language.customization_menu.bar, cached_config.weapon_skills.bar);
|
||||
config_changed = config_changed or changed;
|
||||
|
||||
imgui.tree_pop();
|
||||
end
|
||||
|
||||
if imgui.tree_node(language.current_language.customization_menu.otomo_moves) then
|
||||
|
||||
changed = label_customization.draw(language.current_language.customization_menu.name_label, cached_config.otomo_moves.name_label);
|
||||
config_changed = config_changed or changed;
|
||||
|
||||
changed = label_customization.draw(language.current_language.customization_menu.timer_label, cached_config.otomo_moves.timer_label);
|
||||
config_changed = config_changed or changed;
|
||||
|
||||
changed = bar_customization.draw(language.current_language.customization_menu.bar, cached_config.otomo_moves.bar);
|
||||
config_changed = config_changed or changed;
|
||||
|
||||
imgui.tree_pop();
|
||||
end
|
||||
|
||||
if imgui.tree_node(language.current_language.customization_menu.misc_buffs) then
|
||||
|
||||
changed = label_customization.draw(language.current_language.customization_menu.name_label, cached_config.misc_buffs.name_label);
|
||||
config_changed = config_changed or changed;
|
||||
|
||||
changed = label_customization.draw(language.current_language.customization_menu.timer_label, cached_config.misc_buffs.timer_label);
|
||||
config_changed = config_changed or changed;
|
||||
|
||||
changed = bar_customization.draw(language.current_language.customization_menu.bar, cached_config.misc_buffs.bar);
|
||||
config_changed = config_changed or changed;
|
||||
|
||||
imgui.tree_pop();
|
||||
end
|
||||
|
||||
imgui.tree_pop();
|
||||
end
|
||||
|
||||
@@ -2355,6 +2836,12 @@ function this.draw_stats_UI()
|
||||
imgui.tree_pop();
|
||||
end
|
||||
|
||||
changed = label_customization.draw(language.current_language.customization_menu.health_label, cached_config.health_label);
|
||||
config_changed = config_changed or changed;
|
||||
|
||||
changed = label_customization.draw(language.current_language.customization_menu.stamina_label, cached_config.stamina_label);
|
||||
config_changed = config_changed or changed;
|
||||
|
||||
changed = label_customization.draw(language.current_language.customization_menu.attack_label, cached_config.attack_label);
|
||||
config_changed = config_changed or changed;
|
||||
|
||||
@@ -2379,9 +2866,6 @@ function this.draw_stats_UI()
|
||||
changed = label_customization.draw(language.current_language.customization_menu.dragon_resistance_label, cached_config.dragon_resistance_label);
|
||||
config_changed = config_changed or changed;
|
||||
|
||||
changed = label_customization.draw(language.current_language.customization_menu.stamina_label, cached_config.stamina_label);
|
||||
config_changed = config_changed or changed;
|
||||
|
||||
changed = label_customization.draw(language.current_language.customization_menu.element_label, cached_config.element_label);
|
||||
config_changed = config_changed or changed;
|
||||
|
||||
@@ -2464,11 +2948,22 @@ function this.init_dependencies()
|
||||
keyboard = require("MHR_Overlay.Game_Handler.keyboard");
|
||||
non_players = require("MHR_Overlay.Damage_Meter.non_players");
|
||||
quest_status = require("MHR_Overlay.Game_Handler.quest_status");
|
||||
buffs = require("MHR_Overlay.Buffs.buffs");
|
||||
error_handler = require("MHR_Overlay.Misc.error_handler");
|
||||
time = require("MHR_Overlay.Game_Handler.time");
|
||||
stats_UI = require("MHR_Overlay.UI.Modules.stats_UI");
|
||||
|
||||
buffs = require("MHR_Overlay.Buffs.buffs");
|
||||
item_buffs = require("MHR_Overlay.Buffs.item_buffs");
|
||||
melody_effects = require("MHR_Overlay.Buffs.melody_effects");
|
||||
endemic_life_buffs = require("MHR_Overlay.Buffs.endemic_life_buffs");
|
||||
skills = require("MHR_Overlay.Buffs.skills");
|
||||
dango_skills = require("MHR_Overlay.Buffs.dango_skills");
|
||||
abnormal_statuses = require("MHR_Overlay.Buffs.abnormal_statuses");
|
||||
otomo_moves = require("MHR_Overlay.Buffs.otomo_moves");
|
||||
weapon_skills = require("MHR_Overlay.Buffs.weapon_skills");
|
||||
rampage_skills = require("MHR_Overlay.Buffs.rampage_skills");
|
||||
misc_buffs = require("MHR_Overlay.Buffs.misc_buffs");
|
||||
|
||||
label_customization = require("MHR_Overlay.UI.Customizations.label_customization");
|
||||
bar_customization = require("MHR_Overlay.UI.Customizations.bar_customization");
|
||||
large_monster_UI_customization = require("MHR_Overlay.UI.Customizations.large_monster_UI_customization");
|
||||
|
||||
@@ -3,6 +3,7 @@
|
||||
"HP": "HP:",
|
||||
"buildup": "Buildup:",
|
||||
"gold": "Gold",
|
||||
"lv": "",
|
||||
"mini": "Mini",
|
||||
"otomo": "Buddy",
|
||||
"part_anomaly_core": "Anomaly Core",
|
||||
@@ -21,7 +22,7 @@
|
||||
"blastblight": "Blastblight",
|
||||
"bleeding": "Bleeding",
|
||||
"bloodblight": "Bloodblight",
|
||||
"bubbleblight": "Bubbleblight",
|
||||
"deadly_poison": "Deadly Poison",
|
||||
"defense_down": "Defense Down",
|
||||
"dragonblight": "Dragonblight",
|
||||
"dung_bomb": "Dung Bomb",
|
||||
@@ -29,6 +30,7 @@
|
||||
"exhaust": "Exhaust",
|
||||
"fall_otomo_trap": "Fall Buddy Trap",
|
||||
"fall_trap": "Fall Trap",
|
||||
"falling_asleep": "Falling Asleep",
|
||||
"fireblight": "Fireblight",
|
||||
"flash": "Flash",
|
||||
"frenzy": "Frenzy",
|
||||
@@ -38,6 +40,8 @@
|
||||
"hellfireblight": "Hellfireblight",
|
||||
"iceblight": "Iceblight",
|
||||
"leeched": "Leeched",
|
||||
"major_bubbleblight": "Major Bubbleblight",
|
||||
"minor_bubbleblight": "Minor Bubbleblight",
|
||||
"muck": "Muck",
|
||||
"paralysis": "Paralysis",
|
||||
"poison": "Poison",
|
||||
@@ -57,22 +61,10 @@
|
||||
"waterblight": "Waterblight",
|
||||
"webbed": "Webbed"
|
||||
},
|
||||
"consumables": {
|
||||
"adamant_seed": "Adamant Seed",
|
||||
"armorskin": "Armorskin",
|
||||
"dash_juice": "Dash Juice",
|
||||
"demon_powder": "Demon Powder",
|
||||
"demondrug": "Demondrug",
|
||||
"gourmet_fish": "Gourmet Fish",
|
||||
"hardshell_powder": "Hardshell Powder",
|
||||
"immunizer": "Immunizer",
|
||||
"mega_armorskin": "Mega Armorskin",
|
||||
"mega_demondrug": "Mega Demondrug",
|
||||
"might_seed": "Might Seed"
|
||||
},
|
||||
"customization_menu": {
|
||||
"UI_font": "UI Font",
|
||||
"UI_font_notice": "Any changes to the font require script reload!",
|
||||
"abnormal_statuses": "Abnormal Statuses",
|
||||
"activation_count": "Activation Count",
|
||||
"affinity_label": "Affinity Label",
|
||||
"ailment_buildups": "Ailment Buildups",
|
||||
@@ -135,6 +127,7 @@
|
||||
"damage_meter_UI": "Damage Meter UI",
|
||||
"damage_percentage_label": "Damage Percentage Label",
|
||||
"damage_value_label": "Damage Value Label",
|
||||
"dango_skills": "Dango Skills",
|
||||
"debug": "Debug",
|
||||
"default_state": "Default State",
|
||||
"defense_label": "Defense Label",
|
||||
@@ -148,12 +141,14 @@
|
||||
"duration": "Duration",
|
||||
"dynamic_positioning": "Dynamic Positioning",
|
||||
"dynamically_positioned": "Dynamically Positioned",
|
||||
"effect_level": "Effect Level",
|
||||
"element_2_label": "Element 2 Label",
|
||||
"element_label": "Element Label",
|
||||
"enable_for": "Enable for",
|
||||
"enabled": "Enabled",
|
||||
"endemic_life": "Endemic Life",
|
||||
"endemic_life_UI": "Endemic Life UI",
|
||||
"endemic_life_buffs": "Endemic Life Buffs",
|
||||
"everything_seems_to_be_ok": "Everything seems to be OK!",
|
||||
"family": "Family",
|
||||
"farthest": "Farthest",
|
||||
@@ -177,6 +172,7 @@
|
||||
"health_break_sever_anomaly_filter": "Health + Break + Sever + Anomaly Core",
|
||||
"health_break_sever_filter": "Health + Break + Sever",
|
||||
"health_filter": "Health",
|
||||
"health_label": "Health Label",
|
||||
"health_percentage": "Health Percentage",
|
||||
"health_sever_anomaly_filter": "Health + Sever + Anomaly Core",
|
||||
"health_sever_filter": "Health + Sever",
|
||||
@@ -216,9 +212,11 @@
|
||||
"in_lobby": "In Lobby",
|
||||
"in_training_area": "In Training Area",
|
||||
"include": "Include",
|
||||
"infinite_buffs_location": "Infinite Buffs Location",
|
||||
"inside": "Inside",
|
||||
"installations": "Installations",
|
||||
"italic": "Italic",
|
||||
"item_buffs": "Item Buffs",
|
||||
"join_time": "Join Time",
|
||||
"killcam": "Killcam",
|
||||
"kunai": "Kunai",
|
||||
@@ -242,8 +240,10 @@
|
||||
"max_monster_updates_per_tick": "Max Monster Updates per Tick",
|
||||
"max_value": "Max Value",
|
||||
"me": "Me",
|
||||
"melody_effects": "Melody Effects",
|
||||
"menu_font": "Menu Font",
|
||||
"menu_font_change_disclaimer": "Changing Language and Menu Font Size several times will cause a crash!",
|
||||
"misc_buffs": "Misc Buffs",
|
||||
"mod_name": "MHR Overlay",
|
||||
"mode": "Mode",
|
||||
"modifiers": "Modifiers",
|
||||
@@ -269,6 +269,7 @@
|
||||
"other": "Other",
|
||||
"other_player_otomos": "Other Player Buddies",
|
||||
"other_players": "Other Players",
|
||||
"otomo_moves": "Buddy Moves",
|
||||
"otomos": "Buddies",
|
||||
"outline": "Outline",
|
||||
"outside": "Outside",
|
||||
@@ -292,6 +293,7 @@
|
||||
"quest_start_animation": "Quest Start Animation",
|
||||
"quest_time": "Quest Time",
|
||||
"rage": "Rage",
|
||||
"rampage_skills": "Rampage Skills",
|
||||
"reframework_outdated": "Installed REFramework version is outdated. Please, update. Otherwise, MHR Overlay won't work correctly.",
|
||||
"relative_offset": "Relative Offset",
|
||||
"rename": "Rename",
|
||||
@@ -314,6 +316,7 @@
|
||||
"show_other_player_otomos_separately": "Show Other Player Buddies separately",
|
||||
"show_servant_otomos_separately": "Show Follower Buddies separately",
|
||||
"size": "Size",
|
||||
"skills": "Skills",
|
||||
"small_monster_UI": "Small Monster UI",
|
||||
"small_monsters": "Small Monsters",
|
||||
"sorting": "Sorting",
|
||||
@@ -336,6 +339,7 @@
|
||||
"time_label": "Time Label",
|
||||
"time_limit": "Time Limit (seconds)",
|
||||
"timer": "Timer",
|
||||
"timer_delays": "Timer Delays",
|
||||
"timer_label": "Timer Label",
|
||||
"top_buildup": "Top Buildup",
|
||||
"top_damage": "Top Damage",
|
||||
@@ -358,6 +362,14 @@
|
||||
"tracked_damage_types": "Tracked Damage Types",
|
||||
"tracked_monster_types": "Tracked Monster Types",
|
||||
"type": "Type",
|
||||
"update_buffs_delay": "Update Buffs (seconds)",
|
||||
"update_is_online_delay": "Update Is Online (seconds)",
|
||||
"update_myself_position_delay": "Update Myself Position (seconds)",
|
||||
"update_player_info_delay": "Update Player Info (seconds)",
|
||||
"update_players_delay": "Update Players (seconds)",
|
||||
"update_quest_time_delay": "Update Quest Time (seconds)",
|
||||
"update_singletons_delay": "Update Singletons (seconds)",
|
||||
"update_window_size_delay": "Update Window Size (seconds)",
|
||||
"use_d2d_if_available": "Use Direct2D if available",
|
||||
"value": "Value",
|
||||
"value_label": "Value Label",
|
||||
@@ -365,6 +377,7 @@
|
||||
"viewport_offset": "Viewport Offset",
|
||||
"visible": "Visible",
|
||||
"water_resistance_label": "Water Resistance Label",
|
||||
"weapon_skills": "Weapon Skills",
|
||||
"width": "Width",
|
||||
"world_offset": "World Offset",
|
||||
"wyvern_riding": "Wyvern Riding",
|
||||
@@ -372,10 +385,46 @@
|
||||
"y": "Y",
|
||||
"z": "Z"
|
||||
},
|
||||
"dangos": {
|
||||
"dango_defender_hi": "Dango Defender (Hi)"
|
||||
"dango_skills": {
|
||||
"dango_adrenaline": "Dango Adrenaline",
|
||||
"dango_booster": "Dango Booster",
|
||||
"dango_bulker": "Dango Bulker",
|
||||
"dango_connector": "Dango Connector",
|
||||
"dango_defender": "Dango Defender",
|
||||
"dango_flyer": "Dango Flyer",
|
||||
"dango_glutton": "Dango Glutton",
|
||||
"dango_hunter": "Dango Hunter",
|
||||
"dango_insurance": "Dango Insurance",
|
||||
"dango_insurance_defense_up": "Dango Insurance Defense Up",
|
||||
"super_recovery_dango": "Super Recovery Dango"
|
||||
},
|
||||
"endemic_life": {
|
||||
"butterflame": "Butterflame",
|
||||
"clothfly": "Clothfly",
|
||||
"cutterfly": "Cutterfly",
|
||||
"gold_wirebug": "Gold Wirebug",
|
||||
"peepersects": "Peepersects",
|
||||
"red_lampsquid": "Red Lampsquid",
|
||||
"ruby_wirebug": "Ruby Wirebug",
|
||||
"stinkmink": "Stinkmink",
|
||||
"yellow_lampsquid": "Yellow Lampsquid"
|
||||
},
|
||||
"font_name": "NotoSans-Bold.otf",
|
||||
"item_buffs": {
|
||||
"adamant_seed": "Adamant Seed",
|
||||
"armor_ammo": "Armor Ammo",
|
||||
"armorskin": "Armorskin",
|
||||
"dash_juice": "Dash Juice",
|
||||
"demon_ammo": "Demon Ammo",
|
||||
"demon_powder": "Demon Powder",
|
||||
"demondrug": "Demondrug",
|
||||
"gourmet_fish": "Gourmet Fish",
|
||||
"hardshell_powder": "Hardshell Powder",
|
||||
"immunizer": "Immunizer",
|
||||
"mega_armorskin": "Mega Armorskin",
|
||||
"mega_demondrug": "Mega Demondrug",
|
||||
"might_seed": "Might Seed"
|
||||
},
|
||||
"font_name": "",
|
||||
"melody_effects": {
|
||||
"affinity_up": "Affinity Up",
|
||||
"attack_and_affinity_up": "Attack and Affinity Up",
|
||||
@@ -406,6 +455,19 @@
|
||||
"tremors_negated": "Tremors Negated",
|
||||
"wind_pressure_negated": "Wind Pressure Negated"
|
||||
},
|
||||
"misc_buffs": {
|
||||
"attack_up": "Attack Up",
|
||||
"defense_up": "Defense Up",
|
||||
"immunity": "Immunity",
|
||||
"natural_healing_up": "Natural Healing Up",
|
||||
"stamina_use_down": "Stamina Use Down"
|
||||
},
|
||||
"otomo_moves": {
|
||||
"go_fight_win": "Go, Fight, Win",
|
||||
"power_drum": "Power Drum",
|
||||
"rousing_roar": "Rousing Roar",
|
||||
"vase_of_vitality": "Vase of Vitality"
|
||||
},
|
||||
"parts": {
|
||||
"abdomen": "Abdomen",
|
||||
"amatsu_unknown": "?",
|
||||
@@ -475,25 +537,47 @@
|
||||
"wingclaws": "Wingclaws",
|
||||
"wings": "Wings"
|
||||
},
|
||||
"rampage_skills": {
|
||||
"chameleos_soul": "Chameleos Soul",
|
||||
"kushala_daora_soul": "Kushala Daora Soul"
|
||||
},
|
||||
"skills": {
|
||||
"adrenaline_rush": "Adrenaline Rush",
|
||||
"affinity_sliding": "Affinity Sliding",
|
||||
"agitator": "Agitator",
|
||||
"berserk": "Berserk",
|
||||
"bladescale_hone": "Bladescale Hone",
|
||||
"blood_awakening": "Blood Awakening",
|
||||
"bloodlust": "Bloodlust",
|
||||
"burst": "Burst",
|
||||
"coalescence": "Coalescence",
|
||||
"counterstrike": "Counterstrike",
|
||||
"dereliction": "Dereliction",
|
||||
"dragon_conversion_elemental_attack_up": "Dragon Conversion: Elem. Atk Up",
|
||||
"dragon_conversion_elemental_res_up": "Dragon Conversion: Elem. Res Up",
|
||||
"dragonheart": "Dragonheart",
|
||||
"embolden": "Embolden",
|
||||
"frenzied_bloodlust": "Frenzied Bloodlust",
|
||||
"furious": "Furious",
|
||||
"grinder_s": "Grinder (S)",
|
||||
"heaven_sent": "Heaven-Sent",
|
||||
"hellfire_cloak": "Hellfire Cloak",
|
||||
"heroics": "Heroics",
|
||||
"inspiration": "Inspiration",
|
||||
"intrepid_heart": "Intrepid Heart",
|
||||
"kushala_daora_soul": "Kushala Daora Soul",
|
||||
"latent_power": "Latent Power",
|
||||
"maximum_might": "Maximum Might",
|
||||
"offensive_guard": "Offensive Guard",
|
||||
"partbreaker": "Partbreaker",
|
||||
"peak_performance": "Peak Performance",
|
||||
"powder_mantle_blue": "Powder Mantle (Blue)",
|
||||
"powder_mantle_red": "Powder Mantle (Red)",
|
||||
"protective_polish": "Protective Polish",
|
||||
"resentment": "Resentment",
|
||||
"resuscitate": "Resuscitate",
|
||||
"spiribirds_call": "Spiribird's Call",
|
||||
"status_trigger": "Status Trigger",
|
||||
"strife": "Strife",
|
||||
"wall_runner": "Wall Runner",
|
||||
"wind_mantle": "Wind Mantle"
|
||||
},
|
||||
@@ -514,6 +598,102 @@
|
||||
"water_resistance": "Water Res"
|
||||
},
|
||||
"unicode_glyph_ranges": [
|
||||
32,
|
||||
255,
|
||||
256,
|
||||
591,
|
||||
1024,
|
||||
1327,
|
||||
7680,
|
||||
7935,
|
||||
8192,
|
||||
8303,
|
||||
65280,
|
||||
65519,
|
||||
0
|
||||
]
|
||||
],
|
||||
"weapon_skills": {
|
||||
"bow": {
|
||||
"arc_shot_affinity": "Arc Shot: Affinity",
|
||||
"arc_shot_brace": "Arc Shot: Brace",
|
||||
"bolt_boost": "Bolt Boost",
|
||||
"herculean_draw": "Herculean Draw"
|
||||
},
|
||||
"charge_blade": {
|
||||
"element_boost": "Element Boost",
|
||||
"sword_boost_mode": "Sword Boost Mode"
|
||||
},
|
||||
"dual_blades": {
|
||||
"archdemon_mode": "Archdemon Mode",
|
||||
"ironshine_silk": "Ironshine Silk"
|
||||
},
|
||||
"great_sword": {
|
||||
"power_sheathe": "Power Sheathe"
|
||||
},
|
||||
"gunlance": {
|
||||
"erupting_cannon": "Erupting Cannon",
|
||||
"ground_splitter": "Ground Splitter"
|
||||
},
|
||||
"hammer": {
|
||||
"impact_burst": "Impact Burst"
|
||||
},
|
||||
"heavy_bowgun": {
|
||||
"counter_charger": "Counter Charger",
|
||||
"overheat": "Overheat",
|
||||
"rising_moon": "Rising Moon",
|
||||
"setting_sun": "Setting Sun",
|
||||
"wyvernsnipe_reload": "Wyvernsnipe Reload"
|
||||
},
|
||||
"hunting_horn": {
|
||||
"bead_of_resonance": "Bead of Resonance",
|
||||
"silkbind_shockwave": "Silkbind Shockwave",
|
||||
"sonic_bloom": "Sonic Bloom"
|
||||
},
|
||||
"insect_glaive": {
|
||||
"all_extracts_mix": "All Extracts Mix",
|
||||
"orange_extract": "Orange Extract",
|
||||
"red_extract": "Red Extract",
|
||||
"white_extract": "White Extract"
|
||||
},
|
||||
"lance": {
|
||||
"anchor_rage": "Anchor Rage",
|
||||
"spiral_thrust": "Spiral Thrust",
|
||||
"twin_wine": "Twin Wine"
|
||||
},
|
||||
"light_bowgun": {
|
||||
"fanning_maneuver": "Fanning Maneuver",
|
||||
"wyvernblast_reload": "Wyvernblast Reload"
|
||||
},
|
||||
"long_sword": {
|
||||
"harvest_moon": "Harvest Moon",
|
||||
"iai_slash": "Iai Slash",
|
||||
"soaring_kick": "Soaring Kick",
|
||||
"spirit_gauge": "Spirit Gauge",
|
||||
"spirit_gauge_autofill": "Spirit Gauge Autofill"
|
||||
},
|
||||
"switch_axe": {
|
||||
"amped_state": "Amped State",
|
||||
"axe_heavy_slam": "Axe: Heavy Slam",
|
||||
"switch_charger": "Switch Charger"
|
||||
},
|
||||
"sword_and_shield": {
|
||||
"destroyer_oil": "Destroyer Oil"
|
||||
}
|
||||
},
|
||||
"weapons": {
|
||||
"bow": "Bow",
|
||||
"charge_blade": "Charge Blade",
|
||||
"dual_blades": "Dual Blades",
|
||||
"great_sword": "Great Sword",
|
||||
"gunlance": "Gunlance",
|
||||
"hammer": "Hammer",
|
||||
"heavy_bowgun": "Heavy Bowgun",
|
||||
"hunting_horn": "Hunting Horn",
|
||||
"insect_glaive": "Insect Glaive",
|
||||
"lance": "Lance",
|
||||
"light_bowgun": "Light Bowgun",
|
||||
"long_sword": "Long Sword",
|
||||
"switch_axe": "Switch Axe",
|
||||
"sword_and_shield": "Sword & Shield"
|
||||
}
|
||||
}
|
||||
@@ -3,6 +3,7 @@
|
||||
"HP": "HP:",
|
||||
"buildup": "蓄積値:",
|
||||
"gold": "金冠",
|
||||
"lv": "",
|
||||
"mini": "小型",
|
||||
"otomo": "Buddy",
|
||||
"part_anomaly_core": "Anomaly Core",
|
||||
@@ -21,7 +22,7 @@
|
||||
"blastblight": "Blastblight",
|
||||
"bleeding": "Bleeding",
|
||||
"bloodblight": "Bloodblight",
|
||||
"bubbleblight": "Bubbleblight",
|
||||
"deadly_poison": "Deadly Poison",
|
||||
"defense_down": "Defense Down",
|
||||
"dragonblight": "Dragonblight",
|
||||
"dung_bomb": "悪臭",
|
||||
@@ -29,6 +30,7 @@
|
||||
"exhaust": "疲労",
|
||||
"fall_otomo_trap": "オトモ落とし穴",
|
||||
"fall_trap": "落とし穴",
|
||||
"falling_asleep": "Falling Asleep",
|
||||
"fireblight": "火属性やられ",
|
||||
"flash": "目くらまし",
|
||||
"frenzy": "Frenzy",
|
||||
@@ -38,6 +40,8 @@
|
||||
"hellfireblight": "Hellfireblight",
|
||||
"iceblight": "氷属性やられ",
|
||||
"leeched": "Leeched",
|
||||
"major_bubbleblight": "Major Bubbleblight",
|
||||
"minor_bubbleblight": "Minor Bubbleblight",
|
||||
"muck": "Muck",
|
||||
"paralysis": "麻痺",
|
||||
"poison": "毒",
|
||||
@@ -57,22 +61,10 @@
|
||||
"waterblight": "水属性やられ",
|
||||
"webbed": "Webbed"
|
||||
},
|
||||
"consumables": {
|
||||
"adamant_seed": "Adamant Seed",
|
||||
"armorskin": "Armorskin",
|
||||
"dash_juice": "Dash Juice",
|
||||
"demon_powder": "Demon Powder",
|
||||
"demondrug": "Demondrug",
|
||||
"gourmet_fish": "Gourmet Fish",
|
||||
"hardshell_powder": "Hardshell Powder",
|
||||
"immunizer": "Immunizer",
|
||||
"mega_armorskin": "Mega Armorskin",
|
||||
"mega_demondrug": "Mega Demondrug",
|
||||
"might_seed": "Might Seed"
|
||||
},
|
||||
"customization_menu": {
|
||||
"UI_font": "UI フォント",
|
||||
"UI_font_notice": "フォントの変更後はスクリプトリセットを行ってください。",
|
||||
"abnormal_statuses": "Abnormal Statuses",
|
||||
"activation_count": "適用までのカウント",
|
||||
"affinity_label": "Affinity Label",
|
||||
"ailment_buildups": "状態異常の蓄積値",
|
||||
@@ -135,6 +127,7 @@
|
||||
"damage_meter_UI": "ダメージメーターUI",
|
||||
"damage_percentage_label": "ダメージ割合(%)ラベル",
|
||||
"damage_value_label": "ダメージラベル",
|
||||
"dango_skills": "Dango Skills",
|
||||
"debug": "Debug",
|
||||
"default_state": "Default State",
|
||||
"defense_label": "Defense Label",
|
||||
@@ -148,12 +141,14 @@
|
||||
"duration": "Duration",
|
||||
"dynamic_positioning": "動的な場所",
|
||||
"dynamically_positioned": "モンスターに追随して表示",
|
||||
"effect_level": "Effect Level",
|
||||
"element_2_label": "Element 2 Label",
|
||||
"element_label": "Element Label",
|
||||
"enable_for": "有効にする",
|
||||
"enabled": "有効",
|
||||
"endemic_life": "Endemic Life",
|
||||
"endemic_life_UI": "環境生物UI",
|
||||
"endemic_life_buffs": "Endemic Life Buffs",
|
||||
"everything_seems_to_be_ok": "Everything seems to be OK!",
|
||||
"family": "Family",
|
||||
"farthest": "Farthest",
|
||||
@@ -177,6 +172,7 @@
|
||||
"health_break_sever_anomaly_filter": "Health + Break + Sever + Anomaly Core",
|
||||
"health_break_sever_filter": "Health + Break + Sever",
|
||||
"health_filter": "Health",
|
||||
"health_label": "Health Label",
|
||||
"health_percentage": "ダメージ割合(%)",
|
||||
"health_sever_anomaly_filter": "Health + Sever + Anomaly Core",
|
||||
"health_sever_filter": "Health + Sever",
|
||||
@@ -216,9 +212,11 @@
|
||||
"in_lobby": "In Lobby",
|
||||
"in_training_area": "In Training Area",
|
||||
"include": "含める情報",
|
||||
"infinite_buffs_location": "Infinite Buffs Location",
|
||||
"inside": "Inside",
|
||||
"installations": "Installations",
|
||||
"italic": "イタリック",
|
||||
"item_buffs": "Item Buffs",
|
||||
"join_time": "参加時間",
|
||||
"killcam": "Killcam",
|
||||
"kunai": "Kunai",
|
||||
@@ -242,8 +240,10 @@
|
||||
"max_monster_updates_per_tick": "モンスター情報をアップデートする間隔",
|
||||
"max_value": "Max Value",
|
||||
"me": "自分",
|
||||
"melody_effects": "Melody Effects",
|
||||
"menu_font": "メニューで使うフォント",
|
||||
"menu_font_change_disclaimer": "言語とメニューのフォントサイズを何度も変更すると、クラッシュが発生します。",
|
||||
"misc_buffs": "Misc Buffs",
|
||||
"mod_name": "MHR Overlay",
|
||||
"mode": "Mode",
|
||||
"modifiers": "全体的な調整",
|
||||
@@ -269,6 +269,7 @@
|
||||
"other": "Other",
|
||||
"other_player_otomos": "Other Player Buddies",
|
||||
"other_players": "他のプレイヤー",
|
||||
"otomo_moves": "Buddy Moves",
|
||||
"otomos": "Buddies",
|
||||
"outline": "Outline",
|
||||
"outside": "Outside",
|
||||
@@ -292,6 +293,7 @@
|
||||
"quest_start_animation": "Quest Start Animation",
|
||||
"quest_time": "クエスト時間",
|
||||
"rage": "怒り値",
|
||||
"rampage_skills": "Rampage Skills",
|
||||
"reframework_outdated": "Installed REFramework version is outdated. Please, update. Otherwise, MHR Overlay won't work correctly.",
|
||||
"relative_offset": "相対的な表示位置",
|
||||
"rename": "Rename",
|
||||
@@ -314,6 +316,7 @@
|
||||
"show_other_player_otomos_separately": "Show Other Player Buddies separately",
|
||||
"show_servant_otomos_separately": "Show Follower Buddies separately",
|
||||
"size": "サイズ",
|
||||
"skills": "Skills",
|
||||
"small_monster_UI": "小型モンスターUI",
|
||||
"small_monsters": "小型モンスター",
|
||||
"sorting": "ソート",
|
||||
@@ -336,6 +339,7 @@
|
||||
"time_label": "タイムラベル",
|
||||
"time_limit": "タイムリミット(s.)",
|
||||
"timer": "Timer",
|
||||
"timer_delays": "Timer Delays",
|
||||
"timer_label": "タイマーラベル",
|
||||
"top_buildup": "最高蓄積値",
|
||||
"top_damage": "最高ダメージ",
|
||||
@@ -358,6 +362,14 @@
|
||||
"tracked_damage_types": "ダメージタイプでの追跡",
|
||||
"tracked_monster_types": "モンスタータイプでの追跡",
|
||||
"type": "タイプ",
|
||||
"update_buffs_delay": "Update Buffs (seconds)",
|
||||
"update_is_online_delay": "Update Is Online (seconds)",
|
||||
"update_myself_position_delay": "Update Myself Position (seconds)",
|
||||
"update_player_info_delay": "Update Player Info (seconds)",
|
||||
"update_players_delay": "Update Players (seconds)",
|
||||
"update_quest_time_delay": "Update Quest Time (seconds)",
|
||||
"update_singletons_delay": "Update Singletons (seconds)",
|
||||
"update_window_size_delay": "Update Window Size (seconds)",
|
||||
"use_d2d_if_available": "Use Direct2D if available",
|
||||
"value": "Value",
|
||||
"value_label": "バリューラベル",
|
||||
@@ -365,6 +377,7 @@
|
||||
"viewport_offset": "表示領域からの位置",
|
||||
"visible": "表示する",
|
||||
"water_resistance_label": "Water Resistance Label",
|
||||
"weapon_skills": "Weapon Skills",
|
||||
"width": "幅",
|
||||
"world_offset": "表示位置",
|
||||
"wyvern_riding": "Wyvern Riding",
|
||||
@@ -372,10 +385,46 @@
|
||||
"y": "Y",
|
||||
"z": "Z"
|
||||
},
|
||||
"dangos": {
|
||||
"dango_defender_hi": "Dango Defender (Hi)"
|
||||
"dango_skills": {
|
||||
"dango_adrenaline": "Dango Adrenaline",
|
||||
"dango_booster": "Dango Booster",
|
||||
"dango_bulker": "Dango Bulker",
|
||||
"dango_connector": "Dango Connector",
|
||||
"dango_defender": "Dango Defender",
|
||||
"dango_flyer": "Dango Flyer",
|
||||
"dango_glutton": "Dango Glutton",
|
||||
"dango_hunter": "Dango Hunter",
|
||||
"dango_insurance": "Dango Insurance",
|
||||
"dango_insurance_defense_up": "Dango Insurance Defense Up",
|
||||
"super_recovery_dango": "Super Recovery Dango"
|
||||
},
|
||||
"endemic_life": {
|
||||
"butterflame": "Butterflame",
|
||||
"clothfly": "Clothfly",
|
||||
"cutterfly": "Cutterfly",
|
||||
"gold_wirebug": "Gold Wirebug",
|
||||
"peepersects": "Peepersects",
|
||||
"red_lampsquid": "Red Lampsquid",
|
||||
"ruby_wirebug": "Ruby Wirebug",
|
||||
"stinkmink": "Stinkmink",
|
||||
"yellow_lampsquid": "Yellow Lampsquid"
|
||||
},
|
||||
"font_name": "NotoSansJP-Bold.otf",
|
||||
"item_buffs": {
|
||||
"adamant_seed": "Adamant Seed",
|
||||
"armor_ammo": "Armor Ammo",
|
||||
"armorskin": "Armorskin",
|
||||
"dash_juice": "Dash Juice",
|
||||
"demon_ammo": "Demon Ammo",
|
||||
"demon_powder": "Demon Powder",
|
||||
"demondrug": "Demondrug",
|
||||
"gourmet_fish": "Gourmet Fish",
|
||||
"hardshell_powder": "Hardshell Powder",
|
||||
"immunizer": "Immunizer",
|
||||
"mega_armorskin": "Mega Armorskin",
|
||||
"mega_demondrug": "Mega Demondrug",
|
||||
"might_seed": "Might Seed"
|
||||
},
|
||||
"melody_effects": {
|
||||
"affinity_up": "Affinity Up",
|
||||
"attack_and_affinity_up": "Attack and Affinity Up",
|
||||
@@ -406,6 +455,19 @@
|
||||
"tremors_negated": "Tremors Negated",
|
||||
"wind_pressure_negated": "Wind Pressure Negated"
|
||||
},
|
||||
"misc_buffs": {
|
||||
"attack_up": "Attack Up",
|
||||
"defense_up": "Defense Up",
|
||||
"immunity": "Immunity",
|
||||
"natural_healing_up": "Natural Healing Up",
|
||||
"stamina_use_down": "Stamina Use Down"
|
||||
},
|
||||
"otomo_moves": {
|
||||
"go_fight_win": "Go, Fight, Win",
|
||||
"power_drum": "Power Drum",
|
||||
"rousing_roar": "Rousing Roar",
|
||||
"vase_of_vitality": "Vase of Vitality"
|
||||
},
|
||||
"parts": {
|
||||
"abdomen": "腹部",
|
||||
"amatsu_unknown": "?",
|
||||
@@ -475,25 +537,47 @@
|
||||
"wingclaws": "Wingclaws",
|
||||
"wings": "翼"
|
||||
},
|
||||
"rampage_skills": {
|
||||
"chameleos_soul": "Chameleos Soul",
|
||||
"kushala_daora_soul": "Kushala Daora Soul"
|
||||
},
|
||||
"skills": {
|
||||
"adrenaline_rush": "Adrenaline Rush",
|
||||
"affinity_sliding": "Affinity Sliding",
|
||||
"agitator": "Agitator",
|
||||
"berserk": "Berserk",
|
||||
"bladescale_hone": "Bladescale Hone",
|
||||
"blood_awakening": "Blood Awakening",
|
||||
"bloodlust": "Bloodlust",
|
||||
"burst": "Burst",
|
||||
"coalescence": "Coalescence",
|
||||
"counterstrike": "Counterstrike",
|
||||
"dereliction": "Dereliction",
|
||||
"dragon_conversion_elemental_attack_up": "Dragon Conversion: Elem. Atk Up",
|
||||
"dragon_conversion_elemental_res_up": "Dragon Conversion: Elem. Res Up",
|
||||
"dragonheart": "Dragonheart",
|
||||
"embolden": "Embolden",
|
||||
"frenzied_bloodlust": "Frenzied Bloodlust",
|
||||
"furious": "Furious",
|
||||
"grinder_s": "Grinder (S)",
|
||||
"heaven_sent": "Heaven-Sent",
|
||||
"hellfire_cloak": "Hellfire Cloak",
|
||||
"heroics": "Heroics",
|
||||
"inspiration": "Inspiration",
|
||||
"intrepid_heart": "Intrepid Heart",
|
||||
"kushala_daora_soul": "Kushala Daora Soul",
|
||||
"latent_power": "Latent Power",
|
||||
"maximum_might": "Maximum Might",
|
||||
"offensive_guard": "Offensive Guard",
|
||||
"partbreaker": "Partbreaker",
|
||||
"peak_performance": "Peak Performance",
|
||||
"powder_mantle_blue": "Powder Mantle (Blue)",
|
||||
"powder_mantle_red": "Powder Mantle (Red)",
|
||||
"protective_polish": "Protective Polish",
|
||||
"resentment": "Resentment",
|
||||
"resuscitate": "Resuscitate",
|
||||
"spiribirds_call": "Spiribird's Call",
|
||||
"status_trigger": "Status Trigger",
|
||||
"strife": "Strife",
|
||||
"wall_runner": "Wall Runner",
|
||||
"wind_mantle": "Wind Mantle"
|
||||
},
|
||||
@@ -518,14 +602,104 @@
|
||||
255,
|
||||
8192,
|
||||
8303,
|
||||
11904,
|
||||
12031,
|
||||
12288,
|
||||
12543,
|
||||
12784,
|
||||
12799,
|
||||
19903,
|
||||
19968,
|
||||
40879,
|
||||
40959,
|
||||
63744,
|
||||
64255,
|
||||
65072,
|
||||
65103,
|
||||
65280,
|
||||
65519,
|
||||
0
|
||||
]
|
||||
],
|
||||
"weapon_skills": {
|
||||
"bow": {
|
||||
"arc_shot_affinity": "Arc Shot: Affinity",
|
||||
"arc_shot_brace": "Arc Shot: Brace",
|
||||
"bolt_boost": "Bolt Boost",
|
||||
"herculean_draw": "Herculean Draw"
|
||||
},
|
||||
"charge_blade": {
|
||||
"element_boost": "Element Boost",
|
||||
"sword_boost_mode": "Sword Boost Mode"
|
||||
},
|
||||
"dual_blades": {
|
||||
"archdemon_mode": "Archdemon Mode",
|
||||
"ironshine_silk": "Ironshine Silk"
|
||||
},
|
||||
"great_sword": {
|
||||
"power_sheathe": "Power Sheathe"
|
||||
},
|
||||
"gunlance": {
|
||||
"erupting_cannon": "Erupting Cannon",
|
||||
"ground_splitter": "Ground Splitter"
|
||||
},
|
||||
"hammer": {
|
||||
"impact_burst": "Impact Burst"
|
||||
},
|
||||
"heavy_bowgun": {
|
||||
"counter_charger": "Counter Charger",
|
||||
"overheat": "Overheat",
|
||||
"rising_moon": "Rising Moon",
|
||||
"setting_sun": "Setting Sun",
|
||||
"wyvernsnipe_reload": "Wyvernsnipe Reload"
|
||||
},
|
||||
"hunting_horn": {
|
||||
"bead_of_resonance": "Bead of Resonance",
|
||||
"silkbind_shockwave": "Silkbind Shockwave",
|
||||
"sonic_bloom": "Sonic Bloom"
|
||||
},
|
||||
"insect_glaive": {
|
||||
"all_extracts_mix": "All Extracts Mix",
|
||||
"orange_extract": "Orange Extract",
|
||||
"red_extract": "Red Extract",
|
||||
"white_extract": "White Extract"
|
||||
},
|
||||
"lance": {
|
||||
"anchor_rage": "Anchor Rage",
|
||||
"spiral_thrust": "Spiral Thrust",
|
||||
"twin_wine": "Twin Wine"
|
||||
},
|
||||
"light_bowgun": {
|
||||
"fanning_maneuver": "Fanning Maneuver",
|
||||
"wyvernblast_reload": "Wyvernblast Reload"
|
||||
},
|
||||
"long_sword": {
|
||||
"harvest_moon": "Harvest Moon",
|
||||
"iai_slash": "Iai Slash",
|
||||
"soaring_kick": "Soaring Kick",
|
||||
"spirit_gauge": "Spirit Gauge",
|
||||
"spirit_gauge_autofill": "Spirit Gauge Autofill"
|
||||
},
|
||||
"switch_axe": {
|
||||
"amped_state": "Amped State",
|
||||
"axe_heavy_slam": "Axe: Heavy Slam",
|
||||
"switch_charger": "Switch Charger"
|
||||
},
|
||||
"sword_and_shield": {
|
||||
"destroyer_oil": "Destroyer Oil"
|
||||
}
|
||||
},
|
||||
"weapons": {
|
||||
"bow": "Bow",
|
||||
"charge_blade": "Charge Blade",
|
||||
"dual_blades": "Dual Blades",
|
||||
"great_sword": "Great Sword",
|
||||
"gunlance": "Gunlance",
|
||||
"hammer": "Hammer",
|
||||
"heavy_bowgun": "Heavy Bowgun",
|
||||
"hunting_horn": "Hunting Horn",
|
||||
"insect_glaive": "Insect Glaive",
|
||||
"lance": "Lance",
|
||||
"light_bowgun": "Light Bowgun",
|
||||
"long_sword": "Long Sword",
|
||||
"switch_axe": "Switch Axe",
|
||||
"sword_and_shield": "Sword & Shield"
|
||||
}
|
||||
}
|
||||
@@ -3,6 +3,7 @@
|
||||
"HP": "체력:",
|
||||
"buildup": "누적치:",
|
||||
"gold": "금관",
|
||||
"lv": "",
|
||||
"mini": "최소",
|
||||
"otomo": "동반자",
|
||||
"part_anomaly_core": "괴이핵",
|
||||
@@ -21,7 +22,7 @@
|
||||
"blastblight": "Blastblight",
|
||||
"bleeding": "Bleeding",
|
||||
"bloodblight": "Bloodblight",
|
||||
"bubbleblight": "Bubbleblight",
|
||||
"deadly_poison": "Deadly Poison",
|
||||
"defense_down": "Defense Down",
|
||||
"dragonblight": "Dragonblight",
|
||||
"dung_bomb": "거름탄",
|
||||
@@ -29,6 +30,7 @@
|
||||
"exhaust": "탈진",
|
||||
"fall_otomo_trap": "동반자 구멍 함정",
|
||||
"fall_trap": "구멍 함정",
|
||||
"falling_asleep": "Falling Asleep",
|
||||
"fireblight": "불바위구리",
|
||||
"flash": "섬광",
|
||||
"frenzy": "Frenzy",
|
||||
@@ -38,6 +40,8 @@
|
||||
"hellfireblight": "Hellfireblight",
|
||||
"iceblight": "진흙구리",
|
||||
"leeched": "Leeched",
|
||||
"major_bubbleblight": "Major Bubbleblight",
|
||||
"minor_bubbleblight": "Minor Bubbleblight",
|
||||
"muck": "Muck",
|
||||
"paralysis": "마비",
|
||||
"poison": "독",
|
||||
@@ -57,22 +61,10 @@
|
||||
"waterblight": "진흙구리",
|
||||
"webbed": "Webbed"
|
||||
},
|
||||
"consumables": {
|
||||
"adamant_seed": "Adamant Seed",
|
||||
"armorskin": "Armorskin",
|
||||
"dash_juice": "Dash Juice",
|
||||
"demon_powder": "Demon Powder",
|
||||
"demondrug": "Demondrug",
|
||||
"gourmet_fish": "Gourmet Fish",
|
||||
"hardshell_powder": "Hardshell Powder",
|
||||
"immunizer": "Immunizer",
|
||||
"mega_armorskin": "Mega Armorskin",
|
||||
"mega_demondrug": "Mega Demondrug",
|
||||
"might_seed": "Might Seed"
|
||||
},
|
||||
"customization_menu": {
|
||||
"UI_font": "UI 글꼴",
|
||||
"UI_font_notice": "글꼴 변경시 스크립트를 리로드 해야합니다!",
|
||||
"abnormal_statuses": "Abnormal Statuses",
|
||||
"activation_count": "활성 횟수",
|
||||
"affinity_label": "Affinity Label",
|
||||
"ailment_buildups": "상태이상 누적치",
|
||||
@@ -135,8 +127,8 @@
|
||||
"damage_meter_UI": "대미지 미터 UI",
|
||||
"damage_percentage_label": "대미지 비율 정보",
|
||||
"damage_value_label": "대미지 값 정보",
|
||||
"dango_skills": "Dango Skills",
|
||||
"debug": "Debug",
|
||||
"debug_errors": "Debug Errors",
|
||||
"default_state": "기본 상태",
|
||||
"defense_label": "Defense Label",
|
||||
"delete": "삭제하기",
|
||||
@@ -149,12 +141,14 @@
|
||||
"duration": "지속시간",
|
||||
"dynamic_positioning": "유동 위치",
|
||||
"dynamically_positioned": "유동 위치 UI",
|
||||
"effect_level": "Effect Level",
|
||||
"element_2_label": "Element 2 Label",
|
||||
"element_label": "Element Label",
|
||||
"enable_for": "표시 대상",
|
||||
"enabled": "사용함",
|
||||
"endemic_life": "환경생물",
|
||||
"endemic_life_UI": "환경생물 UI",
|
||||
"endemic_life_buffs": "Endemic Life Buffs",
|
||||
"everything_seems_to_be_ok": "Everything seems to be OK!",
|
||||
"family": "글꼴",
|
||||
"farthest": "가장 멀리있는",
|
||||
@@ -178,6 +172,7 @@
|
||||
"health_break_sever_anomaly_filter": "체력 + 파괴 + 절단 + 괴이핵",
|
||||
"health_break_sever_filter": "체력 + 파괴 + 절단",
|
||||
"health_filter": "체력",
|
||||
"health_label": "Health Label",
|
||||
"health_percentage": "체력 비율",
|
||||
"health_sever_anomaly_filter": "체력 + 절단 + 괴이핵",
|
||||
"health_sever_filter": "체력 + 절단",
|
||||
@@ -217,9 +212,11 @@
|
||||
"in_lobby": "로비 내",
|
||||
"in_training_area": "훈련구역 내",
|
||||
"include": "포함",
|
||||
"infinite_buffs_location": "Infinite Buffs Location",
|
||||
"inside": "내부",
|
||||
"installations": "설치",
|
||||
"italic": "기울임",
|
||||
"item_buffs": "Item Buffs",
|
||||
"join_time": "참가 시간",
|
||||
"killcam": "처치 영상",
|
||||
"kunai": "쿠나이",
|
||||
@@ -243,8 +240,10 @@
|
||||
"max_monster_updates_per_tick": "틱당 최대 몬스터 갱신 횟수",
|
||||
"max_value": "최대값",
|
||||
"me": "나",
|
||||
"melody_effects": "Melody Effects",
|
||||
"menu_font": "메뉴 글꼴",
|
||||
"menu_font_change_disclaimer": "언어 및 메뉴 글꼴 크기를 여러 번 변경하면 비정상 종료가 될 수 있습니다!",
|
||||
"misc_buffs": "Misc Buffs",
|
||||
"mod_name": "MHR Overlay",
|
||||
"mode": "모드",
|
||||
"modifiers": "설정 배율",
|
||||
@@ -270,6 +269,7 @@
|
||||
"other": "기타",
|
||||
"other_player_otomos": "다른 플레이어 동반자",
|
||||
"other_players": "다른 헌터",
|
||||
"otomo_moves": "Buddy Moves",
|
||||
"otomos": "동반자",
|
||||
"outline": "외곽선",
|
||||
"outside": "외부",
|
||||
@@ -293,6 +293,7 @@
|
||||
"quest_start_animation": "퀘스트 시작 영상",
|
||||
"quest_time": "퀘스트 시간",
|
||||
"rage": "분노",
|
||||
"rampage_skills": "Rampage Skills",
|
||||
"reframework_outdated": "설치된 REFramework가 구버전입니다. 업데이트 하지 않으면 MHR Overlay가 제대로 동작하지 않을 수 있습니다.",
|
||||
"relative_offset": "상대적 위치 오프셋",
|
||||
"rename": "이름 변경",
|
||||
@@ -315,6 +316,7 @@
|
||||
"show_other_player_otomos_separately": "다른 플레이어의 동반자를 따로",
|
||||
"show_servant_otomos_separately": "맹우의 동반자를 따로",
|
||||
"size": "크기",
|
||||
"skills": "Skills",
|
||||
"small_monster_UI": "소형 몬스터 UI",
|
||||
"small_monsters": "소형 몬스터",
|
||||
"sorting": "정렬방법",
|
||||
@@ -337,6 +339,7 @@
|
||||
"time_label": "시간 정보",
|
||||
"time_limit": "시간 제한 (단위: 초)",
|
||||
"timer": "타이머",
|
||||
"timer_delays": "Timer Delays",
|
||||
"timer_label": "타이머 정보",
|
||||
"top_buildup": "총 누적치",
|
||||
"top_damage": "최고 대미지",
|
||||
@@ -359,6 +362,14 @@
|
||||
"tracked_damage_types": "추적할 대미지 종류",
|
||||
"tracked_monster_types": "추적할 몬스터 타입",
|
||||
"type": "종류",
|
||||
"update_buffs_delay": "Update Buffs (seconds)",
|
||||
"update_is_online_delay": "Update Is Online (seconds)",
|
||||
"update_myself_position_delay": "Update Myself Position (seconds)",
|
||||
"update_player_info_delay": "Update Player Info (seconds)",
|
||||
"update_players_delay": "Update Players (seconds)",
|
||||
"update_quest_time_delay": "Update Quest Time (seconds)",
|
||||
"update_singletons_delay": "Update Singletons (seconds)",
|
||||
"update_window_size_delay": "Update Window Size (seconds)",
|
||||
"use_d2d_if_available": "가능한 Direct2D를 사용함",
|
||||
"value": "Value",
|
||||
"value_label": "값 정보",
|
||||
@@ -366,6 +377,7 @@
|
||||
"viewport_offset": "뷰포트 오프셋",
|
||||
"visible": "표시함",
|
||||
"water_resistance_label": "Water Resistance Label",
|
||||
"weapon_skills": "Weapon Skills",
|
||||
"width": "너비",
|
||||
"world_offset": "전역 오프셋",
|
||||
"wyvern_riding": "용조종",
|
||||
@@ -373,10 +385,46 @@
|
||||
"y": "Y",
|
||||
"z": "Z"
|
||||
},
|
||||
"dangos": {
|
||||
"dango_defender_hi": "Dango Defender (Hi)"
|
||||
"dango_skills": {
|
||||
"dango_adrenaline": "Dango Adrenaline",
|
||||
"dango_booster": "Dango Booster",
|
||||
"dango_bulker": "Dango Bulker",
|
||||
"dango_connector": "Dango Connector",
|
||||
"dango_defender": "Dango Defender",
|
||||
"dango_flyer": "Dango Flyer",
|
||||
"dango_glutton": "Dango Glutton",
|
||||
"dango_hunter": "Dango Hunter",
|
||||
"dango_insurance": "Dango Insurance",
|
||||
"dango_insurance_defense_up": "Dango Insurance Defense Up",
|
||||
"super_recovery_dango": "Super Recovery Dango"
|
||||
},
|
||||
"endemic_life": {
|
||||
"butterflame": "Butterflame",
|
||||
"clothfly": "Clothfly",
|
||||
"cutterfly": "Cutterfly",
|
||||
"gold_wirebug": "Gold Wirebug",
|
||||
"peepersects": "Peepersects",
|
||||
"red_lampsquid": "Red Lampsquid",
|
||||
"ruby_wirebug": "Ruby Wirebug",
|
||||
"stinkmink": "Stinkmink",
|
||||
"yellow_lampsquid": "Yellow Lampsquid"
|
||||
},
|
||||
"font_name": "NotoSansKR-Bold.otf",
|
||||
"item_buffs": {
|
||||
"adamant_seed": "Adamant Seed",
|
||||
"armor_ammo": "Armor Ammo",
|
||||
"armorskin": "Armorskin",
|
||||
"dash_juice": "Dash Juice",
|
||||
"demon_ammo": "Demon Ammo",
|
||||
"demon_powder": "Demon Powder",
|
||||
"demondrug": "Demondrug",
|
||||
"gourmet_fish": "Gourmet Fish",
|
||||
"hardshell_powder": "Hardshell Powder",
|
||||
"immunizer": "Immunizer",
|
||||
"mega_armorskin": "Mega Armorskin",
|
||||
"mega_demondrug": "Mega Demondrug",
|
||||
"might_seed": "Might Seed"
|
||||
},
|
||||
"melody_effects": {
|
||||
"affinity_up": "Affinity Up",
|
||||
"attack_and_affinity_up": "Attack and Affinity Up",
|
||||
@@ -407,6 +455,19 @@
|
||||
"tremors_negated": "Tremors Negated",
|
||||
"wind_pressure_negated": "Wind Pressure Negated"
|
||||
},
|
||||
"misc_buffs": {
|
||||
"attack_up": "Attack Up",
|
||||
"defense_up": "Defense Up",
|
||||
"immunity": "Immunity",
|
||||
"natural_healing_up": "Natural Healing Up",
|
||||
"stamina_use_down": "Stamina Use Down"
|
||||
},
|
||||
"otomo_moves": {
|
||||
"go_fight_win": "Go, Fight, Win",
|
||||
"power_drum": "Power Drum",
|
||||
"rousing_roar": "Rousing Roar",
|
||||
"vase_of_vitality": "Vase of Vitality"
|
||||
},
|
||||
"parts": {
|
||||
"abdomen": "배",
|
||||
"amatsu_unknown": "?",
|
||||
@@ -476,25 +537,47 @@
|
||||
"wingclaws": "날개발톱",
|
||||
"wings": "날개"
|
||||
},
|
||||
"rampage_skills": {
|
||||
"chameleos_soul": "Chameleos Soul",
|
||||
"kushala_daora_soul": "Kushala Daora Soul"
|
||||
},
|
||||
"skills": {
|
||||
"adrenaline_rush": "Adrenaline Rush",
|
||||
"affinity_sliding": "Affinity Sliding",
|
||||
"agitator": "Agitator",
|
||||
"berserk": "Berserk",
|
||||
"bladescale_hone": "Bladescale Hone",
|
||||
"blood_awakening": "Blood Awakening",
|
||||
"bloodlust": "Bloodlust",
|
||||
"burst": "Burst",
|
||||
"coalescence": "Coalescence",
|
||||
"counterstrike": "Counterstrike",
|
||||
"dereliction": "Dereliction",
|
||||
"dragon_conversion_elemental_attack_up": "Dragon Conversion: Elem. Atk Up",
|
||||
"dragon_conversion_elemental_res_up": "Dragon Conversion: Elem. Res Up",
|
||||
"dragonheart": "Dragonheart",
|
||||
"embolden": "Embolden",
|
||||
"frenzied_bloodlust": "Frenzied Bloodlust",
|
||||
"furious": "Furious",
|
||||
"grinder_s": "Grinder (S)",
|
||||
"heaven_sent": "Heaven-Sent",
|
||||
"hellfire_cloak": "Hellfire Cloak",
|
||||
"heroics": "Heroics",
|
||||
"inspiration": "Inspiration",
|
||||
"intrepid_heart": "Intrepid Heart",
|
||||
"kushala_daora_soul": "Kushala Daora Soul",
|
||||
"latent_power": "Latent Power",
|
||||
"maximum_might": "Maximum Might",
|
||||
"offensive_guard": "Offensive Guard",
|
||||
"partbreaker": "Partbreaker",
|
||||
"peak_performance": "Peak Performance",
|
||||
"powder_mantle_blue": "Powder Mantle (Blue)",
|
||||
"powder_mantle_red": "Powder Mantle (Red)",
|
||||
"protective_polish": "Protective Polish",
|
||||
"resentment": "Resentment",
|
||||
"resuscitate": "Resuscitate",
|
||||
"spiribirds_call": "Spiribird's Call",
|
||||
"status_trigger": "Status Trigger",
|
||||
"strife": "Strife",
|
||||
"wall_runner": "Wall Runner",
|
||||
"wind_mantle": "Wind Mantle"
|
||||
},
|
||||
@@ -521,12 +604,108 @@
|
||||
4607,
|
||||
8192,
|
||||
8303,
|
||||
11904,
|
||||
12031,
|
||||
12288,
|
||||
12351,
|
||||
12592,
|
||||
12687,
|
||||
12800,
|
||||
19903,
|
||||
19968,
|
||||
40959,
|
||||
44032,
|
||||
55215,
|
||||
63744,
|
||||
64255,
|
||||
65072,
|
||||
65103,
|
||||
65280,
|
||||
65519,
|
||||
0
|
||||
]
|
||||
],
|
||||
"weapon_skills": {
|
||||
"bow": {
|
||||
"arc_shot_affinity": "Arc Shot: Affinity",
|
||||
"arc_shot_brace": "Arc Shot: Brace",
|
||||
"bolt_boost": "Bolt Boost",
|
||||
"herculean_draw": "Herculean Draw"
|
||||
},
|
||||
"charge_blade": {
|
||||
"element_boost": "Element Boost",
|
||||
"sword_boost_mode": "Sword Boost Mode"
|
||||
},
|
||||
"dual_blades": {
|
||||
"archdemon_mode": "Archdemon Mode",
|
||||
"ironshine_silk": "Ironshine Silk"
|
||||
},
|
||||
"great_sword": {
|
||||
"power_sheathe": "Power Sheathe"
|
||||
},
|
||||
"gunlance": {
|
||||
"erupting_cannon": "Erupting Cannon",
|
||||
"ground_splitter": "Ground Splitter"
|
||||
},
|
||||
"hammer": {
|
||||
"impact_burst": "Impact Burst"
|
||||
},
|
||||
"heavy_bowgun": {
|
||||
"counter_charger": "Counter Charger",
|
||||
"overheat": "Overheat",
|
||||
"rising_moon": "Rising Moon",
|
||||
"setting_sun": "Setting Sun",
|
||||
"wyvernsnipe_reload": "Wyvernsnipe Reload"
|
||||
},
|
||||
"hunting_horn": {
|
||||
"bead_of_resonance": "Bead of Resonance",
|
||||
"silkbind_shockwave": "Silkbind Shockwave",
|
||||
"sonic_bloom": "Sonic Bloom"
|
||||
},
|
||||
"insect_glaive": {
|
||||
"all_extracts_mix": "All Extracts Mix",
|
||||
"orange_extract": "Orange Extract",
|
||||
"red_extract": "Red Extract",
|
||||
"white_extract": "White Extract"
|
||||
},
|
||||
"lance": {
|
||||
"anchor_rage": "Anchor Rage",
|
||||
"spiral_thrust": "Spiral Thrust",
|
||||
"twin_wine": "Twin Wine"
|
||||
},
|
||||
"light_bowgun": {
|
||||
"fanning_maneuver": "Fanning Maneuver",
|
||||
"wyvernblast_reload": "Wyvernblast Reload"
|
||||
},
|
||||
"long_sword": {
|
||||
"harvest_moon": "Harvest Moon",
|
||||
"iai_slash": "Iai Slash",
|
||||
"soaring_kick": "Soaring Kick",
|
||||
"spirit_gauge": "Spirit Gauge",
|
||||
"spirit_gauge_autofill": "Spirit Gauge Autofill"
|
||||
},
|
||||
"switch_axe": {
|
||||
"amped_state": "Amped State",
|
||||
"axe_heavy_slam": "Axe: Heavy Slam",
|
||||
"switch_charger": "Switch Charger"
|
||||
},
|
||||
"sword_and_shield": {
|
||||
"destroyer_oil": "Destroyer Oil"
|
||||
}
|
||||
},
|
||||
"weapons": {
|
||||
"bow": "Bow",
|
||||
"charge_blade": "Charge Blade",
|
||||
"dual_blades": "Dual Blades",
|
||||
"great_sword": "Great Sword",
|
||||
"gunlance": "Gunlance",
|
||||
"hammer": "Hammer",
|
||||
"heavy_bowgun": "Heavy Bowgun",
|
||||
"hunting_horn": "Hunting Horn",
|
||||
"insect_glaive": "Insect Glaive",
|
||||
"lance": "Lance",
|
||||
"light_bowgun": "Light Bowgun",
|
||||
"long_sword": "Long Sword",
|
||||
"switch_axe": "Switch Axe",
|
||||
"sword_and_shield": "Sword & Shield"
|
||||
}
|
||||
}
|
||||
@@ -3,6 +3,7 @@
|
||||
"HP": "ОЗ:",
|
||||
"buildup": "Накопление",
|
||||
"gold": "Золото",
|
||||
"lv": "",
|
||||
"mini": "Мини",
|
||||
"otomo": "Cпутник",
|
||||
"part_anomaly_core": "Ядро аномалии",
|
||||
@@ -18,63 +19,54 @@
|
||||
},
|
||||
"ailments": {
|
||||
"blast": "Взрыв",
|
||||
"blastblight": "Blastblight",
|
||||
"bleeding": "Bleeding",
|
||||
"bloodblight": "Bloodblight",
|
||||
"bubbleblight": "Bubbleblight",
|
||||
"defense_down": "Defense Down",
|
||||
"dragonblight": "Dragonblight",
|
||||
"blastblight": "Взрывная порча",
|
||||
"bleeding": "Кровотечение",
|
||||
"bloodblight": "Кровавая порча",
|
||||
"deadly_poison": "Смертельный яд",
|
||||
"defense_down": "Защита снижена",
|
||||
"dragonblight": "Драконья Порча",
|
||||
"dung_bomb": "Навозная бомба",
|
||||
"engulfed": "Engulfed",
|
||||
"engulfed": "Окутывание",
|
||||
"exhaust": "Усталость",
|
||||
"fall_otomo_trap": "Волчья яма спутника",
|
||||
"fall_trap": "Волчья яма",
|
||||
"falling_asleep": "Засыпание",
|
||||
"fireblight": "Огненная порча",
|
||||
"flash": "Оглушение",
|
||||
"frenzy": "Frenzy",
|
||||
"frenzy_infection": "Frenzy Infection",
|
||||
"frenzy_overcome": "Frenzy Overcome",
|
||||
"frostblight": "Frostblight",
|
||||
"hellfireblight": "Hellfireblight",
|
||||
"frenzy": "Бешенство",
|
||||
"frenzy_infection": "Инфекция бешенства",
|
||||
"frenzy_overcome": "Преодоление бешенства",
|
||||
"frostblight": "Ледяная (морозная) порча",
|
||||
"hellfireblight": "Порча адского пламени",
|
||||
"iceblight": "Ледяная порча",
|
||||
"leeched": "Leeched",
|
||||
"muck": "Muck",
|
||||
"leeched": "Истощение",
|
||||
"major_bubbleblight": "Великая пузырьковая порча",
|
||||
"minor_bubbleblight": "Малая пузырьковая порча",
|
||||
"muck": "Грязь",
|
||||
"paralysis": "Паралич",
|
||||
"poison": "Отравление",
|
||||
"quick_sand": "Зыбучий песок",
|
||||
"resistance_down": "Resistance Down",
|
||||
"resistance_down": "Сопротивление снижено",
|
||||
"ride": "Езда на виверне",
|
||||
"roar": "Roar",
|
||||
"roar": "Рык",
|
||||
"shock_otomo_trap": "Шоковая ловушка спутника",
|
||||
"shock_trap": "Шоковая ловушка",
|
||||
"sleep": "Сон",
|
||||
"steel_fang": "Стальной клык",
|
||||
"stench": "Stench",
|
||||
"stench": "Зловоние",
|
||||
"stun": "Оглушение",
|
||||
"thunderblight": "Грозовая порча",
|
||||
"tranq_bomb": "Снотворная порча",
|
||||
"tremor": "Tremor",
|
||||
"tremor": "Тряска",
|
||||
"waterblight": "Водяная порча",
|
||||
"webbed": "Webbed"
|
||||
},
|
||||
"consumables": {
|
||||
"adamant_seed": "Adamant Seed",
|
||||
"armorskin": "Armorskin",
|
||||
"dash_juice": "Dash Juice",
|
||||
"demon_powder": "Demon Powder",
|
||||
"demondrug": "Demondrug",
|
||||
"gourmet_fish": "Gourmet Fish",
|
||||
"hardshell_powder": "Hardshell Powder",
|
||||
"immunizer": "Immunizer",
|
||||
"mega_armorskin": "Mega Armorskin",
|
||||
"mega_demondrug": "Mega Demondrug",
|
||||
"might_seed": "Might Seed"
|
||||
"webbed": "В паутине"
|
||||
},
|
||||
"customization_menu": {
|
||||
"UI_font": "Шрифт интерфейса",
|
||||
"UI_font_notice": "Любые изменения шрифта требуют перезагрузку скрипта!",
|
||||
"abnormal_statuses": "Аномальные статусы",
|
||||
"activation_count": "Кол-во активаций",
|
||||
"affinity_label": "Affinity Label",
|
||||
"affinity_label": "Метка мастерства",
|
||||
"ailment_buildups": "Накопление аномального статуса",
|
||||
"ailment_name": "Название аномального статуса",
|
||||
"ailment_name_label": "Метка названия аномального статуса",
|
||||
@@ -88,7 +80,7 @@
|
||||
"anomaly_health_percentage": "Здоровье ядра аномалии в процентах",
|
||||
"apply": "Применить",
|
||||
"assign_new_key": "Привязать клавишу",
|
||||
"attack_label": "Attack Label",
|
||||
"attack_label": "Метка Атаки",
|
||||
"auto_highlight": "Автофокус",
|
||||
"background": "Фон",
|
||||
"bar": "Шкала",
|
||||
@@ -107,7 +99,7 @@
|
||||
"break_max_count": "Максимальное кол-во повреждений",
|
||||
"break_sever_anomaly_filter": "Повреждение + Отсечение + Ядро аномалии",
|
||||
"break_sever_filter": "Повреждение + Отсечение",
|
||||
"buff_UI": "Интерфейс баффов",
|
||||
"buff_UI": "Интерфейс эффектов",
|
||||
"buildup": "Накопление",
|
||||
"buildup_bar": "Шкала накопления",
|
||||
"buildup_bars_are_relative_to": "Шкалы накопления расположены относительно к",
|
||||
@@ -126,7 +118,7 @@
|
||||
"crown": "Корона",
|
||||
"crown_thresholds": "Лимиты корон",
|
||||
"current_state": "Текущее состояние",
|
||||
"current_time": "Current Time",
|
||||
"current_time": "Текущее время",
|
||||
"current_value": "Текущее значение",
|
||||
"cutscene": "Катсцена",
|
||||
"damage": "Урон",
|
||||
@@ -135,34 +127,36 @@
|
||||
"damage_meter_UI": "Интерфейс модуля урона",
|
||||
"damage_percentage_label": "Метка урона в процентах",
|
||||
"damage_value_label": "Метка значений урона",
|
||||
"debug": "Debug",
|
||||
"debug_errors": "Debug Errors",
|
||||
"dango_skills": "Навыки данго",
|
||||
"debug": "Отладка",
|
||||
"default_state": "Состояние по умолчанию",
|
||||
"defense_label": "Defense Label",
|
||||
"defense_label": "Метка защиты",
|
||||
"delete": "Удалить",
|
||||
"distance": "Расстояние",
|
||||
"dps": "Урон в секунду",
|
||||
"dps_label": "Метка урона в секунду",
|
||||
"dps_mode": "Режим урона в секунду",
|
||||
"dragon_resistance_label": "Dragon Resistance Label",
|
||||
"dragon_resistance_label": "Метка сопротивления дракону",
|
||||
"duplicate": "Дублировать",
|
||||
"duration": "Продолжительность",
|
||||
"dynamic_positioning": "Динамическое позиционирование",
|
||||
"dynamically_positioned": "Рассположенный динамично",
|
||||
"element_2_label": "Element 2 Label",
|
||||
"element_label": "Element Label",
|
||||
"effect_level": "Уровень эффекта",
|
||||
"element_2_label": "Метка элемента 2",
|
||||
"element_label": "Метка элемента",
|
||||
"enable_for": "Показывать для",
|
||||
"enabled": "Включить",
|
||||
"endemic_life": "Местная живность",
|
||||
"endemic_life_UI": "Интерфейс местной живности",
|
||||
"everything_seems_to_be_ok": "Everything seems to be OK!",
|
||||
"endemic_life_buffs": "Эффекты местной живности",
|
||||
"everything_seems_to_be_ok": "Кажется, всё в порядке!",
|
||||
"family": "Семейство",
|
||||
"farthest": "Самый дальний",
|
||||
"fight_time": "Время в бою",
|
||||
"fill_direction": "Направление заполнения",
|
||||
"filter": "Фильтр",
|
||||
"filter_mode": "Режим Фильтра",
|
||||
"fire_resistance_label": "Fire Resistance Label",
|
||||
"fire_resistance_label": "Метка сопротивления огню",
|
||||
"first": "Первый",
|
||||
"first_hit": "Первый удар",
|
||||
"flinch_count": "Кол-во вздрагиваний",
|
||||
@@ -178,6 +172,7 @@
|
||||
"health_break_sever_anomaly_filter": "Здоровье + Повреждение + Отсечение + Ядро аномалии",
|
||||
"health_break_sever_filter": "Здоровье + Повреждение + Отсечение",
|
||||
"health_filter": "Здоровье",
|
||||
"health_label": "Метка здоровья",
|
||||
"health_percentage": "Здоровье в процентах",
|
||||
"health_sever_anomaly_filter": "Здоровье + Отсечение + Ядро аномалии",
|
||||
"health_sever_filter": "Здоровье + Отсечение",
|
||||
@@ -185,7 +180,7 @@
|
||||
"hide_ailments_with_zero_buildup": "Скрыть аномальный статус, если накопление равно 0",
|
||||
"hide_all_active_ailments": "Скрыть все активные аномальные статусы",
|
||||
"hide_all_inactive_ailments": "Скрыть все неактивные аномальные статусы",
|
||||
"hide_bar_for_infinite_buffs": "Скрыть шкалу у бесконечных баффов",
|
||||
"hide_bar_for_infinite_buffs": "Скрыть шкалу у бесконечных эффектов",
|
||||
"hide_dead_or_captured": "Скрыть мёртвых и захваченных монстров",
|
||||
"hide_disabled_ailments": "Скрыть отключенные аномальные статусы",
|
||||
"hide_inactive_ailments_with_no_buildup_support": "Скрыть неактивные аномальные статусы без поддержки накопления",
|
||||
@@ -195,7 +190,7 @@
|
||||
"hide_other_players": "Скрыть остальных игроков",
|
||||
"hide_player_if_player_damage_is_zero": "Скрыть игрока, если его урон равен 0",
|
||||
"hide_servants": "Скрыть последователей",
|
||||
"hide_timer_for_infinite_buffs": "Скрыть таймер у бесконечных баффов",
|
||||
"hide_timer_for_infinite_buffs": "Скрыть таймер у бесконечных эффектов",
|
||||
"hide_total_damage": "Скрыть общий урон",
|
||||
"hide_total_if_total_damage_is_zero": "Скрыть общий урон, если он равен 0",
|
||||
"hide_undamaged_parts": "Скрыть неповреждённые части тела",
|
||||
@@ -206,20 +201,22 @@
|
||||
"highlighted_buildup_bar": "Помеченная шкала накопления",
|
||||
"highlighted_damage_bar": "Помеченная шкала урона",
|
||||
"highlighted_targeted": "Помеченный",
|
||||
"history": "History",
|
||||
"history_size": "History Size",
|
||||
"history": "История",
|
||||
"history_size": "Размер истории",
|
||||
"horizontal": "Горизонтально",
|
||||
"hotkeys": "Горячие клавиши",
|
||||
"hunter_rank": "Ранг охотника",
|
||||
"hunter_rank_label": "Метка ранга охотника",
|
||||
"ice_resistance_label": "Ice Resistance Label",
|
||||
"ice_resistance_label": "Метка сопротивления льду",
|
||||
"id": "ID",
|
||||
"in_lobby": "В лобби",
|
||||
"in_training_area": "В тренировочной зоне",
|
||||
"include": "Элементы",
|
||||
"infinite_buffs_location": "Позиция бесконечных эффектов",
|
||||
"inside": "Внутри",
|
||||
"installations": "Установки",
|
||||
"italic": "Курсив",
|
||||
"item_buffs": "Эффекты предметов",
|
||||
"join_time": "Время присоединения",
|
||||
"killcam": "Камера смерти",
|
||||
"kunai": "Кунаи",
|
||||
@@ -243,8 +240,10 @@
|
||||
"max_monster_updates_per_tick": "Макс. кол-во обновлений за тик",
|
||||
"max_value": "Максимальное значение",
|
||||
"me": "Я",
|
||||
"melody_effects": "Эффекты мелодии",
|
||||
"menu_font": "Шрифт меню",
|
||||
"menu_font_change_disclaimer": "Изменение языка и размера шрифта меню несколько раз приведёт к вылету!",
|
||||
"misc_buffs": "Разные эффекты",
|
||||
"mod_name": "MHR Overlay",
|
||||
"mode": "Режим",
|
||||
"modifiers": "Модификаторы",
|
||||
@@ -270,6 +269,7 @@
|
||||
"other": "Другое",
|
||||
"other_player_otomos": "Спутники других игроков",
|
||||
"other_players": "Другие игроки",
|
||||
"otomo_moves": "Навыки спутника",
|
||||
"otomos": "Спутники",
|
||||
"outline": "Обводка",
|
||||
"outside": "Снаружи",
|
||||
@@ -293,6 +293,7 @@
|
||||
"quest_start_animation": "Анимация начала квеста",
|
||||
"quest_time": "Время квеста",
|
||||
"rage": "Ярость",
|
||||
"rampage_skills": "Навыки буйства",
|
||||
"reframework_outdated": "Установленная версия REFramework устарела. Пожалуйста, обновитесь, иначе MHR Overlay будет работать некорректно.",
|
||||
"relative_offset": "Относительный сдвиг",
|
||||
"rename": "Переименовать",
|
||||
@@ -315,28 +316,30 @@
|
||||
"show_other_player_otomos_separately": "Показывать спутников других игроков отдельно",
|
||||
"show_servant_otomos_separately": "Показывать спутников последователей отдельно",
|
||||
"size": "Размер",
|
||||
"skills": "Навыки",
|
||||
"small_monster_UI": "Интерфейс малых монстров",
|
||||
"small_monsters": "Малые монстры",
|
||||
"sorting": "Сортировка",
|
||||
"spacing": "Расстояние между элементами",
|
||||
"stamina": "Выносливость",
|
||||
"stamina_label": "Stamina Label",
|
||||
"stamina_label": "Метка выносливости",
|
||||
"static_orientation": "Статичная ориентация",
|
||||
"static_position": "Статичное расположение",
|
||||
"static_sorting": "Статичная сортировка",
|
||||
"static_spacing": "Статичное расстояние между элементами",
|
||||
"statically_positioned": "Рассположенный статично",
|
||||
"stats_UI": "Stats UI",
|
||||
"stats_UI": "Интерфейс статуса",
|
||||
"status": "Статус",
|
||||
"style": "Стиль",
|
||||
"summary_screen": "Экран Результатов",
|
||||
"summary_screen": "Экран результатов",
|
||||
"text_label": "Текстовая метка",
|
||||
"thickness": "Толщина",
|
||||
"thunder_resistance_label": "Thunder Resistance Label",
|
||||
"thunder_resistance_label": "Метка сопротивления грозе",
|
||||
"time_UI": "Интерфейс времени",
|
||||
"time_label": "Метка времени",
|
||||
"time_limit": "Ограничение по времени (cек.)",
|
||||
"timer": "Таймер",
|
||||
"timer_delays": "Задержка таймеров",
|
||||
"timer_label": "Метка таймера",
|
||||
"top_buildup": "Наибольшее накопление",
|
||||
"top_damage": "Наибольший урон",
|
||||
@@ -359,13 +362,22 @@
|
||||
"tracked_damage_types": "Отслеживаемые типы урона",
|
||||
"tracked_monster_types": "Отслеживаемые типы монстров",
|
||||
"type": "Тип",
|
||||
"update_buffs_delay": "Обновление эффектов (cек.)",
|
||||
"update_is_online_delay": "Обновление онлайн статуса (cек.)",
|
||||
"update_myself_position_delay": "Обновление собственных координат (cек.)",
|
||||
"update_player_info_delay": "Обновление информации об игроке (cек.)",
|
||||
"update_players_delay": "Обновление списка игроков (cек.)",
|
||||
"update_quest_time_delay": "Обновление продолжительности задания (cек.)",
|
||||
"update_singletons_delay": "Обновление синглтонов (cек.)",
|
||||
"update_window_size_delay": "Обновление размеров окна (cек.)",
|
||||
"use_d2d_if_available": "Использовать Direct2D, если доступен",
|
||||
"value": "Value",
|
||||
"value": "Значение",
|
||||
"value_label": "Метка значений",
|
||||
"vertical": "Вертикально",
|
||||
"viewport_offset": "Сдвиг в экранном пространстве",
|
||||
"visible": "Включить",
|
||||
"water_resistance_label": "Water Resistance Label",
|
||||
"water_resistance_label": "Метка сопротивления воде",
|
||||
"weapon_skills": "Навыки оружия",
|
||||
"width": "Ширина",
|
||||
"world_offset": "Сдвиг в игровом пространстве",
|
||||
"wyvern_riding": "Езда на виверне",
|
||||
@@ -373,39 +385,88 @@
|
||||
"y": "Y",
|
||||
"z": "Z"
|
||||
},
|
||||
"dangos": {
|
||||
"dango_defender_hi": "Dango Defender (Hi)"
|
||||
"dango_skills": {
|
||||
"dango_adrenaline": "Данго-адреналин",
|
||||
"dango_booster": "Данго-усилитель",
|
||||
"dango_bulker": "Данго-пижон",
|
||||
"dango_connector": "Данго-сцепщик",
|
||||
"dango_defender": "Данго-защитник",
|
||||
"dango_flyer": "Данго-пилот",
|
||||
"dango_glutton": "Данго-обжора",
|
||||
"dango_hunter": "Данго-охотник",
|
||||
"dango_insurance": "Данго-страховщик",
|
||||
"dango_insurance_defense_up": "Данго-страховщик: усил. защиты",
|
||||
"super_recovery_dango": "Супервосстан. данго"
|
||||
},
|
||||
"endemic_life": {
|
||||
"butterflame": "Огнебабочка",
|
||||
"clothfly": "Тканебабочка",
|
||||
"cutterfly": "Стрекоза-нож",
|
||||
"gold_wirebug": "Золотой Протожук",
|
||||
"peepersects": "Глазобабочки",
|
||||
"red_lampsquid": "Крс. Лампокальм.",
|
||||
"ruby_wirebug": "Рубиновый Протожук",
|
||||
"stinkmink": "Пахучка",
|
||||
"yellow_lampsquid": "Жлт. Лампокальм."
|
||||
},
|
||||
"font_name": "NotoSans-Bold.otf",
|
||||
"item_buffs": {
|
||||
"adamant_seed": "Адамант. зерно",
|
||||
"armor_ammo": "Защитные снаряды",
|
||||
"armorskin": "Бронир. кожа",
|
||||
"dash_juice": "Сок бодрости",
|
||||
"demon_ammo": "Демон. снаряды",
|
||||
"demon_powder": "Демон. порошок",
|
||||
"demondrug": "Демон. снадобье",
|
||||
"gourmet_fish": "Вкусная рыба",
|
||||
"hardshell_powder": "Пор. из скорлупы",
|
||||
"immunizer": "Иммунатор",
|
||||
"mega_armorskin": "Мегабронир. кожа",
|
||||
"mega_demondrug": "Мегадемон. снад.",
|
||||
"might_seed": "Зер. могущества"
|
||||
},
|
||||
"font_name": "NotoSansKR-Bold.otf",
|
||||
"melody_effects": {
|
||||
"affinity_up": "Affinity Up",
|
||||
"attack_and_affinity_up": "Attack and Affinity Up",
|
||||
"attack_and_defense_up": "Attack and Defense Up",
|
||||
"attack_up": "Attack Up",
|
||||
"blight_negated": "Blight Negated",
|
||||
"defense_up": "Defense Up",
|
||||
"divine_protection": "Divine Protection",
|
||||
"earplugs_l": "Earplugs (L)",
|
||||
"earplugs_s": "Earplugs (S)",
|
||||
"elemental_attack_boost": "Elemental Attack Boost",
|
||||
"environment_damage_negated": "Environment Damage Negated",
|
||||
"health_recovery_l": "Health Recovery (L)",
|
||||
"health_recovery_s": "Health Recovery (S)",
|
||||
"health_recovery_s_antidote": "Health Recovery (S) + Antidote",
|
||||
"health_regeneration": "Health Regeneration",
|
||||
"infernal_melody": "Infernal Melody",
|
||||
"knockbacks_negated": "Knockbacks Negated",
|
||||
"self_improvement": "Self-Improvement",
|
||||
"sharpness_extension": "Sharpness Extension",
|
||||
"sharpness_loss_reduced": "Sharpness Loss Reduced",
|
||||
"sharpness_regeneration": "Sharpness Regeneration",
|
||||
"sonic_barrier": "Sonic Barrier",
|
||||
"sonic_wave": "Sonic Wave",
|
||||
"stamina_recovery_up": "Stamina Recovery Up",
|
||||
"stamina_use_reduced": "Stamina Use Reduced",
|
||||
"stun_negated": "Stun Negated",
|
||||
"tremors_negated": "Tremors Negated",
|
||||
"wind_pressure_negated": "Wind Pressure Negated"
|
||||
"affinity_up": "Усиление мастерства",
|
||||
"attack_and_affinity_up": "Усиление атаки и мастерства",
|
||||
"attack_and_defense_up": "Усиление атаки и защиты",
|
||||
"attack_up": "Усиление атаки",
|
||||
"blight_negated": "Снятие порчи",
|
||||
"defense_up": "Усиление защиты",
|
||||
"divine_protection": "Божественная защита",
|
||||
"earplugs_l": "Наушники (L)",
|
||||
"earplugs_s": "Наушники (S)",
|
||||
"elemental_attack_boost": "Усиление атаки стихией",
|
||||
"environment_damage_negated": "Отмена урона окружением",
|
||||
"health_recovery_l": "Восст. здоровья (L)",
|
||||
"health_recovery_s": "Восст. здоровья (S)",
|
||||
"health_recovery_s_antidote": "Восст. здоровья (S) + по-ядие",
|
||||
"health_regeneration": "Регенерация ",
|
||||
"infernal_melody": "Песня яростного пламени",
|
||||
"knockbacks_negated": "Нейтрализация сбив. с ног",
|
||||
"self_improvement": "Самосовершенствование",
|
||||
"sharpness_extension": "Увеличение остроты",
|
||||
"sharpness_loss_reduced": "Замедление затупления",
|
||||
"sharpness_regeneration": "Регенерация остроты",
|
||||
"sonic_barrier": "Звуковой барьер",
|
||||
"sonic_wave": "Звуковая волна",
|
||||
"stamina_recovery_up": "Улучш. восст. выносливости",
|
||||
"stamina_use_reduced": "Усиление выносливости",
|
||||
"stun_negated": "Нейтрализация оглушения",
|
||||
"tremors_negated": "Нейтрализация тряски",
|
||||
"wind_pressure_negated": "Отмена давления ветра"
|
||||
},
|
||||
"misc_buffs": {
|
||||
"attack_up": "Усиление атаки",
|
||||
"defense_up": "Усиление защиты",
|
||||
"immunity": "Устойчивость",
|
||||
"natural_healing_up": "Естественное лечение",
|
||||
"stamina_use_down": "Уменьшение расхода выносливости"
|
||||
},
|
||||
"otomo_moves": {
|
||||
"go_fight_win": "Сражайся, побеждай",
|
||||
"power_drum": "Барабан силы",
|
||||
"rousing_roar": "Воодушевляющий рев",
|
||||
"vase_of_vitality": "Ваза живучести"
|
||||
},
|
||||
"parts": {
|
||||
"abdomen": "Брюхо",
|
||||
@@ -476,53 +537,169 @@
|
||||
"wingclaws": "Крыло-коготь",
|
||||
"wings": "Крылья"
|
||||
},
|
||||
"rampage_skills": {
|
||||
"chameleos_soul": "Душа Хамелеоса",
|
||||
"kushala_daora_soul": "Душа Кушалы Даоры"
|
||||
},
|
||||
"skills": {
|
||||
"adrenaline_rush": "Adrenaline Rush",
|
||||
"affinity_sliding": "Affinity Sliding",
|
||||
"agitator": "Agitator",
|
||||
"burst": "Burst",
|
||||
"coalescence": "Coalescence",
|
||||
"counterstrike": "Counterstrike",
|
||||
"dereliction": "Dereliction",
|
||||
"furious": "Furious",
|
||||
"grinder_s": "Grinder (S)",
|
||||
"heaven_sent": "Heaven-Sent",
|
||||
"hellfire_cloak": "Hellfire Cloak",
|
||||
"heroics": "Heroics",
|
||||
"intrepid_heart": "Intrepid Heart",
|
||||
"kushala_daora_soul": "Kushala Daora Soul",
|
||||
"latent_power": "Latent Power",
|
||||
"offensive_guard": "Offensive Guard",
|
||||
"protective_polish": "Protective Polish",
|
||||
"resuscitate": "Resuscitate",
|
||||
"wall_runner": "Wall Runner",
|
||||
"wind_mantle": "Wind Mantle"
|
||||
"adrenaline_rush": "Прилив адреналина",
|
||||
"affinity_sliding": "Мастерский подкат",
|
||||
"agitator": "Подстрекатель",
|
||||
"berserk": "Безумец",
|
||||
"bladescale_hone": "Острая чешуя",
|
||||
"blood_awakening": "Пробуждение крови",
|
||||
"bloodlust": "Кровожадность",
|
||||
"burst": "Выброс",
|
||||
"coalescence": "Сращивание",
|
||||
"counterstrike": "Контрудар",
|
||||
"dereliction": "Упущение",
|
||||
"dragon_conversion_elemental_attack_up": "Преобраз-е дракона: усил. эл. атаки",
|
||||
"dragon_conversion_elemental_res_up": "Преобраз-е дракона: усил. сопротивл.",
|
||||
"dragonheart": "Драконье сердце",
|
||||
"embolden": "Воодушевление",
|
||||
"frenzied_bloodlust": "Буйная кровожадность",
|
||||
"furious": "Гнев",
|
||||
"grinder_s": "Дробилка (S)",
|
||||
"heaven_sent": "Божий посланник",
|
||||
"hellfire_cloak": "Завеса ад. пламени",
|
||||
"heroics": "Героизм",
|
||||
"inspiration": "Вдохновение",
|
||||
"intrepid_heart": "бесстрашное сердце",
|
||||
"latent_power": "Скрытая энергия",
|
||||
"maximum_might": "Макс. могущество",
|
||||
"offensive_guard": "Агрессивная защита",
|
||||
"partbreaker": "Рассекатель",
|
||||
"peak_performance": "На высоте",
|
||||
"powder_mantle_blue": "Порошковый покров (синий)",
|
||||
"powder_mantle_red": "Порошковый покров (красный)",
|
||||
"protective_polish": "Защитная полировка",
|
||||
"resentment": "Презрение",
|
||||
"resuscitate": "Оживление",
|
||||
"spiribirds_call": "Зов Духоптицы",
|
||||
"status_trigger": "Смена статуса",
|
||||
"strife": "Борьба",
|
||||
"wall_runner": "Бегун по стенам",
|
||||
"wind_mantle": "Мантия ветра"
|
||||
},
|
||||
"stats": {
|
||||
"affinity": "Affinity",
|
||||
"attack": "Attack",
|
||||
"defense": "Defense",
|
||||
"dragon": "Dragon",
|
||||
"dragon_resistance": "Dragon Res",
|
||||
"fire": "Fire",
|
||||
"fire_resistance": "Fire Res",
|
||||
"ice": "Ice",
|
||||
"ice_resistance": "Ice Res",
|
||||
"stamina": "Stamina",
|
||||
"thunder": "Thunder",
|
||||
"thunder_resistance": "Thunder Res",
|
||||
"water": "Water",
|
||||
"water_resistance": "Water Res"
|
||||
"affinity": "Мастерство",
|
||||
"attack": "Атака",
|
||||
"defense": "Защита",
|
||||
"dragon": "Дракон",
|
||||
"dragon_resistance": "Сопрот. дракону",
|
||||
"fire": "Огонь",
|
||||
"fire_resistance": "Сопрот. огню",
|
||||
"ice": "Лед",
|
||||
"ice_resistance": "Сопрот. льду",
|
||||
"stamina": "Выносливость",
|
||||
"thunder": "Гроза",
|
||||
"thunder_resistance": "Сопрот. грозе",
|
||||
"water": "Вода",
|
||||
"water_resistance": "Сопрот. воде"
|
||||
},
|
||||
"unicode_glyph_ranges": [
|
||||
32,
|
||||
255,
|
||||
256,
|
||||
383,
|
||||
1024,
|
||||
1241,
|
||||
1327,
|
||||
7680,
|
||||
7935,
|
||||
8192,
|
||||
8303,
|
||||
65280,
|
||||
65519,
|
||||
0,
|
||||
64255,
|
||||
65072,
|
||||
65103,
|
||||
65280,
|
||||
65519,
|
||||
0
|
||||
]
|
||||
],
|
||||
"weapon_skills": {
|
||||
"bow": {
|
||||
"arc_shot_affinity": "Выстрел дугой: мастерство",
|
||||
"arc_shot_brace": "Выстрел дугой: сгруппир.",
|
||||
"bolt_boost": "Усиление снарядов",
|
||||
"herculean_draw": "Натяжение Геркулеса"
|
||||
},
|
||||
"charge_blade": {
|
||||
"element_boost": "Усиление стихии",
|
||||
"sword_boost_mode": "Режим усиления меча"
|
||||
},
|
||||
"dual_blades": {
|
||||
"archdemon_mode": "Режим архидемона",
|
||||
"ironshine_silk": "Блестящий шелк"
|
||||
},
|
||||
"great_sword": {
|
||||
"power_sheathe": "Мощное убирание оружия"
|
||||
},
|
||||
"gunlance": {
|
||||
"erupting_cannon": "Вулканическая пушка",
|
||||
"ground_splitter": "Раскол земли"
|
||||
},
|
||||
"hammer": {
|
||||
"impact_burst": "Взрыв от удара"
|
||||
},
|
||||
"heavy_bowgun": {
|
||||
"counter_charger": "Заряженная контратака",
|
||||
"overheat": "Перегрев",
|
||||
"rising_moon": "Восходящая луна",
|
||||
"setting_sun": "Заходящее солнце",
|
||||
"wyvernsnipe_reload": "Перезарядка меткости виверны"
|
||||
},
|
||||
"hunting_horn": {
|
||||
"bead_of_resonance": "Бусина резонанса",
|
||||
"silkbind_shockwave": "Волна паутины",
|
||||
"sonic_bloom": "Звуковой цветов"
|
||||
},
|
||||
"insect_glaive": {
|
||||
"all_extracts_mix": "Смесь всех экстрактов",
|
||||
"orange_extract": "Оранжевый экстракт",
|
||||
"red_extract": "Красный экстракт",
|
||||
"white_extract": "Белый экстракт"
|
||||
},
|
||||
"lance": {
|
||||
"anchor_rage": "Опорный гнев",
|
||||
"spiral_thrust": "Спиральный выпад",
|
||||
"twin_wine": "Побеги-близнецы"
|
||||
},
|
||||
"light_bowgun": {
|
||||
"fanning_maneuver": "Веерный маневр",
|
||||
"wyvernblast_reload": "Перезарядка взрыва виверны"
|
||||
},
|
||||
"long_sword": {
|
||||
"harvest_moon": "Луна урожая",
|
||||
"iai_slash": "Удар на выхвате",
|
||||
"soaring_kick": "Парящий удар ногой",
|
||||
"spirit_gauge": "Шкала духа",
|
||||
"spirit_gauge_autofill": "Самозаполнение шкалы духа"
|
||||
},
|
||||
"switch_axe": {
|
||||
"amped_state": "Усил. состояние",
|
||||
"axe_heavy_slam": "Топор: Неистовый удар",
|
||||
"switch_charger": "Выкидной заряд"
|
||||
},
|
||||
"sword_and_shield": {
|
||||
"destroyer_oil": "Масло уничтожения"
|
||||
}
|
||||
},
|
||||
"weapons": {
|
||||
"bow": "Лук",
|
||||
"charge_blade": "Силовой клинок",
|
||||
"dual_blades": "Два клинка",
|
||||
"great_sword": "Двуручный меч",
|
||||
"gunlance": "Копьепушка",
|
||||
"hammer": "Молот",
|
||||
"heavy_bowgun": "Тяжелое лукорудие",
|
||||
"hunting_horn": "Охотничий рог",
|
||||
"insect_glaive": "Глефа насекомых",
|
||||
"lance": "Копье",
|
||||
"light_bowgun": "Легкое лукорудие",
|
||||
"long_sword": "Бастард",
|
||||
"switch_axe": "Выкидной топор",
|
||||
"sword_and_shield": "Меч и щит"
|
||||
}
|
||||
}
|
||||
@@ -3,9 +3,10 @@
|
||||
"HP": "生命:",
|
||||
"buildup": "积累值:",
|
||||
"gold": "金冠",
|
||||
"lv": "",
|
||||
"mini": "小型",
|
||||
"otomo": "随从",
|
||||
"part_anomaly_core": "怪异核",
|
||||
"part_anomaly_core": "Anomaly Core",
|
||||
"part_break": "部位破坏",
|
||||
"part_sever": "部位切断",
|
||||
"player": "玩家",
|
||||
@@ -21,7 +22,7 @@
|
||||
"blastblight": "Blastblight",
|
||||
"bleeding": "Bleeding",
|
||||
"bloodblight": "Bloodblight",
|
||||
"bubbleblight": "Bubbleblight",
|
||||
"deadly_poison": "Deadly Poison",
|
||||
"defense_down": "Defense Down",
|
||||
"dragonblight": "Dragonblight",
|
||||
"dung_bomb": "异臭球",
|
||||
@@ -29,6 +30,7 @@
|
||||
"exhaust": "减气",
|
||||
"fall_otomo_trap": "随从落穴陷阱",
|
||||
"fall_trap": "落穴陷阱",
|
||||
"falling_asleep": "Falling Asleep",
|
||||
"fireblight": "火异常状态",
|
||||
"flash": "闪光",
|
||||
"frenzy": "Frenzy",
|
||||
@@ -38,6 +40,8 @@
|
||||
"hellfireblight": "Hellfireblight",
|
||||
"iceblight": "冰异常状态",
|
||||
"leeched": "Leeched",
|
||||
"major_bubbleblight": "Major Bubbleblight",
|
||||
"minor_bubbleblight": "Minor Bubbleblight",
|
||||
"muck": "Muck",
|
||||
"paralysis": "麻痹",
|
||||
"poison": "中毒",
|
||||
@@ -57,22 +61,10 @@
|
||||
"waterblight": "水异常状态",
|
||||
"webbed": "Webbed"
|
||||
},
|
||||
"consumables": {
|
||||
"adamant_seed": "Adamant Seed",
|
||||
"armorskin": "Armorskin",
|
||||
"dash_juice": "Dash Juice",
|
||||
"demon_powder": "Demon Powder",
|
||||
"demondrug": "Demondrug",
|
||||
"gourmet_fish": "Gourmet Fish",
|
||||
"hardshell_powder": "Hardshell Powder",
|
||||
"immunizer": "Immunizer",
|
||||
"mega_armorskin": "Mega Armorskin",
|
||||
"mega_demondrug": "Mega Demondrug",
|
||||
"might_seed": "Might Seed"
|
||||
},
|
||||
"customization_menu": {
|
||||
"UI_font": "UI字体",
|
||||
"UI_font_notice": "当更改字体时,请重新加载脚本!",
|
||||
"abnormal_statuses": "Abnormal Statuses",
|
||||
"activation_count": "激活次数",
|
||||
"affinity_label": "Affinity Label",
|
||||
"ailment_buildups": "状态异常积累值",
|
||||
@@ -82,10 +74,10 @@
|
||||
"ailments": "状态异常",
|
||||
"all_UI": "所有UI",
|
||||
"anchor": "锚点",
|
||||
"anomaly_cores": "怪异核",
|
||||
"anomaly_filter": "怪异核",
|
||||
"anomaly_health": "怪异核破坏值",
|
||||
"anomaly_health_percentage": "怪异核破坏百分比",
|
||||
"anomaly_cores": "Anomaly Cores",
|
||||
"anomaly_filter": "Anomaly Core",
|
||||
"anomaly_health": "Anomaly Core Health",
|
||||
"anomaly_health_percentage": "Anomaly Core Health Percentage",
|
||||
"apply": "应用",
|
||||
"assign_new_key": "指定新按键",
|
||||
"attack_label": "Attack Label",
|
||||
@@ -95,17 +87,17 @@
|
||||
"blast": "爆破",
|
||||
"body_parts": "身体部位",
|
||||
"bold": "粗体",
|
||||
"bombs": "爆桶",
|
||||
"bombs": "Bombs",
|
||||
"bottom_left": "左下",
|
||||
"bottom_right": "右下",
|
||||
"bottom_to_top": "从下到上",
|
||||
"break_anomaly_filter": "破坏+怪异核",
|
||||
"bottom_to_top": "Bottom to Top",
|
||||
"break_anomaly_filter": "Break + Anomaly Core",
|
||||
"break_count": "破坏次数",
|
||||
"break_filter": "破坏",
|
||||
"break_health": "破坏值",
|
||||
"break_health_percentage": "破坏值百分比",
|
||||
"break_max_count": "最大破坏次数",
|
||||
"break_sever_anomaly_filter": "破坏+切断+怪异核",
|
||||
"break_sever_anomaly_filter": "Break + Sever + Anomaly Core",
|
||||
"break_sever_filter": "破坏+切断",
|
||||
"buff_UI": "Buff UI",
|
||||
"buildup": "积累值",
|
||||
@@ -135,8 +127,8 @@
|
||||
"damage_meter_UI": "伤害统计UI",
|
||||
"damage_percentage_label": "伤害百分比标签",
|
||||
"damage_value_label": "伤害量标签",
|
||||
"dango_skills": "Dango Skills",
|
||||
"debug": "Debug",
|
||||
"debug_errors": "Debug Errors",
|
||||
"default_state": "默认阶段",
|
||||
"defense_label": "Defense Label",
|
||||
"delete": "删除",
|
||||
@@ -149,17 +141,19 @@
|
||||
"duration": "持续时间",
|
||||
"dynamic_positioning": "动态位置",
|
||||
"dynamically_positioned": "动态位置",
|
||||
"effect_level": "Effect Level",
|
||||
"element_2_label": "Element 2 Label",
|
||||
"element_label": "Element Label",
|
||||
"enable_for": "开启",
|
||||
"enabled": "开启",
|
||||
"endemic_life": "环境生物",
|
||||
"endemic_life": "Endemic Life",
|
||||
"endemic_life_UI": "环境生物UI",
|
||||
"endemic_life_buffs": "Endemic Life Buffs",
|
||||
"everything_seems_to_be_ok": "Everything seems to be OK!",
|
||||
"family": "字体",
|
||||
"farthest": "最远",
|
||||
"fight_time": "战斗时间",
|
||||
"fill_direction": "填充方向",
|
||||
"fill_direction": "Fill Direction",
|
||||
"filter": "筛选器",
|
||||
"filter_mode": "筛选方式",
|
||||
"fire_resistance_label": "Fire Resistance Label",
|
||||
@@ -172,14 +166,15 @@
|
||||
"global_scale_modifier": "全局比例更改",
|
||||
"global_settings": "全局设定",
|
||||
"health": "生命",
|
||||
"health_anomaly_filter": "生命+怪异核",
|
||||
"health_break_anomaly_filter": "生命+破坏+怪异核",
|
||||
"health_anomaly_filter": "Health + Anomaly Core",
|
||||
"health_break_anomaly_filter": "Health + Break + Anomaly Core",
|
||||
"health_break_filter": "生命+破坏",
|
||||
"health_break_sever_anomaly_filter": "生命+破坏+切断+怪异核",
|
||||
"health_break_sever_anomaly_filter": "Health + Break + Sever + Anomaly Core",
|
||||
"health_break_sever_filter": "生命+破坏+切断",
|
||||
"health_filter": "生命",
|
||||
"health_label": "Health Label",
|
||||
"health_percentage": "生命百分比",
|
||||
"health_sever_anomaly_filter": "生命+切断+怪异核",
|
||||
"health_sever_anomaly_filter": "Health + Sever + Anomaly Core",
|
||||
"health_sever_filter": "生命+切断",
|
||||
"height": "高度",
|
||||
"hide_ailments_with_zero_buildup": "当积累值为0时隐藏该状态异常",
|
||||
@@ -217,12 +212,14 @@
|
||||
"in_lobby": "在大厅",
|
||||
"in_training_area": "在修炼场",
|
||||
"include": "包含",
|
||||
"infinite_buffs_location": "Infinite Buffs Location",
|
||||
"inside": "里面",
|
||||
"installations": "狩猎设备",
|
||||
"installations": "Installations",
|
||||
"italic": "斜体",
|
||||
"item_buffs": "Item Buffs",
|
||||
"join_time": "加入时间",
|
||||
"killcam": "击杀镜头",
|
||||
"kunai": "苦无",
|
||||
"kunai": "Kunai",
|
||||
"language": "语言",
|
||||
"large_monster_UI": "大型怪物UI",
|
||||
"large_monster_dynamic_UI": "大型怪物浮动UI",
|
||||
@@ -230,7 +227,7 @@
|
||||
"large_monster_static_UI": "大型怪物固定UI",
|
||||
"large_monsters": "大型怪物群",
|
||||
"last": "最后",
|
||||
"left_to_right": "从左到右",
|
||||
"left_to_right": "Left to Right",
|
||||
"level": "等级",
|
||||
"level_label": "等级标签",
|
||||
"loading_quest": "任务加载中",
|
||||
@@ -243,8 +240,10 @@
|
||||
"max_monster_updates_per_tick": "每次更新的最大怪物数量",
|
||||
"max_value": "最大值",
|
||||
"me": "我",
|
||||
"melody_effects": "Melody Effects",
|
||||
"menu_font": "菜单字体",
|
||||
"menu_font_change_disclaimer": "多次改变字体或语言会导致崩溃!",
|
||||
"misc_buffs": "Misc Buffs",
|
||||
"mod_name": "MHR Overlay",
|
||||
"mode": "模式",
|
||||
"modifiers": "更改项",
|
||||
@@ -254,7 +253,7 @@
|
||||
"monster_id": "怪物ID",
|
||||
"monster_name": "怪物名",
|
||||
"monster_name_label": "怪物名标签",
|
||||
"monsters": "怪物",
|
||||
"monsters": "Monsters",
|
||||
"my_damage_bar_location": "我的伤害条位置",
|
||||
"my_otomos": "我的随从",
|
||||
"myself": "我自己",
|
||||
@@ -267,10 +266,11 @@
|
||||
"offset_is_relative_to_parts": "根据部位偏移",
|
||||
"opacity_falloff": "透明度增加",
|
||||
"orientation": "方向",
|
||||
"other": "其它",
|
||||
"other": "Other",
|
||||
"other_player_otomos": "其他玩家的随从",
|
||||
"other_players": "其他玩家",
|
||||
"otomos": "随从",
|
||||
"otomo_moves": "Buddy Moves",
|
||||
"otomos": "Buddies",
|
||||
"outline": "轮廓",
|
||||
"outside": "外面",
|
||||
"part_health": "部位生命值",
|
||||
@@ -281,7 +281,7 @@
|
||||
"player_name_label": "玩家名标签",
|
||||
"player_name_size_limit": "玩家名长度限制",
|
||||
"player_spacing": "玩家间距",
|
||||
"players": "玩家",
|
||||
"players": "Players",
|
||||
"playing_quest": "操作界面/正常游玩时",
|
||||
"poison": "中毒",
|
||||
"position": "位置",
|
||||
@@ -293,28 +293,30 @@
|
||||
"quest_start_animation": "任务开始动画",
|
||||
"quest_time": "任务时间",
|
||||
"rage": "愤怒",
|
||||
"rampage_skills": "Rampage Skills",
|
||||
"reframework_outdated": "已安装的REFramework版本过低,请更新。否则MHR Overlay不能正常工作。",
|
||||
"relative_offset": "相对偏移",
|
||||
"rename": "重命名",
|
||||
"render_highlighted_monster": "渲染高亮怪物",
|
||||
"render_inactive_anomaly_cores": "渲染不活跃的怪异核",
|
||||
"render_inactive_anomaly_cores": "Render Inactive Anomaly Cores",
|
||||
"render_not_highlighted_monsters": "渲染非高亮怪物",
|
||||
"renderer": "渲染器",
|
||||
"reset": "重置",
|
||||
"reversed_order": "逆向排序",
|
||||
"reward_screen": "奖励界面",
|
||||
"right_alignment_shift": "右对齐偏移距离",
|
||||
"right_to_left": "从右到左",
|
||||
"right_alignment_shift": "Right Alignment Shift",
|
||||
"right_to_left": "Right to Left",
|
||||
"servant_otomos": "盟友随从",
|
||||
"servants": "盟友",
|
||||
"settings": "设定",
|
||||
"sever_anomaly_filter": "切断+怪异核",
|
||||
"sever_anomaly_filter": "Sever + Anomaly Core",
|
||||
"sever_filter": "切断",
|
||||
"shadow": "阴影",
|
||||
"show_my_otomos_separately": "分开显示我的随从",
|
||||
"show_other_player_otomos_separately": "分开显示其他玩家的随从",
|
||||
"show_servant_otomos_separately": "分开显示盟友的随从",
|
||||
"size": "大小",
|
||||
"skills": "Skills",
|
||||
"small_monster_UI": "小型怪物UI",
|
||||
"small_monsters": "小型怪物群",
|
||||
"sorting": "排序方式",
|
||||
@@ -337,13 +339,14 @@
|
||||
"time_label": "时间标签",
|
||||
"time_limit": "时间限制(秒)",
|
||||
"timer": "计时器",
|
||||
"timer_delays": "Timer Delays",
|
||||
"timer_label": "计时器标签",
|
||||
"top_buildup": "最高积累值",
|
||||
"top_damage": "最高伤害",
|
||||
"top_damage": "Top Damage",
|
||||
"top_dps": "最高DPS",
|
||||
"top_left": "左上",
|
||||
"top_right": "右上",
|
||||
"top_to_bottom": "从上到下",
|
||||
"top_to_bottom": "Top to Bottom",
|
||||
"total": "总计",
|
||||
"total_buildup": "总积累值",
|
||||
"total_buildup_label": "总积累值标签",
|
||||
@@ -359,6 +362,14 @@
|
||||
"tracked_damage_types": "跟踪的伤害类型",
|
||||
"tracked_monster_types": "跟踪的怪物类型",
|
||||
"type": "类型",
|
||||
"update_buffs_delay": "Update Buffs (seconds)",
|
||||
"update_is_online_delay": "Update Is Online (seconds)",
|
||||
"update_myself_position_delay": "Update Myself Position (seconds)",
|
||||
"update_player_info_delay": "Update Player Info (seconds)",
|
||||
"update_players_delay": "Update Players (seconds)",
|
||||
"update_quest_time_delay": "Update Quest Time (seconds)",
|
||||
"update_singletons_delay": "Update Singletons (seconds)",
|
||||
"update_window_size_delay": "Update Window Size (seconds)",
|
||||
"use_d2d_if_available": "可用时使用Direct2D",
|
||||
"value": "Value",
|
||||
"value_label": "数字",
|
||||
@@ -366,17 +377,54 @@
|
||||
"viewport_offset": "窗口偏移",
|
||||
"visible": "可见",
|
||||
"water_resistance_label": "Water Resistance Label",
|
||||
"weapon_skills": "Weapon Skills",
|
||||
"width": "宽度",
|
||||
"world_offset": "整体偏移",
|
||||
"wyvern_riding": "御龙",
|
||||
"wyvern_riding": "Wyvern Riding",
|
||||
"x": "X轴",
|
||||
"y": "Y轴",
|
||||
"z": "Z轴"
|
||||
},
|
||||
"dangos": {
|
||||
"dango_defender_hi": "Dango Defender (Hi)"
|
||||
"dango_skills": {
|
||||
"dango_adrenaline": "Dango Adrenaline",
|
||||
"dango_booster": "Dango Booster",
|
||||
"dango_bulker": "Dango Bulker",
|
||||
"dango_connector": "Dango Connector",
|
||||
"dango_defender": "Dango Defender",
|
||||
"dango_flyer": "Dango Flyer",
|
||||
"dango_glutton": "Dango Glutton",
|
||||
"dango_hunter": "Dango Hunter",
|
||||
"dango_insurance": "Dango Insurance",
|
||||
"dango_insurance_defense_up": "Dango Insurance Defense Up",
|
||||
"super_recovery_dango": "Super Recovery Dango"
|
||||
},
|
||||
"endemic_life": {
|
||||
"butterflame": "Butterflame",
|
||||
"clothfly": "Clothfly",
|
||||
"cutterfly": "Cutterfly",
|
||||
"gold_wirebug": "Gold Wirebug",
|
||||
"peepersects": "Peepersects",
|
||||
"red_lampsquid": "Red Lampsquid",
|
||||
"ruby_wirebug": "Ruby Wirebug",
|
||||
"stinkmink": "Stinkmink",
|
||||
"yellow_lampsquid": "Yellow Lampsquid"
|
||||
},
|
||||
"font_name": "NotoSansSC-Bold.otf",
|
||||
"item_buffs": {
|
||||
"adamant_seed": "Adamant Seed",
|
||||
"armor_ammo": "Armor Ammo",
|
||||
"armorskin": "Armorskin",
|
||||
"dash_juice": "Dash Juice",
|
||||
"demon_ammo": "Demon Ammo",
|
||||
"demon_powder": "Demon Powder",
|
||||
"demondrug": "Demondrug",
|
||||
"gourmet_fish": "Gourmet Fish",
|
||||
"hardshell_powder": "Hardshell Powder",
|
||||
"immunizer": "Immunizer",
|
||||
"mega_armorskin": "Mega Armorskin",
|
||||
"mega_demondrug": "Mega Demondrug",
|
||||
"might_seed": "Might Seed"
|
||||
},
|
||||
"melody_effects": {
|
||||
"affinity_up": "Affinity Up",
|
||||
"attack_and_affinity_up": "Attack and Affinity Up",
|
||||
@@ -407,6 +455,19 @@
|
||||
"tremors_negated": "Tremors Negated",
|
||||
"wind_pressure_negated": "Wind Pressure Negated"
|
||||
},
|
||||
"misc_buffs": {
|
||||
"attack_up": "Attack Up",
|
||||
"defense_up": "Defense Up",
|
||||
"immunity": "Immunity",
|
||||
"natural_healing_up": "Natural Healing Up",
|
||||
"stamina_use_down": "Stamina Use Down"
|
||||
},
|
||||
"otomo_moves": {
|
||||
"go_fight_win": "Go, Fight, Win",
|
||||
"power_drum": "Power Drum",
|
||||
"rousing_roar": "Rousing Roar",
|
||||
"vase_of_vitality": "Vase of Vitality"
|
||||
},
|
||||
"parts": {
|
||||
"abdomen": "腹部",
|
||||
"amatsu_unknown": "?",
|
||||
@@ -476,25 +537,47 @@
|
||||
"wingclaws": "翼爪",
|
||||
"wings": "翼"
|
||||
},
|
||||
"rampage_skills": {
|
||||
"chameleos_soul": "Chameleos Soul",
|
||||
"kushala_daora_soul": "Kushala Daora Soul"
|
||||
},
|
||||
"skills": {
|
||||
"adrenaline_rush": "Adrenaline Rush",
|
||||
"affinity_sliding": "Affinity Sliding",
|
||||
"agitator": "Agitator",
|
||||
"berserk": "Berserk",
|
||||
"bladescale_hone": "Bladescale Hone",
|
||||
"blood_awakening": "Blood Awakening",
|
||||
"bloodlust": "Bloodlust",
|
||||
"burst": "Burst",
|
||||
"coalescence": "Coalescence",
|
||||
"counterstrike": "Counterstrike",
|
||||
"dereliction": "Dereliction",
|
||||
"dragon_conversion_elemental_attack_up": "Dragon Conversion: Elem. Atk Up",
|
||||
"dragon_conversion_elemental_res_up": "Dragon Conversion: Elem. Res Up",
|
||||
"dragonheart": "Dragonheart",
|
||||
"embolden": "Embolden",
|
||||
"frenzied_bloodlust": "Frenzied Bloodlust",
|
||||
"furious": "Furious",
|
||||
"grinder_s": "Grinder (S)",
|
||||
"heaven_sent": "Heaven-Sent",
|
||||
"hellfire_cloak": "Hellfire Cloak",
|
||||
"heroics": "Heroics",
|
||||
"inspiration": "Inspiration",
|
||||
"intrepid_heart": "Intrepid Heart",
|
||||
"kushala_daora_soul": "Kushala Daora Soul",
|
||||
"latent_power": "Latent Power",
|
||||
"maximum_might": "Maximum Might",
|
||||
"offensive_guard": "Offensive Guard",
|
||||
"partbreaker": "Partbreaker",
|
||||
"peak_performance": "Peak Performance",
|
||||
"powder_mantle_blue": "Powder Mantle (Blue)",
|
||||
"powder_mantle_red": "Powder Mantle (Red)",
|
||||
"protective_polish": "Protective Polish",
|
||||
"resentment": "Resentment",
|
||||
"resuscitate": "Resuscitate",
|
||||
"spiribirds_call": "Spiribird's Call",
|
||||
"status_trigger": "Status Trigger",
|
||||
"strife": "Strife",
|
||||
"wall_runner": "Wall Runner",
|
||||
"wind_mantle": "Wind Mantle"
|
||||
},
|
||||
@@ -519,14 +602,104 @@
|
||||
255,
|
||||
8192,
|
||||
8303,
|
||||
11904,
|
||||
12031,
|
||||
12288,
|
||||
12543,
|
||||
12784,
|
||||
12799,
|
||||
12351,
|
||||
12800,
|
||||
19903,
|
||||
19968,
|
||||
40879,
|
||||
40959,
|
||||
63744,
|
||||
64255,
|
||||
65072,
|
||||
65103,
|
||||
65280,
|
||||
65519,
|
||||
0
|
||||
]
|
||||
],
|
||||
"weapon_skills": {
|
||||
"bow": {
|
||||
"arc_shot_affinity": "Arc Shot: Affinity",
|
||||
"arc_shot_brace": "Arc Shot: Brace",
|
||||
"bolt_boost": "Bolt Boost",
|
||||
"herculean_draw": "Herculean Draw"
|
||||
},
|
||||
"charge_blade": {
|
||||
"element_boost": "Element Boost",
|
||||
"sword_boost_mode": "Sword Boost Mode"
|
||||
},
|
||||
"dual_blades": {
|
||||
"archdemon_mode": "Archdemon Mode",
|
||||
"ironshine_silk": "Ironshine Silk"
|
||||
},
|
||||
"great_sword": {
|
||||
"power_sheathe": "Power Sheathe"
|
||||
},
|
||||
"gunlance": {
|
||||
"erupting_cannon": "Erupting Cannon",
|
||||
"ground_splitter": "Ground Splitter"
|
||||
},
|
||||
"hammer": {
|
||||
"impact_burst": "Impact Burst"
|
||||
},
|
||||
"heavy_bowgun": {
|
||||
"counter_charger": "Counter Charger",
|
||||
"overheat": "Overheat",
|
||||
"rising_moon": "Rising Moon",
|
||||
"setting_sun": "Setting Sun",
|
||||
"wyvernsnipe_reload": "Wyvernsnipe Reload"
|
||||
},
|
||||
"hunting_horn": {
|
||||
"bead_of_resonance": "Bead of Resonance",
|
||||
"silkbind_shockwave": "Silkbind Shockwave",
|
||||
"sonic_bloom": "Sonic Bloom"
|
||||
},
|
||||
"insect_glaive": {
|
||||
"all_extracts_mix": "All Extracts Mix",
|
||||
"orange_extract": "Orange Extract",
|
||||
"red_extract": "Red Extract",
|
||||
"white_extract": "White Extract"
|
||||
},
|
||||
"lance": {
|
||||
"anchor_rage": "Anchor Rage",
|
||||
"spiral_thrust": "Spiral Thrust",
|
||||
"twin_wine": "Twin Wine"
|
||||
},
|
||||
"light_bowgun": {
|
||||
"fanning_maneuver": "Fanning Maneuver",
|
||||
"wyvernblast_reload": "Wyvernblast Reload"
|
||||
},
|
||||
"long_sword": {
|
||||
"harvest_moon": "Harvest Moon",
|
||||
"iai_slash": "Iai Slash",
|
||||
"soaring_kick": "Soaring Kick",
|
||||
"spirit_gauge": "Spirit Gauge",
|
||||
"spirit_gauge_autofill": "Spirit Gauge Autofill"
|
||||
},
|
||||
"switch_axe": {
|
||||
"amped_state": "Amped State",
|
||||
"axe_heavy_slam": "Axe: Heavy Slam",
|
||||
"switch_charger": "Switch Charger"
|
||||
},
|
||||
"sword_and_shield": {
|
||||
"destroyer_oil": "Destroyer Oil"
|
||||
}
|
||||
},
|
||||
"weapons": {
|
||||
"bow": "Bow",
|
||||
"charge_blade": "Charge Blade",
|
||||
"dual_blades": "Dual Blades",
|
||||
"great_sword": "Great Sword",
|
||||
"gunlance": "Gunlance",
|
||||
"hammer": "Hammer",
|
||||
"heavy_bowgun": "Heavy Bowgun",
|
||||
"hunting_horn": "Hunting Horn",
|
||||
"insect_glaive": "Insect Glaive",
|
||||
"lance": "Lance",
|
||||
"light_bowgun": "Light Bowgun",
|
||||
"long_sword": "Long Sword",
|
||||
"switch_axe": "Switch Axe",
|
||||
"sword_and_shield": "Sword & Shield"
|
||||
}
|
||||
}
|
||||
@@ -3,6 +3,7 @@
|
||||
"HP": "生命:",
|
||||
"buildup": "累積值:",
|
||||
"gold": "金冠",
|
||||
"lv": "",
|
||||
"mini": "小型",
|
||||
"otomo": "Buddy",
|
||||
"part_anomaly_core": "Anomaly Core",
|
||||
@@ -21,7 +22,7 @@
|
||||
"blastblight": "Blastblight",
|
||||
"bleeding": "Bleeding",
|
||||
"bloodblight": "Bloodblight",
|
||||
"bubbleblight": "Bubbleblight",
|
||||
"deadly_poison": "Deadly Poison",
|
||||
"defense_down": "Defense Down",
|
||||
"dragonblight": "Dragonblight",
|
||||
"dung_bomb": "異臭",
|
||||
@@ -29,6 +30,7 @@
|
||||
"exhaust": "疲勞",
|
||||
"fall_otomo_trap": "隨從地洞陷阱",
|
||||
"fall_trap": "地洞陷阱",
|
||||
"falling_asleep": "Falling Asleep",
|
||||
"fireblight": "火屬性異常",
|
||||
"flash": "失明",
|
||||
"frenzy": "Frenzy",
|
||||
@@ -38,6 +40,8 @@
|
||||
"hellfireblight": "Hellfireblight",
|
||||
"iceblight": "冰屬性異常",
|
||||
"leeched": "Leeched",
|
||||
"major_bubbleblight": "Major Bubbleblight",
|
||||
"minor_bubbleblight": "Minor Bubbleblight",
|
||||
"muck": "Muck",
|
||||
"paralysis": "麻痺",
|
||||
"poison": "毒",
|
||||
@@ -57,22 +61,10 @@
|
||||
"waterblight": "水屬性異常",
|
||||
"webbed": "Webbed"
|
||||
},
|
||||
"consumables": {
|
||||
"adamant_seed": "Adamant Seed",
|
||||
"armorskin": "Armorskin",
|
||||
"dash_juice": "Dash Juice",
|
||||
"demon_powder": "Demon Powder",
|
||||
"demondrug": "Demondrug",
|
||||
"gourmet_fish": "Gourmet Fish",
|
||||
"hardshell_powder": "Hardshell Powder",
|
||||
"immunizer": "Immunizer",
|
||||
"mega_armorskin": "Mega Armorskin",
|
||||
"mega_demondrug": "Mega Demondrug",
|
||||
"might_seed": "Might Seed"
|
||||
},
|
||||
"customization_menu": {
|
||||
"UI_font": "UI 字型",
|
||||
"UI_font_notice": "當更改文字時,請重新載入",
|
||||
"abnormal_statuses": "Abnormal Statuses",
|
||||
"activation_count": "觸發次數",
|
||||
"affinity_label": "Affinity Label",
|
||||
"ailment_buildups": "異常狀態累積值",
|
||||
@@ -135,8 +127,8 @@
|
||||
"damage_meter_UI": "傷害量計算 UI",
|
||||
"damage_percentage_label": "傷害量百分比",
|
||||
"damage_value_label": "傷害量",
|
||||
"dango_skills": "Dango Skills",
|
||||
"debug": "Debug",
|
||||
"debug_errors": "Debug Errors",
|
||||
"default_state": "Default State",
|
||||
"defense_label": "Defense Label",
|
||||
"delete": "Delete",
|
||||
@@ -149,12 +141,14 @@
|
||||
"duration": "Duration",
|
||||
"dynamic_positioning": "浮動的資訊位置",
|
||||
"dynamically_positioned": "浮動的魔物資訊",
|
||||
"effect_level": "Effect Level",
|
||||
"element_2_label": "Element 2 Label",
|
||||
"element_label": "Element Label",
|
||||
"enable_for": "啟用對象",
|
||||
"enabled": "啟用",
|
||||
"endemic_life": "Endemic Life",
|
||||
"endemic_life_UI": "環境生物 UI",
|
||||
"endemic_life_buffs": "Endemic Life Buffs",
|
||||
"everything_seems_to_be_ok": "Everything seems to be OK!",
|
||||
"family": "字體",
|
||||
"farthest": "最遠的",
|
||||
@@ -178,6 +172,7 @@
|
||||
"health_break_sever_anomaly_filter": "Health + Break + Sever + Anomaly Core",
|
||||
"health_break_sever_filter": "Health + Break + Sever",
|
||||
"health_filter": "Health",
|
||||
"health_label": "Health Label",
|
||||
"health_percentage": "血量百分比",
|
||||
"health_sever_anomaly_filter": "Health + Sever + Anomaly Core",
|
||||
"health_sever_filter": "Health + Sever",
|
||||
@@ -217,9 +212,11 @@
|
||||
"in_lobby": "In Lobby",
|
||||
"in_training_area": "In Training Area",
|
||||
"include": "細部資訊調整",
|
||||
"infinite_buffs_location": "Infinite Buffs Location",
|
||||
"inside": "內部",
|
||||
"installations": "Installations",
|
||||
"italic": "斜體",
|
||||
"item_buffs": "Item Buffs",
|
||||
"join_time": "加入時間",
|
||||
"killcam": "Killcam",
|
||||
"kunai": "Kunai",
|
||||
@@ -243,8 +240,10 @@
|
||||
"max_monster_updates_per_tick": "每次更新的最大魔物數量",
|
||||
"max_value": "Max Value",
|
||||
"me": "我",
|
||||
"melody_effects": "Melody Effects",
|
||||
"menu_font": "選單字體大小",
|
||||
"menu_font_change_disclaimer": "重複變更語言和選單字型大小有可能會當機!",
|
||||
"misc_buffs": "Misc Buffs",
|
||||
"mod_name": "MHR Overlay",
|
||||
"mode": "Mode",
|
||||
"modifiers": "更改項",
|
||||
@@ -270,6 +269,7 @@
|
||||
"other": "Other",
|
||||
"other_player_otomos": "Other Player Buddies",
|
||||
"other_players": "其他玩家",
|
||||
"otomo_moves": "Buddy Moves",
|
||||
"otomos": "Buddies",
|
||||
"outline": "描邊",
|
||||
"outside": "外部",
|
||||
@@ -293,6 +293,7 @@
|
||||
"quest_start_animation": "Quest Start Animation",
|
||||
"quest_time": "任務時間",
|
||||
"rage": "憤怒度",
|
||||
"rampage_skills": "Rampage Skills",
|
||||
"reframework_outdated": "已安裝的 REFramework 版本已過期. 麻煩請更新版本, 否則 MHR Overlay 無法正確作用.",
|
||||
"relative_offset": "相對偏移",
|
||||
"rename": "Rename",
|
||||
@@ -315,6 +316,7 @@
|
||||
"show_other_player_otomos_separately": "Show Other Player Buddies separately",
|
||||
"show_servant_otomos_separately": "Show Follower Buddies separately",
|
||||
"size": "大小",
|
||||
"skills": "Skills",
|
||||
"small_monster_UI": "小型魔物 UI",
|
||||
"small_monsters": "小型魔物群",
|
||||
"sorting": "排序方式",
|
||||
@@ -337,6 +339,7 @@
|
||||
"time_label": "時間",
|
||||
"time_limit": "時限 (秒)",
|
||||
"timer": "Timer",
|
||||
"timer_delays": "Timer Delays",
|
||||
"timer_label": "計時器",
|
||||
"top_buildup": "最高累積值",
|
||||
"top_damage": "最高傷害",
|
||||
@@ -359,6 +362,14 @@
|
||||
"tracked_damage_types": "追蹤的傷害類型",
|
||||
"tracked_monster_types": "追蹤的魔物類型",
|
||||
"type": "類型",
|
||||
"update_buffs_delay": "Update Buffs (seconds)",
|
||||
"update_is_online_delay": "Update Is Online (seconds)",
|
||||
"update_myself_position_delay": "Update Myself Position (seconds)",
|
||||
"update_player_info_delay": "Update Player Info (seconds)",
|
||||
"update_players_delay": "Update Players (seconds)",
|
||||
"update_quest_time_delay": "Update Quest Time (seconds)",
|
||||
"update_singletons_delay": "Update Singletons (seconds)",
|
||||
"update_window_size_delay": "Update Window Size (seconds)",
|
||||
"use_d2d_if_available": "Use Direct2D if available",
|
||||
"value": "Value",
|
||||
"value_label": "數字",
|
||||
@@ -366,6 +377,7 @@
|
||||
"viewport_offset": "視窗的位置",
|
||||
"visible": "可見",
|
||||
"water_resistance_label": "Water Resistance Label",
|
||||
"weapon_skills": "Weapon Skills",
|
||||
"width": "寬度",
|
||||
"world_offset": "地圖中的位置",
|
||||
"wyvern_riding": "Wyvern Riding",
|
||||
@@ -373,10 +385,46 @@
|
||||
"y": "Y軸",
|
||||
"z": "Z軸"
|
||||
},
|
||||
"dangos": {
|
||||
"dango_defender_hi": "Dango Defender (Hi)"
|
||||
"dango_skills": {
|
||||
"dango_adrenaline": "Dango Adrenaline",
|
||||
"dango_booster": "Dango Booster",
|
||||
"dango_bulker": "Dango Bulker",
|
||||
"dango_connector": "Dango Connector",
|
||||
"dango_defender": "Dango Defender",
|
||||
"dango_flyer": "Dango Flyer",
|
||||
"dango_glutton": "Dango Glutton",
|
||||
"dango_hunter": "Dango Hunter",
|
||||
"dango_insurance": "Dango Insurance",
|
||||
"dango_insurance_defense_up": "Dango Insurance Defense Up",
|
||||
"super_recovery_dango": "Super Recovery Dango"
|
||||
},
|
||||
"endemic_life": {
|
||||
"butterflame": "Butterflame",
|
||||
"clothfly": "Clothfly",
|
||||
"cutterfly": "Cutterfly",
|
||||
"gold_wirebug": "Gold Wirebug",
|
||||
"peepersects": "Peepersects",
|
||||
"red_lampsquid": "Red Lampsquid",
|
||||
"ruby_wirebug": "Ruby Wirebug",
|
||||
"stinkmink": "Stinkmink",
|
||||
"yellow_lampsquid": "Yellow Lampsquid"
|
||||
},
|
||||
"font_name": "NotoSansTC-Bold.otf",
|
||||
"item_buffs": {
|
||||
"adamant_seed": "Adamant Seed",
|
||||
"armor_ammo": "Armor Ammo",
|
||||
"armorskin": "Armorskin",
|
||||
"dash_juice": "Dash Juice",
|
||||
"demon_ammo": "Demon Ammo",
|
||||
"demon_powder": "Demon Powder",
|
||||
"demondrug": "Demondrug",
|
||||
"gourmet_fish": "Gourmet Fish",
|
||||
"hardshell_powder": "Hardshell Powder",
|
||||
"immunizer": "Immunizer",
|
||||
"mega_armorskin": "Mega Armorskin",
|
||||
"mega_demondrug": "Mega Demondrug",
|
||||
"might_seed": "Might Seed"
|
||||
},
|
||||
"melody_effects": {
|
||||
"affinity_up": "Affinity Up",
|
||||
"attack_and_affinity_up": "Attack and Affinity Up",
|
||||
@@ -407,6 +455,19 @@
|
||||
"tremors_negated": "Tremors Negated",
|
||||
"wind_pressure_negated": "Wind Pressure Negated"
|
||||
},
|
||||
"misc_buffs": {
|
||||
"attack_up": "Attack Up",
|
||||
"defense_up": "Defense Up",
|
||||
"immunity": "Immunity",
|
||||
"natural_healing_up": "Natural Healing Up",
|
||||
"stamina_use_down": "Stamina Use Down"
|
||||
},
|
||||
"otomo_moves": {
|
||||
"go_fight_win": "Go, Fight, Win",
|
||||
"power_drum": "Power Drum",
|
||||
"rousing_roar": "Rousing Roar",
|
||||
"vase_of_vitality": "Vase of Vitality"
|
||||
},
|
||||
"parts": {
|
||||
"abdomen": "腹部",
|
||||
"amatsu_unknown": "?",
|
||||
@@ -476,25 +537,47 @@
|
||||
"wingclaws": "翼爪",
|
||||
"wings": "翅膀"
|
||||
},
|
||||
"rampage_skills": {
|
||||
"chameleos_soul": "Chameleos Soul",
|
||||
"kushala_daora_soul": "Kushala Daora Soul"
|
||||
},
|
||||
"skills": {
|
||||
"adrenaline_rush": "Adrenaline Rush",
|
||||
"affinity_sliding": "Affinity Sliding",
|
||||
"agitator": "Agitator",
|
||||
"berserk": "Berserk",
|
||||
"bladescale_hone": "Bladescale Hone",
|
||||
"blood_awakening": "Blood Awakening",
|
||||
"bloodlust": "Bloodlust",
|
||||
"burst": "Burst",
|
||||
"coalescence": "Coalescence",
|
||||
"counterstrike": "Counterstrike",
|
||||
"dereliction": "Dereliction",
|
||||
"dragon_conversion_elemental_attack_up": "Dragon Conversion: Elem. Atk Up",
|
||||
"dragon_conversion_elemental_res_up": "Dragon Conversion: Elem. Res Up",
|
||||
"dragonheart": "Dragonheart",
|
||||
"embolden": "Embolden",
|
||||
"frenzied_bloodlust": "Frenzied Bloodlust",
|
||||
"furious": "Furious",
|
||||
"grinder_s": "Grinder (S)",
|
||||
"heaven_sent": "Heaven-Sent",
|
||||
"hellfire_cloak": "Hellfire Cloak",
|
||||
"heroics": "Heroics",
|
||||
"inspiration": "Inspiration",
|
||||
"intrepid_heart": "Intrepid Heart",
|
||||
"kushala_daora_soul": "Kushala Daora Soul",
|
||||
"latent_power": "Latent Power",
|
||||
"maximum_might": "Maximum Might",
|
||||
"offensive_guard": "Offensive Guard",
|
||||
"partbreaker": "Partbreaker",
|
||||
"peak_performance": "Peak Performance",
|
||||
"powder_mantle_blue": "Powder Mantle (Blue)",
|
||||
"powder_mantle_red": "Powder Mantle (Red)",
|
||||
"protective_polish": "Protective Polish",
|
||||
"resentment": "Resentment",
|
||||
"resuscitate": "Resuscitate",
|
||||
"spiribirds_call": "Spiribird's Call",
|
||||
"status_trigger": "Status Trigger",
|
||||
"strife": "Strife",
|
||||
"wall_runner": "Wall Runner",
|
||||
"wind_mantle": "Wind Mantle"
|
||||
},
|
||||
@@ -519,14 +602,104 @@
|
||||
255,
|
||||
8192,
|
||||
8303,
|
||||
11904,
|
||||
12031,
|
||||
12288,
|
||||
12543,
|
||||
12784,
|
||||
12799,
|
||||
12351,
|
||||
12800,
|
||||
19903,
|
||||
19968,
|
||||
40879,
|
||||
40959,
|
||||
63744,
|
||||
64255,
|
||||
65072,
|
||||
65103,
|
||||
65280,
|
||||
65519,
|
||||
0
|
||||
]
|
||||
],
|
||||
"weapon_skills": {
|
||||
"bow": {
|
||||
"arc_shot_affinity": "Arc Shot: Affinity",
|
||||
"arc_shot_brace": "Arc Shot: Brace",
|
||||
"bolt_boost": "Bolt Boost",
|
||||
"herculean_draw": "Herculean Draw"
|
||||
},
|
||||
"charge_blade": {
|
||||
"element_boost": "Element Boost",
|
||||
"sword_boost_mode": "Sword Boost Mode"
|
||||
},
|
||||
"dual_blades": {
|
||||
"archdemon_mode": "Archdemon Mode",
|
||||
"ironshine_silk": "Ironshine Silk"
|
||||
},
|
||||
"great_sword": {
|
||||
"power_sheathe": "Power Sheathe"
|
||||
},
|
||||
"gunlance": {
|
||||
"erupting_cannon": "Erupting Cannon",
|
||||
"ground_splitter": "Ground Splitter"
|
||||
},
|
||||
"hammer": {
|
||||
"impact_burst": "Impact Burst"
|
||||
},
|
||||
"heavy_bowgun": {
|
||||
"counter_charger": "Counter Charger",
|
||||
"overheat": "Overheat",
|
||||
"rising_moon": "Rising Moon",
|
||||
"setting_sun": "Setting Sun",
|
||||
"wyvernsnipe_reload": "Wyvernsnipe Reload"
|
||||
},
|
||||
"hunting_horn": {
|
||||
"bead_of_resonance": "Bead of Resonance",
|
||||
"silkbind_shockwave": "Silkbind Shockwave",
|
||||
"sonic_bloom": "Sonic Bloom"
|
||||
},
|
||||
"insect_glaive": {
|
||||
"all_extracts_mix": "All Extracts Mix",
|
||||
"orange_extract": "Orange Extract",
|
||||
"red_extract": "Red Extract",
|
||||
"white_extract": "White Extract"
|
||||
},
|
||||
"lance": {
|
||||
"anchor_rage": "Anchor Rage",
|
||||
"spiral_thrust": "Spiral Thrust",
|
||||
"twin_wine": "Twin Wine"
|
||||
},
|
||||
"light_bowgun": {
|
||||
"fanning_maneuver": "Fanning Maneuver",
|
||||
"wyvernblast_reload": "Wyvernblast Reload"
|
||||
},
|
||||
"long_sword": {
|
||||
"harvest_moon": "Harvest Moon",
|
||||
"iai_slash": "Iai Slash",
|
||||
"soaring_kick": "Soaring Kick",
|
||||
"spirit_gauge": "Spirit Gauge",
|
||||
"spirit_gauge_autofill": "Spirit Gauge Autofill"
|
||||
},
|
||||
"switch_axe": {
|
||||
"amped_state": "Amped State",
|
||||
"axe_heavy_slam": "Axe: Heavy Slam",
|
||||
"switch_charger": "Switch Charger"
|
||||
},
|
||||
"sword_and_shield": {
|
||||
"destroyer_oil": "Destroyer Oil"
|
||||
}
|
||||
},
|
||||
"weapons": {
|
||||
"bow": "Bow",
|
||||
"charge_blade": "Charge Blade",
|
||||
"dual_blades": "Dual Blades",
|
||||
"great_sword": "Great Sword",
|
||||
"gunlance": "Gunlance",
|
||||
"hammer": "Hammer",
|
||||
"heavy_bowgun": "Heavy Bowgun",
|
||||
"hunting_horn": "Hunting Horn",
|
||||
"insect_glaive": "Insect Glaive",
|
||||
"lance": "Lance",
|
||||
"light_bowgun": "Light Bowgun",
|
||||
"long_sword": "Long Sword",
|
||||
"switch_axe": "Switch Axe",
|
||||
"sword_and_shield": "Sword & Shield"
|
||||
}
|
||||
}
|
||||
BIN
reframework/fonts/NotoSans-Bold.otf
Normal file
BIN
reframework/fonts/NotoSans-Bold.otf
Normal file
Binary file not shown.
Binary file not shown.
BIN
reframework/fonts/NotoSansArabic-Bold.otf
Normal file
BIN
reframework/fonts/NotoSansArabic-Bold.otf
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Reference in New Issue
Block a user