3D-Arena (Duell, Hub, Freiheit, Erstellung, Bestenliste), Retiarius beidhändig, Waffen je Klasse, Einführung, Willkommen, weniger Reiter, Wirtschaft ohne Taberna, Kantenglättung, Leuchten, weiche Schatten, Gamepad, Absturz-Protokoll
Stand von main 20cd8ba2. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -17,10 +17,9 @@ namespace GladiatorIdle.Arena
|
||||
|
||||
void DrawSkills(SpriteBatch sb, RectangleF r)
|
||||
{
|
||||
float x = r.X + 30, y = r.Y + 40;
|
||||
D.Text(sb, Assets.Serif, 30, L.t("char.skills"), new Vector2(x, y), D.Gold);
|
||||
float x = r.X + 30, y = r.Y + 46;
|
||||
D.Text(sb, Assets.SansBold, 22, string.Format(L.t("char.skillpoints"), _game.SkillPoints),
|
||||
new Vector2(x + 300, y + 2), _game.SkillPoints > 0 ? D.Gold : D.Dim);
|
||||
new Vector2(x + 650, y - 2), _game.SkillPoints > 0 ? D.Gold : D.Dim);
|
||||
if (_ui.Button(sb, new RectangleF(r.Right - 330, y - 22, 300, 44),
|
||||
string.Format(L.t("char.skillreset"), NumberFormat.Format(_game.SkillResetCost)),
|
||||
_game.SkillRanks.Count > 0 && _game.Gold >= _game.SkillResetCost, size: 16))
|
||||
@@ -29,7 +28,7 @@ namespace GladiatorIdle.Arena
|
||||
_skillHover = null;
|
||||
_learnFlash = MathF.Max(0, _learnFlash - 1 / 60f * 2.5f);
|
||||
var branches = new[] { SkillBranch.Offense, SkillBranch.Defense, SkillBranch.Class };
|
||||
float colW = (r.Width - 60) / 3, top = y + 60, rowH = 142;
|
||||
float colW = (r.Width - 60) / 3, top = y + 66, rowH = 132;
|
||||
for (int b = 0; b < 3; b++)
|
||||
{
|
||||
var branch = branches[b];
|
||||
|
||||
Reference in New Issue
Block a user