mirror of
https://github.com/Sarjuuk/aowow.git
synced 2025-11-29 15:58:16 +08:00
Util/Lang
* cleanup Util 1/2 * move spell effect/aura strings to Lang
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user