Spell/ShapeshiftForms

* move all localized strings to class Lang
 * added missing negation in flag check, causing stances not to be displayed
This commit is contained in:
Sarjuuk
2017-05-15 15:14:12 +02:00
parent bf6bf20ae4
commit 94321ea178
11 changed files with 33 additions and 30 deletions

View File

@@ -20,7 +20,7 @@ $reqDBC = ['spellshapeshiftform'];
function shapeshiftforms()
{
DB::Aowow()->query('REPLACE INTO ?_shapeshiftforms SELECT * FROM dbc_spellshapeshiftform');
DB::Aowow()->query('REPLACE INTO ?_shapeshiftforms SELECT id, flags, creatureType, displayIdA, displayIdH, spellId1, spellId2, spellId3, spellId4, spellId5, spellId6, spellId7, spellId8, IF(name_loc0 = "", IF(name_loc2 = "", IF(name_loc3 = "", IF(name_loc6 = "", IF(name_loc8 = "", "???", name_loc8), name_loc6), name_loc3), name_loc2), name_loc0) FROM dbc_spellshapeshiftform');
return true;
}