Spell:
- show spellScript in infobox
This commit is contained in:
parent
71110d432c
commit
9fda302bf3
1 changed files with 6 additions and 0 deletions
|
|
@ -227,6 +227,12 @@ class SpellPage extends GenericPage
|
|||
$infobox[] = 'Mode'.Lang::main('colon').Lang::game('modes', $n);
|
||||
|
||||
$effects = $this->createEffects($infobox, $redButtons);
|
||||
|
||||
// spell script
|
||||
if (User::isInGroup(U_GROUP_STAFF))
|
||||
if ($_ = DB::World()->selectCell('SELECT ScriptName FROM spell_script_names WHERE ABS(spell_id) = ?d', $this->firstRank))
|
||||
$infobox[] = 'Script'.Lang::main('colon').$_;
|
||||
|
||||
$infobox = $infobox ? '[ul][li]'.implode('[/li][li]', $infobox).'[/li][/ul]' : '';
|
||||
|
||||
// append glyph symbol if available
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue