// Personaje: nivel y skills del propio personaje, cada uno con barrita e input sincronizados. Un solo «Aplicar» manda // lo que cambió; lo aplica el servidor (admin.lua). Skills en dos columnas (AdminStat, uno por celda). El campo «%» es // el avance hacia el siguiente (0-99): la misma barra que ve el jugador. AdminStat < Panel size: 200 48 GameText id: nombre anchors.top: parent.top anchors.left: parent.left GameTextMuted id: actual anchors.top: parent.top anchors.right: parent.right HorizontalScrollBar id: barra anchors.left: parent.left anchors.right: valor.left anchors.verticalCenter: valor.verticalCenter margin-right: 8 step: 1 TextEdit id: valor anchors.bottom: parent.bottom anchors.right: pct.left margin-right: 6 size: 40 22 max-length: 3 TextEdit id: pct anchors.bottom: parent.bottom anchors.right: parent.right size: 40 22 max-length: 2 placeholder: % tooltip: Avance hacia el siguiente (0-99 %) // Botón de clase: casilla de 34 px con el ícono de la clase (32 px); la actual con borde y fondo acento. AdmClase < UIButton size: 34 34 background-color: $otmmo-bg-2 border-width: 1 border-color: $otmmo-border icon-align: center change-cursor-image: true cursor: pointer $hover: background-color: $otmmo-surface $on: background-color: $otmmo-surface border-color: $otmmo-accent ValdrenVentana id: ventanaPersonaje size: 460 588 text: Personaje @onEscape: modules.game_admin.togglePersonaje() GameTextMuted id: nombre anchors.top: parent.top anchors.left: parent.left anchors.right: parent.right GameNumber id: nivel anchors.top: nombre.bottom anchors.left: parent.left margin-top: 4 height: 24 ttf-font-size: $otmmo-size-xl color: $otmmo-text // Clase: un botón por clase con su ícono (los de la lista de personajes); la actual en oro. Cambiar borra talentos y // hechizos aprendidos y saca del juego para volver a entrar (admin.lua, «C|»). GameSection id: tClase anchors.top: nivel.bottom anchors.left: parent.left margin-top: 12 text: Clase Panel id: clases anchors.top: tClase.bottom anchors.left: parent.left anchors.right: parent.right margin-top: 6 height: 34 layout: type: horizontalBox spacing: 4 AdminStat id: statNivel anchors.top: clases.bottom anchors.left: parent.left anchors.right: parent.right margin-top: 12 GameTextSmall id: expNivel anchors.top: statNivel.bottom anchors.left: parent.left anchors.right: parent.right margin-top: 4 GameSection id: tSkills anchors.top: expNivel.bottom anchors.left: parent.left margin-top: 20 text: Skills Panel id: skills anchors.top: tSkills.bottom anchors.left: parent.left anchors.right: parent.right anchors.bottom: aplicar.top margin-top: 8 margin-bottom: 16 layout: type: grid cell-size: 200 48 cell-spacing: 16 num-columns: 2 flow: true ValdrenBoton id: aplicar anchors.bottom: parent.bottom anchors.right: parent.right width: 112 text: Aplicar