Core/Players: Improved alcohol handling, weeeeeeeeeeeeeeeee

Closes #7293
This commit is contained in:
Shauren
2012-08-07 17:45:10 +02:00
parent 429130522e
commit f8cd39b2ed
6 changed files with 49 additions and 53 deletions

View File

@@ -0,0 +1,2 @@
UPDATE characters SET drunk = (drunk / 256) & 0xFF;
ALTER TABLE characters CHANGE drunk drunk tinyint(3) unsigned NOT NULL DEFAULT '0';