Skip to content

Commit

Permalink
Item descs: Fix OoE tiered glyphs showing wrong elements
Browse files Browse the repository at this point in the history
  • Loading branch information
LagoLunatic committed Mar 31, 2018
1 parent b28390a commit d100dc0
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions randomizers/item_skill_stat_randomizer.rb
Original file line number Diff line number Diff line change
Expand Up @@ -324,10 +324,16 @@ def randomize_skills
end

skill.write_to_rom()
update_skill_description(skill)
end

ooe_handle_glyph_tiers()

# Must update the skill descriptions after the glyph families have been reordered.
SKILL_GLOBAL_ID_RANGE.each do |skill_global_id|
skill = game.items[skill_global_id]

update_skill_description(skill)
end
end

def randomize_weapon_behavior(item, item_global_id)
Expand Down Expand Up @@ -1010,7 +1016,7 @@ def ooe_handle_glyph_tiers
end
end
prev_tier_damage_types = skill["Effects"]
prev_tier_damage_types = skill["Effects"].dup
skill.write_to_rom()
end
Expand Down

0 comments on commit d100dc0

Please sign in to comment.