
03-30-2002, 04:57 PM
|
Fire Beetle
|
|
Join Date: Sep 2002
Posts: 0
|
|
This is the current table structure in our Private CVS
Quote:
#
# Table structure for table `npc_types`
#
CREATE TABLE npc_types (
id int(11) NOT NULL auto_increment,
name text NOT NULL,
level tinyint(2) unsigned NOT NULL default '0',
race tinyint(2) unsigned NOT NULL default '0',
class tinyint(2) unsigned NOT NULL default '0',
hp int(11) NOT NULL default '0',
gender tinyint(2) unsigned NOT NULL default '0',
texture tinyint(2) unsigned NOT NULL default '0',
helmtexture tinyint(2) unsigned NOT NULL default '0',
size float NOT NULL default '0',
hp_regen_rate int(11) unsigned NOT NULL default '0',
mana_regen_rate int(11) unsigned NOT NULL default '0',
loottable_id int(11) unsigned NOT NULL default '0',
merchant_id int(11) unsigned NOT NULL default '0',
mindmg int(10) unsigned NOT NULL default '0',
maxdmg int(10) unsigned NOT NULL default '0',
usedspells char(22) NOT NULL default '',
npcspecialattks char(1) NOT NULL default '',
banish int(10) unsigned NOT NULL default '0',
aggroradius int(10) unsigned NOT NULL default '0',
social int(10) unsigned NOT NULL default '0',
PRIMARY KEY (id)
) TYPE=MyISAM;
|
image: Changed usedspells to char(22), no way I can make them use spells with 1 letter/number.
|