TL Weakness text

This commit is contained in:
Dazed 2024-01-15 15:46:36 -06:00
parent a6b9e1bbd1
commit ac403afb28
3 changed files with 5 additions and 5 deletions

Binary file not shown.

View file

@ -105,7 +105,7 @@ class Window_TargetHelp < Window_Help
if actor.enemy?
icons = actor.most_weak
width = weak_width(icons.size)
text = "弱点"
text = "Weakness"
change_color(power_down_color)
draw_text(x, y, width, line_height, text)
x = contents.text_size(text).width
@ -136,7 +136,7 @@ class Window_TargetHelp < Window_Help
# ○ 弱点エリアの幅 ※追加
#--------------------------------------------------------------------------
def weak_width(size)
contents.text_size("弱点").width + 24 * size + 0
contents.text_size("Weakness").width + 24 * size + 0
end
#--------------------------------------------------------------------------
# ○ 弱点描画の有無 ※追加

View file

@ -4,7 +4,7 @@ module FREA
#--------------------------------------------------------------------------
def draw_analyze_elements(x, y)
ary = ["Physical","Absorb","Fire","Ice","Thunder","Light","Darkness","Charm","Exorcism","Steal"]
str = "Element Effectiveness"
str = "Elements"
rate = {}
ary.each{|name| rate[FRGP::ELEMENT_ICON[elements_comvert(name)]] = elg_rate_analyze(name)}
draw_percent(x, y, str, rate, true)
@ -14,7 +14,7 @@ module FREA
#--------------------------------------------------------------------------
def draw_analyze_state(x, y, ext = "Charm")
ary = ["Instant Death","Poison","Blind","Silence","Confusion","Sleep","Paralysis","Stun",ext]
str = "State Effectiveness"
str = "States"
rate = {}
ary.compact.each{|name| rate[$data_states[state_comvert(name)].icon_index] = stg_rate_analyze(name)}
draw_percent(x, y, str, rate, true)
@ -24,7 +24,7 @@ module FREA
#--------------------------------------------------------------------------
def draw_analyze_debuff(x, y)
ary = [2, 3, 4, 5, 6, 7]
str = "Debuff Effectiveness"
str = "Debuffs"
rate = {}
ary.each{|id| rate[FRGP::ICON_DEBUFF_START + id] = debuff_rate_analyze(id)}
draw_percent(x, y, str, rate, true)