mirror of
https://github.com/GreenComfyTea/MHR-Overlay.git
synced 2026-01-25 04:48:22 -08:00
Fix init_names()
This commit is contained in:
@@ -127,8 +127,10 @@ function this.init_UI(buff)
|
|||||||
end
|
end
|
||||||
|
|
||||||
function this.init_names()
|
function this.init_names()
|
||||||
skills.init_names();
|
|
||||||
abnormal_statuses.init_names();
|
abnormal_statuses.init_names();
|
||||||
|
skills.init_names();
|
||||||
|
weapon_skills.init_names();
|
||||||
|
misc_buffs.init_names();
|
||||||
end
|
end
|
||||||
|
|
||||||
function this.update()
|
function this.update()
|
||||||
|
|||||||
@@ -160,8 +160,6 @@ function this.update(player, player_data)
|
|||||||
|
|
||||||
buffs.update_generic_buff(this.list, dangos_type_name, "dango_glutton", this.get_dango_name,
|
buffs.update_generic_buff(this.list, dangos_type_name, "dango_glutton", this.get_dango_name,
|
||||||
nil, nil, player_data, kitchen_skill_045_timer_field);
|
nil, nil, player_data, kitchen_skill_045_timer_field);
|
||||||
|
|
||||||
|
|
||||||
end
|
end
|
||||||
|
|
||||||
function this.update_dango_adrenaline()
|
function this.update_dango_adrenaline()
|
||||||
|
|||||||
@@ -685,6 +685,12 @@ function this.update_spiribirds_call(player_data)
|
|||||||
buffs.update_generic(this.list, skills_type_name, "spiribirds_call", this.get_skill_name, 1, timer, spiribirds_call_duration);
|
buffs.update_generic(this.list, skills_type_name, "spiribirds_call", this.get_skill_name, 1, timer, spiribirds_call_duration);
|
||||||
end
|
end
|
||||||
|
|
||||||
|
function this.init_names()
|
||||||
|
for skill_key, skill in pairs(this.list) do
|
||||||
|
skill.name = this.get_skill_name(skill_key);
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
function this.get_skill_name(skill_key)
|
function this.get_skill_name(skill_key)
|
||||||
local skill_data = skill_data_list[skill_key];
|
local skill_data = skill_data_list[skill_key];
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user