Tabelle: 'npc_trainer'
The `npc_trainer` tableThis table contains all the spells that each trainer can teach. StructureField | Type | Attributes | Key | Null | Default | Extra | Comment |
---|
entry | mediumint(8) | vorzeichenlos | PRI | NO | 0 | | | spell | mediumint(8) | vorzeichenbehaftet | PRI | nein | 0 | | | spellcost | int(10) | vorzeichenlos | | nein | 0 | | | reqskill | smallint(5) | vorzeichenlos | | nein | 0 | | | reqskillvalue | smallint(5) | vorzeichenlos | | nein | 0 | | | reqlevel | tinyint(3) | vorzeichenlos | | nein | 0 | | |
Description of the fieldsentryUsually, this would be an entry of a creaturereferringtocreature_template.entry. However, Biohazard included several trainer lists by refering to their id. For more information, see Reference_list. spellThe spell ID from Spell.dbc/ If the ID is negative, it's pointing to a reference template. spellcostThe cost that the player needs to pay in order to learn the spell in copper (1 gold = 100 silver = 10000 cooper). If you get this information from a data site such as Wowhead, be sure to take into account that they usually post the discounted prices based on friendly to exalted with a given faction. reqskillThe required skill the player needs to have in order to be able to learn the spell. See ID in SkillLine.dbc. reqskillvalueThe proficiency in the skill from reqskill that the player needs to meet in order to learn the spell. reqlevelThe level the player needs to be in order to learn the spell.
|