query('SELECT COUNT(*) FROM gear_items')->fetchColumn(); $mySets = gear_sets_for_user($userId); $mySlots = gear_slots_for_sets(array_column($mySets, 'id')); // ---- Welche Ansicht? ---- $set = null; $compare = []; if (isset($_GET['compare'])) { foreach (array_slice(array_unique(array_map('intval', (array) $_GET['compare'])), 0, 4) as $compareId) { $candidate = gear_set($compareId); if ($candidate && gear_can_view_set($candidate)) { $compare[] = $candidate; } } if (count($compare) < 2) { set_flash('error', 'Zum Vergleichen bitte mindestens zwei Sets auswählen.'); redirect('/gear.php'); } } elseif (isset($_GET['set'])) { $set = gear_set((int) $_GET['set']); if (!$set || !gear_can_view_set($set)) { show_not_found(); } } $isOwn = $set && gear_is_own_set($set); $slots = $set ? (gear_slots_for_sets([(int) $set['id']])[(int) $set['id']] ?? []) : []; $activeSlot = $set && isset(GEAR_SLOTS[$_GET['slot'] ?? '']) ? (string) $_GET['slot'] : ''; $activeRow = $activeSlot !== '' ? ($slots[$activeSlot] ?? null) : null; $activeItem = $activeRow['item'] ?? null; /** Kurzinfo eines belegten Slots: "+15 · Durchbruch 5 · 3/4 Manasteine" */ $slotTags = static function (?array $row): array { if (!$row || empty($row['item'])) { return []; } $item = $row['item']; $tags = []; if ((int) $item['enchant_max'] > 0) { $tags[] = '+' . (int) $row['enchant']; } if ((int) $row['exceed'] > 0) { $tags[] = '⬆' . (int) $row['exceed']; } if ((int) $item['manastone_slots'] > 0) { $tags[] = '◆ ' . count($row['manastones']) . '/' . (int) $item['manastone_slots']; } return $tags; }; /** Symbol eines Gegenstands (oder Platzhalter) */ $itemIcon = static function (?array $item, int $size = 40): string { $url = gear_icon_url($item); if ($url === null) { return ''; } return ''; }; $pageTitle = $set ? $set['name'] . ' - Gear-Planer' : 'Gear-Planer'; $containerWide = true; include __DIR__ . '/includes/header.php'; ?>

Gear-Planer

Stell Ausrüstungssets zusammen und vergleiche sie. Grundwerte, Sockel und die Werte bei voller Aufwertung stammen aus dem Spielclient (Global) und werden von der Leitung abgeglichen; Werte mit ≈ sind für Zwischenstufen hochgerechnet.

Meine Sets Gegenstände verwalten

Noch keine Gegenstände im Katalog.

Gegenstände übernehmen
$row) { $allKeys[$key] = $row; } } uksort($allKeys, static function (string $a, string $b) use ($allKeys): int { $ia = array_search($allKeys[$a]['name'], GEAR_STAT_ORDER, true); $ib = array_search($allKeys[$b]['name'], GEAR_STAT_ORDER, true); return [$ia === false ? 99 : $ia, $allKeys[$a]['unit'], $a] <=> [$ib === false ? 99 : $ib, $allKeys[$b]['unit'], $b]; }); $first = (int) $compare[0]['id']; ?>

Vergleich

Unterschiede beziehen sich immer auf das erste Set (links).

$meta): ?> $c): ?> [$slotLabel]): ?>
Werte
≈' : '') . e(gear_format_value($value, $meta['unit'])) : '–' ?> 0 && abs($diff) > 0.001): ?> 0 ? '+' : '−' ?>
Ausrüstung
–

Set von · !empty($row['item']))) ?>/ Slots belegt · Ø Gegenstandsstufe · auf dem Profil sichtbar

(int) $s['id'] !== (int) $set['id'])); ?>

· Stufe · aion2hub
0): ?> 0): ?>

Bei +:
Durchbruch :

0): ?>
Seelenprägung (bis zu , wie im Spiel gewürfelt)
0): ?>
Manasteine ( Sockel)
0): ?>

Wechselst du den Gegenstand, werden Seelenprägung und Manasteine zurückgesetzt.

Schließen
0): ?>
Aufwertung
+ von +
0): ?>
Durchbruch
von
Seelenprägung
$s[0] . ' ' . str_replace('.', ',', (string) $s[1]), $activeRow['soul_imprint']))) ?>
Manasteine
$s[0] . ' ' . (int) $s[1], $activeRow['manastones']))) ?>
Götterstein

Dieser Slot ist leer.

Werte gesamt

Noch keine Gegenstände eingesetzt.

(bool) array_filter($totals, static fn (array $t): bool => isset($t['by'][$source])), ARRAY_FILTER_USE_BOTH)); ?>
Wert Gesamt
≈ –' ?>

Einfache Summe aller Gegenstände - Klassen- und Charakterwerte, Set-Boni und Götterstein sind nicht enthalten.

Meine Sets

Du hast noch kein Set. Leg oben eins an - z.B. deine aktuelle Ausrüstung und ein Ziel-Set zum Vergleichen.

1): ?>
2–4 Sets anhaken