mirror of
https://github.com/Sarjuuk/aowow.git
synced 2025-11-29 15:58:16 +08:00
- added announcements to titles and error-page
- file inclusion:
- now only require without brackets
- classes for ListTypes are auto-loaded
- (minor) empty array to new syntax (php5+)
This commit is contained in:
@@ -655,7 +655,7 @@ class Spell extends BaseType
|
||||
public function getTooltip()
|
||||
{
|
||||
// get reagents
|
||||
$reagents = array();
|
||||
$reagents = [];
|
||||
for ($j = 1; $j <= 8; $j++)
|
||||
{
|
||||
if($this->template['reagent'.$j] <= 0)
|
||||
@@ -670,7 +670,7 @@ class Spell extends BaseType
|
||||
$reagents = array_reverse($reagents);
|
||||
|
||||
// get tools
|
||||
$tools = array();
|
||||
$tools = [];
|
||||
for ($i = 1; $i <= 2; $i++)
|
||||
{
|
||||
// Tools
|
||||
|
||||
Reference in New Issue
Block a user