2024-12-13 22:14:44 -06:00
|
|
|
<div class="title"><img src="/img/button_character.gif" alt="Character" title="Character"></div>
|
2024-12-18 23:09:04 -06:00
|
|
|
<b><?= $char->username ?></b><br><br>
|
2017-02-05 10:49:37 -06:00
|
|
|
|
2024-12-18 23:09:04 -06:00
|
|
|
Class: <?= match ($char->charclass) {
|
2024-12-19 13:16:55 -06:00
|
|
|
1 => env('class_1_name'),
|
|
|
|
2 => env('class_2_name'),
|
|
|
|
3 => env('class_3_name')
|
2024-12-13 22:14:44 -06:00
|
|
|
}; ?><br><br>
|
2017-02-05 10:49:37 -06:00
|
|
|
|
2024-12-18 23:09:04 -06:00
|
|
|
Level: <?= $char->level ?><br>
|
|
|
|
Experience: <?= number_format($char->experience) ?>
|
|
|
|
<?php if ($char->expbonus !== 0): ?> <span class="light">(<?= $char->expbonus > 0 ? '+' : '' ?>) <?= $char->expbonus ?>%)</span> <?php endif; ?><br>
|
|
|
|
Next Level: <?php if ($char->level < 99) { echo number_format($level[$char->charclass."_exp"]); } else { ?> <span class="light">None</span> <?php } ?><br>
|
|
|
|
Gold: <?= number_format($char->gold) ?>
|
|
|
|
<?php if ($char->goldbonus !== 0): ?> <span class="light">(<?= $char->goldbonus > 0 ? '+' : '' ?>) <?= $char->goldbonus ?>%)</span> <?php endif; ?><br>
|
|
|
|
Hit Points: <?= number_format($char->currenthp) ?> / <?= number_format($char->maxhp) ?><br>
|
|
|
|
Magic Points: <?= number_format($char->currentmp) ?> / <?= number_format($char->maxmp) ?><br>
|
|
|
|
Travel Points: <?= number_format($char->currenttp) ?> / <?= number_format($char->maxtp) ?><br><br>
|
2017-02-05 10:49:37 -06:00
|
|
|
|
2024-12-18 23:09:04 -06:00
|
|
|
Strength: <?= number_format($char->strength) ?><br>
|
|
|
|
Dexterity: <?= number_format($char->dexterity) ?><br>
|
|
|
|
Attack Power: <?= number_format($char->attackpower) ?><br>
|
|
|
|
Defense Power: <?= number_format($char->defensepower) ?><br>
|
2024-12-13 22:14:44 -06:00
|
|
|
<br>
|
2017-02-05 10:49:37 -06:00
|
|
|
|
2024-12-13 22:14:44 -06:00
|
|
|
<div class="title"><img src="/img/button_inventory.gif" alt="Inventory" title="Inventory"></div>
|
2024-12-18 23:09:04 -06:00
|
|
|
<img src="/img/icon_weapon.gif" alt="Weapon" title="Weapon"> <?= $char->weaponname ?><br>
|
|
|
|
<img src="/img/icon_armor.gif" alt="Armor" title="Armor"> <?= $char->armorname ?><br>
|
|
|
|
<img src="/img/icon_shield.gif" alt="Shield" title="Shield"> <?= $char->shieldname ?><br>
|
|
|
|
Slot 1: <?= $char->slot1name ?><br>
|
|
|
|
Slot 2: <?= $char->slot2name ?><br>
|
|
|
|
Slot 3: <?= $char->slot3name ?>
|
2024-12-13 22:14:44 -06:00
|
|
|
<br>
|
2017-02-05 10:49:37 -06:00
|
|
|
|
2024-12-13 22:14:44 -06:00
|
|
|
<div class="title"><img src="/img/button_spells.gif" alt="Spells" title="Spells"></div>
|
|
|
|
<?= $magic_list ?>
|