query('SELECT COUNT(*) FROM gear_items')->fetchColumn(); $mySets = gear_sets_for_user($userId); $mySlots = gear_slots_for_sets(array_column($mySets, 'id')); $mySkills = gear_set_skills_for_sets($mySets); // ---- 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'] : ''; // Unterseite des Sets: Ausruestung (Standard, auch beim Bearbeiten eines Slots), Skills oder Stigmen $tab = (string) ($_GET['tab'] ?? 'gear'); if (!isset(GEAR_SET_TABS[$tab]) || $activeSlot !== '') { $tab = 'gear'; } $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'] . ($tab !== 'gear' ? ' · ' . GEAR_SET_TABS[$tab] : '') . ' - Gear-Planer' : 'Gear-Planer'; $containerWide = true; include __DIR__ . '/includes/header.php'; ?>

Gear-Planer

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

Meine Sets Gegenstände & Skills verwalten

Noch keine Gegenstände im Katalog.

Gegenstände übernehmen
$planned) { $compareSkillRows[$skillId] ??= $planned['skill']; } } $classOrder = array_flip(array_unique(array_map(static fn (array $c): string => (string) $c['class_name'], $compare))); uasort($compareSkillRows, static fn (array $a, array $b): int => [$classOrder[$a['class_name']] ?? 99, $a['kind'], (int) $a['sort_order']] <=> [$classOrder[$b['class_name']] ?? 99, $b['kind'], (int) $b['sort_order']]); $compareTotals = []; $allKeys = []; foreach ($compare as $c) { $compareTotals[(int) $c['id']] = gear_set_totals($compareSlots[(int) $c['id']] ?? []); foreach ($compareTotals[(int) $c['id']] as $key => $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]): ?> $skill): ?> $c): ?>
Werte
≈' : '') . e(gear_format_value($value, $meta['unit'])) : '–' ?> 0 && abs($diff) > 0.001): ?> 0 ? '+' : '−' ?>
Ausrüstung
–
Skills
Stigma 0): ?> · GEAR_SKILL_SPEC_NUMERALS[$no], $specNumbers))) ?> – 0 && $c['class_name'] === $compare[0]['class_name'] && $level !== $baseLevel): ?> $baseLevel ? '+' : '−' ?>

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

Skill- & Daevanion-Plan ↗
(int) $s['id'] !== (int) $set['id'])); ?>
count(array_filter($slots, static fn (array $row): bool => !empty($row['item']))) . '/' . count(GEAR_SLOTS), 'skills' => (string) count(gear_skills_of_tab($plannedSkills, 'skills')), 'stigma' => count(gear_skills_of_tab($plannedSkills, 'stigma')) . '/' . GEAR_STIGMA_SLOTS, ]; ?>

· 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