Skip to content

Commit

Permalink
Creatures/Rank
Browse files Browse the repository at this point in the history
 * set unused ranks to 0 during setup to fix display issues
  • Loading branch information
Sarjuuk committed Dec 14, 2018
1 parent 392610b commit 34fe4c2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion setup/tools/sqlgen/creature.func.php
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ function creature(array $ids = [])
exp, exp,
faction, faction,
npcflag, npcflag,
rank, IF(rank > 4, 0, rank),
dmgSchool, dmgSchool,
DamageModifier, DamageModifier,
BaseAttackTime, BaseAttackTime,
Expand Down
1 change: 1 addition & 0 deletions setup/updates/1544826311_01.sql
Original file line number Original file line Diff line number Diff line change
@@ -0,0 +1 @@
UPDATE aowow_dbversion SET `sql` = CONCAT(IFNULL(`sql`, ''), ' creature');

0 comments on commit 34fe4c2

Please sign in to comment.