Merge branch 'PersianKnight/DebugInfoHotKey_AxeSkillTree' into 'master'

PersianKnight / Debug info hot key and axe skill tree

See merge request veloren/veloren!1897
This commit is contained in:
Imbris 2021-03-14 17:29:30 +00:00
commit 6ef459e815
2 changed files with 3 additions and 2 deletions

View File

@ -219,13 +219,13 @@
"hud.skill.axe_spin_speed_title": "Spin Speed",
"hud.skill.axe_spin_speed": "Increases your spin speed by 25%{SP}",
"hud.skill.axe_spin_cost_title": "Spin Cost",
"hud.skill.axe_spin_cost": "Decreases stamina cost of spinning by 25%",
"hud.skill.axe_spin_cost": "Decreases stamina cost of spinning by 25%{SP}",
"hud.skill.axe_unlock_leap_title": "Unlock Leap",
"hud.skill.axe_unlock_leap": "Unlocks a leap spin{SP}",
"hud.skill.axe_leap_damage_title": "Leap Damage",
"hud.skill.axe_leap_damage": "Increases damage of leap by 35%{SP}",
"hud.skill.axe_leap_knockback_title": "Leap Knockback",
"hud.skill.axe_leap_knockback": "Increases knockback from leap by 40%",
"hud.skill.axe_leap_knockback": "Increases knockback from leap by 40%{SP}",
"hud.skill.axe_leap_cost_title": "Leap Cost",
"hud.skill.axe_leap_cost": "Decreases cost of leap by 25%{SP}",
"hud.skill.axe_leap_distance_title": "Leap Distance",

View File

@ -3116,6 +3116,7 @@ impl Hud {
GameInput::ToggleDebug if state => {
global_state.settings.interface.toggle_debug =
!global_state.settings.interface.toggle_debug;
self.show.debug = global_state.settings.interface.toggle_debug;
true
},
GameInput::ToggleIngameUi if state => {