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); // Geteilter Link: Code fuer diese Sitzung merken, dann weiter zum Set (so gehen auch Reiter, Slots und Vergleich) if (isset($_GET['build'])) { $code = gear_share_code_input((string) $_GET['build']); $shared = $code !== null ? gear_set_by_share_code($code) : null; if (!$shared) { set_flash('error', 'Diesen Build gibt es nicht (mehr) – vielleicht wird das Set nicht mehr geteilt.'); redirect('/gear.php?view=mine'); } gear_share_remember($shared); redirect('/gear.php?set=' . (int) $shared['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?view=mine'); } } 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); // Uebersicht: oeffentliche Builds (Standard) oder die eigenen Sets $view = ($_GET['view'] ?? '') === 'mine' ? 'mine' : 'public'; $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 Skills, Arcana, Pets, Daevanion-Bretter, Pantheon und Closet deiner Klasse und vergleiche sie. Unter „Öffentliche Builds“ findest du die Builds unserer Klassenmeister. Grundwerte, Sockel, die Werte bei voller Aufwertung, die Skill-Listen und die Daten der Planer-Seiten stammen aus dem Spielclient (Global) und werden von der Leitung abgeglichen; Werte mit ≈ sind für Zwischenstufen hochgerechnet.

Öffentliche Builds Meine Builds 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']; // Kampfwerte aus Arcana, Pets, Daevanion, Pantheon und Closet (je Set zusammengezaehlt) $comparePlans = gear_set_plans(array_column($compare, 'id')); // Skill-Boni aus Daevanion und Arcana je Set: erreichte Stufe = selbst gesteigert + Boni $compareBonuses = []; foreach ($compare as $c) { $compareBonuses[(int) $c['id']] = array_map(static fn (array $bonus): int => (int) array_sum($bonus), gear_plan_skill_bonuses($c, $comparePlans[(int) $c['id']] ?? [])); } $effectiveIn = static function (array $c, int $skillId, array $skill) use ($compareSkills, $compareBonuses): array { $level = $compareSkills[(int) $c['id']][$skillId]['level'] ?? 0; $bonus = $level > 0 ? ($compareBonuses[(int) $c['id']][$skillId] ?? 0) : 0; return [$level, $bonus, $level > 0 ? gear_skill_effective_level($skill['kind'], min($level, gear_skill_level_max($skill['kind'])), $bonus) : 0]; }; $planTotals = []; $planKeys = []; foreach ($compare as $c) { $sum = []; foreach (gear_plan_stat_totals($c, $comparePlans[(int) $c['id']] ?? []) as $sectionTotals) { foreach ($sectionTotals as $stat => $value) { gear_stats_add($sum, (string) $stat, (float) $value); } } $planTotals[(int) $c['id']] = $sum; $planKeys += $sum; } $planKeys = array_keys(gear_stats_sorted($planKeys)); ?>

Vergleich

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

$meta): ?> $c): ?> [$slotLabel]): ?> $c): ?> $skill): ?> $c): ?>
Werte
≈' : '') . e(gear_format_value($value, $meta['unit'])) : '–' ?> 0 && abs($diff) > 0.001): ?> 0 ? '+' : '−' ?>
Ausrüstung
–
Werte aus Arcana, Pets, Daevanion, Pantheon & Closet
–' ?> 0 && abs($diff) > 0.001): ?> 0; ?>
Skills
Stigma 0): ?> 0 ? 'title="' . e('Stufe ' . $ownLevel . ' selbst, +' . $bonus . ' aus Daevanion/Arcana') . '"' : '' ?>> · GEAR_SKILL_SPEC_NUMERALS[$no], $specNumbers))) ?> – 0 && $c['class_name'] === $compare[0]['class_name'] && $level !== $baseLevel): ?> $baseLevel ? '+' : '−' ?>

von Klassenmeister
Öffentlicher Build · !empty($row['item']))) ?>/ Slots belegt · Ø Gegenstandsstufe · öffentlich · auf dem Profil sichtbar · per Link geteilt

Build-Link ↗
(int) $s['id'] !== (int) $set['id'])); ?>
gear_guide_has_content($set, gear_guide($set)) ? '✓' : '', 'gear' => 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, 'macro' => ($macroCount = gear_macro_count(gear_set_macro((int) $set['id']))) > 0 ? (string) $macroCount : '', ]; foreach (array_keys(GEAR_PLAN_SECTIONS) as $section) { $tabCounts[$section] = gear_plan_tab_count($setPlans, $section); } ?>

· 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.

$list) { foreach ($list as $master) { $masterIds[$master['id']] = $masterClass; } } $classFilter = in_array($_GET['class'] ?? '', AION_CLASSES, true) ? (string) $_GET['class'] : null; $sort = isset(GEAR_PUBLIC_SORTS[$_GET['sort'] ?? '']) ? (string) $_GET['sort'] : 'new'; $publicSets = gear_public_sets($classFilter); $publicSlots = gear_slots_for_sets(array_column($publicSets, 'id')); $publicSkills = gear_set_skills_for_sets($publicSets); $publicLevels = []; foreach ($publicSets as $p) { $publicLevels[(int) $p['id']] = gear_set_item_level($publicSlots[(int) $p['id']] ?? []); } if ($sort === 'level') { usort($publicSets, static fn (array $a, array $b): int => ($publicLevels[(int) $b['id']] ?? -1) <=> ($publicLevels[(int) $a['id']] ?? -1)); } elseif ($sort === 'name') { usort($publicSets, static fn (array $a, array $b): int => strnatcasecmp((string) $a['name'], (string) $b['name'])); } $filterUrl = static function (?string $class) use ($sort): string { $query = array_filter(['class' => $class, 'sort' => $sort !== 'new' ? $sort : null]); return '/gear.php' . ($query ? '?' . http_build_query($query) : ''); }; ?>

()

Klassenmeister: '' . e($m['name']) . '', $classMasters[$classFilter])) ?> noch keiner

Als Klassenmeister stellst du eins deiner Sets unter Meine Builds → Set öffnen → „Bearbeiten“ → „Öffentlich“ hier für alle sichtbar. Öffentliche Builds stellen unsere Klassenmeister hier ein.

Meine Builds

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