diff --git a/data/kh/aaa_lirria/config.xml b/data/kh/kh_interfaces/config.xml similarity index 98% rename from data/kh/aaa_lirria/config.xml rename to data/kh/kh_interfaces/config.xml index 26108044..533ce564 100644 --- a/data/kh/aaa_lirria/config.xml +++ b/data/kh/kh_interfaces/config.xml @@ -2111,72 +2111,72 @@ This MUST follow the Enum MISSION_DESC::TIconId - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - @@ -3470,15 +3470,15 @@ This MUST follow the Enum MISSION_DESC::TIconId - - - - - @@ -3800,13 +3800,13 @@ This MUST follow the Enum MISSION_DESC::TIconId - - - - - + - + - + @@ -756,9 +756,9 @@ + color1="%ChaScore2_color" value1="SERVER:EXECUTE_PHRASE:LINK:#index:TARGET_ChaScore2" range1="UI:CONST:127" + color2="%ChaScore3_color" value2="SERVER:EXECUTE_PHRASE:LINK:#index:TARGET_ChaScore3" range2="UI:CONST:127" + color3="%ChaScore1_color" value3="SERVER:EXECUTE_PHRASE:LINK:#index:TARGET_ChaScore1" range3="UI:CONST:127" /> diff --git a/data/kh/aaa_lirria/player.lua b/data/kh/kh_interfaces/player.lua similarity index 96% rename from data/kh/aaa_lirria/player.lua rename to data/kh/kh_interfaces/player.lua index dadd25e5..3e105361 100644 --- a/data/kh/aaa_lirria/player.lua +++ b/data/kh/kh_interfaces/player.lua @@ -66,7 +66,7 @@ function game:updatePlayerBars() -- choose good y-position - local totalBarDisp = dispSap + dispSta + dispFoc; + local totalBarDisp = dispChaScore3 + dispChaScore2 + dispChaScore4; if (totalBarDisp == 3) then ui.b_ChaScore3.y = -20; @@ -83,7 +83,7 @@ function game:updatePlayerBars() if (dispChaScore2 == 0) then ui.b_ChaScore3.y = -20; - ui.b_foc.y = -35; + ui.b_ChaScore4.y = -35; end if (dispChaScore4 == 0) then @@ -867,7 +867,7 @@ function game:updatePhraseTooltip(phrase) self:setPhraseTooltipCarac(ttWin, "ChaScore1_cost", phrase:getChaScore1Cost()) self:setPhraseTooltipCarac(ttWin, "ChaScore3_cost", phrase:getChaScore3Cost()) self:setPhraseTooltipCarac(ttWin, "ChaScore2_cost", phrase:getChaScore2Cost()) - self:setPhraseTooltipCarac(ttWin, "ChaScore4_cost", phrase:getChascore4Cost()) + self:setPhraseTooltipCarac(ttWin, "ChaScore4_cost", phrase:getChaScore4Cost()) self:setPhraseTooltipCarac(ttWin, "cast_time", phrase:getCastTime(), concatUCString(string.format("%.1f", phrase:getCastTime()), i18n.get("uittSeconds"))) local castRange = phrase:getCastRange() if not phrase:isMagicPhrase() then diff --git a/data/kh/aaa_lirria/player.xml b/data/kh/kh_interfaces/player.xml similarity index 97% rename from data/kh/aaa_lirria/player.xml rename to data/kh/kh_interfaces/player.xml index 8362a13c..8ba20162 100644 --- a/data/kh/aaa_lirria/player.xml +++ b/data/kh/kh_interfaces/player.xml @@ -40,14 +40,14 @@ posref="#posref" x="#x" y="#y" - color1="%focus_color" - value1="%player_focus_percent" + color1="%ChaScore4_color" + value1="%player_ChaScore4_percent" range1="%player_percent_max" - color2="%sap_color" - value2="%player_sap_percent" + color2="%ChaScore3_color" + value2="%player_ChaScore3_percent" range2="%player_percent_max" - color3="%sta_color" - value3="%player_sta_percent" + color3="%ChaScore2_color" + value3="%player_ChaScore2_percent" range3="%player_percent_max" /> + posparent="ChaScore1_cost" /> + posparent="ChaScore2_cost" /> + posparent="ChaScore3_cost" /> + posparent="ChaScore4_cost" /> @@ -4104,7 +4104,7 @@ line_maxw="300" multi_line_maxw_only="true" /> + posparent="ChaScore1_buff" /> + posparent="ChaScore2_buff" /> + posparent="ChaScore3_buff" /> diff --git a/data/kh/kh_server/msg.xml b/data/kh/kh_server/msg.xml index 5fb971a1..7b30729f 100644 --- a/data/kh/kh_server/msg.xml +++ b/data/kh/kh_server/msg.xml @@ -173,7 +173,7 @@ sendto="EGS" format="u8" description="the client select a new slot to defend (or none)" /> -