Skip to content

Commit

Permalink
Library/Items: update tooltip style
Browse files Browse the repository at this point in the history
  • Loading branch information
Nightprince committed Oct 24, 2024
1 parent 1144861 commit 414f046
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
1 change: 1 addition & 0 deletions application/libraries/Items.php
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,7 @@ public function getItemCache(int $item, $realm, string $type): mixed
* @param Int $item
* @param $realm
* @param String $type
* @param bool $enableCache
* @return bool|string|array
*/
public function getItemDB(int $item, $realm, string $type, bool $enableCache = true): mixed
Expand Down
8 changes: 7 additions & 1 deletion application/views/tooltip.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,13 @@
{if $item.shadow_res}+ {$item.shadow_res} {lang("shadow", "tooltip")}<br />{/if}
{if $item.arcane_res}+ {$item.arcane_res} {lang("arcane", "tooltip")}<br />{/if}

{if $item.sockets}{$item.sockets}{/if}
<div class="q2" id="item-enchantments"></div>

<div id="item-sockets">
{if $item.sockets}{$item.sockets}{/if}
</div>

<div class="q0" id="item-socket-bonus"></div>

{if $item.durability}{lang("durability", "tooltip")} {$item.durability} / {$item.durability}<br />{/if}
{if $item.required}{lang("requires_level", "tooltip")} {$item.required}<br />{/if}
Expand Down

0 comments on commit 414f046

Please sign in to comment.