@extends('admin.layouts.app') @section('title', 'Hero') @section('actions') @include('admin.partials.scraper-button', [ 'task' => 'live', 'label' => 'Scrape Live MLBBHub', 'icon' => 'cloud-download', 'confirm' => 'Unduh statistik terbaru (Win Rate, Tier, Role) dari MLBBHub untuk seluruh hero?', ]) @include('admin.partials.scraper-button', [ 'task' => 'sync', 'label' => 'Sync Master Dataset', 'icon' => 'arrow-repeat', 'variant' => 'outline-primary', 'confirm' => 'Perbarui seluruh hero (builds, matchups, weaknesses, counters), item, spell, dan emblem dari master dataset?', ]) Buat Hero @endsection @section('content')
@forelse ($heroes as $hero) @empty @endforelse
Role Aksi
{{ $hero->name }} @foreach ($hero->roles ?? [] as $role) {{ $role }} @endforeach {{ $hero->lane ?? '—' }} {{ $hero->skins_count }} {{ $hero->tier }} $hero->win_rate >= 52, 'text-danger' => $hero->win_rate < 48])>{{ number_format($hero->win_rate, 2) }}% {{ number_format($hero->pick_rate, 2) }}% {{ number_format($hero->ban_rate, 2) }}%
Tidak ada hero yang cocok.
@endsection