feat(webui): max focus schools (#2270)
Closes #1433 Reviewed-on: #2270 Co-authored-by: Sainan <63328889+Sainan@users.noreply.github.com> Co-committed-by: Sainan <63328889+Sainan@users.noreply.github.com>
This commit is contained in:
parent
f242d9f873
commit
ca3cfb5299
@ -803,8 +803,12 @@
|
||||
</div>
|
||||
<div data-route="/webui/import" data-title="Import | OpenWF WebUI">
|
||||
<p data-loc="import_importNote"></p>
|
||||
<textarea class="form-control" id="import-inventory"></textarea>
|
||||
<textarea class="form-control" id="import-inventory" style="height: calc(100vh - 300px)"></textarea>
|
||||
<button class="btn btn-primary mt-3" onclick="doImport();" data-loc="import_submit"></button>
|
||||
<p class="mt-3 mb-1" data-loc="import_samples"></p>
|
||||
<ul>
|
||||
<li><a href="#" onclick="event.preventDefault();setImportSample('maxFocus');" data-loc="import_samples_maxFocus"></a></li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<div class="toast-container position-fixed bottom-0 end-0 p-3"></div>
|
||||
|
@ -2339,3 +2339,238 @@ async function doUnlockAllMissions() {
|
||||
await fetch("/custom/completeAllMissions?" + window.authz);
|
||||
updateInventory();
|
||||
}
|
||||
|
||||
const importSamples = {
|
||||
maxFocus: {
|
||||
FocusUpgrades: [
|
||||
{
|
||||
ItemType: "/Lotus/Upgrades/Focus/Attack/AttackFocusAbility"
|
||||
},
|
||||
{
|
||||
ItemType: "/Lotus/Upgrades/Focus/Attack/Stats/MoreAmmoFocusUpgrade",
|
||||
Level: 3,
|
||||
IsUniversal: true
|
||||
},
|
||||
{
|
||||
ItemType: "/Lotus/Upgrades/Focus/Attack/Residual/PowerSnapFocusUpgrade",
|
||||
Level: 3
|
||||
},
|
||||
{
|
||||
ItemType: "/Lotus/Upgrades/Focus/Attack/Residual/PhysicalDamageFocusUpgrade",
|
||||
Level: 3
|
||||
},
|
||||
{
|
||||
ItemType: "/Lotus/Upgrades/Focus/Attack/Active/CloakAttackChargeFocusUpgrade",
|
||||
Level: 3
|
||||
},
|
||||
{
|
||||
ItemType: "/Lotus/Upgrades/Focus/Attack/Stats/RegenAmmoFocusUpgrade",
|
||||
Level: 3,
|
||||
IsUniversal: true
|
||||
},
|
||||
{
|
||||
ItemType: "/Lotus/Upgrades/Focus/Tactic/TacticFocusAbility"
|
||||
},
|
||||
{
|
||||
ItemType: "/Lotus/Upgrades/Focus/Ward/WardFocusAbility"
|
||||
},
|
||||
{
|
||||
ItemType: "/Lotus/Upgrades/Focus/Defense/DefenseFocusAbility"
|
||||
},
|
||||
{
|
||||
ItemType: "/Lotus/Upgrades/Focus/Power/PowerFocusAbility"
|
||||
},
|
||||
{
|
||||
ItemType: "/Lotus/Upgrades/Focus/Ward/Active/KnockdownImmunityFocusUpgrade",
|
||||
Level: 3
|
||||
},
|
||||
{
|
||||
ItemType: "/Lotus/Upgrades/Focus/Ward/Active/UnairuWispFocusUpgrade",
|
||||
Level: 3
|
||||
},
|
||||
{
|
||||
ItemType: "/Lotus/Upgrades/Focus/Ward/Active/SunderingDissipationUpgrade",
|
||||
Level: 3
|
||||
},
|
||||
{
|
||||
ItemType: "/Lotus/Upgrades/Focus/Ward/Active/MagneticExtensionUpgrade",
|
||||
Level: 3
|
||||
},
|
||||
{
|
||||
ItemType: "/Lotus/Upgrades/Focus/Ward/Active/MagneticFieldFocusUpgrade",
|
||||
Level: 3
|
||||
},
|
||||
{
|
||||
ItemType: "/Lotus/Upgrades/Focus/Ward/Residual/ArmourBuffFocusUpgrade",
|
||||
Level: 3
|
||||
},
|
||||
{
|
||||
ItemType: "/Lotus/Upgrades/Focus/Ward/Active/ClearStaticOnKillFocusUpgrade",
|
||||
Level: 3
|
||||
},
|
||||
{
|
||||
ItemType: "/Lotus/Upgrades/Focus/Ward/Residual/SecondChanceDamageBuffFocusUpgrade",
|
||||
Level: 3,
|
||||
IsUniversal: true
|
||||
},
|
||||
{
|
||||
ItemType: "/Lotus/Upgrades/Focus/Ward/Residual/SecondChanceFocusUpgrade",
|
||||
Level: 3,
|
||||
IsUniversal: true
|
||||
},
|
||||
{
|
||||
ItemType: "/Lotus/Upgrades/Focus/Ward/Active/InvulnerableReturnFocusUpgrade",
|
||||
Level: 3
|
||||
},
|
||||
{
|
||||
ItemType: "/Lotus/Upgrades/Focus/Attack/Active/ConsecutivePowerUpgrade",
|
||||
Level: 3
|
||||
},
|
||||
{
|
||||
ItemType: "/Lotus/Upgrades/Focus/Attack/Active/AttackEfficiencyFocusUpgrade",
|
||||
Level: 3
|
||||
},
|
||||
{
|
||||
ItemType: "/Lotus/Upgrades/Focus/Attack/Active/GhostlyTouchUpgrade",
|
||||
Level: 3
|
||||
},
|
||||
{
|
||||
ItemType: "/Lotus/Upgrades/Focus/Attack/Active/GhostWaveUpgrade",
|
||||
Level: 3
|
||||
},
|
||||
{
|
||||
ItemType: "/Lotus/Upgrades/Focus/Attack/Active/ConsecutiveEfficienyUpgrade",
|
||||
Level: 3
|
||||
},
|
||||
{
|
||||
ItemType: "/Lotus/Upgrades/Focus/Tactic/Active/ProjectionStretchUpgrade",
|
||||
Level: 3,
|
||||
IsUniversal: true
|
||||
},
|
||||
{
|
||||
ItemType: "/Lotus/Upgrades/Focus/Tactic/Active/ProjectionExecutionUpgrade",
|
||||
Level: 3
|
||||
},
|
||||
{
|
||||
ItemType: "/Lotus/Upgrades/Focus/Tactic/Active/FinisherTransferenceUpgrade",
|
||||
Level: 3
|
||||
},
|
||||
{
|
||||
ItemType: "/Lotus/Upgrades/Focus/Tactic/Active/ComboAmpDamageFocusUpgrade",
|
||||
Level: 3
|
||||
},
|
||||
{
|
||||
ItemType: "/Lotus/Upgrades/Focus/Tactic/Residual/MeleeComboFocusUpgrade",
|
||||
Level: 3
|
||||
},
|
||||
{
|
||||
ItemType: "/Lotus/Upgrades/Focus/Tactic/Residual/MeleeXpFocusUpgrade",
|
||||
Level: 3
|
||||
},
|
||||
{
|
||||
ItemType: "/Lotus/Upgrades/Focus/Tactic/Active/LiftHitWaveUpgrade",
|
||||
Level: 3
|
||||
},
|
||||
{
|
||||
ItemType: "/Lotus/Upgrades/Focus/Tactic/Active/LiftHitDamageUpgrade",
|
||||
Level: 3
|
||||
},
|
||||
{
|
||||
ItemType: "/Lotus/Upgrades/Focus/Tactic/Stats/MoveSpeedFocusUpgrade",
|
||||
Level: 3,
|
||||
IsUniversal: true
|
||||
},
|
||||
{
|
||||
ItemType: "/Lotus/Upgrades/Focus/Tactic/Active/SlamComboFocusUpgrade",
|
||||
Level: 3
|
||||
},
|
||||
{
|
||||
ItemType: "/Lotus/Upgrades/Focus/Power/Active/PowerFieldFocusUpgrade",
|
||||
Level: 3
|
||||
},
|
||||
{
|
||||
ItemType: "/Lotus/Upgrades/Focus/Power/Active/DisarmedEnergyUpgrade",
|
||||
Level: 3
|
||||
},
|
||||
{
|
||||
ItemType: "/Lotus/Upgrades/Focus/Power/Stats/EnergyPoolFocusUpgrade",
|
||||
Level: 3,
|
||||
IsUniversal: true
|
||||
},
|
||||
{
|
||||
ItemType: "/Lotus/Upgrades/Focus/Power/Residual/EnergyOverTimeFocusUpgrade",
|
||||
Level: 3
|
||||
},
|
||||
{
|
||||
ItemType: "/Lotus/Upgrades/Focus/Power/Active/BlastSlowFocusUpgrade",
|
||||
Level: 3
|
||||
},
|
||||
{
|
||||
ItemType: "/Lotus/Upgrades/Focus/Power/Stats/EnergyRestoreFocusUpgrade",
|
||||
Level: 3,
|
||||
IsUniversal: true
|
||||
},
|
||||
{
|
||||
ItemType: "/Lotus/Upgrades/Focus/Power/Residual/FreeAbilityCastsFocusUpgrade",
|
||||
Level: 3
|
||||
},
|
||||
{
|
||||
ItemType: "/Lotus/Upgrades/Focus/Power/Active/DisarmingProjectionUpgrade",
|
||||
Level: 3
|
||||
},
|
||||
{
|
||||
ItemType: "/Lotus/Upgrades/Focus/Power/Residual/SlowHeadshotDamageFocusUpgrade",
|
||||
Level: 3
|
||||
},
|
||||
{
|
||||
ItemType: "/Lotus/Upgrades/Focus/Power/Active/DashBubbleFocusUpgrade",
|
||||
Level: 3
|
||||
},
|
||||
{
|
||||
ItemType: "/Lotus/Upgrades/Focus/Defense/Stats/HealthRegenFocusUpgrade",
|
||||
Level: 3,
|
||||
IsUniversal: true
|
||||
},
|
||||
{
|
||||
ItemType: "/Lotus/Upgrades/Focus/Defense/Residual/RadialXpFocusUpgrade",
|
||||
Level: 3
|
||||
},
|
||||
{
|
||||
ItemType: "/Lotus/Upgrades/Focus/Defense/Active/DefenseShieldFocusUpgrade",
|
||||
Level: 3
|
||||
},
|
||||
{
|
||||
ItemType: "/Lotus/Upgrades/Focus/Defense/Active/CloakHealFocusUpgrade",
|
||||
Level: 3
|
||||
},
|
||||
{
|
||||
ItemType: "/Lotus/Upgrades/Focus/Defense/Active/DefenseShieldBreakFocusUpgrade",
|
||||
Level: 3
|
||||
},
|
||||
{
|
||||
ItemType: "/Lotus/Upgrades/Focus/Defense/Active/DashImmunityFocusUpgrade",
|
||||
Level: 3
|
||||
},
|
||||
{
|
||||
ItemType: "/Lotus/Upgrades/Focus/Defense/Residual/InstantReviveFocusUpgrade",
|
||||
Level: 3
|
||||
},
|
||||
{
|
||||
ItemType: "/Lotus/Upgrades/Focus/Defense/Active/SonicDissipationUpgrade",
|
||||
Level: 3
|
||||
},
|
||||
{
|
||||
ItemType: "/Lotus/Upgrades/Focus/Defense/Stats/HealthMaxFocusUpgrade",
|
||||
Level: 3,
|
||||
IsUniversal: true
|
||||
},
|
||||
{
|
||||
ItemType: "/Lotus/Upgrades/Focus/Defense/Active/CloakHealOthersFocusUpgrade",
|
||||
Level: 2
|
||||
}
|
||||
]
|
||||
}
|
||||
};
|
||||
function setImportSample(key) {
|
||||
$("#import-inventory").val(JSON.stringify(importSamples[key], null, 2));
|
||||
}
|
||||
|
@ -185,6 +185,8 @@ dict = {
|
||||
cheats_none: `Keines`,
|
||||
import_importNote: `Du kannst hier eine vollständige oder teilweise Inventarantwort (Client-Darstellung) einfügen. Alle Felder, die vom Importer unterstützt werden, <b>werden in deinem Account überschrieben</b>.`,
|
||||
import_submit: `Absenden`,
|
||||
import_samples: `[UNTRANSLATED] Samples:`,
|
||||
import_samples_maxFocus: `[UNTRANSLATED] All Focus Schools Maxed Out`,
|
||||
|
||||
upgrade_Equilibrium: `[UNTRANSLATED] +|VAL|% Energy from Health pickups, +|VAL|% Health from Energy pickups`,
|
||||
upgrade_MeleeCritDamage: `[UNTRANSLATED] +|VAL|% Melee Critical Damage`,
|
||||
|
@ -184,6 +184,8 @@ dict = {
|
||||
cheats_none: `None`,
|
||||
import_importNote: `You can provide a full or partial inventory response (client respresentation) here. All fields that are supported by the importer <b>will be overwritten</b> in your account.`,
|
||||
import_submit: `Submit`,
|
||||
import_samples: `Samples:`,
|
||||
import_samples_maxFocus: `All Focus Schools Maxed Out`,
|
||||
|
||||
upgrade_Equilibrium: `+|VAL|% Energy from Health pickups, +|VAL|% Health from Energy pickups`,
|
||||
upgrade_MeleeCritDamage: `+|VAL|% Melee Critical Damage`,
|
||||
|
@ -185,6 +185,8 @@ dict = {
|
||||
cheats_none: `Ninguno`,
|
||||
import_importNote: `Puedes proporcionar una respuesta de inventario completa o parcial (representación del cliente) aquí. Todos los campos compatibles con el importador <b>serán sobrescritos</b> en tu cuenta.`,
|
||||
import_submit: `Enviar`,
|
||||
import_samples: `[UNTRANSLATED] Samples:`,
|
||||
import_samples_maxFocus: `[UNTRANSLATED] All Focus Schools Maxed Out`,
|
||||
|
||||
upgrade_Equilibrium: `+|VAL|% de Energía al recoger salud, +|VAL|% de Salud al recoger energía`,
|
||||
upgrade_MeleeCritDamage: `+|VAL|% de daño crítico cuerpo a cuerpo`,
|
||||
|
@ -185,6 +185,8 @@ dict = {
|
||||
cheats_none: `Aucun`,
|
||||
import_importNote: `Import manuel. Toutes les modifcations supportées par l'inventaire <b>écraseront celles présentes dans la base de données</b>.`,
|
||||
import_submit: `Soumettre`,
|
||||
import_samples: `[UNTRANSLATED] Samples:`,
|
||||
import_samples_maxFocus: `[UNTRANSLATED] All Focus Schools Maxed Out`,
|
||||
|
||||
upgrade_Equilibrium: `[UNTRANSLATED] +|VAL|% Energy from Health pickups, +|VAL|% Health from Energy pickups`,
|
||||
upgrade_MeleeCritDamage: `[UNTRANSLATED] +|VAL|% Melee Critical Damage`,
|
||||
|
@ -185,6 +185,8 @@ dict = {
|
||||
cheats_none: `Отсутствует`,
|
||||
import_importNote: `Вы можете загрузить полный или частичный ответ инвентаря (клиентское представление) здесь. Все поддерживаемые поля <b>будут перезаписаны</b> в вашем аккаунте.`,
|
||||
import_submit: `Отправить`,
|
||||
import_samples: `[UNTRANSLATED] Samples:`,
|
||||
import_samples_maxFocus: `[UNTRANSLATED] All Focus Schools Maxed Out`,
|
||||
|
||||
upgrade_Equilibrium: `[UNTRANSLATED] +|VAL|% Energy from Health pickups, +|VAL|% Health from Energy pickups`,
|
||||
upgrade_MeleeCritDamage: `[UNTRANSLATED] +|VAL|% Melee Critical Damage`,
|
||||
|
@ -185,6 +185,8 @@ dict = {
|
||||
cheats_none: `无`,
|
||||
import_importNote: `您可以在此处提供完整或部分库存响应(客户端表示)。支持的所有字段<b>将被覆盖</b>到您的账户中。`,
|
||||
import_submit: `提交`,
|
||||
import_samples: `[UNTRANSLATED] Samples:`,
|
||||
import_samples_maxFocus: `[UNTRANSLATED] All Focus Schools Maxed Out`,
|
||||
|
||||
upgrade_Equilibrium: `+|VAL|% 能量 来自生命球, +|VAL|% 生命 来自能量球`,
|
||||
upgrade_MeleeCritDamage: `+|VAL|% 近战暴击伤害`,
|
||||
|
Loading…
x
Reference in New Issue
Block a user