@extends('template.layout') @section('title', 'Spells') @section('submenuItem', 'spells') @section('content') @php include "./spells.php"; usort($spells, function ($a, $b) { return strcmp($a['name'], $b['name']); }); @endphp Here you can see the list of all available spells in {{ config('server.serverName') }}. Please adjust the search criteria below if you want to see just certain spells. Also, you can sort the spell list by any column of your choice.


Spell Search
Search by name: Vocation: Type: Premium:
Ícone de Pesquisa

Spells Total found: {{ count($spells) }}
@forelse($spells as $spell) @php $rowClass = $loop->index % 2 == 0 ? 'Even' : 'Odd'; @endphp @empty @endforelse
Name [Sort] Type Magic Level [Sort] Mana [Sort] Premium [Sort]
{{ $spell['name'] }} @if($spell['category'] == 'rune' && !str_contains(strtolower($spell['name']), 'rune')) Rune @endif ({{ $spell['words'] }}) {{ $spell['category'] }} {{ $spell['magicLevel'] }} @if(isset($spell['mana'])) {{ $spell['mana'] }} @else 0 @endif @if(isset($spell['isPremium'])) Yes @else No @endif


@endsection