web-next: /restore-character y /restore-items con todas las condiciones
- /restore-character: recupera personajes borrados por BD (como .character deleted restore). Condiciones: nivel>60, borrado <30 días, DK no si ya hay DK activo, nombre libre, cooldown 12h/personaje. Gratis. Tabla home_restorehistory. - /restore-items: recupera ítems borrados vía SOAP del core (.item restore list / .item restore); el core aplica calidad/equipable/BoP/<7días. Cada ítem 100 PD (reembolso si SOAP falla), consulta con cooldown 8h/personaje + Turnstile. Tabla home_itemsearchhistory. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
-- Cooldown de "consultar ítems borrados" (/restore-items): 8 h por personaje.
|
||||
CREATE TABLE IF NOT EXISTS home_itemsearchhistory (
|
||||
id BIGINT NOT NULL AUTO_INCREMENT,
|
||||
character_name VARCHAR(12) NOT NULL,
|
||||
used_at DATETIME NOT NULL,
|
||||
PRIMARY KEY (id),
|
||||
KEY idx_char (character_name, used_at)
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
|
||||
@@ -0,0 +1,8 @@
|
||||
-- Cooldown de Recuperar personaje (/restore-character): 12 h por personaje (guid).
|
||||
CREATE TABLE IF NOT EXISTS home_restorehistory (
|
||||
id BIGINT NOT NULL AUTO_INCREMENT,
|
||||
character_guid BIGINT NOT NULL,
|
||||
used_at DATETIME NOT NULL,
|
||||
PRIMARY KEY (id),
|
||||
KEY idx_guid (character_guid, used_at)
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
|
||||
Reference in New Issue
Block a user