Util/Lang

* cleanup Util 1/2
 * move spell effect/aura strings to Lang
This commit is contained in:
Sarjuuk
2017-04-19 01:09:14 +02:00
parent c1af1fd884
commit f503967c45
9 changed files with 510 additions and 506 deletions

View File

@@ -78,6 +78,15 @@ class Lang
$var = $var[$arg];
}
// meh :x
if ($var === null && $prop == 'spell' && count($args) == 1)
{
if ($args[0] == 'effects')
$var = self::$$prop['unkEffect'];
else if ($args[0] == 'auras')
$var = self::$$prop['unkAura'];
}
return self::vspf($var, $vspfArgs);
}