<?xml version="1.0"?>
<rss version="2.0"><channel><title>Wiki: Wiki</title><link>https://www.getmangos.eu/wiki/referenceinfo/dbinfo/mangosdb/mangostwoworlddb/?d=4</link><description>Wiki: Wiki</description><language>en</language><item><title>achievement_criteria_requirement</title><link>https://www.getmangos.eu/wiki/referenceinfo/dbinfo/mangosdb/mangostwoworlddb/achievement_criteria_requirement-r5001/</link><description><![CDATA[<table bgcolor="#a80000" border="2" cellpadding="0" cellspacing="0" width="100%">
<tbody>
<tr>
<td height="20">
<font color="#ffe97f" size="3"> <strong>NOTE:</strong>  This page is auto-generated from the MAGNET DBDocs module,<br>             Any changes made directly to this page will be lost when it is regenerated.</font>
</td>
</tr>
</tbody>
</table>
<h2 style="font-size:24px;color:rgb(180,255,255);">
Description of the  'achievement_criteria_requirement' table for MaNGOSTwo
</h2>

<p>This table contains what needs to be done to complete an achievement criteria.</p>

<p style="font-size:18px;color:rgb(255,255,180);">
<strong>Table Notes</strong>
</p>
<p>This table uses the 'MyISAM' DB Engine</p>


<p style="font-size:18px;color:rgb(255,255,180);">
<strong>The Field definitions follow:</strong>
</p>
<table align="center" border="1" cellpadding="1" cellspacing="1" style="width:100%;background-color:#2b2b2b;color:#c0c0c0;">
<thead><tr>
<th scope="col" style="border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:center;">
<b>Field Name</b>
</th>
<th scope="col" style="border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:center;">
<b>Field Type</b>
</th>
<th scope="col" style="border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:center;">
<b>Nullable</b>
</th>
<th scope="col" style="border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:center;">
<b>Key</b>
</th>
<th scope="col" style="border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:center;">
<b>Default Value</b>
</th>
<th scope="col" style="border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:center;">
<b>Attributes</b>
</th>
<th scope="col" style="border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:left;">
<b>Notes</b>
</th>
</tr>
</thead>
<tbody>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
<a href="#criteria_id" rel="internal" style="color:rgb(180,255,255);">criteria_id</a>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
mediumint(8)
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
NO
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
<abbr style="border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;" title="Primary Key">PRI</abbr>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
NULL
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
 
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:left;">
Matching ID from achievement_criteria.dbc
</td>
</tr>
<tr style="background-color:#3b3b3b;">
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
<a href="#type" rel="internal" style="color:rgb(180,255,255);">type</a>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
tinyint(3) <abbr style="border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;" title="This field is unsigned, so it never accepts negative values">unsigned</abbr>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
NO
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
<abbr style="border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;" title="Primary Key">PRI</abbr>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
'0'
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
 
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:left;">
The Type of Criteria
</td>
</tr>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
<a href="#value1" rel="internal" style="color:rgb(180,255,255);">value1</a>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
mediumint(8) <abbr style="border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;" title="This field is unsigned, so it never accepts negative values">unsigned</abbr>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
NO
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">

</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
'0'
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
 
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:left;">
 
</td>
</tr>
<tr style="background-color:#3b3b3b;">
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
<a href="#value2" rel="internal" style="color:rgb(180,255,255);">value2</a>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
mediumint(8) <abbr style="border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;" title="This field is unsigned, so it never accepts negative values">unsigned</abbr>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
NO
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">

</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
'0'
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
 
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:left;">
 
</td>
</tr>
</tbody>
</table>
<p style="font-size:20px;color:rgb(255,255,180);">
<strong>Description of the fields</strong>
</p>
<p>
<a id="criteria_id" rel="internal" style="color:rgb(255,255,255);">
<span style="font-size:20px;">
criteria_id
</span></a>
 mediumint(8)
</p>
<p>
Column 0 (ID) of [<b>See <a href="https://www.getmangos.eu/wiki/" rel="">achievement_criteria.dbc</a></b>] This DBC contains the achievement_id on 2nd column and will be later extracted to show relations.
</p>


<p>
<a id="type" rel="internal" style="color:rgb(255,255,255);">
<span style="font-size:20px;">
type
</span></a>
 tinyint(3) <abbr style="border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;" title="This field is unsigned, so it never accepts negative values">unsigned</abbr>
</p>
<p>
The Type of Criteria<br><br></p><table align="center" border="1" cellpadding="1" cellspacing="1" style="width:100%;background-color:#2b2b2b;color:#c0c0c0;">
<thead>
<tr>
<th scope="col" style="border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:center;">
<b>Type Id</b>
</th>
<th scope="col" style="border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:left;">
<b>Critieria Name</b>
</th>
<th scope="col" style="border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:center;">
<b>Value1</b>
</th>
<th scope="col" style="border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:center;">
<b>Value2</b>
</th>
</tr>
</thead>
<tbody>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
0
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
TYPE_NONE
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
 
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
 
</td>
</tr>
<tr style="background-color:#3b3b3b;">
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
1
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
TYPE_T_CREATURE
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
Target creature_template.entry
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
 
</td>
</tr>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
2
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
TYPE_T_PLAYER_CLASS_RACE
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
Target Player Class
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
Target Player Race
</td>
</tr>
<tr style="background-color:#3b3b3b;">
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
3
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
TYPE_T_PLAYER_LESS_HEALTH
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
Target Health percentage
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
 
</td>
</tr>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
4
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
TYPE_T_PLAYER_DEAD
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
Team value the source player and target dead player must both meet
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
 
</td>
</tr>
<tr style="background-color:#3b3b3b;">
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
5
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
TYPE_S_AURA
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
Spell Id
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
Effect Index
</td>
</tr>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
6
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
TYPE_S_AREA
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
Area Id from [<b>See <a href="https://www.getmangos.eu/wiki/" rel="">AreaTable.dbc</a></b>]
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
 
</td>
</tr>
<tr style="background-color:#3b3b3b;">
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
7
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
TYPE_T_AURA
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
Spell Id
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
Effect Index
</td>
</tr>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
8
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
TYPE_VALUE
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
Min Value. Value provided with achievement update must be not less that limit
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
 
</td>
</tr>
<tr style="background-color:#3b3b3b;">
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
9
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
TYPE_T_LEVEL
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
Target Min Level
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
 
</td>
</tr>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
10
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
TYPE_T_GENDER
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
Gender: 0=Male, 1=Female
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
 
</td>
</tr>
<tr style="background-color:#3b3b3b;">
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
11
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
TYPE_DISABLED
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
Used to prevent achievement criteria to complete if not all requirements are implemented and listed in this table
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
 
</td>
</tr>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
12
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
TYPE_MAP_DIFFICULTY
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
Map Difficulty, Refer to Table Below
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
 
</td>
</tr>
<tr style="background-color:#3b3b3b;">
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
13
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
TYPE_MAP_PLAYER_COUNT
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
Count. For criteria 'with less than %u people in the zone'
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
 
</td>
</tr>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
14
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
TYPE_T_TEAM
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
Team: HORDE = 67, ALLIANCE = 469
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
 
</td>
</tr>
<tr style="background-color:#3b3b3b;">
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
15
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
TYPE_S_DRUNK
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
An entry from the Drunken State table below
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
 
</td>
</tr>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
16
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
TYPE_HOLIDAY
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
Holiday ID which must be active from (See Holiday.dbc) and game_event
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
 
</td>
</tr>
<tr style="background-color:#3b3b3b;">
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
17
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
TYPE_BG_LOSS_TEAM_SCORE
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
min_score
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
max_score
</td>
</tr>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
18
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
TYPE_INSTANCE_SCRIPT
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
Make instance script call for check current criteria requirements fit
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
 
</td>
</tr>
<tr style="background-color:#3b3b3b;">
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
19
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
TYPE_S_EQUIPED_ITEM_LVL
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
Item Level
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
Item Quality
</td>
</tr>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
20
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
TYPE_REQUIRE_NTH_BIRTHDAY
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
nth-birthday
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
 
</td>
</tr>
<tr style="background-color:#3b3b3b;">
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
21
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
TYPE_REQUIRE_KNOWN_TITLE
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
title_id
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
 
</td>
</tr>
</tbody>
</table>
<br><br>Map Difficulty Table<br><table align="center" border="1" cellpadding="1" cellspacing="1" style="width:100%;background-color:#2b2b2b;color:#c0c0c0;">
<thead>
<tr>
<th scope="col" style="border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:left;">
<b>Description</b>
</th>
<th scope="col" style="border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:center;">
<b>Value</b>
</th>
</tr>
</thead>
<tbody>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;">
DUNGEON_DIFFICULTY_NORMAL
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
0
</td>
</tr>
<tr style="background-color:#3b3b3b;">
<td style="border:1px solid #999999;padding:3px 10px;">
DUNGEON_DIFFICULTY_HEROIC
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
1
</td>
</tr>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;">
RAID_DIFFICULTY_10MAN_NORMAL
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
0
</td>
</tr>
<tr style="background-color:#3b3b3b;">
<td style="border:1px solid #999999;padding:3px 10px;">
RAID_DIFFICULTY_25MAN_NORMAL
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
1
</td>
</tr>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;">
RAID_DIFFICULTY_10MAN_HEROIC
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
2
</td>
</tr>
<tr style="background-color:#3b3b3b;">
<td style="border:1px solid #999999;padding:3px 10px;">
RAID_DIFFICULTY_25MAN_HEROIC
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
3
</td>
</tr>
</tbody>
</table>
<br><br>Drunken State Table<br><table align="center" border="1" cellpadding="1" cellspacing="1" style="width:100%;background-color:#2b2b2b;color:#c0c0c0;">
<thead>
<tr>
<th scope="col" style="border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:left;">
<b>Drunken Name</b>
</th>
<th scope="col" style="border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:center;">
<b>Value</b>
</th>
</tr>
</thead>
<tbody>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;">
DRUNKEN_SOBER
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
0
</td>
</tr>
<tr style="background-color:#3b3b3b;">
<td style="border:1px solid #999999;padding:3px 10px;">
DRUNKEN_TIPSY
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
1
</td>
</tr>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;">
DRUNKEN_DRUNK
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
2
</td>
</tr>
<tr style="background-color:#3b3b3b;">
<td style="border:1px solid #999999;padding:3px 10px;">
DRUNKEN_SMASHED
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
3
</td>
</tr>
</tbody>
</table>




<p>
<a id="value1" rel="internal" style="color:rgb(255,255,255);">
<span style="font-size:20px;">
value1
</span></a>
 mediumint(8) <abbr style="border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;" title="This field is unsigned, so it never accepts negative values">unsigned</abbr>
</p>
<p>
The meaning of this field is based on the Type, see the table above.
</p>


<p>
<a id="value2" rel="internal" style="color:rgb(255,255,255);">
<span style="font-size:20px;">
value2
</span></a>
 mediumint(8) <abbr style="border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;" title="This field is unsigned, so it never accepts negative values">unsigned</abbr>
</p>
<p>
The meaning of this field is based on the Type, see the table above.
</p>



<br>
<p>
auto-generated by the <a href="https://getmangos.eu">getMaNGOS.eu</a> MAGNET dbdocs module
</p>
]]></description><guid isPermaLink="false">5001</guid><pubDate>Mon, 25 Jul 2016 08:57:18 +0000</pubDate></item><item><title>achievement_reward</title><link>https://www.getmangos.eu/wiki/referenceinfo/dbinfo/mangosdb/mangostwoworlddb/achievement_reward-r5002/</link><description><![CDATA[<table bgcolor="#a80000" border="2" cellpadding="0" cellspacing="0" width="100%">
<tbody>
<tr>
<td height="20">
<font color="#ffe97f" size="3"> <strong>NOTE:</strong>  This page is auto-generated from the MAGNET DBDocs module,<br>             Any changes made directly to this page will be lost when it is regenerated.</font>
</td>
</tr>
</tbody>
</table>
<h2 style="font-size:24px;color:rgb(180,255,255);">
Description of the  'achievement_reward' table for MaNGOSTwo
</h2>
<p>'Achievment system'</p>


<p style="font-size:18px;color:rgb(255,255,180);">
<strong>Table Notes</strong>
</p>
<p>This table uses the 'MyISAM' DB Engine</p>


<p style="font-size:18px;color:rgb(255,255,180);">
<strong>The Field definitions follow:</strong>
</p>
<table align="center" border="1" cellpadding="1" cellspacing="1" style="width:100%;background-color:#2b2b2b;color:#c0c0c0;">
<thead><tr>
<th scope="col" style="border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:center;">
<b>Field Name</b>
</th>
<th scope="col" style="border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:center;">
<b>Field Type</b>
</th>
<th scope="col" style="border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:center;">
<b>Nullable</b>
</th>
<th scope="col" style="border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:center;">
<b>Key</b>
</th>
<th scope="col" style="border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:center;">
<b>Default Value</b>
</th>
<th scope="col" style="border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:center;">
<b>Attributes</b>
</th>
<th scope="col" style="border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:left;">
<b>Notes</b>
</th>
</tr>
</thead>
<tbody>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
<a href="#entry" rel="internal" style="color:rgb(180,255,255);">entry</a>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
mediumint(8) <abbr style="border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;" title="This field is unsigned, so it never accepts negative values">unsigned</abbr>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
NO
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
<abbr style="border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;" title="Primary Key">PRI</abbr>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
'0'
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
 
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:left;">
 
</td>
</tr>
<tr style="background-color:#3b3b3b;">
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
<a href="#gender" rel="internal" style="color:rgb(180,255,255);">gender</a>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
tinyint(3)
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
NO
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
<abbr style="border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;" title="Primary Key">PRI</abbr>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
'2'
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
 
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:left;">
 
</td>
</tr>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
<a href="#title_A" rel="internal" style="color:rgb(180,255,255);">title_A</a>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
mediumint(8) <abbr style="border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;" title="This field is unsigned, so it never accepts negative values">unsigned</abbr>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
NO
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">

</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
'0'
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
 
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:left;">
 
</td>
</tr>
<tr style="background-color:#3b3b3b;">
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
<a href="#title_H" rel="internal" style="color:rgb(180,255,255);">title_H</a>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
mediumint(8) <abbr style="border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;" title="This field is unsigned, so it never accepts negative values">unsigned</abbr>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
NO
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">

</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
'0'
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
 
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:left;">
 
</td>
</tr>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
<a href="#item" rel="internal" style="color:rgb(180,255,255);">item</a>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
mediumint(8) <abbr style="border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;" title="This field is unsigned, so it never accepts negative values">unsigned</abbr>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
NO
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">

</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
'0'
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
 
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:left;">
 
</td>
</tr>
<tr style="background-color:#3b3b3b;">
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
<a href="#sender" rel="internal" style="color:rgb(180,255,255);">sender</a>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
mediumint(8) <abbr style="border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;" title="This field is unsigned, so it never accepts negative values">unsigned</abbr>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
NO
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">

</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
'0'
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
 
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:left;">
 
</td>
</tr>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
<a href="#subject" rel="internal" style="color:rgb(180,255,255);">subject</a>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
varchar(255)
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
YES
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">

</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
{Blank String}
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
 
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:left;">
 
</td>
</tr>
<tr style="background-color:#3b3b3b;">
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
<a href="#text" rel="internal" style="color:rgb(180,255,255);">text</a>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
text
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
YES
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">

</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
NULL
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
 
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:left;">
 
</td>
</tr>
</tbody>
</table>
<p style="font-size:20px;color:rgb(255,255,180);">
<strong>Description of the fields</strong>
</p>
<p>
<a id="entry" rel="internal" style="color:rgb(255,255,255);">
<span style="font-size:20px;">
entry
</span></a>
 mediumint(8) <abbr style="border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;" title="This field is unsigned, so it never accepts negative values">unsigned</abbr>
</p>

<p>
<a id="gender" rel="internal" style="color:rgb(255,255,255);">
<span style="font-size:20px;">
gender
</span></a>
 tinyint(3)
</p>

<p>
<a id="title_A" rel="internal" style="color:rgb(255,255,255);">
<span style="font-size:20px;">
title_A
</span></a>
 mediumint(8) <abbr style="border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;" title="This field is unsigned, so it never accepts negative values">unsigned</abbr>
</p>

<p>
<a id="title_H" rel="internal" style="color:rgb(255,255,255);">
<span style="font-size:20px;">
title_H
</span></a>
 mediumint(8) <abbr style="border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;" title="This field is unsigned, so it never accepts negative values">unsigned</abbr>
</p>

<p>
<a id="item" rel="internal" style="color:rgb(255,255,255);">
<span style="font-size:20px;">
item
</span></a>
 mediumint(8) <abbr style="border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;" title="This field is unsigned, so it never accepts negative values">unsigned</abbr>
</p>

<p>
<a id="sender" rel="internal" style="color:rgb(255,255,255);">
<span style="font-size:20px;">
sender
</span></a>
 mediumint(8) <abbr style="border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;" title="This field is unsigned, so it never accepts negative values">unsigned</abbr>
</p>

<p>
<a id="subject" rel="internal" style="color:rgb(255,255,255);">
<span style="font-size:20px;">
subject
</span></a>
 varchar(255)
</p>

<p>
<a id="text" rel="internal" style="color:rgb(255,255,255);">
<span style="font-size:20px;">
text
</span></a>
 text
</p>


<br>
<p>
auto-generated by the <a href="https://getmangos.eu">getMaNGOS.eu</a> MAGNET dbdocs module
</p>
]]></description><guid isPermaLink="false">5002</guid><pubDate>Mon, 25 Jul 2016 08:57:19 +0000</pubDate></item><item><title>areatrigger_tavern</title><link>https://www.getmangos.eu/wiki/referenceinfo/dbinfo/mangosdb/mangostwoworlddb/areatrigger_tavern-r5004/</link><description><![CDATA[<table bgcolor="#a80000" border="2" cellpadding="0" cellspacing="0" width="100%">
<tbody>
<tr>
<td height="20">
<font color="#ffe97f" size="3"> <strong>NOTE:</strong>  This page is auto-generated from the MAGNET DBDocs module,<br>             Any changes made directly to this page will be lost when it is regenerated.</font>
</td>
</tr>
</tbody>
</table>
<h2 style="font-size:24px;color:rgb(180,255,255);">
Description of the  'areatrigger_tavern' table for MaNGOSTwo
</h2>

<p>Enable a trigger when player enters a city or tavern. This causes the player to enter a resting state.</p>

<p style="font-size:18px;color:rgb(255,255,180);">
<strong>Table Notes</strong>
</p>
<p>This table uses the 'InnoDB' DB Engine</p>


<p style="font-size:18px;color:rgb(255,255,180);">
<strong>The Field definitions follow:</strong>
</p>
<table align="center" border="1" cellpadding="1" cellspacing="1" style="width:100%;background-color:#2b2b2b;color:#c0c0c0;">
<thead><tr>
<th scope="col" style="border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:center;">
<b>Field Name</b>
</th>
<th scope="col" style="border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:center;">
<b>Field Type</b>
</th>
<th scope="col" style="border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:center;">
<b>Nullable</b>
</th>
<th scope="col" style="border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:center;">
<b>Key</b>
</th>
<th scope="col" style="border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:center;">
<b>Default Value</b>
</th>
<th scope="col" style="border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:center;">
<b>Attributes</b>
</th>
<th scope="col" style="border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:left;">
<b>Notes</b>
</th>
</tr>
</thead>
<tbody>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
<a href="#id" rel="internal" style="color:rgb(180,255,255);">id</a>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
mediumint(8) <abbr style="border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;" title="This field is unsigned, so it never accepts negative values">unsigned</abbr>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
NO
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
<abbr style="border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;" title="Primary Key">PRI</abbr>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
'0'
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
 
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:left;">
The ID of the trigger [<b>See <a href="https://www.getmangos.eu/wiki/" rel="">AreaTrigger.dbc</a></b>].
</td>
</tr>
<tr style="background-color:#3b3b3b;">
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
<a href="#name" rel="internal" style="color:rgb(180,255,255);">name</a>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
text
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
YES
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">

</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
NULL
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
 
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:left;">
Name of town or tavern.
</td>
</tr>
</tbody>
</table>
<p style="font-size:20px;color:rgb(255,255,180);">
<strong>Description of the fields</strong>
</p>
<p>
<a id="id" rel="internal" style="color:rgb(255,255,255);">
<span style="font-size:20px;">
id
</span></a>
 mediumint(8) <abbr style="border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;" title="This field is unsigned, so it never accepts negative values">unsigned</abbr>
</p>
<p>
The ID of the trigger [<b>See <a href="https://www.getmangos.eu/wiki/" rel="">AreaTrigger.dbc</a></b>].
</p>


<p>
<a id="name" rel="internal" style="color:rgb(255,255,255);">
<span style="font-size:20px;">
name
</span></a>
 text
</p>
<p>
Name of town or tavern.
</p>



<br>
<p>
auto-generated by the <a href="https://getmangos.eu">getMaNGOS.eu</a> MAGNET dbdocs module
</p>
]]></description><guid isPermaLink="false">5004</guid><pubDate>Mon, 25 Jul 2016 08:57:19 +0000</pubDate></item><item><title>areatrigger_teleport</title><link>https://www.getmangos.eu/wiki/referenceinfo/dbinfo/mangosdb/mangostwoworlddb/areatrigger_teleport-r5005/</link><description><![CDATA[<table bgcolor="#a80000" border="2" cellpadding="0" cellspacing="0" width="100%">
<tbody>
<tr>
<td height="20">
<font color="#ffe97f" size="3"> <strong>NOTE:</strong>  This page is auto-generated from the MAGNET DBDocs module,<br>             Any changes made directly to this page will be lost when it is regenerated.</font>
</td>
</tr>
</tbody>
</table>
<h2 style="font-size:24px;color:rgb(180,255,255);">
Description of the  'areatrigger_teleport' table for MaNGOSTwo
</h2>

<p>Contains all the teleport triggers definition. This table is used to complete .dbc file information.</p>

<p style="font-size:18px;color:rgb(255,255,180);">
<strong>Table Notes</strong>
</p>
<p>This table uses the 'InnoDB' DB Engine</p>


<p style="font-size:18px;color:rgb(255,255,180);">
<strong>The Field definitions follow:</strong>
</p>
<table align="center" border="1" cellpadding="1" cellspacing="1" style="width:100%;background-color:#2b2b2b;color:#c0c0c0;">
<thead><tr>
<th scope="col" style="border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:center;">
<b>Field Name</b>
</th>
<th scope="col" style="border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:center;">
<b>Field Type</b>
</th>
<th scope="col" style="border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:center;">
<b>Nullable</b>
</th>
<th scope="col" style="border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:center;">
<b>Key</b>
</th>
<th scope="col" style="border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:center;">
<b>Default Value</b>
</th>
<th scope="col" style="border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:center;">
<b>Attributes</b>
</th>
<th scope="col" style="border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:left;">
<b>Notes</b>
</th>
</tr>
</thead>
<tbody>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
<a href="#id" rel="internal" style="color:rgb(180,255,255);">id</a>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
mediumint(8) <abbr style="border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;" title="This field is unsigned, so it never accepts negative values">unsigned</abbr>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
NO
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
<abbr style="border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;" title="Primary Key">PRI</abbr>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
'0'
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
 
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:left;">
The ID of the trigger [<b>See <a href="https://www.getmangos.eu/wiki/" rel="">AreaTrigger.dbc</a></b>].
</td>
</tr>
<tr style="background-color:#3b3b3b;">
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
<a href="#name" rel="internal" style="color:rgb(180,255,255);">name</a>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
text
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
YES
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">

</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
NULL
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
 
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:left;">
The name of the teleport areatrigger.
</td>
</tr>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
<a href="#required_level" rel="internal" style="color:rgb(180,255,255);">required_level</a>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
tinyint(3) <abbr style="border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;" title="This field is unsigned, so it never accepts negative values">unsigned</abbr>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
NO
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">

</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
'0'
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
 
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:left;">
The player needs to be at least this level.
</td>
</tr>
<tr style="background-color:#3b3b3b;">
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
<a href="#required_item" rel="internal" style="color:rgb(180,255,255);">required_item</a>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
mediumint(8) <abbr style="border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;" title="This field is unsigned, so it never accepts negative values">unsigned</abbr>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
NO
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">

</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
'0'
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
 
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:left;">
Requested an item [<b>See <a href="https://www.getmangos.eu/wiki/referenceinfo/dbinfo/mangosdb/mangostwoworlddb/item_template-r5084#entry" rel="">item_template.entry</a></b>].
</td>
</tr>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
<a href="#required_item2" rel="internal" style="color:rgb(180,255,255);">required_item2</a>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
mediumint(8) <abbr style="border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;" title="This field is unsigned, so it never accepts negative values">unsigned</abbr>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
NO
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">

</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
'0'
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
 
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:left;">
Requested an item [<b>See <a href="https://www.getmangos.eu/wiki/referenceinfo/dbinfo/mangosdb/mangostwoworlddb/item_template-r5084#entry" rel="">item_template.entry</a></b>].
</td>
</tr>
<tr style="background-color:#3b3b3b;">
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
<a href="#heroic_key" rel="internal" style="color:rgb(180,255,255);">heroic_key</a>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
mediumint(8) <abbr style="border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;" title="This field is unsigned, so it never accepts negative values">unsigned</abbr>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
NO
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">

</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
'0'
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
 
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:left;">
 
</td>
</tr>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
<a href="#heroic_key2" rel="internal" style="color:rgb(180,255,255);">heroic_key2</a>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
mediumint(8) <abbr style="border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;" title="This field is unsigned, so it never accepts negative values">unsigned</abbr>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
NO
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">

</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
'0'
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
 
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:left;">
 
</td>
</tr>
<tr style="background-color:#3b3b3b;">
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
<a href="#required_quest_done" rel="internal" style="color:rgb(180,255,255);">required_quest_done</a>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
int(11) <abbr style="border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;" title="This field is unsigned, so it never accepts negative values">unsigned</abbr>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
NO
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">

</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
'0'
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
 
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:left;">
Requires quest [<b>See <a href="https://www.getmangos.eu/wiki/referenceinfo/dbinfo/mangosdb/mangostwoworlddb/quest_template-r5126#entry" rel="">quest_template.entry</a></b>].
</td>
</tr>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
<a href="#required_quest_done_heroic" rel="internal" style="color:rgb(180,255,255);">required_quest_done_heroic</a>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
int(11) <abbr style="border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;" title="This field is unsigned, so it never accepts negative values">unsigned</abbr>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
NO
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">

</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
'0'
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
 
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:left;">
 
</td>
</tr>
<tr style="background-color:#3b3b3b;">
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
<a href="#target_map" rel="internal" style="color:rgb(180,255,255);">target_map</a>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
smallint(5) <abbr style="border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;" title="This field is unsigned, so it never accepts negative values">unsigned</abbr>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
NO
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">

</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
'0'
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
 
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:left;">
The destination map id. [<b>See <a href="https://www.getmangos.eu/wiki/" rel="">map.dbc</a></b>]
</td>
</tr>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
<a href="#target_position_x" rel="internal" style="color:rgb(180,255,255);">target_position_x</a>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
float
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
NO
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">

</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
'0'
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
 
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:left;">
The x location of the player at the destination.
</td>
</tr>
<tr style="background-color:#3b3b3b;">
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
<a href="#target_position_y" rel="internal" style="color:rgb(180,255,255);">target_position_y</a>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
float
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
NO
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">

</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
'0'
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
 
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:left;">
The y location of the player at the destination.
</td>
</tr>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
<a href="#target_position_z" rel="internal" style="color:rgb(180,255,255);">target_position_z</a>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
float
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
NO
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">

</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
'0'
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
 
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:left;">
The z location of the player at the destination.
</td>
</tr>
<tr style="background-color:#3b3b3b;">
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
<a href="#target_orientation" rel="internal" style="color:rgb(180,255,255);">target_orientation</a>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
float
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
NO
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">

</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
'0'
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
 
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:left;">
The orientation of the player at the destination.
</td>
</tr>
</tbody>
</table>
<p style="font-size:20px;color:rgb(255,255,180);">
<strong>Description of the fields</strong>
</p>
<p>
<a id="id" rel="internal" style="color:rgb(255,255,255);">
<span style="font-size:20px;">
id
</span></a>
 mediumint(8) <abbr style="border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;" title="This field is unsigned, so it never accepts negative values">unsigned</abbr>
</p>
<p>
The ID of the trigger [<b>See <a href="https://www.getmangos.eu/wiki/" rel="">AreaTrigger.dbc</a></b>].
</p>


<p>
<a id="name" rel="internal" style="color:rgb(255,255,255);">
<span style="font-size:20px;">
name
</span></a>
 text
</p>
<p>
The name of the teleport areatrigger.
</p>


<p>
<a id="required_level" rel="internal" style="color:rgb(255,255,255);">
<span style="font-size:20px;">
required_level
</span></a>
 tinyint(3) <abbr style="border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;" title="This field is unsigned, so it never accepts negative values">unsigned</abbr>
</p>
<p>
The player needs to be at least this level.
</p>


<p>
<a id="required_item" rel="internal" style="color:rgb(255,255,255);">
<span style="font-size:20px;">
required_item
</span></a>
 mediumint(8) <abbr style="border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;" title="This field is unsigned, so it never accepts negative values">unsigned</abbr>
</p>
<p>
Requested an item [<b>See <a href="https://www.getmangos.eu/wiki/referenceinfo/dbinfo/mangosdb/mangostwoworlddb/item_template-r5084#entry" rel="">item_template.entry</a></b>].
</p>


<p>
<a id="required_item2" rel="internal" style="color:rgb(255,255,255);">
<span style="font-size:20px;">
required_item2
</span></a>
 mediumint(8) <abbr style="border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;" title="This field is unsigned, so it never accepts negative values">unsigned</abbr>
</p>
<p>
Requested an item [<b>See <a href="https://www.getmangos.eu/wiki/referenceinfo/dbinfo/mangosdb/mangostwoworlddb/item_template-r5084#entry" rel="">item_template.entry</a></b>].
</p>


<p>
<a id="heroic_key" rel="internal" style="color:rgb(255,255,255);">
<span style="font-size:20px;">
heroic_key
</span></a>
 mediumint(8) <abbr style="border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;" title="This field is unsigned, so it never accepts negative values">unsigned</abbr>
</p>

<p>
<a id="heroic_key2" rel="internal" style="color:rgb(255,255,255);">
<span style="font-size:20px;">
heroic_key2
</span></a>
 mediumint(8) <abbr style="border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;" title="This field is unsigned, so it never accepts negative values">unsigned</abbr>
</p>

<p>
<a id="required_quest_done" rel="internal" style="color:rgb(255,255,255);">
<span style="font-size:20px;">
required_quest_done
</span></a>
 int(11) <abbr style="border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;" title="This field is unsigned, so it never accepts negative values">unsigned</abbr>
</p>
<p>
Requires quest [<b>See <a href="https://www.getmangos.eu/wiki/referenceinfo/dbinfo/mangosdb/mangostwoworlddb/quest_template-r5126#entry" rel="">quest_template.entry</a></b>].
</p>


<p>
<a id="required_quest_done_heroic" rel="internal" style="color:rgb(255,255,255);">
<span style="font-size:20px;">
required_quest_done_heroic
</span></a>
 int(11) <abbr style="border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;" title="This field is unsigned, so it never accepts negative values">unsigned</abbr>
</p>

<p>
<a id="target_map" rel="internal" style="color:rgb(255,255,255);">
<span style="font-size:20px;">
target_map
</span></a>
 smallint(5) <abbr style="border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;" title="This field is unsigned, so it never accepts negative values">unsigned</abbr>
</p>
<p>
The destination map id. The value has to match with a map identifier defined [<b>See <a href="https://www.getmangos.eu/wiki/" rel="">Map.dbc</a></b>].
</p>


<p>
<a id="target_position_x" rel="internal" style="color:rgb(255,255,255);">
<span style="font-size:20px;">
target_position_x
</span></a>
 float
</p>
<p>
The x location of the player at the destination.
</p>


<p>
<a id="target_position_y" rel="internal" style="color:rgb(255,255,255);">
<span style="font-size:20px;">
target_position_y
</span></a>
 float
</p>
<p>
The y location of the player at the destination.
</p>


<p>
<a id="target_position_z" rel="internal" style="color:rgb(255,255,255);">
<span style="font-size:20px;">
target_position_z
</span></a>
 float
</p>
<p>
The z location of the player at the destination.
</p>


<p>
<a id="target_orientation" rel="internal" style="color:rgb(255,255,255);">
<span style="font-size:20px;">
target_orientation
</span></a>
 float
</p>
<p>
The orientation of the player at the destination, This is measured in radians (North = 0.0, South = 3.14159).
</p>



<br>
<p>
auto-generated by the <a href="https://getmangos.eu">getMaNGOS.eu</a> MAGNET dbdocs module
</p>
]]></description><guid isPermaLink="false">5005</guid><pubDate>Mon, 25 Jul 2016 08:57:20 +0000</pubDate></item><item><title>autobroadcast</title><link>https://www.getmangos.eu/wiki/referenceinfo/dbinfo/mangosdb/mangostwoworlddb/autobroadcast-r5155/</link><description><![CDATA[<table bgcolor="#a80000" border="2" cellpadding="0" cellspacing="0" width="100%">
<tbody>
<tr>
<td height="20">
<font color="#ffe97f" size="3"> <strong>NOTE:</strong>  This page is auto-generated from the MAGNET DBDocs module,<br>             Any changes made directly to this page will be lost when it is regenerated.</font>
</td>
</tr>
</tbody>
</table>
<h2 style="font-size:24px;color:rgb(180,255,255);">
Description of the  'autobroadcast' table for MaNGOSTwo
</h2>

<p>This Table sets a broadcast message to be sent to the entire server.</p>

<p style="font-size:18px;color:rgb(255,255,180);">
<strong>Table Notes</strong>
</p>
<p>This table uses the 'InnoDB' DB Engine</p>


<p style="font-size:18px;color:rgb(255,255,180);">
<strong>The Field definitions follow:</strong>
</p>
<table align="center" border="1" cellpadding="1" cellspacing="1" style="width:100%;background-color:#2b2b2b;color:#c0c0c0;">
<thead><tr>
<th scope="col" style="border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:center;">
<b>Field Name</b>
</th>
<th scope="col" style="border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:center;">
<b>Field Type</b>
</th>
<th scope="col" style="border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:center;">
<b>Nullable</b>
</th>
<th scope="col" style="border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:center;">
<b>Key</b>
</th>
<th scope="col" style="border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:center;">
<b>Default Value</b>
</th>
<th scope="col" style="border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:center;">
<b>Attributes</b>
</th>
<th scope="col" style="border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:left;">
<b>Notes</b>
</th>
</tr>
</thead>
<tbody>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
<a href="#id" rel="internal" style="color:rgb(180,255,255);">id</a>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
int(11) <abbr style="border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;" title="This field is unsigned, so it never accepts negative values">unsigned</abbr>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
NO
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
<abbr style="border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;" title="Primary Key">PRI</abbr>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
NULL
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
'auto_increment'
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:left;">
 
</td>
</tr>
<tr style="background-color:#3b3b3b;">
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
<a href="#content" rel="internal" style="color:rgb(180,255,255);">content</a>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
text
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
YES
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">

</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
NULL
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
 
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:left;">
 
</td>
</tr>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
<a href="#ratio" rel="internal" style="color:rgb(180,255,255);">ratio</a>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
smallint(6) <abbr style="border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;" title="This field is unsigned, so it never accepts negative values">unsigned</abbr>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
NO
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">

</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
'0'
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
 
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:left;">
 
</td>
</tr>
</tbody>
</table>
<p style="font-size:20px;color:rgb(255,255,180);">
<strong>Description of the fields</strong>
</p>
<p>
<a id="id" rel="internal" style="color:rgb(255,255,255);">
<span style="font-size:20px;">
id
</span></a>
 int(11) <abbr style="border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;" title="This field is unsigned, so it never accepts negative values">unsigned</abbr>
</p>

<p>Notes: The Unique identifier of the message.
</p>


<p>
<a id="content" rel="internal" style="color:rgb(255,255,255);">
<span style="font-size:20px;">
content
</span></a>
 text
</p>

<p>Notes: The message Text
</p>


<p>
<a id="ratio" rel="internal" style="color:rgb(255,255,255);">
<span style="font-size:20px;">
ratio
</span></a>
 smallint(6) <abbr style="border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;" title="This field is unsigned, so it never accepts negative values">unsigned</abbr>
</p>


<br>
<p>
auto-generated by the <a href="https://getmangos.eu">getMaNGOS.eu</a> MAGNET dbdocs module
</p>
]]></description><guid isPermaLink="false">5155</guid><pubDate>Wed, 15 Nov 2017 23:58:33 +0000</pubDate></item><item><title>battleground_events</title><link>https://www.getmangos.eu/wiki/referenceinfo/dbinfo/mangosdb/mangostwoworlddb/battleground_events-r5006/</link><description><![CDATA[<table bgcolor="#a80000" border="2" cellpadding="0" cellspacing="0" width="100%">
<tbody>
<tr>
<td height="20">
<font color="#ffe97f" size="3"> <strong>NOTE:</strong>  This page is auto-generated from the MAGNET DBDocs module,<br>             Any changes made directly to this page will be lost when it is regenerated.</font>
</td>
</tr>
</tbody>
</table>
<h2 style="font-size:24px;color:rgb(180,255,255);">
Description of the  'battleground_events' table for MaNGOSTwo
</h2>

<p>This table contains the description of battleground events.</p>

<p style="font-size:18px;color:rgb(255,255,180);">
<strong>Table Notes</strong>
</p>
<p>This table uses the 'InnoDB' DB Engine</p>


<p style="font-size:18px;color:rgb(255,255,180);">
<strong>The Field definitions follow:</strong>
</p>
<table align="center" border="1" cellpadding="1" cellspacing="1" style="width:100%;background-color:#2b2b2b;color:#c0c0c0;">
<thead><tr>
<th scope="col" style="border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:center;">
<b>Field Name</b>
</th>
<th scope="col" style="border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:center;">
<b>Field Type</b>
</th>
<th scope="col" style="border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:center;">
<b>Nullable</b>
</th>
<th scope="col" style="border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:center;">
<b>Key</b>
</th>
<th scope="col" style="border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:center;">
<b>Default Value</b>
</th>
<th scope="col" style="border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:center;">
<b>Attributes</b>
</th>
<th scope="col" style="border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:left;">
<b>Notes</b>
</th>
</tr>
</thead>
<tbody>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
<a href="#map" rel="internal" style="color:rgb(180,255,255);">map</a>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
smallint(5)
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
NO
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
<abbr style="border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;" title="Primary Key">PRI</abbr>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
NULL
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
 
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:left;">
The map id of the location of the event [<b>See <a href="https://www.getmangos.eu/wiki/" rel="">map.dbc</a></b>].
</td>
</tr>
<tr style="background-color:#3b3b3b;">
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
<a href="#event1" rel="internal" style="color:rgb(180,255,255);">event1</a>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
tinyint(3) <abbr style="border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;" title="This field is unsigned, so it never accepts negative values">unsigned</abbr>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
NO
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
<abbr style="border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;" title="Primary Key">PRI</abbr>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
NULL
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
 
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:left;">
The identifier for the event node in the battleground.
</td>
</tr>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
<a href="#event2" rel="internal" style="color:rgb(180,255,255);">event2</a>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
tinyint(3) <abbr style="border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;" title="This field is unsigned, so it never accepts negative values">unsigned</abbr>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
NO
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
<abbr style="border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;" title="Primary Key">PRI</abbr>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
NULL
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
 
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:left;">
The state of the event node.
</td>
</tr>
<tr style="background-color:#3b3b3b;">
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
<a href="#description" rel="internal" style="color:rgb(180,255,255);">description</a>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
varchar(255)
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
NO
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">

</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
{Blank String}
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
 
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:left;">
Description of the event.
</td>
</tr>
</tbody>
</table>
<p style="font-size:20px;color:rgb(255,255,180);">
<strong>Description of the fields</strong>
</p>
<p>
<a id="map" rel="internal" style="color:rgb(255,255,255);">
<span style="font-size:20px;">
map
</span></a>
 smallint(5)
</p>
<p>
The map id of the location of the event [<b>See <a href="https://www.getmangos.eu/wiki/" rel="">map.dbc</a></b>].
</p>


<p>
<a id="event1" rel="internal" style="color:rgb(255,255,255);">
<span style="font-size:20px;">
event1
</span></a>
 tinyint(3) <abbr style="border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;" title="This field is unsigned, so it never accepts negative values">unsigned</abbr>
</p>
<p>
The identifier for the event node in the battleground. Event nodes usually are defined in the battleground's script.
</p>


<p>
<a id="event2" rel="internal" style="color:rgb(255,255,255);">
<span style="font-size:20px;">
event2
</span></a>
 tinyint(3) <abbr style="border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;" title="This field is unsigned, so it never accepts negative values">unsigned</abbr>
</p>
<p>
The state of the event node. Node status is defined differently in every battleground script.<br><br><b>Note:</b><br>If you update battleground scripts and make changes to node status values ensure that you provide database update scripts which update the battleground events accordingly.<br>
</p>


<p>
<a id="description" rel="internal" style="color:rgb(255,255,255);">
<span style="font-size:20px;">
description
</span></a>
 varchar(255)
</p>
<p>
Description of the event.
</p>



<br>
<p>
auto-generated by the <a href="https://getmangos.eu">getMaNGOS.eu</a> MAGNET dbdocs module
</p>
]]></description><guid isPermaLink="false">5006</guid><pubDate>Mon, 25 Jul 2016 08:57:20 +0000</pubDate></item><item><title>battleground_template</title><link>https://www.getmangos.eu/wiki/referenceinfo/dbinfo/mangosdb/mangostwoworlddb/battleground_template-r5007/</link><description><![CDATA[<table bgcolor="#a80000" border="2" cellpadding="0" cellspacing="0" width="100%">
<tbody>
<tr>
<td height="20">
<font color="#ffe97f" size="3"> <strong>NOTE:</strong>  This page is auto-generated from the MAGNET DBDocs module,<br>             Any changes made directly to this page will be lost when it is regenerated.</font>
</td>
</tr>
</tbody>
</table>
<h2 style="font-size:24px;color:rgb(180,255,255);">
Description of the  'battleground_template' table for MaNGOSTwo
</h2>

<p>Contains information about the different battlegrounds, like how many players are needed to start, how many can be inside the same one, and the locations where each side starts.</p>

<p style="font-size:18px;color:rgb(255,255,180);">
<strong>Table Notes</strong>
</p>
<p>This table uses the 'InnoDB' DB Engine</p>


<p style="font-size:18px;color:rgb(255,255,180);">
<strong>The Field definitions follow:</strong>
</p>
<table align="center" border="1" cellpadding="1" cellspacing="1" style="width:100%;background-color:#2b2b2b;color:#c0c0c0;">
<thead><tr>
<th scope="col" style="border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:center;">
<b>Field Name</b>
</th>
<th scope="col" style="border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:center;">
<b>Field Type</b>
</th>
<th scope="col" style="border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:center;">
<b>Nullable</b>
</th>
<th scope="col" style="border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:center;">
<b>Key</b>
</th>
<th scope="col" style="border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:center;">
<b>Default Value</b>
</th>
<th scope="col" style="border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:center;">
<b>Attributes</b>
</th>
<th scope="col" style="border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:left;">
<b>Notes</b>
</th>
</tr>
</thead>
<tbody>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
<a href="#id" rel="internal" style="color:rgb(180,255,255);">id</a>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
mediumint(8) <abbr style="border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;" title="This field is unsigned, so it never accepts negative values">unsigned</abbr>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
NO
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
<abbr style="border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;" title="Primary Key">PRI</abbr>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
NULL
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
 
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:left;">
The battleground ID [<b>See <a href="https://www.getmangos.eu/wiki/" rel="">BattlemasterList.dbc</a></b>].
</td>
</tr>
<tr style="background-color:#3b3b3b;">
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
<a href="#MinPlayersPerTeam" rel="internal" style="color:rgb(180,255,255);">MinPlayersPerTeam</a>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
smallint(5) <abbr style="border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;" title="This field is unsigned, so it never accepts negative values">unsigned</abbr>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
NO
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">

</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
'0'
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
 
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:left;">
The minimum number of players that need to join the battleground.
</td>
</tr>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
<a href="#MaxPlayersPerTeam" rel="internal" style="color:rgb(180,255,255);">MaxPlayersPerTeam</a>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
smallint(5) <abbr style="border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;" title="This field is unsigned, so it never accepts negative values">unsigned</abbr>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
NO
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">

</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
'0'
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
 
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:left;">
Controls how many players from each team can join the battleground.
</td>
</tr>
<tr style="background-color:#3b3b3b;">
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
<a href="#AllianceStartLoc" rel="internal" style="color:rgb(180,255,255);">AllianceStartLoc</a>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
mediumint(8) <abbr style="border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;" title="This field is unsigned, so it never accepts negative values">unsigned</abbr>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
NO
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">

</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
NULL
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
 
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:left;">
The location where the alliance players get teleported to in the battleground.
</td>
</tr>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
<a href="#AllianceStartO" rel="internal" style="color:rgb(180,255,255);">AllianceStartO</a>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
float
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
NO
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">

</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
NULL
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
 
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:left;">
The orientation of the alliance players upon teleport.
</td>
</tr>
<tr style="background-color:#3b3b3b;">
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
<a href="#HordeStartLoc" rel="internal" style="color:rgb(180,255,255);">HordeStartLoc</a>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
mediumint(8) <abbr style="border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;" title="This field is unsigned, so it never accepts negative values">unsigned</abbr>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
NO
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">

</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
NULL
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
 
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:left;">
The location where the horde players get teleported to in the battleground.
</td>
</tr>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
<a href="#HordeStartO" rel="internal" style="color:rgb(180,255,255);">HordeStartO</a>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
float
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
NO
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">

</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
NULL
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
 
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:left;">
The orientation of the horde players upon teleport into the battleground.
</td>
</tr>
<tr style="background-color:#3b3b3b;">
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
<a href="#Comment" rel="internal" style="color:rgb(180,255,255);">Comment</a>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
varchar(200)
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
NO
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">

</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
{Blank String}
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
 
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:left;">
 
</td>
</tr>
</tbody>
</table>
<p style="font-size:20px;color:rgb(255,255,180);">
<strong>Description of the fields</strong>
</p>
<p>
<a id="id" rel="internal" style="color:rgb(255,255,255);">
<span style="font-size:20px;">
id
</span></a>
 mediumint(8) <abbr style="border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;" title="This field is unsigned, so it never accepts negative values">unsigned</abbr>
</p>
<p>
The battleground ID. [<b>See <a href="https://www.getmangos.eu/wiki/" rel="">BattlemasterList.dbc</a></b>].

</p><table align="center" border="1" cellpadding="1" cellspacing="1" style="width:100%;background-color:#2b2b2b;color:#c0c0c0;">
<thead>
<tr>
<th scope="col" style="border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:center;">
<b>Value</b>
</th>
<th scope="col" style="border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:left;">
<b>Battleground Name</b>
</th>
</tr>
</thead>
<tbody>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
1
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
Alterac Valley
</td>
</tr>
<tr style="background-color:#3b3b3b;">
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
2
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
Warsong Gulch
</td>
</tr>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
3
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
Arathi Basin
</td>
</tr>
</tbody>
</table>




<p>
<a id="MinPlayersPerTeam" rel="internal" style="color:rgb(255,255,255);">
<span style="font-size:20px;">
MinPlayersPerTeam
</span></a>
 smallint(5) <abbr style="border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;" title="This field is unsigned, so it never accepts negative values">unsigned</abbr>
</p>
<p>
Controls the minimum number of players that need to join the battleground on each faction side for the battleground to start. For the battleground to start, all characters (between min and max player values) must be in the same tier. Tiers are set up in ranges of 10 levels except for level 70.

</p><table align="center" border="1" cellpadding="1" cellspacing="1" style="width:100%;background-color:#2b2b2b;color:#c0c0c0;">
<thead>
<tr>
<th scope="col" style="border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:center;">
<b>Tier</b>
</th>
<th scope="col" style="border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:center;">
<b>Level Ranges</b>
</th>
</tr>
</thead>
<tbody>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
1
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
10-19
</td>
</tr>
<tr style="background-color:#3b3b3b;">
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
2
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
20-29
</td>
</tr>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
3
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
30-39
</td>
</tr>
<tr style="background-color:#3b3b3b;">
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
4
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
40-49
</td>
</tr>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
5
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
50-59
</td>
</tr>
<tr style="background-color:#3b3b3b;">
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
6
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
60-69
</td>
</tr>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
7
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
70
</td>
</tr>
</tbody>
</table>


If characters of different tiers all join the queue, they will join their respective tier's queue and wait for more players of their tier to join the queue. Characters in different tiers can never join the same battleground. 




<p>
<a id="MaxPlayersPerTeam" rel="internal" style="color:rgb(255,255,255);">
<span style="font-size:20px;">
MaxPlayersPerTeam
</span></a>
 smallint(5) <abbr style="border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;" title="This field is unsigned, so it never accepts negative values">unsigned</abbr>
</p>
<p>
Controls how many players from each team can join the battleground.<br>
If left at 0, mangos will use the default DBC value.
</p>


<p>
<a id="AllianceStartLoc" rel="internal" style="color:rgb(255,255,255);">
<span style="font-size:20px;">
AllianceStartLoc
</span></a>
 mediumint(8) <abbr style="border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;" title="This field is unsigned, so it never accepts negative values">unsigned</abbr>
</p>
<p>
The location where the alliance players get teleported to when the battleground first starts [<b>See <a href="https://www.getmangos.eu/wiki/" rel="">WorldSafeLocs.dbc</a></b>].

</p>


<p>
<a id="AllianceStartO" rel="internal" style="color:rgb(255,255,255);">
<span style="font-size:20px;">
AllianceStartO
</span></a>
 float
</p>
<p>
The orientation of the alliance players upon teleport into the battleground. North is 0, south is Pi (3.14159). 
</p>


<p>
<a id="HordeStartLoc" rel="internal" style="color:rgb(255,255,255);">
<span style="font-size:20px;">
HordeStartLoc
</span></a>
 mediumint(8) <abbr style="border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;" title="This field is unsigned, so it never accepts negative values">unsigned</abbr>
</p>
<p>
The location where the horde players get teleported to when the battleground first starts [<b>See <a href="https://www.getmangos.eu/wiki/" rel="">WorldSafeLocs.dbc</a></b>].
</p>


<p>
<a id="HordeStartO" rel="internal" style="color:rgb(255,255,255);">
<span style="font-size:20px;">
HordeStartO
</span></a>
 float
</p>
<p>
The orientation of the horde players upon teleport into the battleground. North is 0, south is Pi (3.14159). 
</p>


<p>
<a id="Comment" rel="internal" style="color:rgb(255,255,255);">
<span style="font-size:20px;">
Comment
</span></a>
 varchar(200)
</p>


<br>
<p>
auto-generated by the <a href="https://getmangos.eu">getMaNGOS.eu</a> MAGNET dbdocs module
</p>
]]></description><guid isPermaLink="false">5007</guid><pubDate>Mon, 25 Jul 2016 08:57:20 +0000</pubDate></item><item><title>battlemaster_entry</title><link>https://www.getmangos.eu/wiki/referenceinfo/dbinfo/mangosdb/mangostwoworlddb/battlemaster_entry-r5008/</link><description><![CDATA[<table bgcolor="#a80000" border="2" cellpadding="0" cellspacing="0" width="100%">
<tbody>
<tr>
<td height="20">
<font color="#ffe97f" size="3"> <strong>NOTE:</strong>  This page is auto-generated from the MAGNET DBDocs module,<br>             Any changes made directly to this page will be lost when it is regenerated.</font>
</td>
</tr>
</tbody>
</table>
<h2 style="font-size:24px;color:rgb(180,255,255);">
Description of the  'battlemaster_entry' table for MaNGOSTwo
</h2>

<p>Holds information on which NPC can start what battleground or arena.</p>

<p style="font-size:18px;color:rgb(255,255,180);">
<strong>Table Notes</strong>
</p>
<p>This table uses the 'InnoDB' DB Engine</p>


<p style="font-size:18px;color:rgb(255,255,180);">
<strong>The Field definitions follow:</strong>
</p>
<table align="center" border="1" cellpadding="1" cellspacing="1" style="width:100%;background-color:#2b2b2b;color:#c0c0c0;">
<thead><tr>
<th scope="col" style="border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:center;">
<b>Field Name</b>
</th>
<th scope="col" style="border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:center;">
<b>Field Type</b>
</th>
<th scope="col" style="border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:center;">
<b>Nullable</b>
</th>
<th scope="col" style="border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:center;">
<b>Key</b>
</th>
<th scope="col" style="border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:center;">
<b>Default Value</b>
</th>
<th scope="col" style="border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:center;">
<b>Attributes</b>
</th>
<th scope="col" style="border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:left;">
<b>Notes</b>
</th>
</tr>
</thead>
<tbody>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
<a href="#entry" rel="internal" style="color:rgb(180,255,255);">entry</a>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
mediumint(8) <abbr style="border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;" title="This field is unsigned, so it never accepts negative values">unsigned</abbr>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
NO
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
<abbr style="border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;" title="Primary Key">PRI</abbr>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
'0'
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
 
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:left;">
The ID of the creature [<b>See <a href="https://www.getmangos.eu/wiki/referenceinfo/dbinfo/mangosdb/mangostwoworlddb/creature_template-r5028#entry" rel="">creature_template.entry</a></b>].
</td>
</tr>
<tr style="background-color:#3b3b3b;">
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
<a href="#bg_template" rel="internal" style="color:rgb(180,255,255);">bg_template</a>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
mediumint(8) <abbr style="border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;" title="This field is unsigned, so it never accepts negative values">unsigned</abbr>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
NO
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">

</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
'0'
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
 
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:left;">
The battleground template ID [<b>See <a href="https://www.getmangos.eu/wiki/referenceinfo/dbinfo/mangosdb/mangostwoworlddb/battleground_template-r5007" rel="">battleground_template</a></b>].
</td>
</tr>
</tbody>
</table>
<p style="font-size:20px;color:rgb(255,255,180);">
<strong>Description of the fields</strong>
</p>
<p>
<a id="entry" rel="internal" style="color:rgb(255,255,255);">
<span style="font-size:20px;">
entry
</span></a>
 mediumint(8) <abbr style="border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;" title="This field is unsigned, so it never accepts negative values">unsigned</abbr>
</p>
<p>
The ID of the creature [<b>See <a href="https://www.getmangos.eu/wiki/referenceinfo/dbinfo/mangosdb/mangostwoworlddb/creature_template-r5028#entry" rel="">creature_template.entry</a></b>].
</p>


<p>
<a id="bg_template" rel="internal" style="color:rgb(255,255,255);">
<span style="font-size:20px;">
bg_template
</span></a>
 mediumint(8) <abbr style="border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;" title="This field is unsigned, so it never accepts negative values">unsigned</abbr>
</p>
<p>
The battleground template ID [<b>See <a href="https://www.getmangos.eu/wiki/referenceinfo/dbinfo/mangosdb/mangostwoworlddb/battleground_template-r5007" rel="">battleground_template</a></b>].
</p>



<br>
<p>
auto-generated by the <a href="https://getmangos.eu">getMaNGOS.eu</a> MAGNET dbdocs module
</p>
]]></description><guid isPermaLink="false">5008</guid><pubDate>Mon, 25 Jul 2016 08:57:20 +0000</pubDate></item><item><title>command</title><link>https://www.getmangos.eu/wiki/referenceinfo/dbinfo/mangosdb/mangostwoworlddb/command-r5009/</link><description><![CDATA[<table bgcolor="#a80000" border="2" cellpadding="0" cellspacing="0" width="100%">
<tbody>
<tr>
<td height="20">
<font color="#ffe97f" size="3"> <strong>NOTE:</strong>  This page is auto-generated from the MAGNET DBDocs module,<br>             Any changes made directly to this page will be lost when it is regenerated.</font>
</td>
</tr>
</tbody>
</table>
<h2 style="font-size:24px;color:rgb(180,255,255);">
Description of the  'command' table for MaNGOSTwo
</h2>

<p>Holds help and security information for commands.</p>

<p style="font-size:18px;color:rgb(255,255,180);">
<strong>Table Notes</strong>
</p>
<p>This table uses the 'InnoDB' DB Engine</p>


<p style="font-size:18px;color:rgb(255,255,180);">
<strong>The Field definitions follow:</strong>
</p>
<table align="center" border="1" cellpadding="1" cellspacing="1" style="width:100%;background-color:#2b2b2b;color:#c0c0c0;">
<thead><tr>
<th scope="col" style="border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:center;">
<b>Field Name</b>
</th>
<th scope="col" style="border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:center;">
<b>Field Type</b>
</th>
<th scope="col" style="border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:center;">
<b>Nullable</b>
</th>
<th scope="col" style="border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:center;">
<b>Key</b>
</th>
<th scope="col" style="border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:center;">
<b>Default Value</b>
</th>
<th scope="col" style="border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:center;">
<b>Attributes</b>
</th>
<th scope="col" style="border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:left;">
<b>Notes</b>
</th>
</tr>
</thead>
<tbody>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
<a href="#name" rel="internal" style="color:rgb(180,255,255);">name</a>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
varchar(50)
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
NO
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
<abbr style="border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;" title="Primary Key">PRI</abbr>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
{Blank String}
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
 
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:left;">
The Command Name.
</td>
</tr>
<tr style="background-color:#3b3b3b;">
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
<a href="#security" rel="internal" style="color:rgb(180,255,255);">security</a>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
tinyint(3) <abbr style="border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;" title="This field is unsigned, so it never accepts negative values">unsigned</abbr>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
NO
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">

</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
'0'
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
 
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:left;">
The minimum security level to use the command [<b>See <a href="https://www.getmangos.eu/wiki/#gmlevel" rel="">account.gmlevel</a></b>] in the realm
</td>
</tr>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
<a href="#help" rel="internal" style="color:rgb(180,255,255);">help</a>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
longtext
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
YES
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">

</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
NULL
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
 
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:left;">
The help text for the command which explains it's use and parameters.
</td>
</tr>
</tbody>
</table>
<p style="font-size:20px;color:rgb(255,255,180);">
<strong>Description of the fields</strong>
</p>
<p>
<a id="name" rel="internal" style="color:rgb(255,255,255);">
<span style="font-size:20px;">
name
</span></a>
 varchar(50)
</p>
<p>
The Command Name.
</p>


<p>
<a id="security" rel="internal" style="color:rgb(255,255,255);">
<span style="font-size:20px;">
security
</span></a>
 tinyint(3) <abbr style="border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;" title="This field is unsigned, so it never accepts negative values">unsigned</abbr>
</p>
<p>
The minimum security level to use the command [<b>See <a href="https://www.getmangos.eu/wiki/#gmlevel" rel="">account.gmlevel</a></b>] in the realm database.
</p>


<p>
<a id="help" rel="internal" style="color:rgb(255,255,255);">
<span style="font-size:20px;">
help
</span></a>
 longtext
</p>
<p>
The help text for the command which explains it's use and parameters.
</p>



<p style="font-size:18px;color:rgb(255,255,180);">
<strong>Table Contents</strong>
</p>
<table align="center" border="1" cellpadding="5" cellspacing="5" style="width:100%;background-color:#2b2b2b;color:#c0c0c0;">
<thead><tr>
<th scope="col" style="border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:center;">name</th><th scope="col" style="border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:center;">security</th><th scope="col" style="border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:center;">help</th>
</tr></thead>
<tr>
<td>  account</td><td>  0</td><td>  Syntax: .account

Display the access level of your account.</td></tr>
<tr style="background-color:#3b3b3b;">
<td>  account characters</td><td>  3</td><td>  Syntax: .account characters [#accountId|$accountName]

Show list all characters for account selected by provided #accountId or $accountName, or for selected player in game.</td></tr>
<tr>
<td>  account create</td><td>  4</td><td>  Syntax: .account create $account $password [$expansion]

Create account and set password to it. Optionally, you may also set another expansion for this account than the defined default value.</td></tr>
<tr style="background-color:#3b3b3b;">
<td>  account delete</td><td>  4</td><td>  Syntax: .account delete $account

Delete account with all characters.</td></tr>
<tr>
<td>  account lock</td><td>  0</td><td>  Syntax: .account lock [on|off]

Allow login from account only from current used IP or remove this requirement.</td></tr>
<tr style="background-color:#3b3b3b;">
<td>  account onlinelist</td><td>  4</td><td>  Syntax: .account onlinelist

Show list of online accounts.</td></tr>
<tr>
<td>  account password</td><td>  0</td><td>  Syntax: .account password $old_password $new_password $new_password

Change your account password.</td></tr>
<tr style="background-color:#3b3b3b;">
<td>  account set addon</td><td>  3</td><td>  Syntax: .account set addon [#accountId|$accountName] #addon

Set user (possible targeted) expansion addon level allowed. Addon values: 0 - normal, 1 - tbc, 2 - wotlk.</td></tr>
<tr>
<td>  account set gmlevel</td><td>  4</td><td>  Syntax: .account set gmlevel [#accountId|$accountName] #level

Set the security level for targeted player (can't be used at self) or for #accountId or $accountName to a level of #level.

#level may range from 0 to 3.</td></tr>
<tr style="background-color:#3b3b3b;">
<td>  account set password</td><td>  4</td><td>  Syntax: .account set password (#accountId|$accountName) $password $password

Set password for account.</td></tr>
<tr>
<td>  achievement</td><td>  3</td><td>  Syntax: .achievement $playername #achivementid

Show state achievment #achivmentid (can be shift link) and list of achievement criteria with progress data for selected player in game or by player name.</td></tr>
<tr style="background-color:#3b3b3b;">
<td>  achievement add</td><td>  3</td><td>  Syntax: .achievement add $playername #achivementid

Complete achievement and all it's criteria for selected player in game or by player name. Command can't be used for counter achievements.</td></tr>
<tr>
<td>  achievement criteria add</td><td>  3</td><td>  Syntax: .achievement criteria add $playername #criteriaid #change

Increase progress for non-completed criteria at #change for selected player in game or by player name. If #chnage not provided then non-counter criteria progress set to completed state. For counter criteria increased at 1.</td></tr>
<tr style="background-color:#3b3b3b;">
<td>  achievement criteria remove</td><td>  3</td><td>  Syntax: .achievement criteria remove $playername #criteriaid #change

ecrease progress for criteria at #change for selected player in game or by player name. If #chnage not provided then criteria progress reset to 0.</td></tr>
<tr>
<td>  achievement remove</td><td>  3</td><td>  Syntax: .achievement remove $playername #achivementid

Remove complete state for achievement #achivmentid and reset all achievement's criteria for selected player in game or by player name. Also command can be used for reset counter achievements.</td></tr>
<tr style="background-color:#3b3b3b;">
<td>  additem</td><td>  3</td><td>  Syntax: .additem #itemid/[#itemname]/#shift-click-item-link #itemcount

Adds the specified number of items of id #itemid (or exact (!) name $itemname in brackets, or link created by shift-click at item in inventory or recipe) to your or selected character inventory. If #itemcount is omitted, only one item will be added.
.</td></tr>
<tr>
<td>  additemset</td><td>  3</td><td>  Syntax: .additemset #itemsetid

Add items from itemset of id #itemsetid to your or selected character inventory. Will add by one example each item from itemset.</td></tr>
<tr style="background-color:#3b3b3b;">
<td>  ahbot items amount</td><td>  3</td><td>  Syntax: .ahbot items amount $GreyItems $WhiteItems $GreenItems $BlueItems $PurpleItems $OrangeItems $YellowItems

Set amount of each items color be selled on auction.</td></tr>
<tr>
<td>  ahbot items amount blue</td><td>  3</td><td>  Syntax: .ahbot items amount blue $BlueItems

Set amount of Blue color items be selled on auction.</td></tr>
<tr style="background-color:#3b3b3b;">
<td>  ahbot items amount green</td><td>  3</td><td>  Syntax: .ahbot items amount green $GreenItems

Set amount of Green color items be selled on auction.</td></tr>
<tr>
<td>  ahbot items amount grey</td><td>  3</td><td>  Syntax: .ahbot items amount grey $GreyItems

Set amount of Grey color items be selled on auction.</td></tr>
<tr style="background-color:#3b3b3b;">
<td>  ahbot items amount orange</td><td>  3</td><td>  Syntax: .ahbot items amount orange $OrangeItems

Set amount of Orange color items be selled on auction.</td></tr>
<tr>
<td>  ahbot items amount purple</td><td>  3</td><td>  Syntax: .ahbot items amount purple $PurpleItems

Set amount of Purple color items be selled on auction.</td></tr>
<tr style="background-color:#3b3b3b;">
<td>  ahbot items amount white</td><td>  3</td><td>  Syntax: .ahbot items amount white $WhiteItems

Set amount of White color items be selled on auction.</td></tr>
<tr>
<td>  ahbot items amount yellow</td><td>  3</td><td>  Syntax: .ahbot items amount yellow $YellowItems

Set amount of Yellow color items be selled on auction.</td></tr>
<tr style="background-color:#3b3b3b;">
<td>  ahbot items ratio</td><td>  3</td><td>  Syntax: .ahbot items ratio $allianceratio $horderatio $neutralratio

Set ratio of items in 3 auctions house.</td></tr>
<tr>
<td>  ahbot items ratio alliance</td><td>  3</td><td>  Syntax: .ahbot items ratio alliance $allianceratio

Set ratio of items in alliance auction house.</td></tr>
<tr style="background-color:#3b3b3b;">
<td>  ahbot items ratio horde</td><td>  3</td><td>  Syntax: .ahbot items ratio horde $horderatio

Set ratio of items in horde auction house.</td></tr>
<tr>
<td>  ahbot items ratio neutral</td><td>  3</td><td>  Syntax: .ahbot items ratio neutral $neutralratio

Set ratio of items in $neutral auction house.</td></tr>
<tr style="background-color:#3b3b3b;">
<td>  ahbot rebuild</td><td>  3</td><td>  Syntax: .ahbot rebuild [all]

Expire all actual auction of ahbot except bided by player. Binded auctions included to expire if "all" option used. Ahbot re-fill auctions base at current settings then.</td></tr>
<tr>
<td>  ahbot reload</td><td>  3</td><td>  Syntax: .ahbot reload

Reload AHBot settings from configuration file.</td></tr>
<tr style="background-color:#3b3b3b;">
<td>  ahbot status</td><td>  3</td><td>  Syntax: .ahbot status [all]

Show current ahbot state data in short form, and with "all" with details.</td></tr>
<tr>
<td>  announce</td><td>  1</td><td>  Syntax: .announce $MessageToBroadcast

Send a global message to all players online in chat log.</td></tr>
<tr style="background-color:#3b3b3b;">
<td>  auction</td><td>  3</td><td>  Syntax: .auction

Show your team auction store.</td></tr>
<tr>
<td>  auction alliance</td><td>  3</td><td>  Syntax: .auction alliance

Show alliance auction store independent from your team.</td></tr>
<tr style="background-color:#3b3b3b;">
<td>  auction goblin</td><td>  3</td><td>  Syntax: .auction goblin

Show goblin auction store common for all teams.</td></tr>
<tr>
<td>  auction horde</td><td>  3</td><td>  Syntax: .auction horde

Show horde auction store independent from your team.</td></tr>
<tr style="background-color:#3b3b3b;">
<td>  auction item</td><td>  3</td><td>  Syntax: .auction item (alliance|horde|goblin) #itemid[:#itemcount] [[[#minbid] #buyout] [short|long|verylong]

Add new item (in many stackes if amount grater stack size) to specific auction house at short|long|verylogn perios similar same settings in auction in game dialog. Created auction not have owner.</td></tr>
<tr>
<td>  aura</td><td>  3</td><td>  Syntax: .aura #spellid

Add the aura from spell #spellid to the selected Unit.</td></tr>
<tr style="background-color:#3b3b3b;">
<td>  ban account</td><td>  3</td><td>  Syntax: .ban account $Name $bantime $reason
Ban account kick player.
$bantime: negative value leads to permban, otherwise use a timestring like "4d20h3s".</td></tr>
<tr>
<td>  ban character</td><td>  3</td><td>  Syntax: .ban character $Name $bantime $reason
Ban account and kick player.
$bantime: negative value leads to permban, otherwise use a timestring like "4d20h3s".</td></tr>
<tr style="background-color:#3b3b3b;">
<td>  ban ip</td><td>  3</td><td>  Syntax: .ban ip $Ip $bantime $reason
Ban IP.
$bantime: negative value leads to permban, otherwise use a timestring like "4d20h3s".</td></tr>
<tr>
<td>  baninfo account</td><td>  3</td><td>  Syntax: .baninfo account $accountid
Watch full information about a specific ban.</td></tr>
<tr style="background-color:#3b3b3b;">
<td>  baninfo character</td><td>  3</td><td>  Syntax: .baninfo character $charactername 
Watch full information about a specific ban.</td></tr>
<tr>
<td>  baninfo ip</td><td>  3</td><td>  Syntax: .baninfo ip $ip
Watch full information about a specific ban.</td></tr>
<tr style="background-color:#3b3b3b;">
<td>  bank</td><td>  3</td><td>  Syntax: .bank

Show your bank inventory.</td></tr>
<tr>
<td>  banlist account</td><td>  3</td><td>  Syntax: .banlist account [$Name]
Searches the banlist for a account name pattern or show full list account bans.</td></tr>
<tr style="background-color:#3b3b3b;">
<td>  banlist character</td><td>  3</td><td>  Syntax: .banlist character $Name
Searches the banlist for a character name pattern. Pattern required.</td></tr>
<tr>
<td>  banlist ip</td><td>  3</td><td>  Syntax: .banlist ip [$Ip]
Searches the banlist for a IP pattern or show full list of IP bans.</td></tr>
<tr style="background-color:#3b3b3b;">
<td>  cast</td><td>  3</td><td>  Syntax: .cast #spellid [triggered]
  Cast #spellid to selected target. If no target selected cast to self. If 'trigered' or part provided then spell casted with triggered flag.</td></tr>
<tr>
<td>  cast back</td><td>  3</td><td>  Syntax: .cast back #spellid [triggered]
  Selected target will cast #spellid to your character. If 'trigered' or part provided then spell casted with triggered flag.</td></tr>
<tr style="background-color:#3b3b3b;">
<td>  cast dist</td><td>  3</td><td>  Syntax: .cast dist #spellid [#dist [triggered]]
  You will cast spell to pint at distance #dist. If 'trigered' or part provided then spell casted with triggered flag. Not all spells can be casted as area spells.</td></tr>
<tr>
<td>  cast self</td><td>  3</td><td>  Syntax: .cast self #spellid [triggered]
Cast #spellid by target at target itself. If 'trigered' or part provided then spell casted with triggered flag.</td></tr>
<tr style="background-color:#3b3b3b;">
<td>  cast target</td><td>  3</td><td>  Syntax: .cast target #spellid [triggered]
  Selected target will cast #spellid to his victim. If 'trigered' or part provided then spell casted with triggered flag.</td></tr>
<tr>
<td>  character achievements</td><td>  2</td><td>  Syntax: .character achievements [$player_name]

Show completed achievments for selected player or player find by $player_name.</td></tr>
<tr style="background-color:#3b3b3b;">
<td>  character customize</td><td>  2</td><td>  Syntax: .character customize [$name]

Mark selected in game or by $name in command character for customize at next login.</td></tr>
<tr>
<td>  character deleted delete</td><td>  4</td><td>  Syntax: .character deleted delete #guid|$name

Completely deletes the selected characters.
If $name is supplied, only characters with that string in their name will be deleted, if #guid is supplied, only the character with that GUID will be deleted.</td></tr>
<tr style="background-color:#3b3b3b;">
<td>  character deleted list</td><td>  3</td><td>  Syntax: .character deleted list [#guid|$name]

Shows a list with all deleted characters.
If $name is supplied, only characters with that string in their name will be selected, if #guid is supplied, only the character with that GUID will be selected.</td></tr>
<tr>
<td>  character deleted old</td><td>  4</td><td>  Syntax: .character deleted old [#keepDays]

Completely deletes all characters with deleted time longer #keepDays. If #keepDays not provided the  used value from mangosd.conf option 'CharDelete.KeepDays'. If referenced config option disabled (use 0 value) then command can't be used without #keepDays.</td></tr>
<tr style="background-color:#3b3b3b;">
<td>  character deleted restore</td><td>  3</td><td>  Syntax: .character deleted restore #guid|$name [$newname] [#new account]

Restores deleted characters.
If $name is supplied, only characters with that string in their name will be restored, if $guid is supplied, only the character with that GUID will be restored.
If $newname is set, the character will be restored with that name instead of the original one. If #newaccount is set, the character will be restored to specific account character list. This works only with one character!</td></tr>
<tr>
<td>  character erase</td><td>  4</td><td>  Syntax: .character erase $name

Delete character $name. Character finally deleted in case any deleting options.</td></tr>
<tr style="background-color:#3b3b3b;">
<td>  character level</td><td>  3</td><td>  Syntax: .character level [$playername] [#level]

Set the level of character with $playername (or the selected if not name provided) by #numberoflevels Or +1 if no #numberoflevels provided). If #numberoflevels is omitted, the level will be increase by 1. If #numberoflevels is 0, the same level will be restarted. If no character is selected and name not provided, increase your level. Command can be used for offline character. All stats and dependent values recalculated. At level decrease talents can be reset if need. Also at level decrease equipped items with greater level requirement can be lost.</td></tr>
<tr>
<td>  character rename</td><td>  2</td><td>  Syntax: .character rename [$name]

Mark selected in game or by $name in command character for rename at next login.</td></tr>
<tr style="background-color:#3b3b3b;">
<td>  character reputation</td><td>  2</td><td>  Syntax: .character reputation [$player_name]

Show reputation information for selected player or player find by $player_name.</td></tr>
<tr>
<td>  character titles</td><td>  2</td><td>  Syntax: .character titles [$player_name]

Show known titles list for selected player or player find by $player_name.</td></tr>
<tr style="background-color:#3b3b3b;">
<td>  combatstop</td><td>  2</td><td>  Syntax: .combatstop [$playername]
Stop combat for selected character. If selected non-player then command applied to self. If $playername provided then attempt applied to online player $playername.</td></tr>
<tr>
<td>  commands</td><td>  0</td><td>  Syntax: .commands

Display a list of available commands for your account level.</td></tr>
<tr style="background-color:#3b3b3b;">
<td>  cooldown</td><td>  3</td><td>  Syntax: .cooldown [#spell_id]

Remove all (if spell_id not provided) or #spel_id spell cooldown from selected character or you (if no selection).</td></tr>
<tr>
<td>  damage</td><td>  3</td><td>  Syntax: .damage $damage_amount [$school [$spellid]]

Apply $damage to target. If not $school and $spellid provided then this flat clean melee damage without any modifiers. If $school provided then damage modified by armor reduction (if school physical), and target absorbing modifiers and result applied as melee damage to target. If spell provided then damage modified and applied as spell damage. $spellid can be shift-link.</td></tr>
<tr style="background-color:#3b3b3b;">
<td>  debug anim</td><td>  2</td><td>  Syntax: .debug anim #emoteid

Play emote #emoteid for your character.</td></tr>
<tr>
<td>  debug arena</td><td>  3</td><td>  Syntax: .debug arena

Toggle debug mode for arenas. In debug mode GM can start arena with single player.</td></tr>
<tr style="background-color:#3b3b3b;">
<td>  debug bg</td><td>  3</td><td>  Syntax: .debug bg

Toggle debug mode for battlegrounds. In debug mode GM can start battleground with single player.</td></tr>
<tr>
<td>  debug getitemvalue</td><td>  3</td><td>  Syntax: .debug getitemvalue #itemguid #field [int|hex|bit|float]

Get the field #field of the item #itemguid in your inventroy.

Use type arg for set output format: int (decimal number), hex (hex value), bit (bitstring), float. By default use integer output.</td></tr>
<tr style="background-color:#3b3b3b;">
<td>  debug getvalue</td><td>  3</td><td>  Syntax: .debug getvalue #field [int|hex|bit|float]

Get the field #field of the selected target. If no target is selected, get the content of your field.

Use type arg for set output format: int (decimal number), hex (hex value), bit (bitstring), float. By default use integer output.</td></tr>
<tr>
<td>  debug moditemvalue</td><td>  3</td><td>  Syntax: .debug moditemvalue #guid #field [int|float| &amp;= | |= | &amp;=~ ] #value

Modify the field #field of the item #itemguid in your inventroy by value #value. 

Use type arg for set mode of modification: int (normal add/subtract #value as decimal number), float (add/subtract #value as float number), &amp;= (bit and, set to 0 all bits in value if it not set to 1 in #value as hex number), |= (bit or, set to 1 all bits in value if it set to 1 in #value as hex number), &amp;=~ (bit and not, set to 0 all bits in value if it set to 1 in #value as hex number). By default expect integer add/subtract.</td></tr>
<tr style="background-color:#3b3b3b;">
<td>  debug modvalue</td><td>  3</td><td>  Syntax: .debug modvalue #field [int|float| &amp;= | |= | &amp;=~ ] #value

Modify the field #field of the selected target by value #value. If no target is selected, set the content of your field.

Use type arg for set mode of modification: int (normal add/subtract #value as decimal number), float (add/subtract #value as float number), &amp;= (bit and, set to 0 all bits in value if it not set to 1 in #value as hex number), |= (bit or, set to 1 all bits in value if it set to 1 in #value as hex number), &amp;=~ (bit and not, set to 0 all bits in value if it set to 1 in #value as hex number). By default expect integer add/subtract.</td></tr>
<tr>
<td>  debug play cinematic</td><td>  1</td><td>  Syntax: .debug play cinematic #cinematicid

Play cinematic #cinematicid for you. You stay at place while your mind fly.
</td></tr>
<tr style="background-color:#3b3b3b;">
<td>  debug play movie</td><td>  1</td><td>  Syntax: .debug play movie #movieid

Play movie #movieid for you.</td></tr>
<tr>
<td>  debug play sound</td><td>  1</td><td>  Syntax: .debug play sound #soundid

Play sound with #soundid.
Sound will be play only for you. Other players do not hear this.
Warning: client may have more 5000 sounds...</td></tr>
<tr style="background-color:#3b3b3b;">
<td>  debug setitemvalue</td><td>  3</td><td>  Syntax: .debug setitemvalue #guid #field [int|hex|bit|float] #value

Set the field #field of the item #itemguid in your inventroy to value #value.

Use type arg for set input format: int (decimal number), hex (hex value), bit (bitstring), float. By default expect integer input format.</td></tr>
<tr>
<td>  debug setvalue</td><td>  3</td><td>  Syntax: .debug setvalue #field [int|hex|bit|float] #value

Set the field #field of the selected target to value #value. If no target is selected, set the content of your field.

Use type arg for set input format: int (decimal number), hex (hex value), bit (bitstring), float. By default expect integer input format.</td></tr>
<tr style="background-color:#3b3b3b;">
<td>  debug spellcoefs</td><td>  3</td><td>  Syntax: .debug spellcoefs #spellid

Show default calculated and DB stored coefficients for direct/dot heal/damage.</td></tr>
<tr>
<td>  debug spellmods</td><td>  3</td><td>  Syntax: .debug spellmods (flat|pct) #spellMaskBitIndex #spellModOp #value

Set at client side spellmod affect for spell that have bit set with index #spellMaskBitIndex in spell family mask for values dependent from spellmod #spellModOp to #value.</td></tr>
<tr style="background-color:#3b3b3b;">
<td>  delticket</td><td>  2</td><td>  Syntax: .delticket all
        .delticket #num
        .delticket $character_name
all to dalete all tickets at server, $character_name to delete ticket of this character, #num to delete ticket #num.</td></tr>
<tr>
<td>  demorph</td><td>  2</td><td>  Syntax: .demorph

Demorph the selected player.</td></tr>
<tr style="background-color:#3b3b3b;">
<td>  die</td><td>  3</td><td>  Syntax: .die

Kill the selected player. If no player is selected, it will kill you.</td></tr>
<tr>
<td>  dismount</td><td>  0</td><td>  Syntax: .dismount

Dismount you, if you are mounted.</td></tr>
<tr style="background-color:#3b3b3b;">
<td>  distance</td><td>  3</td><td>  Syntax: .distance [$name/$link]

Display the distance from your character to the selected creature/player, or player with name $name, or player/creature/gameobject pointed to shift-link with guid.</td></tr>
<tr>
<td>  event</td><td>  2</td><td>  Syntax: .event #event_id
Show details about event with #event_id.</td></tr>
<tr style="background-color:#3b3b3b;">
<td>  event list</td><td>  2</td><td>  Syntax: .event list
Show list of currently active events.
Show list of all events</td></tr>
<tr>
<td>  event start</td><td>  2</td><td>  Syntax: .event start #event_id
Start event #event_id. Set start time for event to current moment (change not saved in DB).</td></tr>
<tr style="background-color:#3b3b3b;">
<td>  event stop</td><td>  2</td><td>  Syntax: .event stop #event_id
Stop event #event_id. Set start time for event to time in past that make current moment is event stop time (change not saved in DB).</td></tr>
<tr>
<td>  explorecheat</td><td>  3</td><td>  Syntax: .explorecheat #flag

Reveal  or hide all maps for the selected player. If no player is selected, hide or reveal maps to you.

Use a #flag of value 1 to reveal, use a #flag value of 0 to hide all maps.</td></tr>
<tr style="background-color:#3b3b3b;">
<td>  flusharenapoints</td><td>  3</td><td>  Syntax: .flusharenapoints

Use it to distribute arena points based on arena team ratings, and start a new week.</td></tr>
<tr>
<td>  gearscore</td><td>  3</td><td>  Syntax: .gearscore [#withBags] [#withBank]

Show selected player's gear score. Check items in bags if #withBags != 0 and check items in Bank if #withBank != 0. Default: 1 for bags and 0 for bank</td></tr>
<tr style="background-color:#3b3b3b;">
<td>  gm</td><td>  1</td><td>  Syntax: .gm [on/off]

Enable or Disable in game GM MODE or show current state of on/off not provided.</td></tr>
<tr>
<td>  gm chat</td><td>  1</td><td>  Syntax: .gm chat [on/off]

Enable or disable chat GM MODE (show gm badge in messages) or show current state of on/off not provided.</td></tr>
<tr style="background-color:#3b3b3b;">
<td>  gm fly</td><td>  3</td><td>  Syntax: .gm fly [on/off]
Enable/disable gm fly mode.</td></tr>
<tr>
<td>  gm ingame</td><td>  0</td><td>  Syntax: .gm ingame

Display a list of available in game Game Masters.</td></tr>
<tr style="background-color:#3b3b3b;">
<td>  gm list</td><td>  3</td><td>  Syntax: .gm list

Display a list of all Game Masters accounts and security levels.</td></tr>
<tr>
<td>  gm setview</td><td>  1</td><td>  Syntax: .gm setview

Set farsight view on selected unit. Select yourself to set view back.</td></tr>
<tr style="background-color:#3b3b3b;">
<td>  gm visible</td><td>  1</td><td>  Syntax: .gm visible on/off

Output current visibility state or make GM visible(on) and invisible(off) for other players.</td></tr>
<tr>
<td>  go</td><td>  1</td><td>  Syntax: .go  [$playername|pointlink|#x #y #z [#mapid]]
Teleport your character to point with coordinates of player $playername, or coordinates of one from shift-link types: player, tele, taxinode, creature/creature_entry, gameobject/gameobject_entry, or explicit #x #y #z #mapid coordinates.</td></tr>
<tr style="background-color:#3b3b3b;">
<td>  go creature</td><td>  1</td><td>  Syntax: .go creature (#creature_guid|$creature_name|id #creature_id)
Teleport your character to creature with guid #creature_guid, or teleport your character to creature with name including as part $creature_name substring, or teleport your character to a creature that was spawned from the template with this entry #creature_id.</td></tr>
<tr>
<td>  go graveyard</td><td>  1</td><td>  Syntax: .go graveyard #graveyardId
 Teleport to graveyard with the graveyardId specified.</td></tr>
<tr style="background-color:#3b3b3b;">
<td>  go grid</td><td>  1</td><td>  Syntax: .go grid #gridX #gridY [#mapId]

Teleport the gm to center of grid with provided indexes at map #mapId (or current map if it not provided).</td></tr>
<tr>
<td>  go object</td><td>  1</td><td>  Syntax: .go object (#gameobject_guid|$gameobject_name|id #gameobject_id)
Teleport your character to gameobject with guid #gameobject_guid, or teleport your character to gameobject with name including as part $gameobject_name substring, or teleport your character to a gameobject that was spawned from the template with this entry #gameobject_id.</td></tr>
<tr style="background-color:#3b3b3b;">
<td>  go taxinode</td><td>  1</td><td>  Syntax: .go taxinode #taxinode

Teleport player to taxinode coordinates. You can look up zone using .lookup taxinode $namepart</td></tr>
<tr>
<td>  go trigger</td><td>  1</td><td>  Syntax: .go trigger (#trigger_id|$trigger_shift-link|$trigger_target_shift-link) [target]

Teleport your character to areatrigger with id #trigger_id or trigger id associated with shift-link. If additional arg "target" provided then character will teleported to areatrigger target point.</td></tr>
<tr style="background-color:#3b3b3b;">
<td>  go xy</td><td>  1</td><td>  Syntax: .go xy #x #y [#mapid]

Teleport player to point with (#x,#y) coordinates at ground(water) level at map #mapid or same map if #mapid not provided.</td></tr>
<tr>
<td>  go xyz</td><td>  1</td><td>  Syntax: .go xyz #x #y #z [#mapid]

Teleport player to point with (#x,#y,#z) coordinates at ground(water) level at map #mapid or same map if #mapid not provided.</td></tr>
<tr style="background-color:#3b3b3b;">
<td>  go zonexy</td><td>  1</td><td>  Syntax: .go zonexy #x #y [#zone]

Teleport player to point with (#x,#y) client coordinates at ground(water) level in zone #zoneid or current zone if #zoneid not provided. You can look up zone using .lookup area $namepart</td></tr>
<tr>
<td>  gobject add</td><td>  2</td><td>  Syntax: .gobject add #id <spawntimesecs>

Add a game object from game object templates to the world at your current location using the #id.
spawntimesecs sets the spawntime, it is optional.

Note: this is a copy of .gameobject.</spawntimesecs></td></tr>
<tr style="background-color:#3b3b3b;">
<td>  gobject delete</td><td>  2</td><td>  Syntax: .gobject delete #go_guid
Delete gameobject with guid #go_guid.</td></tr>
<tr>
<td>  gobject move</td><td>  2</td><td>  Syntax: .gobject move #goguid [#x #y #z]

Move gameobject #goguid to character coordinates (or to (#x,#y,#z) coordinates if its provide).</td></tr>
<tr style="background-color:#3b3b3b;">
<td>  gobject near</td><td>  2</td><td>  Syntax: .gobject near  [#distance]

Output gameobjects at distance #distance from player. Output gameobject guids and coordinates sorted by distance from character. If #distance not provided use 10 as default value.</td></tr>
<tr>
<td>  gobject setphase</td><td>  2</td><td>  Syntax: .gobject setphase #guid #phasemask

Gameobject with DB guid #guid phasemask changed to #phasemask with related world vision update for players. Gameobject state saved to DB and persistent.</td></tr>
<tr style="background-color:#3b3b3b;">
<td>  gobject target</td><td>  2</td><td>  Syntax: .gobject target [#go_id|#go_name_part]

Locate and show position nearest gameobject. If #go_id or #go_name_part provide then locate and show position of nearest gameobject with gameobject template id #go_id or name included #go_name_part as part.</td></tr>
<tr>
<td>  gobject turn</td><td>  2</td><td>  Syntax: .gobject turn #goguid

Rotates gameobject #goguid around z-azis to match player's current orientation.
Optional parameters are (#angle, #x,#y, #z)  - floats that represent a rotation af angle #angle around direction (#x, #y, #z)
i.e. a rotation quaternion.</td></tr>
<tr style="background-color:#3b3b3b;">
<td>  goname</td><td>  1</td><td>  Syntax: .goname [$charactername]

Teleport to the given character. Either specify the character name or click on the character's portrait, e.g. when you are in a group. Character can be offline.</td></tr>
<tr>
<td>  gps</td><td>  1</td><td>  Syntax: .gps [$name|$shift-link]

Display the position information for a selected character or creature (also if player name $name provided then for named player, or if creature/gameobject shift-link provided then pointed creature/gameobject if it loaded). Position information includes X, Y, Z, and orientation, map Id and zone Id</td></tr>
<tr style="background-color:#3b3b3b;">
<td>  groupgo</td><td>  1</td><td>  Syntax: .groupgo [$charactername]

Teleport the given character and his group to you. Teleported only online characters but original selected group member can be offline.</td></tr>
<tr>
<td>  guid</td><td>  2</td><td>  Syntax: .guid

Display the GUID for the selected character.</td></tr>
<tr style="background-color:#3b3b3b;">
<td>  guild create</td><td>  2</td><td>  Syntax: .guild create [$GuildLeaderName] "$GuildName"

Create a guild named $GuildName with the player $GuildLeaderName (or selected) as leader.  Guild name must in quotes.</td></tr>
<tr>
<td>  guild delete</td><td>  2</td><td>  Syntax: .guild delete "$GuildName"

Delete guild $GuildName. Guild name must in quotes.</td></tr>
<tr style="background-color:#3b3b3b;">
<td>  guild invite</td><td>  2</td><td>  Syntax: .guild invite [$CharacterName] "$GuildName"

Add player $CharacterName (or selected) into a guild $GuildName. Guild name must in quotes.</td></tr>
<tr>
<td>  guild rank</td><td>  2</td><td>  Syntax: .guild rank [$CharacterName] #Rank

Set for player $CharacterName (or selected) rank #Rank in a guild.</td></tr>
<tr style="background-color:#3b3b3b;">
<td>  guild uninvite</td><td>  2</td><td>  Syntax: .guild uninvite [$CharacterName]

Remove player $CharacterName (or selected) from a guild.</td></tr>
<tr>
<td>  help</td><td>  0</td><td>  Syntax: .help [$command]

Display usage instructions for the given $command. If no $command provided show list available commands.</td></tr>
<tr style="background-color:#3b3b3b;">
<td>  hidearea</td><td>  3</td><td>  Syntax: .hidearea #areaid

Hide the area of #areaid to the selected character. If no character is selected, hide this area to you.</td></tr>
<tr>
<td>  honor add</td><td>  2</td><td>  Syntax: .honor add $amount

Add a certain amount of honor (gained today) to the selected player.</td></tr>
<tr style="background-color:#3b3b3b;">
<td>  honor addkill</td><td>  2</td><td>  Syntax: .honor addkill

Add the targeted unit as one of your pvp kills today (you only get honor if it's a racial leader or a player)</td></tr>
<tr>
<td>  honor update</td><td>  2</td><td>  Syntax: .honor update

Force the yesterday's honor fields to be updated with today's data, which will get reset for the selected player.</td></tr>
<tr style="background-color:#3b3b3b;">
<td>  instance listbinds</td><td>  3</td><td>  Syntax: .instance listbinds
  Lists the binds of the selected player.</td></tr>
<tr>
<td>  instance savedata</td><td>  3</td><td>  Syntax: .instance savedata
  Save the InstanceData for the current player's map to the DB.</td></tr>
<tr style="background-color:#3b3b3b;">
<td>  instance stats</td><td>  3</td><td>  Syntax: .instance stats
  Shows statistics about instances.</td></tr>
<tr>
<td>  instance unbind</td><td>  3</td><td>  Syntax: .instance unbind all
  All of the selected
player's binds will be cleared.
.instance unbind #mapid
 Only the
specified #mapid instance will be cleared.</td></tr>
<tr style="background-color:#3b3b3b;">
<td>  itemmove</td><td>  2</td><td>  Syntax: .itemmove #sourceslotid #destinationslotid

Move an item from slots #sourceslotid to #destinationslotid in your inventory

Not yet implemented</td></tr>
<tr>
<td>  kick</td><td>  2</td><td>  Syntax: .kick [$charactername]

Kick the given character name from the world. If no character name is provided then the selected player (except for yourself) will be kicked.</td></tr>
<tr style="background-color:#3b3b3b;">
<td>  learn</td><td>  3</td><td>  Syntax: .learn #spell [all]

Selected character learn a spell of id #spell. If 'all' provided then all ranks learned.</td></tr>
<tr>
<td>  learn all</td><td>  3</td><td>  Syntax: .learn all

Learn all big set different spell maybe useful for Administaror.</td></tr>
<tr style="background-color:#3b3b3b;">
<td>  learn all_crafts</td><td>  2</td><td>  Syntax: .learn crafts

Learn all professions and recipes.</td></tr>
<tr>
<td>  learn all_default</td><td>  1</td><td>  Syntax: .learn all_default [$playername]

Learn for selected/$playername player all default spells for his race/class and spells rewarded by completed quests.</td></tr>
<tr style="background-color:#3b3b3b;">
<td>  learn all_gm</td><td>  2</td><td>  Syntax: .learn all_gm

Learn all default spells for Game Masters.</td></tr>
<tr>
<td>  learn all_lang</td><td>  1</td><td>  Syntax: .learn all_lang

Learn all languages</td></tr>
<tr style="background-color:#3b3b3b;">
<td>  learn all_myclass</td><td>  3</td><td>  Syntax: .learn all_myclass

Learn all spells and talents available for his class.</td></tr>
<tr>
<td>  learn all_mypettalents</td><td>  3</td><td>  Syntax: .learn all_mypettalents

Learn all talents for your pet available for his creature type (only for hunter pets).</td></tr>
<tr style="background-color:#3b3b3b;">
<td>  learn all_myspells</td><td>  3</td><td>  Syntax: .learn all_myspells

Learn all spells (except talents and spells with first rank learned as talent) available for his class.</td></tr>
<tr>
<td>  learn all_mytalents</td><td>  3</td><td>  Syntax: .learn all_mytalents

Learn all talents (and spells with first rank learned as talent) available for his class.</td></tr>
<tr style="background-color:#3b3b3b;">
<td>  learn all_recipes</td><td>  2</td><td>  Syntax: .learn all_recipes [$profession]Learns all recipes of specified profession and sets skill level to max.Example: .learn all_recipes enchanting</td></tr>
<tr>
<td>  levelup</td><td>  3</td><td>  Syntax: .levelup [$playername] [#numberoflevels]

Increase/decrease the level of character with $playername (or the selected if not name provided) by #numberoflevels Or +1 if no #numberoflevels provided). If #numberoflevels is omitted, the level will be increase by 1. If #numberoflevels is 0, the same level will be restarted. If no character is selected and name not provided, increase your level. Command can be used for offline character. All stats and dependent values recalculated. At level decrease talents can be reset if need. Also at level decrease equipped items with greater level requirement can be lost.</td></tr>
<tr style="background-color:#3b3b3b;">
<td>  linkgrave</td><td>  3</td><td>  Syntax: .linkgrave #graveyard_id [alliance|horde]

Link current zone to graveyard for any (or alliance/horde faction ghosts). This let character ghost from zone teleport to graveyard after die if graveyard is nearest from linked to zone and accept ghost of this faction. Add only single graveyard at another map and only if no graveyards linked (or planned linked at same map).</td></tr>
<tr>
<td>  list creature</td><td>  3</td><td>  Syntax: .list creature #creature_id [#max_count]

Output creatures with creature id #creature_id found in world. Output creature guids and coordinates sorted by distance from character. Will be output maximum #max_count creatures. If #max_count not provided use 10 as default value.</td></tr>
<tr style="background-color:#3b3b3b;">
<td>  list item</td><td>  3</td><td>  Syntax: .list item #item_id [#max_count]

Output items with item id #item_id found in all character inventories, mails, auctions, and guild banks. Output item guids, item owner guid, owner account and owner name (guild name and guid in case guild bank). Will be output maximum #max_count items. If #max_count not provided use 10 as default value.</td></tr>
<tr>
<td>  list object</td><td>  3</td><td>  Syntax: .list object #gameobject_id [#max_count]

Output gameobjects with gameobject id #gameobject_id found in world. Output gameobject guids and coordinates sorted by distance from character. Will be output maximum #max_count gameobject. If #max_count not provided use 10 as default value.</td></tr>
<tr style="background-color:#3b3b3b;">
<td>  list talents</td><td>  3</td><td>  Syntax: .list talents

Show list all really known (as learned spells) talent rank spells for selected player or self.</td></tr>
<tr>
<td>  loadscripts</td><td>  3</td><td>  Syntax: .loadscripts $scriptlibraryname

Unload current and load the script library $scriptlibraryname or reload current if $scriptlibraryname omitted, in case you changed it while the server was running.</td></tr>
<tr style="background-color:#3b3b3b;">
<td>  lookup account email</td><td>  2</td><td>  Syntax: .lookup account email $emailpart [#limit] 

 Searchs accounts, which email including $emailpart with optional parametr #limit of results. If #limit not provided expected 100.</td></tr>
<tr>
<td>  lookup account ip</td><td>  2</td><td>  Syntax: lookup account ip $ippart [#limit] 

 Searchs accounts, which last used ip inluding $ippart (textual) with optional parametr #$limit of results. If #limit not provided expected 100.</td></tr>
<tr style="background-color:#3b3b3b;">
<td>  lookup account name</td><td>  2</td><td>  Syntax: .lookup account name $accountpart [#limit] 

 Searchs accounts, which username including $accountpart with optional parametr #limit of results. If #limit not provided expected 100.</td></tr>
<tr>
<td>  lookup achievement</td><td>  2</td><td>  Syntax: .lookup $name
Looks up a achievement by $namepart, and returns all matches with their quest ID's. Achievement shift-links generated with information about achievment state for selected player. Also for completed achievments in list show complete date.</td></tr>
<tr style="background-color:#3b3b3b;">
<td>  lookup area</td><td>  1</td><td>  Syntax: .lookup area $namepart

Looks up an area by $namepart, and returns all matches with their area ID's.</td></tr>
<tr>
<td>  lookup creature</td><td>  3</td><td>  Syntax: .lookup creature $namepart

Looks up a creature by $namepart, and returns all matches with their creature ID's.</td></tr>
<tr style="background-color:#3b3b3b;">
<td>  lookup event</td><td>  2</td><td>  Syntax: .lookup event $name
Attempts to find the ID of the event with the provided $name.</td></tr>
<tr>
<td>  lookup faction</td><td>  3</td><td>  Syntax: .lookup faction $name
Attempts to find the ID of the faction with the provided $name.</td></tr>
<tr style="background-color:#3b3b3b;">
<td>  lookup item</td><td>  3</td><td>  Syntax: .lookup item $itemname

Looks up an item by $itemname, and returns all matches with their Item ID's.</td></tr>
<tr>
<td>  lookup itemset</td><td>  3</td><td>  Syntax: .lookup itemset $itemname

Looks up an item set by $itemname, and returns all matches with their Item set ID's.</td></tr>
<tr style="background-color:#3b3b3b;">
<td>  lookup object</td><td>  3</td><td>  Syntax: .lookup object $objname

Looks up an gameobject by $objname, and returns all matches with their Gameobject ID's.</td></tr>
<tr>
<td>  lookup player account</td><td>  2</td><td>  Syntax: .lookup player account $accountpart [#limit] 

 Searchs players, which account username including $accountpart with optional parametr #limit of results. If #limit not provided expected 100.</td></tr>
<tr style="background-color:#3b3b3b;">
<td>  lookup player email</td><td>  2</td><td>  Syntax: .lookup player email $emailpart [#limit] 

 Searchs players, which account email including $emailpart with optional parametr #limit of results. If #limit not provided expected 100.</td></tr>
<tr>
<td>  lookup player ip</td><td>  2</td><td>  Syntax: .lookup player ip $ippart [#limit] 

 Searchs players, which account last used ip inluding $ippart (textual) with optional parametr #limit of results. If #limit not provided expected 100.</td></tr>
<tr style="background-color:#3b3b3b;">
<td>  lookup pool</td><td>  2</td><td>  Syntax: .lookup pool $pooldescpart

List of pools (anywhere) with substring in description.</td></tr>
<tr>
<td>  lookup quest</td><td>  3</td><td>  Syntax: .lookup quest $namepart

Looks up a quest by $namepart, and returns all matches with their quest ID's.</td></tr>
<tr style="background-color:#3b3b3b;">
<td>  lookup skill</td><td>  3</td><td>  Syntax: .lookup skill $$namepart

Looks up a skill by $namepart, and returns all matches with their skill ID's.</td></tr>
<tr>
<td>  lookup spell</td><td>  3</td><td>  Syntax: .lookup spell $namepart

Looks up a spell by $namepart, and returns all matches with their spell ID's.</td></tr>
<tr style="background-color:#3b3b3b;">
<td>  lookup taxinode</td><td>  3</td><td>  Syntax: .lookup taxinode $substring

Search and output all taxinodes with provide $substring in name.</td></tr>
<tr>
<td>  lookup tele</td><td>  1</td><td>  Syntax: .lookup tele $substring

Search and output all .tele command locations with provide $substring in name.</td></tr>
<tr style="background-color:#3b3b3b;">
<td>  lookup title</td><td>  2</td><td>  Syntax: .lookup title $$namepart

Looks up a title by $namepart, and returns all matches with their title ID's and index's.</td></tr>
<tr>
<td>  mailbox</td><td>  3</td><td>  Syntax: .mailbox

Show your mailbox content.</td></tr>
<tr style="background-color:#3b3b3b;">
<td>  maxskill</td><td>  3</td><td>  Syntax: .maxskill
Sets all skills of the targeted player to their maximum values for its current level.</td></tr>
<tr>
<td>  modify arena</td><td>  1</td><td>  Syntax: .modify arena #value
Add $amount arena points to the selected player.</td></tr>
<tr style="background-color:#3b3b3b;">
<td>  modify aspeed</td><td>  1</td><td>  Syntax: .modify aspeed #rate

Modify all speeds -run,swim,run back,swim back- of the selected player to "normalbase speed for this move type"*rate. If no player is selected, modify your speed.

 #rate may range from 0.1 to 10.</td></tr>
<tr>
<td>  modify bwalk</td><td>  1</td><td>  Syntax: .modify bwalk #rate

Modify the speed of the selected player while running backwards to "normal walk back speed"*rate. If no player is selected, modify your speed.

 #rate may range from 0.1 to 10.</td></tr>
<tr style="background-color:#3b3b3b;">
<td>  modify drunk</td><td>  1</td><td>  Syntax: .modify drunk #value
 Set drunk level to #value (0..100). Value 0 remove drunk state, 100 is max drunked state.</td></tr>
<tr>
<td>  modify energy</td><td>  1</td><td>  Syntax: .modify energy #energy

Modify the energy of the selected player. If no player is selected, modify your energy.</td></tr>
<tr style="background-color:#3b3b3b;">
<td>  modify faction</td><td>  1</td><td>  Syntax: .modify faction #factionid #flagid #npcflagid #dynamicflagid

Modify the faction and flags of the selected creature. Without arguments, display the faction and flags of the selected creature.</td></tr>
<tr>
<td>  modify fly</td><td>  1</td><td>  Syntax: .modify fly #rate
.fly #rate

Modify the flying speed of the selected player to "normal base fly speed"*rate. If no player is selected, modify your fly.

 #rate may range from 0.1 to 10.</td></tr>
<tr style="background-color:#3b3b3b;">
<td>  modify gender</td><td>  2</td><td>  Syntax: .modify gender male/female

Change gender of selected player.</td></tr>
<tr>
<td>  modify honor</td><td>  1</td><td>  Syntax: .modify honor $amount

Add $amount honor points to the selected player.</td></tr>
<tr style="background-color:#3b3b3b;">
<td>  modify hp</td><td>  1</td><td>  Syntax: .modify hp #newhp

Modify the hp of the selected player. If no player is selected, modify your hp.</td></tr>
<tr>
<td>  modify mana</td><td>  1</td><td>  Syntax: .modify mana #newmana

Modify the mana of the selected player. If no player is selected, modify your mana.</td></tr>
<tr style="background-color:#3b3b3b;">
<td>  modify money</td><td>  1</td><td>  Syntax: .modify money #money
.money #money

Add or remove money to the selected player. If no player is selected, modify your money.

 #gold can be negative to remove money.</td></tr>
<tr>
<td>  modify morph</td><td>  2</td><td>  Syntax: .modify morph #displayid

Change your current model id to #displayid.</td></tr>
<tr style="background-color:#3b3b3b;">
<td>  modify mount</td><td>  1</td><td>  Syntax: .modify mount #id #speed
Display selected player as mounted at #id creature and set speed to #speed value.</td></tr>
<tr>
<td>  modify phase</td><td>  3</td><td>  Syntax: .modify phase #phasemask

Selected character phasemask changed to #phasemask with related world vision update. Change active until in game phase changed, or GM-mode enable/disable, or re-login. Character pts pasemask update to same value.</td></tr>
<tr style="background-color:#3b3b3b;">
<td>  modify rage</td><td>  1</td><td>  Syntax: .modify rage #newrage

Modify the rage of the selected player. If no player is selected, modify your rage.</td></tr>
<tr>
<td>  modify rep</td><td>  2</td><td>  Syntax: .modify rep #repId (#repvalue | $rankname [#delta])
Sets the selected players reputation with faction #repId to #repvalue or to $reprank.
If the reputation rank name is provided, the resulting reputation will be the lowest reputation for that rank plus the delta amount, if specified.
You can use '.pinfo rep' to list all known reputation ids, or use '.lookup faction $name' to locate a specific faction id.</td></tr>
<tr style="background-color:#3b3b3b;">
<td>  modify runicpower</td><td>  1</td><td>  Syntax: .modify runicpower #newrunicpower

Modify the runic power of the selected player. If no player is selected, modify your runic power.</td></tr>
<tr>
<td>  modify scale</td><td>  1</td><td>  Syntax: .modify scale #scale

Change model scale for targeted player (util relogin) or creature (until respawn).</td></tr>
<tr style="background-color:#3b3b3b;">
<td>  modify speed</td><td>  1</td><td>  Syntax: .modify speed #rate
.speed #rate

Modify the running speed of the selected player to "normal base run speed"*rate. If no player is selected, modify your speed.

 #rate may range from 0.1 to 10.</td></tr>
<tr>
<td>  modify standstate</td><td>  2</td><td>  Syntax: .modify standstate #emoteid

Change the emote of your character while standing to #emoteid.</td></tr>
<tr style="background-color:#3b3b3b;">
<td>  modify swim</td><td>  1</td><td>  Syntax: .modify swim #rate

Modify the swim speed of the selected player to "normal swim speed"*rate. If no player is selected, modify your speed.

 #rate may range from 0.1 to 10.</td></tr>
<tr>
<td>  modify tp</td><td>  1</td><td>  Syntax: .modify tp #amount

Ste free talent pointes for selected character or character's pet. It will be reset to default expected at next levelup/login/quest reward.</td></tr>
<tr style="background-color:#3b3b3b;">
<td>  movegens</td><td>  3</td><td>  Syntax: .movegens
  Show movement generators stack for selected creature or player.</td></tr>
<tr>
<td>  mute</td><td>  1</td><td>  Syntax: .mute [$playerName] $timeInMinutes

Disible chat messaging for any character from account of character $playerName (or currently selected) at $timeInMinutes minutes. Player can be offline.</td></tr>
<tr style="background-color:#3b3b3b;">
<td>  namego</td><td>  1</td><td>  Syntax: .namego [$charactername]

Teleport the given character to you. Character can be offline.</td></tr>
<tr>
<td>  neargrave</td><td>  3</td><td>  Syntax: .neargrave [alliance|horde]

Find nearest graveyard linked to zone (or only nearest from accepts alliance or horde faction ghosts).</td></tr>
<tr style="background-color:#3b3b3b;">
<td>  notify</td><td>  1</td><td>  Syntax: .notify $MessageToBroadcast

Send a global message to all players online in screen.</td></tr>
<tr>
<td>  npc add</td><td>  2</td><td>  Syntax: .npc add #creatureid

Spawn a creature by the given template id of #creatureid.</td></tr>
<tr style="background-color:#3b3b3b;">
<td>  npc additem</td><td>  2</td><td>  Syntax: .npc additem #itemId r

Add item #itemid to item list of selected vendor. Also optionally set max count item in vendor item list and time to item count restoring and items ExtendedCost.</td></tr>
<tr>
<td>  npc addweapon</td><td>  3</td><td>  Not yet implemented.</td></tr>
<tr style="background-color:#3b3b3b;">
<td>  npc aiinfo</td><td>  2</td><td>  Syntax: .npc npc aiinfo

Show npc AI and script information.</td></tr>
<tr>
<td>  npc allowmove</td><td>  3</td><td>  Syntax: .npc allowmove

Enable or disable movement creatures in world. Not implemented.</td></tr>
<tr style="background-color:#3b3b3b;">
<td>  npc changelevel</td><td>  2</td><td>  Syntax: .npc changelevel #level

Change the level of the selected creature to #level.

#level may range from 1 to 63.</td></tr>
<tr>
<td>  npc delete</td><td>  2</td><td>  Syntax: .npc delete [#guid]

Delete creature with guid #guid (or the selected if no guid is provided)</td></tr>
<tr style="background-color:#3b3b3b;">
<td>  npc delitem</td><td>  2</td><td>  Syntax: .npc delitem #itemId

Remove item #itemid from item list of selected vendor.</td></tr>
<tr>
<td>  npc factionid</td><td>  2</td><td>  Syntax: .npc factionid #factionid

Set the faction of the selected creature to #factionid.</td></tr>
<tr style="background-color:#3b3b3b;">
<td>  npc flag</td><td>  2</td><td>  Syntax: .npc flag #npcflag

Set the NPC flags of creature template of the selected creature and selected creature to #npcflag. NPC flags will applied to all creatures of selected creature template after server restart or grid unload/load.</td></tr>
<tr>
<td>  npc follow</td><td>  2</td><td>  Syntax: .npc follow

Selected creature start follow you until death/fight/etc.</td></tr>
<tr style="background-color:#3b3b3b;">
<td>  npc info</td><td>  3</td><td>  Syntax: .npc info

Display a list of details for the selected creature.

The list includes:
- GUID, Faction, NPC flags, Entry ID, Model ID,
- Level,
- Health (current/maximum),

- Field flags, dynamic flags, faction template, 
- Position information,
- and the creature type, e.g. if the creature is a vendor.</td></tr>
<tr>
<td>  npc move</td><td>  2</td><td>  Syntax: .npc move [#creature_guid]

Move the targeted creature spawn point to your coordinates.</td></tr>
<tr style="background-color:#3b3b3b;">
<td>  npc name</td><td>  2</td><td>  Syntax: .npc name $name

Change the name of the selected creature or character to $name.

Command disabled.</td></tr>
<tr>
<td>  npc playemote</td><td>  3</td><td>  Syntax: .npc playemote #emoteid

Make the selected creature emote with an emote of id #emoteid.</td></tr>
<tr style="background-color:#3b3b3b;">
<td>  npc say</td><td>  1</td><td>  Syntax: .npc say #text
Make the selected npc says #text.</td></tr>
<tr>
<td>  npc setdeathstate</td><td>  2</td><td>  Syntax: .npc setdeathstate on/off

Set default death state (dead/alive) for npc at spawn.</td></tr>
<tr style="background-color:#3b3b3b;">
<td>  npc setmodel</td><td>  2</td><td>  Syntax: .npc setmodel #displayid

Change the model id of the selected creature to #displayid.</td></tr>
<tr>
<td>  npc setmovetype</td><td>  2</td><td>  Syntax: .npc setmovetype [#creature_guid] stay/random/way [NODEL]

Set for creature pointed by #creature_guid (or selected if #creature_guid not provided) movement type and move it to respawn position (if creature alive). Any existing waypoints for creature will be removed from the database if you do not use NODEL. If the creature is dead then movement type will applied at creature respawn.
Make sure you use NODEL, if you want to keep the waypoints.</td></tr>
<tr style="background-color:#3b3b3b;">
<td>  npc setphase</td><td>  2</td><td>  Syntax: .npc setphase #phasemask

Selected unit or pet phasemask changed to #phasemask with related world vision update for players. In creature case state saved to DB and persistent. In pet case change active until in game phase changed for owner, owner re-login, or GM-mode enable/disable..</td></tr>
<tr>
<td>  npc spawndist</td><td>  2</td><td>  Syntax: .npc spawndist #dist

Adjust spawndistance of selected creature to dist.</td></tr>
<tr style="background-color:#3b3b3b;">
<td>  npc spawntime</td><td>  2</td><td>  Syntax: .npc spawntime #time 

Adjust spawntime of selected creature to time.</td></tr>
<tr>
<td>  npc subname</td><td>  2</td><td>  Syntax: .npc subname $Name

Change the subname of the selected creature or player to $Name.

Command disabled.</td></tr>
<tr style="background-color:#3b3b3b;">
<td>  npc tame</td><td>  2</td><td>  Syntax: .npc tame

Tame selected creature (tameable non pet creature). You don't must have pet.</td></tr>
<tr>
<td>  npc textemote</td><td>  1</td><td>  Syntax: .npc textemote #emoteid

Make the selected creature to do textemote with an emote of id #emoteid.</td></tr>
<tr style="background-color:#3b3b3b;">
<td>  npc unfollow</td><td>  2</td><td>  Syntax: .npc unfollow

Selected creature (non pet) stop follow you.</td></tr>
<tr>
<td>  npc whisper</td><td>  1</td><td>  Syntax: .npc whisper #playerguid #text
Make the selected npc whisper #text to  #playerguid.</td></tr>
<tr style="background-color:#3b3b3b;">
<td>  npc yell</td><td>  1</td><td>  Syntax: .npc yell #text
Make the selected npc yells #text.</td></tr>
<tr>
<td>  pdump load</td><td>  3</td><td>  Syntax: .pdump load $filename $account [$newname] [$newguid]
Load character dump from dump file into character list of $account with saved or $newname, with saved (or first free) or $newguid guid.</td></tr>
<tr style="background-color:#3b3b3b;">
<td>  pdump write</td><td>  3</td><td>  Syntax: .pdump write $filename $playerNameOrGUID
Write character dump with name/guid $playerNameOrGUID to file $filename.</td></tr>
<tr>
<td>  pinfo</td><td>  2</td><td>  Syntax: .pinfo [$player_name]

Output account information for selected player or player find by $player_name.</td></tr>
<tr style="background-color:#3b3b3b;">
<td>  pool</td><td>  2</td><td>  Syntax: .pool #pool_id

Pool information and full list creatures/gameobjects included in pool.</td></tr>
<tr>
<td>  pool list</td><td>  2</td><td>  Syntax: .pool list

List of pools with spawn in current map (only work in instances. Non-instanceable maps share pool system state os useless attempt get all pols at all continents.</td></tr>
<tr style="background-color:#3b3b3b;">
<td>  pool spawns</td><td>  2</td><td>  Syntax: .pool spawns #pool_id

List current creatures/objects listed in pools (or in specific #pool_id) and spawned (added to grid data, not meaning show in world.</td></tr>
<tr>
<td>  quest add</td><td>  3</td><td>  Syntax: .quest add #quest_id

Add to character quest log quest #quest_id. Quest started from item can't be added by this command but correct .additem call provided in command output.</td></tr>
<tr style="background-color:#3b3b3b;">
<td>  quest complete</td><td>  3</td><td>  Syntax: .quest complete #questid
Mark all quest objectives as completed for target character active quest. After this target character can go and get quest reward.</td></tr>
<tr>
<td>  quest remove</td><td>  3</td><td>  Syntax: .quest remove #quest_id

Set quest #quest_id state to not completed and not active (and remove from active quest list) for selected player.</td></tr>
<tr style="background-color:#3b3b3b;">
<td>  quit</td><td>  4</td><td>  Syntax: quit

Close RA connection. Command must be typed fully (quit).</td></tr>
<tr>
<td>  recall</td><td>  1</td><td>  Syntax: .recall [$playername]

Teleport $playername or selected player to the place where he has been before last use of a teleportation command. If no $playername is entered and no player is selected, it will teleport you.</td></tr>
<tr style="background-color:#3b3b3b;">
<td>  reload all</td><td>  3</td><td>  Syntax: .reload all

Reload all tables with reload support added and that can be _safe_ reloaded.</td></tr>
<tr>
<td>  reload all_achievement</td><td>  3</td><td>  Syntax: .reload all_achievement

Reload all `achievement_*` tables if reload support added for this table and this table can be _safe_ reloaded.</td></tr>
<tr style="background-color:#3b3b3b;">
<td>  reload all_area</td><td>  3</td><td>  Syntax: .reload all_area

Reload all `areatrigger_*` tables if reload support added for this table and this table can be _safe_ reloaded.</td></tr>
<tr>
<td>  reload all_eventai</td><td>  3</td><td>  Syntax: .reload all_eventai

Reload `creature_ai_*` tables if reload support added for these tables and these tables can be _safe_ reloaded.</td></tr>
<tr style="background-color:#3b3b3b;">
<td>  reload all_item</td><td>  3</td><td>  Syntax: .reload all_item

Reload `item_required_target`, `page_texts` and `item_enchantment_template` tables.</td></tr>
<tr>
<td>  reload all_locales</td><td>  3</td><td>  Syntax: .reload all_locales

Reload all `locales_*` tables with reload support added and that can be _safe_ reloaded.</td></tr>
<tr style="background-color:#3b3b3b;">
<td>  reload all_loot</td><td>  3</td><td>  Syntax: .reload all_loot

Reload all `*_loot_template` tables. This can be slow operation with lags for server run.</td></tr>
<tr>
<td>  reload all_npc</td><td>  3</td><td>  Syntax: .reload all_npc

Reload `points_of_interest` and `npc_*` tables if reload support added for these tables and these tables can be _safe_ reloaded.</td></tr>
<tr style="background-color:#3b3b3b;">
<td>  reload all_quest</td><td>  3</td><td>  Syntax: .reload all_quest

Reload all quest related tables if reload support added for this table and this table can be _safe_ reloaded.</td></tr>
<tr>
<td>  reload all_scripts</td><td>  3</td><td>  Syntax: .reload all_scripts

Reload `dbscripts_on_*` tables.</td></tr>
<tr style="background-color:#3b3b3b;">
<td>  reload all_spell</td><td>  3</td><td>  Syntax: .reload all

Reload all `spell_*` tables with reload support added and that can be _safe_ reloaded.</td></tr>
<tr>
<td>  reload config</td><td>  3</td><td>  Syntax: .reload config

Reload config settings (by default stored in mangosd.conf). Not all settings can be change at reload: some new setting values will be ignored until restart, some values will applied with delay or only to new objects/maps, some values will explicitly rejected to change at reload.</td></tr>
<tr style="background-color:#3b3b3b;">
<td>  repairitems</td><td>  2</td><td>  Syntax: .repairitems

Repair all selected player's items.</td></tr>
<tr>
<td>  reset achievements</td><td>  3</td><td>  Syntax: .reset achievements [$playername]

Reset achievements data for selected or named (online or offline) character. Achievements for persistance progress data like completed quests/etc re-filled at reset. Achievements for events like kills/casts/etc will lost.</td></tr>
<tr style="background-color:#3b3b3b;">
<td>  reset all</td><td>  3</td><td>  Syntax: .reset all spells

Syntax: .reset all talents

Request reset spells or talents (including talents for all character's pets if any) at next login each existed character.</td></tr>
<tr>
<td>  reset honor</td><td>  3</td><td>  Syntax: .reset honor [Playername]
  Reset all honor data for targeted character.</td></tr>
<tr style="background-color:#3b3b3b;">
<td>  reset level</td><td>  3</td><td>  Syntax: .reset level [Playername]
  Reset level to 1 including reset stats and talents.  Equipped items with greater level requirement can be lost.</td></tr>
<tr>
<td>  reset specs</td><td>  3</td><td>  Syntax: .reset specs [Playername]
  Removes all talents (for all specs) of the targeted player or named player. Playername can be name of offline character. With player talents also will be reset talents for all character's pets if any.</td></tr>
<tr style="background-color:#3b3b3b;">
<td>  reset spells</td><td>  3</td><td>  Syntax: .reset spells [Playername]
  Removes all non-original spells from spellbook.
. Playername can be name of offline character.</td></tr>
<tr>
<td>  reset stats</td><td>  3</td><td>  Syntax: .reset stats [Playername]
  Resets(recalculate) all stats of the targeted player to their original VALUESat current level.</td></tr>
<tr style="background-color:#3b3b3b;">
<td>  reset talents</td><td>  3</td><td>  Syntax: .reset talents [Playername]
  Removes all talents (current spec) of the targeted player or pet or named player. With player talents also will be reset talents for all character's pets if any.</td></tr>
<tr>
<td>  respawn</td><td>  3</td><td>  Syntax: .respawn

Respawn selected creature or respawn all nearest creatures (if none selected) and GO without waiting respawn time expiration.</td></tr>
<tr style="background-color:#3b3b3b;">
<td>  revive</td><td>  3</td><td>  Syntax: .revive

Revive the selected player. If no player is selected, it will revive you.</td></tr>
<tr>
<td>  save</td><td>  0</td><td>  Syntax: .save

Saves your character.</td></tr>
<tr style="background-color:#3b3b3b;">
<td>  saveall</td><td>  1</td><td>  Syntax: .saveall

Save all characters in game.</td></tr>
<tr>
<td>  send items</td><td>  3</td><td>  Syntax: .send items #playername "#subject" "#text" itemid1[:count1] itemid2[:count2] ... itemidN[:countN]

Send a mail to a player. Subject and mail text must be in "". If for itemid not provided related count values then expected 1, if count &gt; max items in stack then items will be send in required amount stacks. All stacks amount in mail limited to 12.</td></tr>
<tr style="background-color:#3b3b3b;">
<td>  send mail</td><td>  1</td><td>  Syntax: .send mail #playername "#subject" "#text"

Send a mail to a player. Subject and mail text must be in "".</td></tr>
<tr>
<td>  send mass items</td><td>  3</td><td>  Syntax: .send mass items #racemask|$racename|alliance|horde|all "#subject" "#text" itemid1[:count1] itemid2[:count2] ... itemidN[:countN]

Send a mail to players. Subject and mail text must be in "". If for itemid not provided related count values then expected 1, if count &gt; max items in stack then items will be send in required amount stacks. All stacks amount in mail limited to 12.</td></tr>
<tr style="background-color:#3b3b3b;">
<td>  send mass mail</td><td>  3</td><td>  Syntax: .send mass mail #racemask|$racename|alliance|horde|all "#subject" "#text"

Send a mail to players. Subject and mail text must be in "".</td></tr>
<tr>
<td>  send mass money</td><td>  3</td><td>  Syntax: .send mass money #racemask|$racename|alliance|horde|all "#subject" "#text" #money

Send mail with money to players. Subject and mail text must be in "".</td></tr>
<tr style="background-color:#3b3b3b;">
<td>  send message</td><td>  3</td><td>  Syntax: .send message $playername $message

Send screen message to player from ADMINISTRATOR.</td></tr>
<tr>
<td>  send money</td><td>  3</td><td>  Syntax: .send money #playername "#subject" "#text" #money

Send mail with money to a player. Subject and mail text must be in "".</td></tr>
<tr style="background-color:#3b3b3b;">
<td>  server corpses</td><td>  2</td><td>  Syntax: .server corpses

Triggering corpses expire check in world.</td></tr>
<tr>
<td>  server exit</td><td>  4</td><td>  Syntax: .server exit

Terminate mangosd NOW. Exit code 0.</td></tr>
<tr style="background-color:#3b3b3b;">
<td>  server idlerestart</td><td>  3</td><td>  Syntax: .server idlerestart #delay

Restart the server after #delay seconds if no active connections are present (no players). Use #exist_code or 2 as program exist code.</td></tr>
<tr>
<td>  server idlerestart cancel</td><td>  3</td><td>  Syntax: .server idlerestart cancel

Cancel the restart/shutdown timer if any.</td></tr>
<tr style="background-color:#3b3b3b;">
<td>  server idleshutdown</td><td>  3</td><td>  Syntax: .server idleshutdown #delay [#exist_code]

Shut the server down after #delay seconds if no active connections are present (no players). Use #exist_code or 0 as program exist code.</td></tr>
<tr>
<td>  server idleshutdown cancel</td><td>  3</td><td>  Syntax: .server idleshutdown cancel

Cancel the restart/shutdown timer if any.</td></tr>
<tr style="background-color:#3b3b3b;">
<td>  server info</td><td>  0</td><td>  Syntax: .server info

Display server version and the number of connected players.</td></tr>
<tr>
<td>  server log filter</td><td>  4</td><td>  Syntax: .server log filter [($filtername|all) (on|off)]

Show or set server log filters. If used "all" then all filters will be set to on/off state.</td></tr>
<tr style="background-color:#3b3b3b;">
<td>  server log level</td><td>  4</td><td>  Syntax: .server log level [#level]

Show or set server log level (0 - errors only, 1 - basic, 2 - detail, 3 - debug).</td></tr>
<tr>
<td>  server motd</td><td>  0</td><td>  Syntax: .server motd

Show server Message of the day.</td></tr>
<tr style="background-color:#3b3b3b;">
<td>  server plimit</td><td>  3</td><td>  Syntax: .server plimit [#num|-1|-2|-3|reset|player|moderator|gamemaster|administrator]

Without arg show current player amount and security level limitations for login to server, with arg set player linit ($num &gt; 0) or securiti limitation ($num </td></tr>
<tr>
<td>  server restart</td><td>  3</td><td>  Syntax: .server restart #delay

Restart the server after #delay seconds. Use #exist_code or 2 as program exist code.</td></tr>
<tr style="background-color:#3b3b3b;">
<td>  server restart cancel</td><td>  3</td><td>  Syntax: .server restart cancel

Cancel the restart/shutdown timer if any.</td></tr>
<tr>
<td>  server set motd</td><td>  3</td><td>  Syntax: .server set motd $MOTD

Set server Message of the day.</td></tr>
<tr style="background-color:#3b3b3b;">
<td>  server shutdown</td><td>  3</td><td>  Syntax: .server shutdown #delay [#exit_code]

Shut the server down after #delay seconds. Use #exit_code or 0 as program exit code.</td></tr>
<tr>
<td>  server shutdown cancel</td><td>  3</td><td>  Syntax: .server shutdown cancel

Cancel the restart/shutdown timer if any.</td></tr>
<tr style="background-color:#3b3b3b;">
<td>  setskill</td><td>  3</td><td>  Syntax: .setskill #skill #level [#max]

Set a skill of id #skill with a current skill value of #level and a maximum value of #max (or equal current maximum if not provide) for the selected character. If no character is selected, you learn the skill.</td></tr>
<tr>
<td>  showarea</td><td>  3</td><td>  Syntax: .showarea #areaid

Reveal the area of #areaid to the selected character. If no character is selected, reveal this area to you.</td></tr>
<tr style="background-color:#3b3b3b;">
<td>  stable</td><td>  3</td><td>  Syntax: .stable

Show your pet stable.</td></tr>
<tr>
<td>  start</td><td>  0</td><td>  Syntax: .start

Teleport you to the starting area of your character.</td></tr>
<tr style="background-color:#3b3b3b;">
<td>  taxicheat</td><td>  1</td><td>  Syntax: .taxicheat on/off

Temporary grant access or remove to all taxi routes for the selected character. If no character is selected, hide or reveal all routes to you.

Visited taxi nodes sill accessible after removing access.</td></tr>
<tr>
<td>  tele</td><td>  1</td><td>  Syntax: .tele #location

Teleport player to a given location.</td></tr>
<tr style="background-color:#3b3b3b;">
<td>  tele add</td><td>  3</td><td>  Syntax: .tele add $name

Add current your position to .tele command target locations list with name $name.</td></tr>
<tr>
<td>  tele del</td><td>  3</td><td>  Syntax: .tele del $name

Remove location with name $name for .tele command locations list.</td></tr>
<tr style="background-color:#3b3b3b;">
<td>  tele group</td><td>  1</td><td>  Syntax: .tele group#location

Teleport a selected player and his group members to a given location.</td></tr>
<tr>
<td>  tele name</td><td>  1</td><td>  Syntax: .tele name [#playername] #location

Teleport the given character to a given location. Character can be offline.</td></tr>
<tr style="background-color:#3b3b3b;">
<td>  ticket</td><td>  2</td><td>  Syntax: .ticket on
        .ticket off
        .ticket #num
        .ticket $character_name
        .ticket respond #num $response
        .ticket respond $character_name $response

on/off for GMs to show or not a new ticket directly, $character_name to show ticket of this character, #num to show ticket #num.</td></tr>
<tr>
<td>  titles add</td><td>  2</td><td>  Syntax: .titles add #title
Add title #title (id or shift-link) to known titles list for selected player.</td></tr>
<tr style="background-color:#3b3b3b;">
<td>  titles current</td><td>  2</td><td>  Syntax: .titles current #title
Set title #title (id or shift-link) as current selected titl for selected player. If title not in known title list for player then it will be added to list.</td></tr>
<tr>
<td>  titles remove</td><td>  2</td><td>  Syntax: .titles remove #title
Remove title #title (id or shift-link) from known titles list for selected player.</td></tr>
<tr style="background-color:#3b3b3b;">
<td>  titles setmask</td><td>  2</td><td>  Syntax: .titles setmask #mask

Allows user to use all titles from #mask.

 #mask=0 disables the title-choose-field</td></tr>
<tr>
<td>  trigger</td><td>  2</td><td>  Syntax: .trigger [#trigger_id|$trigger_shift-link|$trigger_target_shift-link]

Show detail infor about areatrigger with id #trigger_id or trigger id associated with shift-link. If areatrigger id or shift-link not provided then selected nearest areatrigger at current map.</td></tr>
<tr style="background-color:#3b3b3b;">
<td>  trigger active</td><td>  2</td><td>  Syntax: .trigger active

Show list of areatriggers with activation zone including current character position.</td></tr>
<tr>
<td>  trigger near</td><td>  2</td><td>  Syntax: .trigger near [#distance]

Output areatriggers at distance #distance from player. If #distance not provided use 10 as default value.</td></tr>
<tr style="background-color:#3b3b3b;">
<td>  unaura</td><td>  3</td><td>  Syntax: .unaura #spellid

Remove aura due to spell #spellid from the selected Unit.</td></tr>
<tr>
<td>  unban account</td><td>  3</td><td>  Syntax: .unban account $Name
Unban accounts for account name pattern.</td></tr>
<tr style="background-color:#3b3b3b;">
<td>  unban character</td><td>  3</td><td>  Syntax: .unban character $Name
Unban accounts for character name pattern.</td></tr>
<tr>
<td>  unban ip</td><td>  3</td><td>  Syntax : .unban ip $Ip
Unban accounts for IP pattern.</td></tr>
<tr style="background-color:#3b3b3b;">
<td>  unlearn</td><td>  3</td><td>  Syntax: .unlearn #spell [all]

Unlearn for selected player a spell #spell.  If 'all' provided then all ranks unlearned.</td></tr>
<tr>
<td>  unmute</td><td>  1</td><td>  Syntax: .unmute [$playerName]

Restore chat messaging for any character from account of character $playerName (or selected). Character can be ofline.</td></tr>
<tr style="background-color:#3b3b3b;">
<td>  waterwalk</td><td>  2</td><td>  Syntax: .waterwalk on/off

Set on/off waterwalk state for selected player.</td></tr>
<tr>
<td>  wchange</td><td>  3</td><td>  Syntax: .wchange #weathertype #status

Set current weather to #weathertype with an intensity of #status.

#weathertype can be 1 for rain, 2 for snow, and 3 for sand. #status can be 0 for disabled, and 1 for enabled.</td></tr>
<tr style="background-color:#3b3b3b;">
<td>  whispers</td><td>  1</td><td>  Syntax: .whispers on|off
Enable/disable accepting whispers by GM from players. By default use mangosd.conf setting.</td></tr>
<tr>
<td>  wp add</td><td>  2</td><td>  Syntax: .wp add [Selected Creature or dbGuid] [pathId [wpOrigin] ]</td></tr>
<tr style="background-color:#3b3b3b;">
<td>  wp export</td><td>  3</td><td>  Syntax: .wp export [#creature_guid or Select a Creature] $filename</td></tr>
<tr>
<td>  wp modify</td><td>  2</td><td>  Syntax: .wp modify command [dbGuid, id] [value]
where command must be one of: waittime  | scriptid | orientation | del | move
If no waypoint was selected, one can be chosen with dbGuid and id.
The commands have the following meaning:
 waittime (Set the time the npc will wait at a point (in ms))
 scriptid (Set the DB-Script that will be executed when the wp is reached)
 orientation (Set the orientation of this point) 
 del (Remove the waypoint from the path)
 move (Move the wayoint to the current position of the player)</td></tr>
<tr style="background-color:#3b3b3b;">
<td>  wp show</td><td>  2</td><td>  Syntax: .wp show command [dbGuid] [pathId [wpOrigin] ]
where command can have one of the following values
on (to show all related wp)
first (to see only first one)
last (to see only last one)
off (to hide all related wp)
info (to get more info about theses wp)

For using info you have to do first show on and than select a Visual-Waypoint and do the show info!
with pathId and wpOrigin you can specify which path to show (optional)</td></tr>
</table>
<br>
<p>
auto-generated by the <a href="https://getmangos.eu">getMaNGOS.eu</a> MAGNET dbdocs module
</p>
]]></description><guid isPermaLink="false">5009</guid><pubDate>Mon, 25 Jul 2016 08:57:21 +0000</pubDate></item><item><title>conditions</title><link>https://www.getmangos.eu/wiki/referenceinfo/dbinfo/mangosdb/mangostwoworlddb/conditions-r5010/</link><description><![CDATA[<table bgcolor="#a80000" border="2" cellpadding="0" cellspacing="0" width="100%">
<tbody>
<tr>
<td height="20">
<font color="#ffe97f" size="3"> <strong>NOTE:</strong>  This page is auto-generated from the MAGNET DBDocs module,<br>             Any changes made directly to this page will be lost when it is regenerated.</font>
</td>
</tr>
</tbody>
</table>
<h2 style="font-size:24px;color:rgb(180,255,255);">
Description of the  'conditions' table for MaNGOSTwo
</h2>

<p>With this table and the new conditions it is possible to create tree like and very complicated combined conditions (like HasAura &amp;&amp; (HasItem || HasQuest))<br><br>Used in:<br><br>DBScript<br>gossip_menu<br>gossip_menu_option<br>npc_spellclick_spells<br>spell_area<br>areatrigger_teleport</p>

<p style="font-size:18px;color:rgb(255,255,180);">
<strong>Table Notes</strong>
</p>
<p>This table uses the 'MyISAM' DB Engine</p>


<p style="font-size:18px;color:rgb(255,255,180);">
<strong>The Field definitions follow:</strong>
</p>
<table align="center" border="1" cellpadding="1" cellspacing="1" style="width:100%;background-color:#2b2b2b;color:#c0c0c0;">
<thead><tr>
<th scope="col" style="border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:center;">
<b>Field Name</b>
</th>
<th scope="col" style="border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:center;">
<b>Field Type</b>
</th>
<th scope="col" style="border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:center;">
<b>Nullable</b>
</th>
<th scope="col" style="border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:center;">
<b>Key</b>
</th>
<th scope="col" style="border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:center;">
<b>Default Value</b>
</th>
<th scope="col" style="border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:center;">
<b>Attributes</b>
</th>
<th scope="col" style="border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:left;">
<b>Notes</b>
</th>
</tr>
</thead>
<tbody>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
<a href="#condition_entry" rel="internal" style="color:rgb(180,255,255);">condition_entry</a>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
mediumint(8) <abbr style="border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;" title="This field is unsigned, so it never accepts negative values">unsigned</abbr>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
NO
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
<abbr style="border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;" title="Primary Key">PRI</abbr>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
NULL
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
'auto_increment'
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:left;">
Identifier
</td>
</tr>
<tr style="background-color:#3b3b3b;">
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
<a href="#type" rel="internal" style="color:rgb(180,255,255);">type</a>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
tinyint(3)
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
NO
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
<abbr style="border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;" title="this field is (part of) a non-unique index">MUL</abbr>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
'0'
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
 
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:left;">
Type of the condition.
</td>
</tr>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
<a href="#value1" rel="internal" style="color:rgb(180,255,255);">value1</a>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
mediumint(8) <abbr style="border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;" title="This field is unsigned, so it never accepts negative values">unsigned</abbr>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
NO
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">

</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
'0'
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
 
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:left;">
Data field One for the condition.
</td>
</tr>
<tr style="background-color:#3b3b3b;">
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
<a href="#value2" rel="internal" style="color:rgb(180,255,255);">value2</a>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
mediumint(8) <abbr style="border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;" title="This field is unsigned, so it never accepts negative values">unsigned</abbr>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
NO
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">

</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
'0'
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
 
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:left;">
Data field Two for the condition.
</td>
</tr>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
<a href="#comments" rel="internal" style="color:rgb(180,255,255);">comments</a>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
varchar(200)
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
YES
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">

</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
{Blank String}
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
 
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:left;">
 
</td>
</tr>
</tbody>
</table>
<p style="font-size:20px;color:rgb(255,255,180);">
<strong>Description of the fields</strong>
</p>
<p>
<a id="condition_entry" rel="internal" style="color:rgb(255,255,255);">
<span style="font-size:20px;">
condition_entry
</span></a>
 mediumint(8) <abbr style="border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;" title="This field is unsigned, so it never accepts negative values">unsigned</abbr>
</p>
<p>
Identifier
</p>


<p>
<a id="type" rel="internal" style="color:rgb(255,255,255);">
<span style="font-size:20px;">
type
</span></a>
 tinyint(3)
</p>
<p>
Type of the condition:<br><br></p><table align="center" border="1" cellpadding="1" cellspacing="1" style="width:100%;background-color:#2b2b2b;color:#c0c0c0;">
<thead>
<tr>
<th scope="col" style="border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:center;">
<b>ID</b>
</th>
<th scope="col" style="border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:left;">
<b>Type</b>
</th>
<th scope="col" style="border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:left;">
<b>Description</b>
</th>
</tr>
</thead>
<tbody>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
-3
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
CONDITION_NOT
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
Used to evaluate if another condition is NOT true. See Note 1
</td>
</tr>
<tr style="background-color:#3b3b3b;">
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
-2
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
CONDITION_OR
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
Used to evaluate if condition OR condition is true. See Note 1
</td>
</tr>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
-1
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
CONDITION_AND
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
Used to evaluate if condition AND condition is true. See Note 1
</td>
</tr>
<tr style="background-color:#3b3b3b;">
</tr>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
0
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
CONDITION_NONE
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
This condition is not used at all. Always returns true.
</td>
</tr>
<tr style="background-color:#3b3b3b;">
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
1
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
CONDITION_AURA
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
Checks target currently has the specified aura on him/her.
</td>
</tr>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
2
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
CONDITION_ITEM
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
Checks if the player has the required amount (value2) of items in his/hers inventory.
</td>
</tr>
<tr style="background-color:#3b3b3b;">
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
3
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
CONDITION_ITEM_EQUIPPED
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
Checks if the player has the specified item equipped.
</td>
</tr>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
4
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
CONDITION_AREAID
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
Checks if the player is within the specified area/zone.
</td>
</tr>
<tr style="background-color:#3b3b3b;">
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
5
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
CONDITION_REPUTATION_RANK_MIN
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
Checks if the player has the minimum required reputation rank with a specific faction.
</td>
</tr>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
6
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
CONDITION_TEAM
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
Checks what team the target is a member of (Alliance or Horde).
</td>
</tr>
<tr style="background-color:#3b3b3b;">
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
7
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
CONDITION_SKILL
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
Checks if the player has the required minimum skill value of the specified skill.
</td>
</tr>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
8
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
CONDITION_QUESTREWARDED
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
Checks if the player has complete the specified quest.
</td>
</tr>
<tr style="background-color:#3b3b3b;">
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
9
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
CONDITION_QUESTTAKEN
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
Checks if the player has taken the quest (as in has it in his/hers quest log.) and not completed it yet.
</td>
</tr>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
10
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
CONDITION_AD_COMMISSION_AURA
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
TODO
</td>
</tr>
<tr style="background-color:#3b3b3b;">
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
11
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
CONDITION_NO_AURA
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
Checks if the target DOES NOT currently have the specified aura on him/her.
</td>
</tr>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
12
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
CONDITION_ACTIVE_GAME_EVENT
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
Checks if a game event is currently active.
</td>
</tr>
<tr style="background-color:#3b3b3b;">
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
13
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
CONDITION_AREA_FLAG
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
Checks if area_flag is present in current area (if area_flag set != 0) AND if not_have_flag is not present in current area (if not_have_flag != 0)
</td>
</tr>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
14
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
CONDITION_RACE_CLASS
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
Checks if the target is a certain race AND/OR class.
</td>
</tr>
<tr style="background-color:#3b3b3b;">
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
15
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
CONDITION_LEVEL
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
Checks the targets level.
</td>
</tr>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
16
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
CONDITION_NOITEM
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
Checks if the player DOES NOT have the required amount (value2) of items in his/hers inventory.
</td>
</tr>
<tr style="background-color:#3b3b3b;">
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
17
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
CONDITION_SPELL
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
Checks if the target has or hasn't (value2) the specified spell.
</td>
</tr>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
18
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
CONDITION_INSTANCE_SCRIPT
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
SD3 based condition
</td>
</tr>
<tr style="background-color:#3b3b3b;">
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
19
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
CONDITION_QUESTAVAILABLE
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
Checks if the specified quest is available (can start it) for the player.
</td>
</tr>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
20
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
CONDITION_ACHIEVEMENT
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
Has or has no special achievement.
</td>
</tr>
<tr style="background-color:#3b3b3b;">
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
21
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
CONDITION_ACHIEVEMENT_REALM
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
Realm wide achievement (like 20 above but realm wide).
</td>
</tr>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
22
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
CONDITION_QUEST_NONE
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
Checks if the player has NOT taken the quest AND has NOT been rewarded for the quest.
</td>
</tr>
<tr style="background-color:#3b3b3b;">
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
23
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
CONDITION_ITEM_WITH_BANK
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
Checks if the player has the required amount (value2) of items in his/hers inventory OR bank.
</td>
</tr>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
24
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
CONDITION_NOITEM_WITH_BANK
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
Checks if the player DOES NOT have count (value2) of items in his/hers inventory OR bank.
</td>
</tr>
<tr style="background-color:#3b3b3b;">
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
25
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
CONDITION_NOT_ACTIVE_GAME_EVENT
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
Checks if a game event is currently NOT active.
</td>
</tr>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
26
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
CONDITION_ACTIVE_HOLIDAY
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
Checks if a holiday is active
</td>
</tr>
<tr style="background-color:#3b3b3b;">
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
27
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
CONDITION_NOT_ACTIVE_HOLIDAY
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
Checks if a holiday is not active
</td>
</tr>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
28
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
CONDITION_LEARNABLE_ABILITY
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
Checks if the player can learn ability - using minimum skill value from [<b>See <a href="https://www.getmangos.eu/wiki/" rel="">SkillLineAbility.dbc</a></b>] If the player has spell or has item (when defined) the condition will evaluate to false.
</td>
</tr>
<tr style="background-color:#3b3b3b;">
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
29
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
CONDITION_SKILL_BELOW
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
TODO
</td>
</tr>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
30
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
CONDITION_REPUTATION_RANK_MAX
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
Checks if the player has a higher reputation rank than specified a faction.
</td>
</tr>
<tr style="background-color:#3b3b3b;">
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
31
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
CONDITION_COMPLETED_ENCOUNTER
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
Checks if an encounter has been completed.
</td>
</tr>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
32
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
CONDITION_SOURCE_AURA
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
Checks if the source of the condition (like looted npc) has an aura.
</td>
</tr>
<tr style="background-color:#3b3b3b;">
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
33
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
CONDITION_LAST_WAYPOINT
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
Checks the waypoint-state of the source of the condition.
</td>
</tr>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
34
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
CONDITION_XP_USER
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
Checks if a player has turned XP earning on/off
</td>
</tr>
<tr style="background-color:#3b3b3b;">
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
35
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
CONDITION_GENDER
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
Checks the gender of a player.
</td>
</tr>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
36
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
CONDITION_DEAD_OR_AWAY
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
TODO
</td>
</tr>
<tr style="background-color:#3b3b3b;">
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
37
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
CONDITION_CREATURE_IN_RANGE
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
TODO
</td>
</tr>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
38
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
CONDITION_PVP_SCRIPT
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
TODO
</td>
</tr>
<tr style="background-color:#3b3b3b;">
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
39
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
CONDITION_SPAWN_COUNT
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
Returns if specified count of creature entry exists on map.
</td>
</tr>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
36
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
CONDITION_DEAD_OR_AWAY
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
Checks if a player, a player's group, all players in an instance, or a creature is dead or left the map.
</td>
</tr>
</tbody>
</table>
<br><br>Note 1:<br>Meta-Condition types CONDITION_AND (-1) and CONDITION_OR (-2) which are used as: value1 (as condition_entry) AND / OR value2 (as condition_entry). With these meta-conditions it is possible to create tree like and very complicated combined conditions (like HasAura &amp;&amp; (HasItem || HasQuest))<br>



<p>
<a id="value1" rel="internal" style="color:rgb(255,255,255);">
<span style="font-size:20px;">
value1
</span></a>
 mediumint(8) <abbr style="border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;" title="This field is unsigned, so it never accepts negative values">unsigned</abbr>
</p>
<p>
Data field One for the condition.
</p>


<p>
<a id="value2" rel="internal" style="color:rgb(255,255,255);">
<span style="font-size:20px;">
value2
</span></a>
 mediumint(8) <abbr style="border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;" title="This field is unsigned, so it never accepts negative values">unsigned</abbr>
</p>
<p>
Data field Two for the condition.
</p>


<p>
<a id="comments" rel="internal" style="color:rgb(255,255,255);">
<span style="font-size:20px;">
comments
</span></a>
 varchar(200)
</p>


<br>
<p>
auto-generated by the <a href="https://getmangos.eu">getMaNGOS.eu</a> MAGNET dbdocs module
</p>
]]></description><guid isPermaLink="false">5010</guid><pubDate>Mon, 25 Jul 2016 08:57:21 +0000</pubDate></item><item><title>creature</title><link>https://www.getmangos.eu/wiki/referenceinfo/dbinfo/mangosdb/mangostwoworlddb/creature-r5011/</link><description><![CDATA[<table bgcolor="#a80000" border="2" cellpadding="0" cellspacing="0" width="100%">
<tbody>
<tr>
<td height="20">
<font color="#ffe97f" size="3"> <strong>NOTE:</strong>  This page is auto-generated from the MAGNET DBDocs module,<br>             Any changes made directly to this page will be lost when it is regenerated.</font>
</td>
</tr>
</tbody>
</table>
<h2 style="font-size:24px;color:rgb(180,255,255);">
Description of the  'creature' table for MaNGOSTwo
</h2>

<p>Contains individual creature spawn data. Spawn of a creature is an instance of the creature object in the world.</p>

<p style="font-size:18px;color:rgb(255,255,180);">
<strong>Table Notes</strong>
</p>
<p>This table uses the 'MyISAM' DB Engine</p>


<p style="font-size:18px;color:rgb(255,255,180);">
<strong>The Field definitions follow:</strong>
</p>
<table align="center" border="1" cellpadding="1" cellspacing="1" style="width:100%;background-color:#2b2b2b;color:#c0c0c0;">
<thead><tr>
<th scope="col" style="border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:center;">
<b>Field Name</b>
</th>
<th scope="col" style="border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:center;">
<b>Field Type</b>
</th>
<th scope="col" style="border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:center;">
<b>Nullable</b>
</th>
<th scope="col" style="border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:center;">
<b>Key</b>
</th>
<th scope="col" style="border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:center;">
<b>Default Value</b>
</th>
<th scope="col" style="border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:center;">
<b>Attributes</b>
</th>
<th scope="col" style="border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:left;">
<b>Notes</b>
</th>
</tr>
</thead>
<tbody>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
<a href="#guid" rel="internal" style="color:rgb(180,255,255);">guid</a>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
int(10) <abbr style="border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;" title="This field is unsigned, so it never accepts negative values">unsigned</abbr>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
NO
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
<abbr style="border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;" title="Primary Key">PRI</abbr>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
NULL
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
'auto_increment'
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:left;">
A unique identifier given to each creature to distinguish creatures.
</td>
</tr>
<tr style="background-color:#3b3b3b;">
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
<a href="#id" rel="internal" style="color:rgb(180,255,255);">id</a>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
mediumint(8) <abbr style="border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;" title="This field is unsigned, so it never accepts negative values">unsigned</abbr>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
NO
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
<abbr style="border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;" title="this field is (part of) a non-unique index">MUL</abbr>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
'0'
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
 
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:left;">
The id of the template that is used when instantiating this creature.
</td>
</tr>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
<a href="#map" rel="internal" style="color:rgb(180,255,255);">map</a>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
smallint(5) <abbr style="border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;" title="This field is unsigned, so it never accepts negative values">unsigned</abbr>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
NO
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
<abbr style="border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;" title="this field is (part of) a non-unique index">MUL</abbr>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
'0'
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
 
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:left;">
The map id of the location of the creature [<b>See <a href="https://www.getmangos.eu/wiki/" rel="">map.dbc</a></b>].
</td>
</tr>
<tr style="background-color:#3b3b3b;">
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
<a href="#spawnMask" rel="internal" style="color:rgb(180,255,255);">spawnMask</a>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
tinyint(3) <abbr style="border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;" title="This field is unsigned, so it never accepts negative values">unsigned</abbr>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
NO
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">

</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
'1'
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
 
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:left;">
 
</td>
</tr>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
<a href="#phaseMask" rel="internal" style="color:rgb(180,255,255);">phaseMask</a>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
smallint(5) <abbr style="border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;" title="This field is unsigned, so it never accepts negative values">unsigned</abbr>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
NO
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">

</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
'1'
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
 
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:left;">
 
</td>
</tr>
<tr style="background-color:#3b3b3b;">
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
<a href="#modelid" rel="internal" style="color:rgb(180,255,255);">modelid</a>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
mediumint(8) <abbr style="border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;" title="This field is unsigned, so it never accepts negative values">unsigned</abbr>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
NO
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">

</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
'0'
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
 
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:left;">
The model id of the the creature. 
</td>
</tr>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
<a href="#equipment_id" rel="internal" style="color:rgb(180,255,255);">equipment_id</a>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
mediumint(9)
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
NO
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">

</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
'0'
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
 
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:left;">
The ID of the equipment that the creature is using.
</td>
</tr>
<tr style="background-color:#3b3b3b;">
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
<a href="#position_x" rel="internal" style="color:rgb(180,255,255);">position_x</a>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
float
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
NO
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">

</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
'0'
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
 
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:left;">
The x position of the creature.
</td>
</tr>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
<a href="#position_y" rel="internal" style="color:rgb(180,255,255);">position_y</a>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
float
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
NO
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">

</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
'0'
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
 
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:left;">
The y position of the creature.
</td>
</tr>
<tr style="background-color:#3b3b3b;">
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
<a href="#position_z" rel="internal" style="color:rgb(180,255,255);">position_z</a>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
float
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
NO
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">

</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
'0'
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
 
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:left;">
The z position of the creature.
</td>
</tr>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
<a href="#orientation" rel="internal" style="color:rgb(180,255,255);">orientation</a>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
float
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
NO
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">

</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
'0'
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
 
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:left;">
The orientation of the creature. (North = 0.0; South = pi (3.14159))
</td>
</tr>
<tr style="background-color:#3b3b3b;">
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
<a href="#spawntimesecs" rel="internal" style="color:rgb(180,255,255);">spawntimesecs</a>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
int(10) <abbr style="border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;" title="This field is unsigned, so it never accepts negative values">unsigned</abbr>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
NO
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">

</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
'120'
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
 
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:left;">
The respawn time of the creature in seconds. 
</td>
</tr>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
<a href="#spawndist" rel="internal" style="color:rgb(180,255,255);">spawndist</a>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
float
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
NO
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">

</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
'5'
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
 
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:left;">
The maximum distance that the creature should spawn from its spawn point.
</td>
</tr>
<tr style="background-color:#3b3b3b;">
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
<a href="#currentwaypoint" rel="internal" style="color:rgb(180,255,255);">currentwaypoint</a>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
mediumint(8) <abbr style="border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;" title="This field is unsigned, so it never accepts negative values">unsigned</abbr>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
NO
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">

</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
'0'
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
 
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:left;">
The current waypoint of the creature.
</td>
</tr>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
<a href="#curhealth" rel="internal" style="color:rgb(180,255,255);">curhealth</a>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
int(10) <abbr style="border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;" title="This field is unsigned, so it never accepts negative values">unsigned</abbr>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
NO
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">

</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
'1'
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
 
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:left;">
The current health of the creature.
</td>
</tr>
<tr style="background-color:#3b3b3b;">
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
<a href="#curmana" rel="internal" style="color:rgb(180,255,255);">curmana</a>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
int(10) <abbr style="border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;" title="This field is unsigned, so it never accepts negative values">unsigned</abbr>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
NO
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">

</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
'0'
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
 
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:left;">
The current mana of the creature.
</td>
</tr>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
<a href="#DeathState" rel="internal" style="color:rgb(180,255,255);">DeathState</a>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
tinyint(3) <abbr style="border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;" title="This field is unsigned, so it never accepts negative values">unsigned</abbr>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
NO
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">

</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
'0'
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
 
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:left;">
The creature's death state.
</td>
</tr>
<tr style="background-color:#3b3b3b;">
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
<a href="#MovementType" rel="internal" style="color:rgb(180,255,255);">MovementType</a>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
tinyint(3) <abbr style="border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;" title="This field is unsigned, so it never accepts negative values">unsigned</abbr>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
NO
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">

</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
'0'
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
 
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:left;">
The movement type associated with this creature.
</td>
</tr>
</tbody>
</table>
<p style="font-size:20px;color:rgb(255,255,180);">
<strong>Description of the fields</strong>
</p>
<p>
<a id="guid" rel="internal" style="color:rgb(255,255,255);">
<span style="font-size:20px;">
guid
</span></a>
 int(10) <abbr style="border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;" title="This field is unsigned, so it never accepts negative values">unsigned</abbr>
</p>
<p>
A unique identifier given to each creature to distinguish one creature from another. Two creatures can NOT have same GUID. 
</p>


<p>
<a id="id" rel="internal" style="color:rgb(255,255,255);">
<span style="font-size:20px;">
id
</span></a>
 mediumint(8) <abbr style="border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;" title="This field is unsigned, so it never accepts negative values">unsigned</abbr>
</p>
<p>
The id of the template that is used when instantiating this creature [<b>See <a href="https://www.getmangos.eu/wiki/referenceinfo/dbinfo/mangosdb/mangostwoworlddb/creature_template-r5028#entry" rel="">creature_template.entry</a></b>].
</p>


<p>
<a id="map" rel="internal" style="color:rgb(255,255,255);">
<span style="font-size:20px;">
map
</span></a>
 smallint(5) <abbr style="border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;" title="This field is unsigned, so it never accepts negative values">unsigned</abbr>
</p>
<p>
The map id of the location of the creature [<b>See <a href="https://www.getmangos.eu/wiki/" rel="">map.dbc</a></b>].
</p>


<p>
<a id="spawnMask" rel="internal" style="color:rgb(255,255,255);">
<span style="font-size:20px;">
spawnMask
</span></a>
 tinyint(3) <abbr style="border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;" title="This field is unsigned, so it never accepts negative values">unsigned</abbr>
</p>

<p>
<a id="phaseMask" rel="internal" style="color:rgb(255,255,255);">
<span style="font-size:20px;">
phaseMask
</span></a>
 smallint(5) <abbr style="border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;" title="This field is unsigned, so it never accepts negative values">unsigned</abbr>
</p>

<p>
<a id="modelid" rel="internal" style="color:rgb(255,255,255);">
<span style="font-size:20px;">
modelid
</span></a>
 mediumint(8) <abbr style="border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;" title="This field is unsigned, so it never accepts negative values">unsigned</abbr>
</p>
<p>
The model id of the the creature. 
</p>


<p>
<a id="equipment_id" rel="internal" style="color:rgb(255,255,255);">
<span style="font-size:20px;">
equipment_id
</span></a>
 mediumint(9)
</p>
<p>
The ID of the equipment that the creature is using [<b>See <a href="https://www.getmangos.eu/wiki/referenceinfo/dbinfo/mangosdb/mangostwoworlddb/creature_equip_template-r5017#entry" rel="">creature_equip_template.entry</a></b>].

</p>


<p>
<a id="position_x" rel="internal" style="color:rgb(255,255,255);">
<span style="font-size:20px;">
position_x
</span></a>
 float
</p>
<p>
The x position of the creature.
</p>


<p>
<a id="position_y" rel="internal" style="color:rgb(255,255,255);">
<span style="font-size:20px;">
position_y
</span></a>
 float
</p>
<p>
The y position of the creature.
</p>


<p>
<a id="position_z" rel="internal" style="color:rgb(255,255,255);">
<span style="font-size:20px;">
position_z
</span></a>
 float
</p>
<p>
The z position of the creature.
</p>


<p>
<a id="orientation" rel="internal" style="color:rgb(255,255,255);">
<span style="font-size:20px;">
orientation
</span></a>
 float
</p>
<p>
The orientation of the creature. (North = 0.0; South = pi (3.14159))
</p>


<p>
<a id="spawntimesecs" rel="internal" style="color:rgb(255,255,255);">
<span style="font-size:20px;">
spawntimesecs
</span></a>
 int(10) <abbr style="border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;" title="This field is unsigned, so it never accepts negative values">unsigned</abbr>
</p>
<p>
The respawn time of the creature in seconds. 
</p>


<p>
<a id="spawndist" rel="internal" style="color:rgb(255,255,255);">
<span style="font-size:20px;">
spawndist
</span></a>
 float
</p>
<p>
The maximum distance that the creature should spawn from its spawn point. Also controls how far away the creature can walk from its spawn point if its MovementType = 1. 
</p>


<p>
<a id="currentwaypoint" rel="internal" style="color:rgb(255,255,255);">
<span style="font-size:20px;">
currentwaypoint
</span></a>
 mediumint(8) <abbr style="border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;" title="This field is unsigned, so it never accepts negative values">unsigned</abbr>
</p>
<p>
The current waypoint of the creature.
</p>


<p>
<a id="curhealth" rel="internal" style="color:rgb(255,255,255);">
<span style="font-size:20px;">
curhealth
</span></a>
 int(10) <abbr style="border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;" title="This field is unsigned, so it never accepts negative values">unsigned</abbr>
</p>
<p>
The current health of the creature.
</p>


<p>
<a id="curmana" rel="internal" style="color:rgb(255,255,255);">
<span style="font-size:20px;">
curmana
</span></a>
 int(10) <abbr style="border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;" title="This field is unsigned, so it never accepts negative values">unsigned</abbr>
</p>
<p>
The current mana of the creature.
</p>


<p>
<a id="DeathState" rel="internal" style="color:rgb(255,255,255);">
<span style="font-size:20px;">
DeathState
</span></a>
 tinyint(3) <abbr style="border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;" title="This field is unsigned, so it never accepts negative values">unsigned</abbr>
</p>
<p>
The creature's death state. A boolean, 0 = Alive, 1 = Corpse lying dead around (no gossip possible when dead, if you need corpse-gossip use dynamicflags|32) <br></p><table align="center" border="1" cellpadding="1" cellspacing="1" style="width:100%;background-color:#2b2b2b;color:#c0c0c0;">
<thead>
<tr>
<th scope="col" style="border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:center;">
<b>Value</b>
</th>
<th scope="col" style="border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:left;">
<b>State</b>
</th>
</tr>
</thead>
<tbody>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
0
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
Alive
</td>
</tr>
<tr style="background-color:#3b3b3b;">
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
1
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
Dead
</td>
</tr>
</tbody>
</table>
<br><br><b>Note:</b><br>Dead creatures can not have gossip dialogues, unless you explicitly set the dynamic flag for corpses on the "creature_template" table.<br><br>



<p>
<a id="MovementType" rel="internal" style="color:rgb(255,255,255);">
<span style="font-size:20px;">
MovementType
</span></a>
 tinyint(3) <abbr style="border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;" title="This field is unsigned, so it never accepts negative values">unsigned</abbr>
</p>
<p>
The movement type associated with this creature. Usually the same as creature_template.MovementType but can be different [<b>See <a href="https://www.getmangos.eu/wiki/referenceinfo/dbinfo/mangosdb/mangostwoworlddb/creature_template-r5028#MovementType" rel="">creature_template.MovementType</a></b>] for possible values.<br><br></p><table align="center" border="1" cellpadding="1" cellspacing="1" style="width:100%;background-color:#2b2b2b;color:#c0c0c0;">
<thead>
<tr>
<th scope="col" style="border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:center;">
<b>ID</b>
</th>
<th scope="col" style="border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:left;">
<b>Type</b>
</th>
</tr>
</thead>
<tbody>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
0
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
Idle; stay in one place
</td>
</tr>
<tr style="background-color:#3b3b3b;">
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
1
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
Random movement inside the spawndist radius
</td>
</tr>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
2
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
Waypoint movement
</td>
</tr>
</tbody>
</table>
 <br>




<br>
<p>
auto-generated by the <a href="https://getmangos.eu">getMaNGOS.eu</a> MAGNET dbdocs module
</p>
]]></description><guid isPermaLink="false">5011</guid><pubDate>Mon, 25 Jul 2016 08:57:22 +0000</pubDate></item><item><title>creature_addon</title><link>https://www.getmangos.eu/wiki/referenceinfo/dbinfo/mangosdb/mangostwoworlddb/creature_addon-r5012/</link><description><![CDATA[<table bgcolor="#a80000" border="2" cellpadding="0" cellspacing="0" width="100%">
<tbody>
<tr>
<td height="20">
<font color="#ffe97f" size="3"> <strong>NOTE:</strong>  This page is auto-generated from the MAGNET DBDocs module,<br>             Any changes made directly to this page will be lost when it is regenerated.</font>
</td>
</tr>
</tbody>
</table>
<h2 style="font-size:24px;color:rgb(180,255,255);">
Description of the  'creature_addon' table for MaNGOSTwo
</h2>

<p>The creature_addon and creature_template_addon tables define different things that are applied on creatures when they are loaded. These "different things" can be for example to have the creature be mounted, to have it emote something, to have it display an aura effect, etc. Through the use of the fields in this table, many things can be changed about the outward visual appearance of the creature. The creature_template_addon table affects all creatures with that creature template ID while the creature_addon table affects individually spawned creatures (so that two creatures using the same template can look different).

NOTES: 
A creature_addon record will override a creature_template_addon record should they overlap on the same creature.<br>
<br>
The data for this table is largely incomplete and is mostly just a regurgitation of what the client receives from the server. This article is a WIP as to what all the possible values are.</p>

<p style="font-size:18px;color:rgb(255,255,180);">
<strong>Table Notes</strong>
</p>
<p>This table uses the 'InnoDB' DB Engine</p>


<p style="font-size:18px;color:rgb(255,255,180);">
<strong>The Field definitions follow:</strong>
</p>
<table align="center" border="1" cellpadding="1" cellspacing="1" style="width:100%;background-color:#2b2b2b;color:#c0c0c0;">
<thead><tr>
<th scope="col" style="border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:center;">
<b>Field Name</b>
</th>
<th scope="col" style="border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:center;">
<b>Field Type</b>
</th>
<th scope="col" style="border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:center;">
<b>Nullable</b>
</th>
<th scope="col" style="border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:center;">
<b>Key</b>
</th>
<th scope="col" style="border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:center;">
<b>Default Value</b>
</th>
<th scope="col" style="border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:center;">
<b>Attributes</b>
</th>
<th scope="col" style="border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:left;">
<b>Notes</b>
</th>
</tr>
</thead>
<tbody>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
<a href="#guid" rel="internal" style="color:rgb(180,255,255);">guid</a>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
int(10) <abbr style="border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;" title="This field is unsigned, so it never accepts negative values">unsigned</abbr>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
NO
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
<abbr style="border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;" title="Primary Key">PRI</abbr>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
'0'
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
 
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:left;">
Signifies a unique creature guid [<b>See <a href="https://www.getmangos.eu/wiki/referenceinfo/dbinfo/mangosdb/mangostwoworlddb/creature-r5011#guid" rel="">creature.guid</a></b>].
</td>
</tr>
<tr style="background-color:#3b3b3b;">
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
<a href="#mount" rel="internal" style="color:rgb(180,255,255);">mount</a>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
mediumint(8) <abbr style="border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;" title="This field is unsigned, so it never accepts negative values">unsigned</abbr>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
NO
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">

</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
'0'
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
 
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:left;">
The model ID of the mount to be used to make the creature appear mounted.
</td>
</tr>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
<a href="#bytes1" rel="internal" style="color:rgb(180,255,255);">bytes1</a>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
int(10) <abbr style="border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;" title="This field is unsigned, so it never accepts negative values">unsigned</abbr>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
NO
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">

</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
'0'
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
 
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:left;">
The value here overrides the value for the creature's unit field UNIT_FIELD_BYTE
</td>
</tr>
<tr style="background-color:#3b3b3b;">
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
<a href="#b2_0_sheath" rel="internal" style="color:rgb(180,255,255);">b2_0_sheath</a>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
tinyint(3) <abbr style="border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;" title="This field is unsigned, so it never accepts negative values">unsigned</abbr>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
NO
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">

</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
'0'
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
 
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:left;">
SheathState.
</td>
</tr>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
<a href="#b2_1_pvp_state" rel="internal" style="color:rgb(180,255,255);">b2_1_pvp_state</a>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
tinyint(3) <abbr style="border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;" title="This field is unsigned, so it never accepts negative values">unsigned</abbr>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
NO
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">

</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
'0'
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
 
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:left;">
 
</td>
</tr>
<tr style="background-color:#3b3b3b;">
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
<a href="#emote" rel="internal" style="color:rgb(180,255,255);">emote</a>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
int(10) <abbr style="border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;" title="This field is unsigned, so it never accepts negative values">unsigned</abbr>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
NO
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">

</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
'0'
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
 
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:left;">
Emote ID that the creature should continually perform.
</td>
</tr>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
<a href="#moveflags" rel="internal" style="color:rgb(180,255,255);">moveflags</a>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
int(10) <abbr style="border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;" title="This field is unsigned, so it never accepts negative values">unsigned</abbr>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
NO
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">

</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
'0'
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
 
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:left;">
Flags controlling how the creature will behave animation-wise while moving.
</td>
</tr>
<tr style="background-color:#3b3b3b;">
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
<a href="#auras" rel="internal" style="color:rgb(180,255,255);">auras</a>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
text
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
YES
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">

</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
NULL
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
 
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:left;">
This field controls any auras to be applied on the creature.
</td>
</tr>
</tbody>
</table>
<p style="font-size:20px;color:rgb(255,255,180);">
<strong>Description of the fields</strong>
</p>
<p>
<a id="guid" rel="internal" style="color:rgb(255,255,255);">
<span style="font-size:20px;">
guid
</span></a>
 int(10) <abbr style="border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;" title="This field is unsigned, so it never accepts negative values">unsigned</abbr>
</p>
<p>
Signifies a unique creature guid [<b>See <a href="https://www.getmangos.eu/wiki/referenceinfo/dbinfo/mangosdb/mangostwoworlddb/creature-r5011#guid" rel="">creature.guid</a></b>]. It will affect just that creature whose GUID matches the one specified here.
</p>


<p>
<a id="mount" rel="internal" style="color:rgb(255,255,255);">
<span style="font-size:20px;">
mount
</span></a>
 mediumint(8) <abbr style="border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;" title="This field is unsigned, so it never accepts negative values">unsigned</abbr>
</p>
<p>
The model ID of the mount to be used to make the creature appear mounted [<b>See <a href="https://www.getmangos.eu/wiki/referenceinfo/dbinfo/mangosdb/mangostwoworlddb/creature_model_info-r5022#modelid" rel="">creature_model_info.modelid</a></b>]. The value here overrides the value for the creature's unit field UNIT_FIELD_MOUNTDISPLAYID.
</p>


<p>
<a id="bytes1" rel="internal" style="color:rgb(255,255,255);">
<span style="font-size:20px;">
bytes1
</span></a>
 int(10) <abbr style="border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;" title="This field is unsigned, so it never accepts negative values">unsigned</abbr>
</p>
<p>
The value here overrides the value for the creature's unit field UNIT_FIELD_BYTES_1. 

List of known values and what their visual effects on the creature 

</p><table border="1" cellspacing="1" cellpadding="3" bgcolor="#f0f0f0">
<tr bgcolor="#f0f0ff">
<th><b>Value</b></th>
<th align="left"><b>Meaning</b></th>
</tr><tr bgcolor="#FFFFEE"><td align="center" valign="middle">1</td><td align="left" valign="middle">Sitting on Ground</td></tr>
<tr bgcolor="#FEFEFF"><td align="center" valign="middle">
2</td><td align="left" valign="middle">Creature that can fly and are not on the ground appear to have this flag. If they are on the ground, flag is not present.</td></tr>
<tr bgcolor="#FFFFEE"><td align="center" valign="middle">
3</td><td align="left" valign="middle">Sleep</td></tr>
<tr bgcolor="#FEFEFF"><td align="center" valign="middle">
4</td><td align="left" valign="middle">Untrackable</td></tr>
<tr bgcolor="#FFFFEE"><td align="center" valign="middle">
7</td><td align="left" valign="middle">Makes the mob lying dead (combined with empty health bar (dynamicflags = 32) and gray name (dynamicflags = 4) makes the mob to appear dead)</td></tr>
<tr bgcolor="#FEFEFF"><td align="center" valign="middle">
8</td><td align="left" valign="middle">Makes the mob kneel (need bytes2 = 1)</td></tr>
<tr bgcolor="#FFFFEE"><td align="center" valign="middle">
9</td><td align="left" valign="middle">Submerges the creature below the ground</td></tr>
</table>




<p>
<a id="b2_0_sheath" rel="internal" style="color:rgb(255,255,255);">
<span style="font-size:20px;">
b2_0_sheath
</span></a>
 tinyint(3) <abbr style="border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;" title="This field is unsigned, so it never accepts negative values">unsigned</abbr>
</p>
<p>
SheathState.<br>
</p><table border="1" cellspacing="1" cellpadding="3" bgcolor="#f0f0f0">
<tr bgcolor="#f0f0ff">
<th><b>Value1</b></th>
<th align="left"><b>State</b></th>
</tr><tr bgcolor="#FFFFEE"><td align="center" valign="middle">0</td><td align="left" valign="middle">All Weapons Sheathed by Default</td></tr>
<tr bgcolor="#FEFEFF"><td align="center" valign="middle">1</td><td align="left" valign="middle">Melee Weapon NOT Sheathed by Default (Melee Weapon In Hand)</td></tr>
<tr bgcolor="#FFFFEE"><td align="center" valign="middle">2</td><td align="left" valign="middle">Ranged Weapon NOT Sheathed by Default (Ranged Weapon In Hand)</td></tr>
</table>





<p>
<a id="b2_1_pvp_state" rel="internal" style="color:rgb(255,255,255);">
<span style="font-size:20px;">
b2_1_pvp_state
</span></a>
 tinyint(3) <abbr style="border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;" title="This field is unsigned, so it never accepts negative values">unsigned</abbr>
</p>

<p>
<a id="emote" rel="internal" style="color:rgb(255,255,255);">
<span style="font-size:20px;">
emote
</span></a>
 int(10) <abbr style="border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;" title="This field is unsigned, so it never accepts negative values">unsigned</abbr>
</p>
<p>
Emote ID that the creature should continually perform.<br>
<br>
List of often used emote IDs and what they do ie. 65 Makes the creature look dead by lying on the ground.

</p><table align="center" border="1" cellpadding="1" cellspacing="1" style="width:100%;background-color:#2b2b2b;color:#c0c0c0;">
<thead>
<tr>
<th scope="col" style="border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:center;">
<b>Value</b>
</th>
<th scope="col" style="border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:left;">
<b>Emote Name</b>
</th>
</tr>
</thead>
<tbody>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
10
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
EMOTE_STATE_DANCE
</td>
</tr>
<tr style="background-color:#3b3b3b;">
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
12
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
EMOTE_STATE_SLEEP
</td>
</tr>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
13
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
EMOTE_STATE_SIT
</td>
</tr>
<tr style="background-color:#3b3b3b;">
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
26
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
EMOTE_STATE_STAND
</td>
</tr>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
28
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
EMOTE_STATE_WORK
</td>
</tr>
<tr style="background-color:#3b3b3b;">
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
64
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
EMOTE_STATE_STUN
</td>
</tr>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
64
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
EMOTE_STATE_DEAD
</td>
</tr>
<tr style="background-color:#3b3b3b;">
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
68
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
EMOTE_STATE_KNEEL
</td>
</tr>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
70
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
EMOTE_ONESHOT_WAVE_NOSHEATHE
</td>
</tr>
<tr style="background-color:#3b3b3b;">
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
71
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
EMOTE_ONESHOT_CHEER_NOSHEATHE
</td>
</tr>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
92
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
EMOTE_ONESHOT_EAT_NOSHEATHE
</td>
</tr>
<tr style="background-color:#3b3b3b;">
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
173
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
EMOTE_STATE_WORK_NOSHEATHE
</td>
</tr>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
379
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
EMOTE_STATE_FISHING
</td>
</tr>
<tr style="background-color:#3b3b3b;">
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
380
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
EMOTE_ONESHOT_FISHING
</td>
</tr>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
381
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
EMOTE_ONESHOT_LOOT
</td>
</tr>
<tr style="background-color:#3b3b3b;">
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
382
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
EMOTE_STATE_WHIRLWIND
</td>
</tr>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
392
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
EMOTE_STATE_LAUGH
</td>
</tr>
<tr style="background-color:#3b3b3b;">
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
398
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
EMOTE_STATE_CANNIBALIZE
</td>
</tr>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
400
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
EMOTE_STATE_DANCESPECIAL
</td>
</tr>
<tr style="background-color:#3b3b3b;">
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
412
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
EMOTE_STATE_EXCLAIM
</td>
</tr>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
415
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
EMOTE_STATE_SIT_CHAIR_MED
</td>
</tr>
</tbody>
</table>




<p>
<a id="moveflags" rel="internal" style="color:rgb(255,255,255);">
<span style="font-size:20px;">
moveflags
</span></a>
 int(10) <abbr style="border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;" title="This field is unsigned, so it never accepts negative values">unsigned</abbr>
</p>
<p>
Flags controlling how the creature will behave animation-wise while moving. This table is 100% wrong as of 3.1. It is still here for a period of time for reference and to convert values in DB. 

See the proper table under this one 

</p><table border="1" cellspacing="1" cellpadding="3" bgcolor="#f0f0f0">
<tr bgcolor="#f0f0ff">
<th><b>Value</b></th>
<th><b>Name</b></th>
<th align="left"><b>Comment</b></th>
</tr><tr bgcolor="#FFFFEE"><td align="center" valign="middle">0</td><td align="center" valign="middle">MOVEMENTFLAG_NONE</td><td align="left" valign="middle">Do Nothing</td></tr>
<tr bgcolor="#FEFEFF"><td align="center" valign="middle">1</td><td align="center" valign="middle">MOVEMENTFLAG_FORWARD</td><td align="left" valign="middle">instantly teleport creature, then creature move forward animation but no real movement</td></tr>
<tr bgcolor="#FFFFEE"><td align="center" valign="middle">2</td><td align="center" valign="middle">MOVEMENTFLAG_BACKWARD</td><td align="left" valign="middle">instantly teleport creature, then creature move back animation but no real movement</td></tr>
<tr bgcolor="#FEFEFF"><td align="center" valign="middle">4</td><td align="center" valign="middle">MOVEMENTFLAG_STRAFE_LEFT</td><td align="left" valign="middle">instantly teleport creature, then creature move left animation but no real movement</td></tr>
<tr bgcolor="#FFFFEE"><td align="center" valign="middle">8</td><td align="center" valign="middle">MOVEMENTFLAG_STRAFE_RIGHT</td><td align="left" valign="middle">instantly teleport creature, then creature move right animation but no real movement</td></tr>
<tr bgcolor="#FEFEFF"><td align="center" valign="middle">16</td><td align="center" valign="middle">MOVEMENTFLAG_LEFT</td><td align="left" valign="middle">creature spin left animation</td></tr>
<tr bgcolor="#FFFFEE"><td align="center" valign="middle">32</td><td align="center" valign="middle">MOVEMENTFLAG_RIGHT</td><td align="left" valign="middle">then creature spin right animation</td></tr>
<tr bgcolor="#FEFEFF"><td align="center" valign="middle">64</td><td align="center" valign="middle">MOVEMENTFLAG_PITCH_UP</td><td align="left" valign="middle">no effect on creature</td></tr>
<tr bgcolor="#FFFFEE"><td align="center" valign="middle">128</td><td align="center" valign="middle">MOVEMENTFLAG_PITCH_DOWN</td><td align="left" valign="middle">no effect on creature</td></tr>
<tr bgcolor="#FEFEFF"><td align="center" valign="middle">256</td><td align="center" valign="middle">MOVEMENTFLAG_WALK_MODE</td><td align="left" valign="middle">If flag is not set then player runs</td></tr>
<tr bgcolor="#FFFFEE"><td align="center" valign="middle">512</td><td align="center" valign="middle">MOVEMENTFLAG_ONTRANSPORT</td><td align="left" valign="middle">causes creatures to fly while moving (not include standing)</td></tr>
<tr bgcolor="#FEFEFF"><td align="center" valign="middle">1024</td><td align="center" valign="middle">MOVEMENTFLAG_LEVITATING</td><td align="left" valign="middle">hovering animation at stand (not include moving)</td></tr>
<tr bgcolor="#FFFFEE"><td align="center" valign="middle">2048</td><td align="center" valign="middle">MOVEMENTFLAG_ROOT</td><td align="left" valign="middle">Rooted</td></tr>
<tr bgcolor="#FEFEFF"><td align="center" valign="middle">4096</td><td align="center" valign="middle">MOVEMENTFLAG_JUMPING</td><td align="left" valign="middle">Jump animation</td></tr>
<tr bgcolor="#FFFFEE"><td align="center" valign="middle">8192</td><td align="center" valign="middle">MOVEMENTFLAG_FALLING</td><td align="left" valign="middle">Falling animation</td></tr>
<tr bgcolor="#FEFEFF"><td align="center" valign="middle">16384</td><td align="center" valign="middle">MOVEMENTFLAG_FALLINGFAR</td><td align="left" valign="middle">Falling Great distance animation</td></tr>
<tr bgcolor="#FFFFEE"><td align="center" valign="middle">32768</td><td align="center" valign="middle">MOVEMENTFLAG_UNK2</td></tr>
<tr bgcolor="#FEFEFF"><td align="center" valign="middle">65536</td><td align="center" valign="middle">MOVEMENTFLAG_UNK3</td></tr>
<tr bgcolor="#FFFFEE"><td align="center" valign="middle">131072</td><td align="center" valign="middle">MOVEMENTFLAG_UNK4</td></tr>
<tr bgcolor="#FEFEFF"><td align="center" valign="middle">262144</td><td align="center" valign="middle">MOVEMENTFLAG_UNK5</td></tr>
<tr bgcolor="#FFFFEE"><td align="center" valign="middle">524288</td><td align="center" valign="middle">MOVEMENTFLAG_UNK6</td></tr>
<tr bgcolor="#FEFEFF"><td align="center" valign="middle">1048576</td><td align="center" valign="middle">MOVEMENTFLAG_UNK7</td><td align="left" valign="middle">Causes creature to instantly appear at new position</td></tr>
<tr bgcolor="#FFFFEE"><td align="center" valign="middle">2097152</td><td align="center" valign="middle">MOVEMENTFLAG_SWIMMING</td><td align="left" valign="middle">appears with fly flag also (causes creatures to fall to ground at stand state)</td></tr>
<tr bgcolor="#FEFEFF"><td align="center" valign="middle">4194304</td><td align="center" valign="middle">MOVEMENTFLAG_ASCENDING</td><td align="left" valign="middle">no effect on creature</td></tr>
<tr bgcolor="#FFFFEE"><td align="center" valign="middle">8388608</td><td align="center" valign="middle">MOVEMENTFLAG_CAN_FLY</td><td align="left" valign="middle">no effect on creature</td></tr>
<tr bgcolor="#FEFEFF"><td align="center" valign="middle">16777216</td><td align="center" valign="middle">MOVEMENTFLAG_FLYING</td><td align="left" valign="middle">no effect on creature</td></tr>
<tr bgcolor="#FFFFEE"><td align="center" valign="middle">33554432</td><td align="center" valign="middle">MOVEMENTFLAG_ONTRANSPORT</td><td align="left" valign="middle">Creature flying (not hover at stop moving)</td></tr>
<tr bgcolor="#FEFEFF"><td align="center" valign="middle">67108864</td><td align="center" valign="middle">MOVEMENTFLAG_SPLINE</td><td align="left" valign="middle">probably wrong name (no effect on creature)</td></tr>
<tr bgcolor="#FFFFEE"><td align="center" valign="middle">134217728</td><td align="center" valign="middle">MOVEMENTFLAG_SPLINE2</td><td align="left" valign="middle">no effect on creature</td></tr>
<tr bgcolor="#FEFEFF"><td align="center" valign="middle">268435456</td><td align="center" valign="middle">MOVEMENTFLAG_WATERWALKING</td><td align="left" valign="middle">also prevent creature from falling under water</td></tr>
<tr bgcolor="#FFFFEE"><td align="center" valign="middle">536870912</td><td align="center" valign="middle">MOVEMENTFLAG_SAFE_FALL</td><td align="left" valign="middle">active rogue safe fall spell (passive) (no effect on creature)</td></tr>
<tr bgcolor="#FEFEFF"><td align="center" valign="middle">1073741824</td><td align="center" valign="middle">MOVEMENTFLAG_HOVER</td><td align="left" valign="middle">Causes creature to hover at stand state (not include moving)</td></tr>
<tr bgcolor="#FFFFEE"><td align="center" valign="middle">2147483648</td><td align="center" valign="middle">MOVEMENTFLAG_UNK10</td><td align="left" valign="middle">Causes creature to roll to strange angle Note: MONSTER_MOVE_SPLINE_FLY = MONSTER_MOVE_WALK + MONSTER_MOVE_SPLINE and makes creature fly by points.</td></tr>
</table>


Note: MONSTER_MOVE_SPLINE_FLY = MONSTER_MOVE_WALK + MONSTER_MOVE_SPLINE and makes creature fly by points. 



<p>
<a id="auras" rel="internal" style="color:rgb(255,255,255);">
<span style="font-size:20px;">
auras
</span></a>
 text
</p>
<p>
This field controls any auras to be applied on the creature (both in effect and visually). The syntax for for an individual aura entry is "&lt;spell ID&gt; &lt;index&gt;". An aura is defined not just by the spell that applies it but also by the individual spell affect that applies it. Therefore, the effect index must be specified along with the spell ID. Each spell can have a maximum of three spell effects, so the effect index can only be 0, 1, or 2. To apply multiple auras, you can add more aura entries, separating each entry by a space. Remember that if a spell applies multiple auras, you need to specify an aura entry for each effect index if you want to apply more than one aura from the same spell. 

List of useful aura entries:<br>

</p><table border="1" cellspacing="1" cellpadding="3" bgcolor="#f0f0f0">
<tr bgcolor="#f0f0ff">
<th><b>Aura Entry</b></th>
<th align="left"><b>Meaning</b></th>
</tr><tr bgcolor="#FFFFEE"><td align="center" valign="middle">16380 0</td><td align="left" valign="middle">Makes the creature invisible.</td></tr>
<tr bgcolor="#FEFEFF"><td align="center" valign="middle">18950 0 18950 1</td><td align="left" valign="middle">Makes the creature detect other invisible units (players or creatures).</td></tr>
</table>





<br>
<p>
auto-generated by the <a href="https://getmangos.eu">getMaNGOS.eu</a> MAGNET dbdocs module
</p>
]]></description><guid isPermaLink="false">5012</guid><pubDate>Mon, 25 Jul 2016 08:57:22 +0000</pubDate></item><item><title>creature_ai_scripts</title><link>https://www.getmangos.eu/wiki/referenceinfo/dbinfo/mangosdb/mangostwoworlddb/creature_ai_scripts-r5013/</link><description><![CDATA[<table bgcolor="#a80000" border="2" cellpadding="0" cellspacing="0" width="100%">
<tbody>
<tr>
<td height="20">
<font color="#ffe97f" size="3"> <strong>NOTE:</strong>  This page is auto-generated from the MAGNET DBDocs module,<br>             Any changes made directly to this page will be lost when it is regenerated.</font>
</td>
</tr>
</tbody>
</table>
<h2 style="font-size:24px;color:rgb(180,255,255);">
Description of the  'creature_ai_scripts' table for MaNGOSTwo
</h2>

<p>This table specifies the actions that a creature script will do. 
A basic eventAI script works with and requires only two pieces of information: What to do and When to do it.</p>

<p style="font-size:18px;color:rgb(255,255,180);">
<strong>Table Notes</strong>
</p>
<p>This table uses the 'MyISAM' DB Engine</p>


<p style="font-size:18px;color:rgb(255,255,180);">
<strong>The Field definitions follow:</strong>
</p>
<table align="center" border="1" cellpadding="1" cellspacing="1" style="width:100%;background-color:#2b2b2b;color:#c0c0c0;">
<thead><tr>
<th scope="col" style="border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:center;">
<b>Field Name</b>
</th>
<th scope="col" style="border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:center;">
<b>Field Type</b>
</th>
<th scope="col" style="border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:center;">
<b>Nullable</b>
</th>
<th scope="col" style="border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:center;">
<b>Key</b>
</th>
<th scope="col" style="border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:center;">
<b>Default Value</b>
</th>
<th scope="col" style="border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:center;">
<b>Attributes</b>
</th>
<th scope="col" style="border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:left;">
<b>Notes</b>
</th>
</tr>
</thead>
<tbody>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
<a href="#id" rel="internal" style="color:rgb(180,255,255);">id</a>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
int(11) <abbr style="border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;" title="This field is unsigned, so it never accepts negative values">unsigned</abbr>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
NO
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
<abbr style="border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;" title="Primary Key">PRI</abbr>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
NULL
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
'auto_increment'
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:left;">
The unique identifier for the AI script entry.
</td>
</tr>
<tr style="background-color:#3b3b3b;">
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
<a href="#creature_id" rel="internal" style="color:rgb(180,255,255);">creature_id</a>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
int(11) <abbr style="border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;" title="This field is unsigned, so it never accepts negative values">unsigned</abbr>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
NO
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">

</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
'0'
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
 
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:left;">
This references the Unique ID in the Creature Template table.
</td>
</tr>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
<a href="#event_type" rel="internal" style="color:rgb(180,255,255);">event_type</a>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
tinyint(5) <abbr style="border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;" title="This field is unsigned, so it never accepts negative values">unsigned</abbr>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
NO
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">

</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
'0'
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
 
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:left;">
Event Type ID
</td>
</tr>
<tr style="background-color:#3b3b3b;">
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
<a href="#event_inverse_phase_mask" rel="internal" style="color:rgb(180,255,255);">event_inverse_phase_mask</a>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
int(11)
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
NO
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">

</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
'0'
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
 
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:left;">
Mask for the event.
</td>
</tr>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
<a href="#event_chance" rel="internal" style="color:rgb(180,255,255);">event_chance</a>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
int(3) <abbr style="border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;" title="This field is unsigned, so it never accepts negative values">unsigned</abbr>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
NO
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">

</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
'100'
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
 
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:left;">
The percentage chance for this event to happen.
</td>
</tr>
<tr style="background-color:#3b3b3b;">
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
<a href="#event_flags" rel="internal" style="color:rgb(180,255,255);">event_flags</a>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
int(3) <abbr style="border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;" title="This field is unsigned, so it never accepts negative values">unsigned</abbr>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
NO
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">

</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
'0'
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
 
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:left;">
Event flags allow you to modify how events are executed.
</td>
</tr>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
<a href="#event_param1" rel="internal" style="color:rgb(180,255,255);">event_param1</a>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
int(11)
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
NO
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">

</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
'0'
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
 
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:left;">
Parameter Value 1 for the eventtype [<b>See <a href="https://www.getmangos.eu/wiki/referenceinfo/dbinfo/mangosdb/mangostwoworlddb/creature_ai_scripts-r5013#event_type" rel="">creature_ai_scripts.event_type</a></b>].
</td>
</tr>
<tr style="background-color:#3b3b3b;">
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
<a href="#event_param2" rel="internal" style="color:rgb(180,255,255);">event_param2</a>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
int(11)
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
NO
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">

</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
'0'
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
 
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:left;">
Parameter Value 2 for the eventtype [<b>See <a href="https://www.getmangos.eu/wiki/referenceinfo/dbinfo/mangosdb/mangostwoworlddb/creature_ai_scripts-r5013#event_type" rel="">creature_ai_scripts.event_type</a></b>].
</td>
</tr>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
<a href="#event_param3" rel="internal" style="color:rgb(180,255,255);">event_param3</a>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
int(11)
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
NO
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">

</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
'0'
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
 
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:left;">
Parameter Value 3 for the eventtype [<b>See <a href="https://www.getmangos.eu/wiki/referenceinfo/dbinfo/mangosdb/mangostwoworlddb/creature_ai_scripts-r5013#event_type" rel="">creature_ai_scripts.event_type</a></b>].
</td>
</tr>
<tr style="background-color:#3b3b3b;">
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
<a href="#event_param4" rel="internal" style="color:rgb(180,255,255);">event_param4</a>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
int(11)
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
NO
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">

</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
'0'
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
 
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:left;">
Parameter Value 4 for the eventtype [<b>See <a href="https://www.getmangos.eu/wiki/referenceinfo/dbinfo/mangosdb/mangostwoworlddb/creature_ai_scripts-r5013#event_type" rel="">creature_ai_scripts.event_type</a></b>].
</td>
</tr>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
<a href="#action1_type" rel="internal" style="color:rgb(180,255,255);">action1_type</a>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
tinyint(5) <abbr style="border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;" title="This field is unsigned, so it never accepts negative values">unsigned</abbr>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
NO
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">

</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
'0'
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
 
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:left;">
The first actiontype.
</td>
</tr>
<tr style="background-color:#3b3b3b;">
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
<a href="#action1_param1" rel="internal" style="color:rgb(180,255,255);">action1_param1</a>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
int(11)
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
NO
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">

</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
'0'
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
 
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:left;">
Parameter 1 of the action1_type [<b>See <a href="https://www.getmangos.eu/wiki/referenceinfo/dbinfo/mangosdb/mangostwoworlddb/creature_ai_scripts-r5013#action1_type" rel="">creature_ai_scripts.action1_type</a></b>]
</td>
</tr>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
<a href="#action1_param2" rel="internal" style="color:rgb(180,255,255);">action1_param2</a>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
int(11)
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
NO
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">

</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
'0'
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
 
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:left;">
Parameter 2 of the action1_type [<b>See <a href="https://www.getmangos.eu/wiki/referenceinfo/dbinfo/mangosdb/mangostwoworlddb/creature_ai_scripts-r5013#action1_type" rel="">creature_ai_scripts.action1_type</a></b>]
</td>
</tr>
<tr style="background-color:#3b3b3b;">
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
<a href="#action1_param3" rel="internal" style="color:rgb(180,255,255);">action1_param3</a>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
int(11)
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
NO
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">

</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
'0'
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
 
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:left;">
Parameter 3 of the action1_type [<b>See <a href="https://www.getmangos.eu/wiki/referenceinfo/dbinfo/mangosdb/mangostwoworlddb/creature_ai_scripts-r5013#action1_type" rel="">creature_ai_scripts.action1_type</a></b>]
</td>
</tr>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
<a href="#action2_type" rel="internal" style="color:rgb(180,255,255);">action2_type</a>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
tinyint(5) <abbr style="border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;" title="This field is unsigned, so it never accepts negative values">unsigned</abbr>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
NO
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">

</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
'0'
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
 
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:left;">
The Second actiontype [<b>See <a href="https://www.getmangos.eu/wiki/referenceinfo/dbinfo/mangosdb/mangostwoworlddb/creature_ai_scripts-r5013#action2_type" rel="">creature_ai_scripts.action2_type</a></b>]
</td>
</tr>
<tr style="background-color:#3b3b3b;">
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
<a href="#action2_param1" rel="internal" style="color:rgb(180,255,255);">action2_param1</a>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
int(11)
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
NO
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">

</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
'0'
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
 
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:left;">
Parameter 1 of action2_type [<b>See <a href="https://www.getmangos.eu/wiki/referenceinfo/dbinfo/mangosdb/mangostwoworlddb/creature_ai_scripts-r5013#action2_type" rel="">creature_ai_scripts.action2_type</a></b>]
</td>
</tr>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
<a href="#action2_param2" rel="internal" style="color:rgb(180,255,255);">action2_param2</a>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
int(11)
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
NO
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">

</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
'0'
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
 
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:left;">
Parameter 2 of action2_type [<b>See <a href="https://www.getmangos.eu/wiki/referenceinfo/dbinfo/mangosdb/mangostwoworlddb/creature_ai_scripts-r5013#action2_type" rel="">creature_ai_scripts.action2_type</a></b>]
</td>
</tr>
<tr style="background-color:#3b3b3b;">
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
<a href="#action2_param3" rel="internal" style="color:rgb(180,255,255);">action2_param3</a>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
int(11)
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
NO
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">

</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
'0'
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
 
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:left;">
Parameter 3 of action2_type [<b>See <a href="https://www.getmangos.eu/wiki/referenceinfo/dbinfo/mangosdb/mangostwoworlddb/creature_ai_scripts-r5013#action2_type" rel="">creature_ai_scripts.action2_type</a></b>]
</td>
</tr>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
<a href="#action3_type" rel="internal" style="color:rgb(180,255,255);">action3_type</a>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
tinyint(5) <abbr style="border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;" title="This field is unsigned, so it never accepts negative values">unsigned</abbr>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
NO
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">

</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
'0'
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
 
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:left;">
The Third actiontype [<b>See <a href="https://www.getmangos.eu/wiki/referenceinfo/dbinfo/mangosdb/mangostwoworlddb/creature_ai_scripts-r5013#action3_type" rel="">creature_ai_scripts.action3_type</a></b>]
</td>
</tr>
<tr style="background-color:#3b3b3b;">
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
<a href="#action3_param1" rel="internal" style="color:rgb(180,255,255);">action3_param1</a>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
int(11)
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
NO
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">

</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
'0'
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
 
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:left;">
Parameter 1 of action3_type [<b>See <a href="https://www.getmangos.eu/wiki/referenceinfo/dbinfo/mangosdb/mangostwoworlddb/creature_ai_scripts-r5013#action3_type" rel="">creature_ai_scripts.action3_type</a></b>]
</td>
</tr>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
<a href="#action3_param2" rel="internal" style="color:rgb(180,255,255);">action3_param2</a>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
int(11)
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
NO
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">

</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
'0'
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
 
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:left;">
Parameter 2 of action3_type [<b>See <a href="https://www.getmangos.eu/wiki/referenceinfo/dbinfo/mangosdb/mangostwoworlddb/creature_ai_scripts-r5013#action3_type" rel="">creature_ai_scripts.action3_type</a></b>]
</td>
</tr>
<tr style="background-color:#3b3b3b;">
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
<a href="#action3_param3" rel="internal" style="color:rgb(180,255,255);">action3_param3</a>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
int(11)
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
NO
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">

</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
'0'
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
 
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:left;">
Parameter 3 of action3_type [<b>See <a href="https://www.getmangos.eu/wiki/referenceinfo/dbinfo/mangosdb/mangostwoworlddb/creature_ai_scripts-r5013#action3_type" rel="">creature_ai_scripts.action3_type</a></b>]
</td>
</tr>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
<a href="#comment" rel="internal" style="color:rgb(180,255,255);">comment</a>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
varchar(255)
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
NO
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">

</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
{Blank String}
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
 
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:left;">
Documents what an event script is supposed to do.
</td>
</tr>
</tbody>
</table>
<p style="font-size:20px;color:rgb(255,255,180);">
<strong>Description of the fields</strong>
</p>
<p>
<a id="id" rel="internal" style="color:rgb(255,255,255);">
<span style="font-size:20px;">
id
</span></a>
 int(11) <abbr style="border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;" title="This field is unsigned, so it never accepts negative values">unsigned</abbr>
</p>
<p>
The unique identifier for the AI script entry. To ease development, it has been defined that the identifier always equals the creature_template.entry * 100 [<b>See <a href="https://www.getmangos.eu/wiki/referenceinfo/dbinfo/mangosdb/mangostwoworlddb/creature_template-r5028#entry" rel="">creature_template.entry</a></b>].
</p>


<p>
<a id="creature_id" rel="internal" style="color:rgb(255,255,255);">
<span style="font-size:20px;">
creature_id
</span></a>
 int(11) <abbr style="border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;" title="This field is unsigned, so it never accepts negative values">unsigned</abbr>
</p>
<p>
This references the Unique ID in the Creature Template table [<b>See <a href="https://www.getmangos.eu/wiki/referenceinfo/dbinfo/mangosdb/mangostwoworlddb/creature_template-r5028#id" rel="">creature_template.id</a></b>] for which the entry is valid.
</p>


<p>
<a id="event_type" rel="internal" style="color:rgb(255,255,255);">
<span style="font-size:20px;">
event_type
</span></a>
 tinyint(5) <abbr style="border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;" title="This field is unsigned, so it never accepts negative values">unsigned</abbr>
</p>
<p>
Event Type ID, from one of the Events below:<br><br></p><table align="center" border="1" cellpadding="1" cellspacing="1" style="width:100%;background-color:#2b2b2b;color:#c0c0c0;">
<thead>
<tr>
<th scope="col" style="border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:center;">
<b>Value</b>
</th>
<th scope="col" style="border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:center;">
<b>Type</b>
</th>
<th scope="col" style="border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:center;">
<b>Parameters</b>
</th>
<th scope="col" style="border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:center;">
<b>Description</b>
</th>
<th scope="col" style="border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:left;">
<b>Notes</b>
</th>
</tr>
</thead>
<tbody>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
0
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
EVENT_T_TIMER_IN_COMBAT
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
InitialMin, InitialMax, RepeatMin, RepeatMax
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
Expires at first between (Param1) and (Param2) and then will repeat between every (Param3) and (Param4)
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
EXPIRES ONLY IN COMBAT.
</td>
</tr>
<tr style="background-color:#3b3b3b;">
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
1
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
EVENT_T_TIMER_OOC
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
InitialMin, InitialMax, RepeatMin, RepeatMax
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
Expires at first between (Param1) and (Param2) and then will repeat between every (Param3) and (Param4)
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
EXPIRES ONLY OUT OF COMBAT BUT NOT DURING EVADE.
</td>
</tr>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
2
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
EVENT_T_HP
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
HPMax%, HPMin%, RepeatMin, RepeatMax
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
Expires when the NPC's HP% is between (Param1) and (Param2). Will repeat between every (Param3) and (Param4)
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
If Event Conditions Are Still Met.
</td>
</tr>
<tr style="background-color:#3b3b3b;">
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
3
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
EVENT_T_MANA
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
ManaMax%,ManaMin% RepeatMin, RepeatMax
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
Expires when the NPC's Mana% is between (Param1) and (Param2). Will repeat between every (Param3) and (Param4)
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
If Event Conditions Are Still Met.
</td>
</tr>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
4
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
EVENT_T_AGGRO NONE
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
 
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
Expires ONLY upon the NPC's INITIAL Aggro at the Start of Combat (Does NOT Repeat) and Only Resets on Spawn or Evade.
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
 
</td>
</tr>
<tr style="background-color:#3b3b3b;">
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
5
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
EVENT_T_KILL
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
RepeatMin, RepeatMax
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
Expires upon Killing a Player. Will Repeat Check between (Param1) and (Param2).
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
This Event Will Not Trigger Again Until Repeat Timer Expires
</td>
</tr>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
6
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
EVENT_T_DEATH NONE
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
 
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
Expires on the NPC's Death. (This Triggers At The Moment The NPC Dies)
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
 
</td>
</tr>
<tr style="background-color:#3b3b3b;">
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
7
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
EVENT_T_EVADE NONE
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
 
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
Expires at the moment the Creature EnterEvadeMode() and Exits Combat.
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
 
</td>
</tr>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
8
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
EVENT_T_SPELLHIT
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
SpellID, School, RepeatMin, RepeatMax
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
Expires upon Spell Hit of the NPC. When (param1) is set, it is the specific Spell ID used as the trigger. With (param2) specified, the expiration is limited to specific spell schools (-1 for all) and Spell ID value is ignored.
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
Will repeat Event Conditions Check between every (Param3) and (Param4). Only A Spell ID or Spell School may be Specified but NOT both.
</td>
</tr>
<tr style="background-color:#3b3b3b;">
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
9
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
EVENT_T_RANGE
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
MinDist, MaxDist, RepeatMin, RepeatMax
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
Expires when the Highest Threat Target Distance is Greater than (Param1) and Less than (Param2).
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
Will repeat between every (Param3) and (Param4) if Event Conditions Are Still Met.
</td>
</tr>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
10
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
EVENT_T_OOC_LOS
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
NoHostile, MaxRange, RepeatMin, RepeatMax
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
Expires when a unit moves within distance (MaxAllowedRange) of the NPC. If (Param1) is 0 it will expire only when unit is hostile, If (Param1) is 1 it will expire only when unit is friendly.
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
This depends generally on faction relations. Will repeat every (Param3) and (Param4). Does NOT expire when the NPC is in combat.
</td>
</tr>
<tr style="background-color:#3b3b3b;">
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
11
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
EVENT_T_SPAWNED
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
Condition, CondValue1
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
Expires on initial spawn and respawn of the NPC (Useful for setting Ranged Movement/Summoning Pets/Applying Buffs).
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
 
</td>
</tr>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
12
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
EVENT_T_TARGET_HP
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
HPMax%, HPMin%, RepeatMin, RepeatMax
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
Expires when current target's HP% is between (Param1) and (Param2). Will repeat every (Param3) and (Param4)
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
If Event Conditions Are Still Met.
</td>
</tr>
<tr style="background-color:#3b3b3b;">
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
13
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
EVENT_T_TARGET_CASTING
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
RepeatMin, RepeatMax
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
Expires when the current target is casting a spell. Will repeat every (Param1) and (Param2)
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
If Event Conditions Are Still Met.
</td>
</tr>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
14
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
EVENT_T_FRIENDLY_HP
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
HPDeficit, Radius, RepeatMin, RepeatMax
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
Expires when a friendly unit in (Radius) has at least (Param1) HP points missing. Will repeat every (Param3) and (Param4)
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
If Event Conditions Are Still Met.
</td>
</tr>
<tr style="background-color:#3b3b3b;">
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
15
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
EVENT_T_FRIENDLY_IS_CC
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
DispelType, Radius, RepeatMin, RepeatMax
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
Expires when a friendly unit is crowd controlled within the given Radius (Param2). Will repeat every (Param3) and (Param4).
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
 
</td>
</tr>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
16
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
EVENT_T_FRIENDLY_MISSING_BUFF
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
SpellId, Radius, RepeatMin, RepeatMax
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
Expires when a friendly unit is missing aura(s) given by a spell (Param1) within Radius (Param2). Will repeat every (Param3) and (Param4) If Event Conditions Are Still Met.
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
 
</td>
</tr>
<tr style="background-color:#3b3b3b;">
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
17
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
EVENT_T_SUMMONED_UNIT
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
CreatureId, RepeatMin, RepeatMax
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
Expires after creature with entry = (Param1) is spawned (Param1 = 0 means all spawns).
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
Will repeat every (Param2) and (Param3).
</td>
</tr>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
18
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
EVENT_T_TARGET_MANA
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
ManaMax%, ManaMin%, RepeatMin, RepeatMax
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
Expires when current target's Mana% is between (Param1) and (Param2). Will repeat every (Param3) and (Param4)
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
If Event Conditions Are Still Met.
</td>
</tr>
<tr style="background-color:#3b3b3b;">
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
19
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
EVENT_T_QUEST_ACCEPT QuestID
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
 
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
 
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
 
</td>
</tr>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
20
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
EVENT_T_QUEST_COMPLETE
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
 
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
 
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
 
</td>
</tr>
<tr style="background-color:#3b3b3b;">
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
21
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
EVENT_T_REACHED_HOME
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
NONE
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
Expires when a creature reaches it's home (spawn) location after evade.
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
This is commonly used for NPC's who Stealth once reaching their Spawn Location
</td>
</tr>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
22
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
EVENT_T_RECEIVE_EMOTE
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
EmoteId, Condition, CondValue1, CondValue2
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
Expires when a creature receives an emote with emote text id ("enum TextEmotes" from SharedDefines.h in Mangos Source) in (Param1).
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
Conditions can be defined (Param2) with optional values (Param3,Param4), see (enum ConditionType) in ObjectMgr.h (Mangos Source).
</td>
</tr>
<tr style="background-color:#3b3b3b;">
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
23
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
EVENT_T_AURA
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
Param1 = SpellID, Param2 = Number of time stacked, Param3/4 Repeat Min/Max Expires when a creature has spell (Param1) auras applied in a stack greater or equal to value provided in (Param2).
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
Will repeat every (Param3) and (Param4)
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
If Event Conditions Are Still Met.
</td>
</tr>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
24
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
EVENT_T_TARGET_AURA
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
Param1 = SpellID, Param2 = Number of time stacked, Param3/4 Repeat Min/Max Expires when a target unit has spell (Param1) auras applied in a stack greater or equal to value provided in (Param2).
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
Will repeat every (Param3) and (Param4)
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
If Event Conditions Are Still Met.
</td>
</tr>
<tr style="background-color:#3b3b3b;">
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
25
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
EVENT_T_SUMMONED_JUST_DIED
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
CreatureId, RepeatMin, RepeatMax
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
Expires after creature with entry = (Param1) is die (Param1 = 0 means all spawns).
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
Will repeat every (Param2) and (Param3).
</td>
</tr>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
26
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
EVENT_T_SUMMONED_JUST_DESPAWN
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
CreatureId, RepeatMin, RepeatMax
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
Expires before creature with entry = (Param1) is despawn (Param1 = 0 means all spawns).
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
Will repeat every (Param2) and (Param3).
</td>
</tr>
<tr style="background-color:#3b3b3b;">
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
27
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
EVENT_T_MISSING_AURA
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
Param1 = SpellID, Param2 = Number of time stacked expected, Param3/4 Repeat Min/Max
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
Expires when a creature not has spell (Param1) auras applied in a stack greater or equal to value provided in (Param2).
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
Will repeat every (Param3) and (Param4).
</td>
</tr>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
28
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
EVENT_T_TARGET_MISSING_AURA
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
Param1 = SpellID, Param2 = Number of time stacked expected, Param3/4 Repeat Min/Max
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
Expires when a target unit not has spell (Param1) auras applied in a stack greater or equal to value provided in (Param2).
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
Will repeat every (Param3) and (Param4).
</td>
</tr>
<tr style="background-color:#3b3b3b;">
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
29
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
EVENT_T_TIMER_GENERIC
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
InitialMin, InitialMax, RepeatMin, RepeatMax
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
Expires at first between (Param1) and (Param2) and then will repeat between every (Param3) and (Param4).
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
 
</td>
</tr>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
30
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
EVENT_T_RECEIVE_AI_EVENT
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
AIEventType, Sender-Entry, unused, unused
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
Expires when the creature receives an AIEvent of type (Param1), sent by creature (Param2 != 0). If (Param2 = 0) then sent by any
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
 
</td>
</tr>
</tbody>
</table>
<br><br>Now that all of the supported events have been listed and described, we shall now move on to the actions that can be performed. Each event can take up to three actions. <br><br>The actions will all be performed when the event is triggered and they will be performed in the order that they have been defined. <br><br>This means that, for a certain event, <br><br>action 1 will be performed first, followed by action 2, then lastly by action 3. Just like event definitions, <br><br>Each action can use up to three different parameters but not all actions will use all three parameters. <br>If a parameter isn't mentioned for an action, then that action does not need that parameter.<br>



<p>
<a id="event_inverse_phase_mask" rel="internal" style="color:rgb(255,255,255);">
<span style="font-size:20px;">
event_inverse_phase_mask
</span></a>
 int(11)
</p>
<p>
This field allows to restrict the event occurences to certain EventAI phases. The EventAI script phases are changed with actions 22 and 23, see below. This mask contains 1 in the bits corresponding to the phases for which you DO NOT wish the event occuring.<br>The default value 0 means that the event may happen in any script phase. The value 1 will disable the event for the phase 0 while keeping it enabled for all other phases. The value 5 will disable the event for phases 0 and 2, and so on.
</p>


<p>
<a id="event_chance" rel="internal" style="color:rgb(255,255,255);">
<span style="font-size:20px;">
event_chance
</span></a>
 int(3) <abbr style="border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;" title="This field is unsigned, so it never accepts negative values">unsigned</abbr>
</p>
<p>
The percentage chance for this event to happen. Values have to be between 1 and 100.
</p>


<p>
<a id="event_flags" rel="internal" style="color:rgb(255,255,255);">
<span style="font-size:20px;">
event_flags
</span></a>
 int(3) <abbr style="border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;" title="This field is unsigned, so it never accepts negative values">unsigned</abbr>
</p>
<p>
Event flags allow you to modify how events are executed.<br><br></p><table align="center" border="1" cellpadding="1" cellspacing="1" style="width:100%;background-color:#2b2b2b;color:#c0c0c0;">
<thead>
<tr>
<th scope="col" style="border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:center;">
<b>Value</b>
</th>
<th scope="col" style="border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:center;">
<b>Type</b>
</th>
<th scope="col" style="border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:left;">
<b>Description</b>
</th>
</tr>
</thead>
<tbody>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
1
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
EFLAG_REPEATABLE
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
Event repeats (Does not repeat if this flag is not set)
</td>
</tr>
<tr style="background-color:#3b3b3b;">
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
2
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
EFLAG_RESERVED_1
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
Unused
</td>
</tr>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
4
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
EFLAG_RESERVED_2
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
Unused
</td>
</tr>
<tr style="background-color:#3b3b3b;">
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
8
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
EFLAG_RESERVED_3
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
Unused
</td>
</tr>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
16
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
EFLAG_RESERVED_4
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
Unused
</td>
</tr>
<tr style="background-color:#3b3b3b;">
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
32
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
EFLAG_RANDOM_ACTION
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
At event occur execute one random action from event actions instead all actions.
</td>
</tr>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
64
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
EFLAG_RESERVED_6
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
Unused
</td>
</tr>
<tr style="background-color:#3b3b3b;">
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
128
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
EFLAG_DEBUG_ONLY
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
Event only occurs in debug builds
</td>
</tr>
</tbody>
</table>




<p>
<a id="event_param1" rel="internal" style="color:rgb(255,255,255);">
<span style="font-size:20px;">
event_param1
</span></a>
 int(11)
</p>
<p>
Parameter Value 1 for the eventtype [<b>See <a href="https://www.getmangos.eu/wiki/referenceinfo/dbinfo/mangosdb/mangostwoworlddb/creature_ai_scripts-r5013#event_type" rel="">creature_ai_scripts.event_type</a></b>].
</p>


<p>
<a id="event_param2" rel="internal" style="color:rgb(255,255,255);">
<span style="font-size:20px;">
event_param2
</span></a>
 int(11)
</p>
<p>
Parameter Value 2 for the eventtype [<b>See <a href="https://www.getmangos.eu/wiki/referenceinfo/dbinfo/mangosdb/mangostwoworlddb/creature_ai_scripts-r5013#event_type" rel="">creature_ai_scripts.event_type</a></b>].
</p>


<p>
<a id="event_param3" rel="internal" style="color:rgb(255,255,255);">
<span style="font-size:20px;">
event_param3
</span></a>
 int(11)
</p>
<p>
Parameter Value 3 for the eventtype [<b>See <a href="https://www.getmangos.eu/wiki/referenceinfo/dbinfo/mangosdb/mangostwoworlddb/creature_ai_scripts-r5013#event_type" rel="">creature_ai_scripts.event_type</a></b>].
</p>


<p>
<a id="event_param4" rel="internal" style="color:rgb(255,255,255);">
<span style="font-size:20px;">
event_param4
</span></a>
 int(11)
</p>
<p>
Parameter Value 4 for the eventtype [<b>See <a href="https://www.getmangos.eu/wiki/referenceinfo/dbinfo/mangosdb/mangostwoworlddb/creature_ai_scripts-r5013#event_type" rel="">creature_ai_scripts.event_type</a></b>].
</p>


<p>
<a id="action1_type" rel="internal" style="color:rgb(255,255,255);">
<span style="font-size:20px;">
action1_type
</span></a>
 tinyint(5) <abbr style="border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;" title="This field is unsigned, so it never accepts negative values">unsigned</abbr>
</p>
<p>
The first actiontype<br><br><br>Before we start to list and explain the different actions that can be taken, we must first look at how the eventAI targeting system works. Due to technical reasons in how targetting is handled, the eventAI script cannot target anything or anyone that is not in its threat list or is not the scripted creature itself. It also can't currently target anyone specific in its threat list except by their position in the threat list. However, even then it can only target specifically the current victim, the second unit in its threat list, and the last unit in its threat list. It can also target units in its threat list at random and has two options for that: anyone in its threat list at random, or anyone in its threat list excluding the unit with the most threat. Aside from all of those external targets, the script can always target itself. More information on the target types can be found in the reference tables at the end of this guide.<br><br>One last note before we start looking at individual actions is about the texts. The eventAI script has support for localized text entries. Therefore, you can define what the mob will say in more than one language all in another table and the script will show the corresponding localized text to the corresponding client (english text to enUS/enGB clients, german text to deDE clients, etc). All of the localized text entries will have a unique text ID assigned to them and it is that text ID that will be used by any actions that require textual input.<br><br></p><table align="center" border="1" cellpadding="1" cellspacing="1" style="width:100%;background-color:#2b2b2b;color:#c0c0c0;">
<thead>
<tr>
<th scope="col" style="border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:center;">
<b>Action Type</b>
</th>
<th scope="col" style="border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:center;">
<b>Enum Name</b>
</th>
<th scope="col" style="border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:left;">
<b>Description</b>
</th>
<th scope="col" style="border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:left;">
<b>Parameters</b>
</th>
</tr>
</thead>
<tbody>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
0
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
ACTION_T_NONE
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
Does nothing!
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
 
</td>
</tr>
<tr style="background-color:#3b3b3b;">
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
1
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
ACTION_T_SAY
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
Displays the -TextId as defined. In case -TextId2 and optionally -TextId3, the output will be randomized. Type text are defined in the eventai_texts table (say, yell, whisper, etc) along with other options for the text. All values are required to be negative.
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
Parameter 1: The entry of the text that the NPC should use from eventai_texts table. Optionally a entry from other tables can be used (such as custom_texts are required to be negative and exist in a *_texts-table. The type text to be displayed are defined in the texts-table itself (Say, Yell, Whisper, Emote Text, Boss Whisper, Boss Emote)Other options are also to be defined in the texts-table, such as a sound to be heard with the text and the language used in output (common, dwarvish, etc).In case this entry has a localized version of the text, the localized text will be displayed in client that support this locale.<br><br>Parameter 2: Optional. TextId can be defined in addition. The same apply to this as explained above, however eventAI will randomize between the two.<br><br>Parameter 3: Optional, if Parameter 2 exist. In this case, eventAI will randomize between three.
</td>
</tr>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
2
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
ACTION_T_YELL
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
UNUSED
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
 
</td>
</tr>
<tr style="background-color:#3b3b3b;">
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
3
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
ACTION_T_TEXTEMOTE
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
UNUSED
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
 
</td>
</tr>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
4
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
ACTION_T_SOUND
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
When activated, the creature will play the specified sound.
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
Parameter 1: The sound ID to be played. Sound IDs are contained in the DBC files.
</td>
</tr>
<tr style="background-color:#3b3b3b;">
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
5
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
ACTION_T_EMOTE
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
When activated, the creature will perform a visual emote. Unlike a text emote, a visual emote is one where the creature will actually move or perform a gesture.
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
Parameter 1: The emote ID that the creature should perform. Emote IDs are also contained in the DBC but they can be found in the mangos source as well.
</td>
</tr>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
6
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
ACTION_T_RANDOM_SAY
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
UNUSED
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
 
</td>
</tr>
<tr style="background-color:#3b3b3b;">
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
7
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
ACTION_T_RANDOM_YELL
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
UNUSED
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
 
</td>
</tr>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
8
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
ACTION_T_RANDOM_TEXTEMOTE
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
UNUSED
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
 
</td>
</tr>
<tr style="background-color:#3b3b3b;">
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
9
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
ACTION_T_RANDOM_SOUND
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
Similar to the ACTION_T_SOUND action, when this action is activated, it will choose at random a sound to play. This action needs all three parameters to be filled and it will pick a random entry from the three. Note: (1)
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
Parameter 1: The sound ID to be played as choice one.<br><br>Parameter 2: The sound ID to be played as choice two.<br><br>Parameter 3: The sound ID to be played as choice three.
</td>
</tr>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
10
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
ACTION_T_RANDOM_EMOTE
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
Similar to the ACTION_T_EMOTE action, when this action is activated, it will choose at random an emote ID to emote visually. This action needs all three parameters to be filled and it will pick a random entry from the three. Note: (1)
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
Parameter 1: The emote ID that the creature should perform as choice one.<br><br>Parameter 2: The emote ID that the creature should perform as choice two.<br><br>Parameter 3: The emote ID that the creature should perform as choice three.
</td>
</tr>
<tr style="background-color:#3b3b3b;">
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
11
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
ACTION_T_CAST
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
When activated, the creature will cast a spell specified by a spell ID on a target specified by the target type.
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
Parameter 1: The spell ID to use for the cast. The value used in this field needs to be a valid spell ID.<br><br>Parameter 2: The target type defining who the creature should cast on. The value in this field needs to be a valid target type as specified in the reference tables below.<br><br>Parameter 3: See spell flags. If it is 1, then the spell cast will interrupt any spells that are already in the progress of being casted; otherwise if the creature is already casting a spell and this field is 0, then this action will be skipped.
</td>
</tr>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
12
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
ACTION_T_SUMMON
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
When activated, the creature will summon another creature at the same spot as itself that will attack the specified target.
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
Parameter 1: The creature template ID to be summoned. The value here needs to be a valid creature template ID.<br><br>Parameter 2: The target type defining who the summoned creature will attack. The value in this field needs to be a valid target type as specified in the reference tables below. Note: Using target type 0 will cause the summoned creature to not attack anyone.<br><br>Parameter 3: The duration until the summoned creature should be unsummoned. The value in this field is in milliseconds or 0. If zero, then the creature will not be unsummoned until it leaves combat, but only works with t_type !=0.
</td>
</tr>
<tr style="background-color:#3b3b3b;">
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
13
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
ACTION_T_THREAT_SINGLE_PCT
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
When activated, this action will modify the threat of a target in the creatureâ?Ts threat list by the specified percent.
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
Parameter 1: Threat percent that should be modified. The value in this field can range from -100 to +100. If it is negative, threat will be taken away and if positive, threat will be added.<br><br>Parameter 2: The target type defining on whom the threat change should occur. The value in this field needs to be a valid target type as specified in the reference tables below.
</td>
</tr>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
14
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
ACTION_T_THREAT_ALL_PCT
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
When activated, this action will modify the threat for everyone in the creatureâ?Ts threat list by the specified percent.
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
Parameter 1: The percent that should be used in modifying everyoneâ?Ts threat in the creatureâ?Ts threat list. The value here can range from -100 to +100. Note: Using -100 will cause the creature to reset everyoneâ?Ts threat to 0 so that everyone has the same amount of threat. It does NOT make any changes as to who is in the threat list.
</td>
</tr>
<tr style="background-color:#3b3b3b;">
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
15
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
ACTION_T_QUEST_EVENT
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
When activated, this action will satisfy the external completion requirement for the quest for the specified target defined by the target type. This action can only be used with player targets so it must be ensured that the target type will point to a player.
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
Parameter 1: The quest template ID. The value here must be a valid quest template ID. Furthermore, the quest should have SpecialFlags  | 2 as it would need to be completed by an external event which is the activation of this action.<br><br>Parameter 2: The target type defining whom the quest should be completed for. The value in this field needs to be a valid target type as specified in the reference tables below.
</td>
</tr>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
16
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
ACTION_T_CASTCREATUREGO
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
When activated, this action will call CastedCreatureOrGO() function for the player. It can be used to give quest credit for casting a spell on the creature.
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
Parameter 1: The quest template ID. The value here must be a valid quest template ID.<br><br>Parameter 2: The spell ID to use to simulate the cast. The value used in this field needs to be a valid spell ID.<br><br>Parameter 3: The target type defining whom the quest credit should be given to. The value in this field needs to be a valid target type as specified in the reference tables below.
</td>
</tr>
<tr style="background-color:#3b3b3b;">
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
17
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
ACTION_T_SET_UNIT_FIELD
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
When activated, this action can change the targetâ?Ts unit field values. More information on the field value indeces can be found at character data data.
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
Parameter 1: The index of the field number to be changed. Use character data data for a list of indeces and what they control. Note that a creature shares the same indeces with a player except for the PLAYER_* ones.<br><br>Parameter 2: The new value to be put in the field.<br><br>Parameter 3: The target type defining for whom the unit field should be changed. The value in this field needs to be a valid target type as specified in the reference tables below.
</td>
</tr>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
18
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
ACTION_T_SET_UNIT_FLAG
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
When activated, this action changes the targetâ?Ts flags by adding (turning on) more flags. For example, this action can make the creature unattackable/unselectable if the right flags are used.
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
Parameter 1: The flag(s) to be set. Multiple flags can be set by using bitwise-OR on them (adding them together).<br><br>Parameter 2: The target type defining for whom the flags should be changed. The value in this field needs to be a valid target type as specified in the reference tables below.
</td>
</tr>
<tr style="background-color:#3b3b3b;">
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
19
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
ACTION_T_REMOVE_UNIT_FLAG
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
When activated, this action changes the targetâ?Ts flags by removing (turning off) flags. For example, this action can make the creature normal after it was unattackable/unselectable if the right flags are used.
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
Parameter 1: The flag(s) to be removed. Multiple flags can be set by using bitwise-OR on them (adding them together).<br><br>Parameter 2: The target type defining for whom the flags should be changed. The value in this field needs to be a valid target type as specified in the reference tables below.
</td>
</tr>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
20
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
ACTION_T_AUTO_ATTACK
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
This action controls whether or not the creature should stop or start the auto melee attack.
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
Parameter 1: If zero, then the creature will stop its melee attacks. If non-zero, then the creature will either continue its melee attacks (the action would then have no effect) or it will start its melee attacks on the target with the top threat if its melee attacks were previously stopped.
</td>
</tr>
<tr style="background-color:#3b3b3b;">
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
21
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
ACTION_T_COMBAT_MOVEMENT
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
This action controls whether or not the creature will always move towards its target.
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
Parameter 1: If zero, then the creature will stop moving towards its victim (if its victim gets out of melee range) and will be stationary. If non-zero, then the creature will either continue to follow its victim (the action would have no effect) or it will start to follow the target with the top threat if its movement was disabled before.
</td>
</tr>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
22
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
ACTION_T_SET_PHASE
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
When activated, this action sets the creatureâ?Ts event to the specified value.
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
Parameter 1: The new phase to set the creature in. This number must be an integer between 0 and 31 inclusive.
</td>
</tr>
<tr style="background-color:#3b3b3b;">
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
23
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
ACTION_T_INC_PHASE
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
When activated, this action will increase (or decrease) the current creatureâ?Ts phase.
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
Parameter 1: The number of phases to increase or decrease. Use negative values to decrease the current phase. After increasing or decreasing the phase by this action, the current phase must not be lower than 0 or exceed 31.
</td>
</tr>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
24
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
ACTION_T_EVADE
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
When activated, the creature will immediately exit out of combat, clear its threat list, and move back to its spawn point. Basically, this action will reset the whole encounter.
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
 
</td>
</tr>
<tr style="background-color:#3b3b3b;">
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
25
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
ACTION_T_FLEE
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
When activated, the creature will try to flee from combat. Currently this is done by it casting a fear-like spell on itself called "Run Away".
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
 
</td>
</tr>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
26
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
ACTION_T_QUEST_EVENT_ALL
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
This action does the same thing as the ACTION_T_QUEST_EVENT does but it does it for all players in the creatureâ?Ts threat list. Note that if a player is not in its threat list for whatever reason, he/she wonâ?Tt get the quest completed.
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
Parameter 1: The quest ID to finish for everyone.
</td>
</tr>
<tr style="background-color:#3b3b3b;">
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
27
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
ACTION_T_CASTCREATUREGO_ALL
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
This action does the same thing as the ACTION_T_CASTCREATUREGO does but it does it for all players in the creatureâ?Ts threat list. Note that if a player is not in its threat list for whatever reason, he/she wonâ?Tt receive the cast emulation.
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
Parameter 1: The quest template ID.<br><br>Parameter 2: The spell ID used to simulate the cast.
</td>
</tr>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
28
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
ACTION_T_REMOVEAURASFROMSPELL
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
This action will remove all auras from a specific spell from the target.
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
Parameter 1: The target type defining for whom the unit field should be changed. The value in this field needs to be a valid target type as specified in the reference tables below.<br><br>Parameter 2: The spell ID whose auras will be removed.
</td>
</tr>
<tr style="background-color:#3b3b3b;">
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
29
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
ACTION_T_RANGED_MOVEMENT
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
This action changes the movement type generator to ranged type using the specified values for angle and distance. Note that specifying zero angle and distance will make it just melee instead.
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
Parameter 1: The distance the mob should keep between it and its target.<br><br>Parameter 2: The angle the mob should use.
</td>
</tr>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
30
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
ACTION_T_RANDOM_PHASE
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
Randomly sets the phase to one from the three parameter choices. Note: (1)
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
Parameter 1: A possible random phase choice.<br><br>Parameter 2: A possible random phase choice.<br><br>Parameter 3: A possible random phase choice.
</td>
</tr>
<tr style="background-color:#3b3b3b;">
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
31
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
ACTION_T_RANDOM_PHASE_RANGE
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
Randomly sets the phase between a range of phases controlled by the parameters.
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
Parameter 1: The minimum of the phase range.<br><br>Parameter 2: The maximum of the phase range. The number here must be greater than the one in parameter 1.
</td>
</tr>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
32
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
ACTION_T_SUMMON
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
Summons a creature using the data specified in the separate summons table.
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
Parameter 1: The creature template ID to be summoned. The value here needs to be a valid creature template ID.<br><br>Parameter 2: The target type defining who the summoned creature will attack. The value in this field needs to be a valid target type as specified in the reference tables below. Note: Using target type 0 will cause the summoned creature to not attack anyone.<br><br>Parameter 3: The summon ID from the eventai_summons table controlling the position (and spawntime) where the summoned mob should be spawned at.
</td>
</tr>
<tr style="background-color:#3b3b3b;">
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
33
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
ACTION_T_KILLED_MONSTER
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
When activated, this action will call KilledMonster() function for the player. It can be used to give creature credit for killing a creature (note that it can be ANY creature including certain quest specific triggers). In general if the quest is set to be accompished on different creatures (e.g. "Credit" templates).
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
Parameter 1: The creature template ID. The value here must be a valid creature template ID.<br><br>Parameter 2: The target type defining whom the quest kill count should be given to. The value in this field needs to be a valid target type as specified in the reference tables below.
</td>
</tr>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
34
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
ACTION_T_SET_INST_DATA
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
Sets data for the instance. Note that this will only work when the creature is inside an instantiable zone that has a valid script (ScriptedInstance) assigned.
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
Parameter 1: The field to change in the instance script. Again, this field needs to be a valid field that has been already defined in the instanceâ?Ts script.<br><br>Parameter 2: The value to put at that field index. The number here must be a valid 32 bit number.
</td>
</tr>
<tr style="background-color:#3b3b3b;">
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
35
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
ACTION_T_SET_INST_DATA64
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
Sets GUID (64 bits) data for the instance based on the target. Note that this will only work when the creature is inside an instantiable zone that has a valid script (ScriptedInstance) assigned.
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
Parameter 1: The field to change in the instance script. Again, this field needs to be a valid field that has been already defined in the instanceâ?Ts script.<br><br>Parameter 2: The target type to use to get the GUID that will be stored at the field index. The value in this field needs to be a valid target type as specified in the reference tables below.
</td>
</tr>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
36
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
ACTION_T_UPDATE_TEMPLATE
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
This function temporarily changes creature entry to new entry, display is changed, loot is changed, but AI is not changed. At respawn creature will be reverted to original entry.
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
Parameter 1: The creature template ID. The value here must be a valid creature template ID.<br><br>Parameter 2: Use model_id from team: Alliance(0) or Horde (1).
</td>
</tr>
<tr style="background-color:#3b3b3b;">
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
37
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
ACTION_T_DIE
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
Kills the creature
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
 
</td>
</tr>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
38
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
ACTION_T_ZONE_COMBAT_PULSE
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
Places all players within the instance into combat with the creature. Only works in combat and only works inside of instances.
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
 
</td>
</tr>
<tr style="background-color:#3b3b3b;">
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
39
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
ACTION_T_CALL_FOR_HELP
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
Call any friendly creatures (if its not in combat/etc) in radius attack creature target.
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
Parameter 1: Radius from creature.
</td>
</tr>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
40
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
ACTION_T_SET_SHEATH
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
Let set sheath state for creature (0-no weapon show (not used mostly by creatures), 1-melee weapon show, 2-ranged weapon show)
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
Parameter 1: Sheath state of the creature.
</td>
</tr>
<tr style="background-color:#3b3b3b;">
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
41
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
ACTION_T_FORCE_DESPAWN
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
Despawns the creature.
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
Parameter 1: Despawn delay.
</td>
</tr>
</tbody>
</table>




<p>
<a id="action1_param1" rel="internal" style="color:rgb(255,255,255);">
<span style="font-size:20px;">
action1_param1
</span></a>
 int(11)
</p>
<p>
Parameter 1 of the action1_type [<b>See <a href="https://www.getmangos.eu/wiki/referenceinfo/dbinfo/mangosdb/mangostwoworlddb/creature_ai_scripts-r5013#action1_type" rel="">creature_ai_scripts.action1_type</a></b>]
</p>


<p>
<a id="action1_param2" rel="internal" style="color:rgb(255,255,255);">
<span style="font-size:20px;">
action1_param2
</span></a>
 int(11)
</p>
<p>
Parameter 2 of the action1_type [<b>See <a href="https://www.getmangos.eu/wiki/referenceinfo/dbinfo/mangosdb/mangostwoworlddb/creature_ai_scripts-r5013#action1_type" rel="">creature_ai_scripts.action1_type</a></b>]
</p>


<p>
<a id="action1_param3" rel="internal" style="color:rgb(255,255,255);">
<span style="font-size:20px;">
action1_param3
</span></a>
 int(11)
</p>
<p>
Parameter 3 of the action1_type [<b>See <a href="https://www.getmangos.eu/wiki/referenceinfo/dbinfo/mangosdb/mangostwoworlddb/creature_ai_scripts-r5013#action1_type" rel="">creature_ai_scripts.action1_type</a></b>]
</p>


<p>
<a id="action2_type" rel="internal" style="color:rgb(255,255,255);">
<span style="font-size:20px;">
action2_type
</span></a>
 tinyint(5) <abbr style="border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;" title="This field is unsigned, so it never accepts negative values">unsigned</abbr>
</p>
<p>
The Second actiontype [<b>See <a href="https://www.getmangos.eu/wiki/referenceinfo/dbinfo/mangosdb/mangostwoworlddb/creature_ai_scripts-r5013#action2_type" rel="">creature_ai_scripts.action2_type</a></b>]<br><br>Possible target types<br></p><table align="center" border="1" cellpadding="1" cellspacing="1" style="width:100%;background-color:#2b2b2b;color:#c0c0c0;">
<thead>
<tr>
<th scope="col" style="border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:center;">
<b>Value</b>
</th>
<th scope="col" style="border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:center;">
<b>Type</b>
</th>
<th scope="col" style="border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:left;">
<b>Description</b>
</th>
</tr>
</thead>
<tbody>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
0
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
TARGET_T_SELF
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
self cast
</td>
</tr>
<tr style="background-color:#3b3b3b;">
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
1
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
TARGET_T_HOSTILE
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
Our current target (ie: top aggro)
</td>
</tr>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
2
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
TARGET_T_HOSTILE_SECOND_AGGRO
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
Second highest aggro, usually offtank (generaly used for cleaves and some special attacks)
</td>
</tr>
<tr style="background-color:#3b3b3b;">
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
3
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
TARGET_T_HOSTILE_LAST_AGGRO
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
Bottom aggro target (these are healers usually)
</td>
</tr>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
4
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
TARGET_T_HOSTILE_RANDOM
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
Just any random target on our threat list
</td>
</tr>
<tr style="background-color:#3b3b3b;">
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
5
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
TARGET_T_HOSTILE_RANDOM_NOT_TOP
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
Any random target except top aggro
</td>
</tr>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
6
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
TARGET_T_ACTION_INVOKER
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
Unit who caused this Event to occur (only works for EVENT_T_AGGRO, EVENT_T_KILL, EVENT_T_DEATH, EVENT_T_SPELLHIT, EVENT_T_OOC_LOS, EVENT_T_FRIENDLY_HP, EVENT_T_FRIENDLY_IS_CC, EVENT_T_FRIENDLY_MISSING_BUFF, EVENT_T_RECEIVE_EMOTE, EVENT_T_RECEIVE_AI_EVENT)
</td>
</tr>
<tr style="background-color:#3b3b3b;">
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
7
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
TARGET_T_ACTION_INVOKER_OWNER
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
Unit owning the one responsible for Event to occur, for example, the hunter which pet triggered the event (only works for EVENT_T_AGGRO, EVENT_T_KILL, EVENT_T_DEATH, EVENT_T_SPELLHIT, EVENT_T_OOC_LOS, EVENT_T_FRIENDLY_HP, EVENT_T_FRIENDLY_IS_CC, EVENT_T_FRIENDLY_MISSING_BUFF, EVENT_T_RECEIVE_EMOTE, EVENT_T_RECEIVE_AI_EVENT)
</td>
</tr>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
8
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
TARGET_T_HOSTILE_RANDOM_PLAYER
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
Just any random player on our threat list
</td>
</tr>
<tr style="background-color:#3b3b3b;">
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
9
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
TARGET_T_HOSTILE_RANDOM_NOT_TOP_PLAYER
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
Any random player from threat list except top aggro (ie except main tank)
</td>
</tr>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
10
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
TARGET_T_EVENT_SENDER
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
Unit who sent an AIEvent that was received with EVENT_T_RECEIVE_AI_EVENT
</td>
</tr>
</tbody>
</table>




<p>
<a id="action2_param1" rel="internal" style="color:rgb(255,255,255);">
<span style="font-size:20px;">
action2_param1
</span></a>
 int(11)
</p>
<p>
Parameter 1 of action2_type [<b>See <a href="https://www.getmangos.eu/wiki/referenceinfo/dbinfo/mangosdb/mangostwoworlddb/creature_ai_scripts-r5013#action2_type" rel="">creature_ai_scripts.action2_type</a></b>]
</p>


<p>
<a id="action2_param2" rel="internal" style="color:rgb(255,255,255);">
<span style="font-size:20px;">
action2_param2
</span></a>
 int(11)
</p>
<p>
Parameter 2 of action2_type [<b>See <a href="https://www.getmangos.eu/wiki/referenceinfo/dbinfo/mangosdb/mangostwoworlddb/creature_ai_scripts-r5013#action2_type" rel="">creature_ai_scripts.action2_type</a></b>]
</p>


<p>
<a id="action2_param3" rel="internal" style="color:rgb(255,255,255);">
<span style="font-size:20px;">
action2_param3
</span></a>
 int(11)
</p>
<p>
Parameter 3 of action2_type [<b>See <a href="https://www.getmangos.eu/wiki/referenceinfo/dbinfo/mangosdb/mangostwoworlddb/creature_ai_scripts-r5013#action2_type" rel="">creature_ai_scripts.action2_type</a></b>]
</p>


<p>
<a id="action3_type" rel="internal" style="color:rgb(255,255,255);">
<span style="font-size:20px;">
action3_type
</span></a>
 tinyint(5) <abbr style="border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;" title="This field is unsigned, so it never accepts negative values">unsigned</abbr>
</p>
<p>
The Third actiontype [<b>See <a href="https://www.getmangos.eu/wiki/referenceinfo/dbinfo/mangosdb/mangostwoworlddb/creature_ai_scripts-r5013#action3_type" rel="">creature_ai_scripts.action3_type</a></b>]
</p>


<p>
<a id="action3_param1" rel="internal" style="color:rgb(255,255,255);">
<span style="font-size:20px;">
action3_param1
</span></a>
 int(11)
</p>
<p>
Parameter 1 of action3_type [<b>See <a href="https://www.getmangos.eu/wiki/referenceinfo/dbinfo/mangosdb/mangostwoworlddb/creature_ai_scripts-r5013#action3_type" rel="">creature_ai_scripts.action3_type</a></b>]
</p>


<p>
<a id="action3_param2" rel="internal" style="color:rgb(255,255,255);">
<span style="font-size:20px;">
action3_param2
</span></a>
 int(11)
</p>
<p>
Parameter 2 of action3_type [<b>See <a href="https://www.getmangos.eu/wiki/referenceinfo/dbinfo/mangosdb/mangostwoworlddb/creature_ai_scripts-r5013#action3_type" rel="">creature_ai_scripts.action3_type</a></b>]
</p>


<p>
<a id="action3_param3" rel="internal" style="color:rgb(255,255,255);">
<span style="font-size:20px;">
action3_param3
</span></a>
 int(11)
</p>
<p>
Parameter 3 of action3_type [<b>See <a href="https://www.getmangos.eu/wiki/referenceinfo/dbinfo/mangosdb/mangostwoworlddb/creature_ai_scripts-r5013#action3_type" rel="">creature_ai_scripts.action3_type</a></b>]
</p>


<p>
<a id="comment" rel="internal" style="color:rgb(255,255,255);">
<span style="font-size:20px;">
comment
</span></a>
 varchar(255)
</p>
<p>
Documents what an event script is supposed to do. It has been defined that comments should use the form: 'Creature/GameObject name - Cast Spellname'.
</p>



<br>
<p>
auto-generated by the <a href="https://getmangos.eu">getMaNGOS.eu</a> MAGNET dbdocs module
</p>
]]></description><guid isPermaLink="false">5013</guid><pubDate>Mon, 25 Jul 2016 08:57:22 +0000</pubDate></item><item><title>creature_ai_summons</title><link>https://www.getmangos.eu/wiki/referenceinfo/dbinfo/mangosdb/mangostwoworlddb/creature_ai_summons-r5014/</link><description><![CDATA[<table bgcolor="#a80000" border="2" cellpadding="0" cellspacing="0" width="100%">
<tbody>
<tr>
<td height="20">
<font color="#ffe97f" size="3"> <strong>NOTE:</strong>  This page is auto-generated from the MAGNET DBDocs module,<br>             Any changes made directly to this page will be lost when it is regenerated.</font>
</td>
</tr>
</tbody>
</table>
<h2 style="font-size:24px;color:rgb(180,255,255);">
Description of the  'creature_ai_summons' table for MaNGOSTwo
</h2>

<p>This table is used to provide NPC support for an event using action 32 = ACTION_T_SUMMON as one of its Actions</p>

<p style="font-size:18px;color:rgb(255,255,180);">
<strong>Table Notes</strong>
</p>
<p>This table uses the 'MyISAM' DB Engine</p>


<p style="font-size:18px;color:rgb(255,255,180);">
<strong>The Field definitions follow:</strong>
</p>
<table align="center" border="1" cellpadding="1" cellspacing="1" style="width:100%;background-color:#2b2b2b;color:#c0c0c0;">
<thead><tr>
<th scope="col" style="border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:center;">
<b>Field Name</b>
</th>
<th scope="col" style="border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:center;">
<b>Field Type</b>
</th>
<th scope="col" style="border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:center;">
<b>Nullable</b>
</th>
<th scope="col" style="border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:center;">
<b>Key</b>
</th>
<th scope="col" style="border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:center;">
<b>Default Value</b>
</th>
<th scope="col" style="border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:center;">
<b>Attributes</b>
</th>
<th scope="col" style="border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:left;">
<b>Notes</b>
</th>
</tr>
</thead>
<tbody>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
<a href="#id" rel="internal" style="color:rgb(180,255,255);">id</a>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
int(11) <abbr style="border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;" title="This field is unsigned, so it never accepts negative values">unsigned</abbr>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
NO
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
<abbr style="border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;" title="Primary Key">PRI</abbr>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
NULL
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
'auto_increment'
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:left;">
This references the third action parameter in the Creature_ai_scripts.
</td>
</tr>
<tr style="background-color:#3b3b3b;">
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
<a href="#position_x" rel="internal" style="color:rgb(180,255,255);">position_x</a>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
float
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
NO
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">

</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
'0'
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
 
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:left;">
The X position for the creature to be spawned.
</td>
</tr>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
<a href="#position_y" rel="internal" style="color:rgb(180,255,255);">position_y</a>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
float
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
NO
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">

</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
'0'
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
 
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:left;">
The Y position for the creature to be spawned.
</td>
</tr>
<tr style="background-color:#3b3b3b;">
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
<a href="#position_z" rel="internal" style="color:rgb(180,255,255);">position_z</a>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
float
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
NO
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">

</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
'0'
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
 
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:left;">
The Z position for the creature to be spawned.
</td>
</tr>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
<a href="#orientation" rel="internal" style="color:rgb(180,255,255);">orientation</a>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
float
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
NO
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">

</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
'0'
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
 
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:left;">
The orientation for the creature to be spawned.
</td>
</tr>
<tr style="background-color:#3b3b3b;">
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
<a href="#spawntimesecs" rel="internal" style="color:rgb(180,255,255);">spawntimesecs</a>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
int(11) <abbr style="border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;" title="This field is unsigned, so it never accepts negative values">unsigned</abbr>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
NO
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">

</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
'120'
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
 
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:left;">
The despawn timer for the summoned creature.
</td>
</tr>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
<a href="#comment" rel="internal" style="color:rgb(180,255,255);">comment</a>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
varchar(255)
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
NO
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">

</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
{Blank String}
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
 
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:left;">
Documents what kind of creature will be summoned.
</td>
</tr>
</tbody>
</table>
<p style="font-size:20px;color:rgb(255,255,180);">
<strong>Description of the fields</strong>
</p>
<p>
<a id="id" rel="internal" style="color:rgb(255,255,255);">
<span style="font-size:20px;">
id
</span></a>
 int(11) <abbr style="border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;" title="This field is unsigned, so it never accepts negative values">unsigned</abbr>
</p>
<p>
This references the third action parameter in the Creature_ai_scripts table entry [<b>See <a href="https://www.getmangos.eu/wiki/referenceinfo/dbinfo/mangosdb/mangostwoworlddb/creature_ai_scripts-r5013#entry" rel="">creature_ai_scripts.entry</a></b>] with a summon action assigned.
</p>


<p>
<a id="position_x" rel="internal" style="color:rgb(255,255,255);">
<span style="font-size:20px;">
position_x
</span></a>
 float
</p>
<p>
The X position for the creature to be spawned.
</p>


<p>
<a id="position_y" rel="internal" style="color:rgb(255,255,255);">
<span style="font-size:20px;">
position_y
</span></a>
 float
</p>
<p>
The Y position for the creature to be spawned.
</p>


<p>
<a id="position_z" rel="internal" style="color:rgb(255,255,255);">
<span style="font-size:20px;">
position_z
</span></a>
 float
</p>
<p>
The Z position for the creature to be spawned.
</p>


<p>
<a id="orientation" rel="internal" style="color:rgb(255,255,255);">
<span style="font-size:20px;">
orientation
</span></a>
 float
</p>
<p>
The orientation for the creature to be spawned.
</p>


<p>
<a id="spawntimesecs" rel="internal" style="color:rgb(255,255,255);">
<span style="font-size:20px;">
spawntimesecs
</span></a>
 int(11) <abbr style="border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;" title="This field is unsigned, so it never accepts negative values">unsigned</abbr>
</p>
<p>
The despawn timer for the summoned creature.
</p>


<p>
<a id="comment" rel="internal" style="color:rgb(255,255,255);">
<span style="font-size:20px;">
comment
</span></a>
 varchar(255)
</p>
<p>
Documents what kind of creature will be summoned. Currently it is common to use the summoned creature's Creature Template Entry value [<b>See <a href="https://www.getmangos.eu/wiki/referenceinfo/dbinfo/mangosdb/mangostwoworlddb/creature_template-r5028#entry" rel="">creature_template.entry</a></b>] to describe what is summoned.
</p>



<br>
<p>
auto-generated by the <a href="https://getmangos.eu">getMaNGOS.eu</a> MAGNET dbdocs module
</p>
]]></description><guid isPermaLink="false">5014</guid><pubDate>Mon, 25 Jul 2016 08:57:23 +0000</pubDate></item><item><title>creature_ai_texts</title><link>https://www.getmangos.eu/wiki/referenceinfo/dbinfo/mangosdb/mangostwoworlddb/creature_ai_texts-r5015/</link><description><![CDATA[<table bgcolor="#a80000" border="2" cellpadding="0" cellspacing="0" width="100%">
<tbody>
<tr>
<td height="20">
<font color="#ffe97f" size="3"> <strong>NOTE:</strong>  This page is auto-generated from the MAGNET DBDocs module,<br>             Any changes made directly to this page will be lost when it is regenerated.</font>
</td>
</tr>
</tbody>
</table>
<h2 style="font-size:24px;color:rgb(180,255,255);">
Description of the  'creature_ai_texts' table for MaNGOSTwo
</h2>

<p>This table holds all the texts used within the eventai (ACID) scripts. This table handles the actual text, display type (say/yell/emote) and corresponding sounds or emote (if any).</p>

<p style="font-size:18px;color:rgb(255,255,180);">
<strong>Table Notes</strong>
</p>
<p>This table uses the 'MyISAM' DB Engine</p>


<p style="font-size:18px;color:rgb(255,255,180);">
<strong>The Field definitions follow:</strong>
</p>
<table align="center" border="1" cellpadding="1" cellspacing="1" style="width:100%;background-color:#2b2b2b;color:#c0c0c0;">
<thead><tr>
<th scope="col" style="border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:center;">
<b>Field Name</b>
</th>
<th scope="col" style="border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:center;">
<b>Field Type</b>
</th>
<th scope="col" style="border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:center;">
<b>Nullable</b>
</th>
<th scope="col" style="border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:center;">
<b>Key</b>
</th>
<th scope="col" style="border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:center;">
<b>Default Value</b>
</th>
<th scope="col" style="border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:center;">
<b>Attributes</b>
</th>
<th scope="col" style="border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:left;">
<b>Notes</b>
</th>
</tr>
</thead>
<tbody>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
<a href="#entry" rel="internal" style="color:rgb(180,255,255);">entry</a>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
mediumint(8)
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
NO
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
<abbr style="border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;" title="Primary Key">PRI</abbr>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
NULL
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
 
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:left;">
This references a script using an action of the type ACTION_T_TEXT.
</td>
</tr>
<tr style="background-color:#3b3b3b;">
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
<a href="#content_default" rel="internal" style="color:rgb(180,255,255);">content_default</a>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
text
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
NO
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">

</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
NULL
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
 
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:left;">
Contains the text presented in the default language English.
</td>
</tr>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
<a href="#content_loc1" rel="internal" style="color:rgb(180,255,255);">content_loc1</a>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
text
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
YES
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">

</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
NULL
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
 
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:left;">
Korean localization of content_default.
</td>
</tr>
<tr style="background-color:#3b3b3b;">
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
<a href="#content_loc2" rel="internal" style="color:rgb(180,255,255);">content_loc2</a>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
text
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
YES
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">

</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
NULL
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
 
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:left;">
French localization of content_default.
</td>
</tr>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
<a href="#content_loc3" rel="internal" style="color:rgb(180,255,255);">content_loc3</a>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
text
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
YES
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">

</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
NULL
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
 
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:left;">
German localization of content_default.
</td>
</tr>
<tr style="background-color:#3b3b3b;">
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
<a href="#content_loc4" rel="internal" style="color:rgb(180,255,255);">content_loc4</a>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
text
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
YES
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">

</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
NULL
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
 
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:left;">
Chinese localization of content_default.
</td>
</tr>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
<a href="#content_loc5" rel="internal" style="color:rgb(180,255,255);">content_loc5</a>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
text
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
YES
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">

</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
NULL
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
 
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:left;">
Taiwanese localization of content_default.
</td>
</tr>
<tr style="background-color:#3b3b3b;">
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
<a href="#content_loc6" rel="internal" style="color:rgb(180,255,255);">content_loc6</a>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
text
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
YES
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">

</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
NULL
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
 
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:left;">
Spanish (Spain) localization of content_default
</td>
</tr>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
<a href="#content_loc7" rel="internal" style="color:rgb(180,255,255);">content_loc7</a>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
text
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
YES
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">

</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
NULL
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
 
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:left;">
Spanish (Latin America) localization of content_default
</td>
</tr>
<tr style="background-color:#3b3b3b;">
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
<a href="#content_loc8" rel="internal" style="color:rgb(180,255,255);">content_loc8</a>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
text
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
YES
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">

</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
NULL
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
 
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:left;">
Russian localization of content_default
</td>
</tr>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
<a href="#sound" rel="internal" style="color:rgb(180,255,255);">sound</a>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
mediumint(8) <abbr style="border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;" title="This field is unsigned, so it never accepts negative values">unsigned</abbr>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
NO
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">

</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
'0'
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
 
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:left;">
A sound identifier.
</td>
</tr>
<tr style="background-color:#3b3b3b;">
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
<a href="#type" rel="internal" style="color:rgb(180,255,255);">type</a>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
tinyint(3) <abbr style="border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;" title="This field is unsigned, so it never accepts negative values">unsigned</abbr>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
NO
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">

</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
'0'
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
 
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:left;">
The type of message to display.
</td>
</tr>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
<a href="#language" rel="internal" style="color:rgb(180,255,255);">language</a>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
tinyint(3) <abbr style="border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;" title="This field is unsigned, so it never accepts negative values">unsigned</abbr>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
NO
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">

</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
'0'
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
 
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:left;">
A language identifier.
</td>
</tr>
<tr style="background-color:#3b3b3b;">
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
<a href="#emote" rel="internal" style="color:rgb(180,255,255);">emote</a>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
smallint(5) <abbr style="border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;" title="This field is unsigned, so it never accepts negative values">unsigned</abbr>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
NO
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">

</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
'0'
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
 
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:left;">
Emote ID that the creature should continually perform.
</td>
</tr>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
<a href="#comment" rel="internal" style="color:rgb(180,255,255);">comment</a>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
text
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
YES
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">

</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
NULL
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
 
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:left;">
This documents the creature text.
</td>
</tr>
</tbody>
</table>
<p style="font-size:20px;color:rgb(255,255,180);">
<strong>Description of the fields</strong>
</p>
<p>
<a id="entry" rel="internal" style="color:rgb(255,255,255);">
<span style="font-size:20px;">
entry
</span></a>
 mediumint(8)
</p>
<p>
This references a script using an action of the type ACTION_T_TEXT in the Creature AI Scripts tables entry [<b>See <a href="https://www.getmangos.eu/wiki/referenceinfo/dbinfo/mangosdb/mangostwoworlddb/creature_ai_scripts-r5013" rel="">creature_ai_scripts</a></b>].<br><br><b>Note:</b><br>IDs use the negative versions of the referenced action's ID.
</p>


<p>
<a id="content_default" rel="internal" style="color:rgb(255,255,255);">
<span style="font-size:20px;">
content_default
</span></a>
 text
</p>
<p>
Contains the text presented in the default language English. Strings may contain special variables which are replaced with creature or character data. The following table lists available variables.
</p><table align="center" border="1" cellpadding="1" cellspacing="1" style="width:100%;background-color:#2b2b2b;color:#c0c0c0;">
<thead>
<tr>
<th scope="col" style="border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:center;">
<b>Value</b>
</th>
<th scope="col" style="border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:left;">
<b>Description</b>
</th>
</tr>
</thead>
<tbody>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
%s
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
Creature name
</td>
</tr>
<tr style="background-color:#3b3b3b;">
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
$n
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
Character name
</td>
</tr>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
$r
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
Character race
</td>
</tr>
<tr style="background-color:#3b3b3b;">
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
$c
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
Character class
</td>
</tr>
</tbody>
</table>




<p>
<a id="content_loc1" rel="internal" style="color:rgb(255,255,255);">
<span style="font-size:20px;">
content_loc1
</span></a>
 text
</p>
<p>
Korean localization of content_default
</p>


<p>
<a id="content_loc2" rel="internal" style="color:rgb(255,255,255);">
<span style="font-size:20px;">
content_loc2
</span></a>
 text
</p>
<p>
French localization of content_default
</p>


<p>
<a id="content_loc3" rel="internal" style="color:rgb(255,255,255);">
<span style="font-size:20px;">
content_loc3
</span></a>
 text
</p>
<p>
German localization of content_default
</p>


<p>
<a id="content_loc4" rel="internal" style="color:rgb(255,255,255);">
<span style="font-size:20px;">
content_loc4
</span></a>
 text
</p>
<p>
Chinese localization of content_default
</p>


<p>
<a id="content_loc5" rel="internal" style="color:rgb(255,255,255);">
<span style="font-size:20px;">
content_loc5
</span></a>
 text
</p>
<p>
Taiwanese localization of content_default
</p>


<p>
<a id="content_loc6" rel="internal" style="color:rgb(255,255,255);">
<span style="font-size:20px;">
content_loc6
</span></a>
 text
</p>
<p>
Spanish (Spain) localization of content_default
</p>


<p>
<a id="content_loc7" rel="internal" style="color:rgb(255,255,255);">
<span style="font-size:20px;">
content_loc7
</span></a>
 text
</p>
<p>
Spanish (Latin America) localization of content_default
</p>


<p>
<a id="content_loc8" rel="internal" style="color:rgb(255,255,255);">
<span style="font-size:20px;">
content_loc8
</span></a>
 text
</p>
<p>
Russian localization of content_default
</p>


<p>
<a id="sound" rel="internal" style="color:rgb(255,255,255);">
<span style="font-size:20px;">
sound
</span></a>
 mediumint(8) <abbr style="border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;" title="This field is unsigned, so it never accepts negative values">unsigned</abbr>
</p>
<p>
A sound identifier. The value has to match with a sound identifier [<b>See <a href="https://www.getmangos.eu/wiki/" rel="">SoundEntries.dbc</a></b>].
</p>


<p>
<a id="type" rel="internal" style="color:rgb(255,255,255);">
<span style="font-size:20px;">
type
</span></a>
 tinyint(3) <abbr style="border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;" title="This field is unsigned, so it never accepts negative values">unsigned</abbr>
</p>
<p>
The type of message to display. The following table lists all valid types.

</p><table border="1" cellspacing="1" cellpadding="3" bgcolor="#f0f0f0">
<tr bgcolor="#f0f0ff">
<th><b>Value</b></th>
<th align="left"><b>Description</b></th>
</tr><tr bgcolor="#FFFFEE"><td align="center" valign="middle">0</td><td align="left" valign="middle">Say</td></tr>
<tr bgcolor="#FEFEFF"><td align="center" valign="middle">1</td><td align="left" valign="middle">Yell</td></tr>
<tr bgcolor="#FFFFEE"><td align="center" valign="middle">2</td><td align="left" valign="middle">Text emote</td></tr>
<tr bgcolor="#FEFEFF"><td align="center" valign="middle">3</td><td align="left" valign="middle">Boss emote</td></tr>
<tr bgcolor="#FFFFEE"><td align="center" valign="middle">4</td><td align="left" valign="middle">Whisper</td></tr>
<tr bgcolor="#FEFEFF"><td align="center" valign="middle">5</td><td align="left" valign="middle">Boss whisper</td></tr>
</table>



<p>
<a id="language" rel="internal" style="color:rgb(255,255,255);">
<span style="font-size:20px;">
language
</span></a>
 tinyint(3) <abbr style="border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;" title="This field is unsigned, so it never accepts negative values">unsigned</abbr>
</p>
<p>
A language identifier. The value has to match with a language identifier [<b>See <a href="https://www.getmangos.eu/wiki/" rel="">Languages.dbc</a></b>].
</p>


<p>
<a id="emote" rel="internal" style="color:rgb(255,255,255);">
<span style="font-size:20px;">
emote
</span></a>
 smallint(5) <abbr style="border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;" title="This field is unsigned, so it never accepts negative values">unsigned</abbr>
</p>
<p>
Emote ID that the creature should continually perform.<br>
<br>
List of often used emote IDs and what they do ie. 65 Makes the creature look dead by lying on the ground.
</p><table align="center" border="1" cellpadding="1" cellspacing="1" style="width:100%;background-color:#2b2b2b;color:#c0c0c0;">
<thead>
<tr>
<th scope="col" style="border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:center;">
<b>Value</b>
</th>
<th scope="col" style="border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:left;">
<b>Emote Name</b>
</th>
</tr>
</thead>
<tbody>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
10
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
EMOTE_STATE_DANCE
</td>
</tr>
<tr style="background-color:#3b3b3b;">
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
12
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
EMOTE_STATE_SLEEP
</td>
</tr>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
13
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
EMOTE_STATE_SIT
</td>
</tr>
<tr style="background-color:#3b3b3b;">
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
26
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
EMOTE_STATE_STAND
</td>
</tr>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
28
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
EMOTE_STATE_WORK
</td>
</tr>
<tr style="background-color:#3b3b3b;">
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
64
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
EMOTE_STATE_STUN
</td>
</tr>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
64
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
EMOTE_STATE_DEAD
</td>
</tr>
<tr style="background-color:#3b3b3b;">
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
68
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
EMOTE_STATE_KNEEL
</td>
</tr>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
70
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
EMOTE_ONESHOT_WAVE_NOSHEATHE
</td>
</tr>
<tr style="background-color:#3b3b3b;">
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
71
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
EMOTE_ONESHOT_CHEER_NOSHEATHE
</td>
</tr>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
92
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
EMOTE_ONESHOT_EAT_NOSHEATHE
</td>
</tr>
<tr style="background-color:#3b3b3b;">
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
173
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
EMOTE_STATE_WORK_NOSHEATHE
</td>
</tr>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
379
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
EMOTE_STATE_FISHING
</td>
</tr>
<tr style="background-color:#3b3b3b;">
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
380
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
EMOTE_ONESHOT_FISHING
</td>
</tr>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
381
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
EMOTE_ONESHOT_LOOT
</td>
</tr>
<tr style="background-color:#3b3b3b;">
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
382
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
EMOTE_STATE_WHIRLWIND
</td>
</tr>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
392
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
EMOTE_STATE_LAUGH
</td>
</tr>
<tr style="background-color:#3b3b3b;">
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
398
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
EMOTE_STATE_CANNIBALIZE
</td>
</tr>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
400
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
EMOTE_STATE_DANCESPECIAL
</td>
</tr>
<tr style="background-color:#3b3b3b;">
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
412
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
EMOTE_STATE_EXCLAIM
</td>
</tr>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
415
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
EMOTE_STATE_SIT_CHAIR_MED
</td>
</tr>
</tbody>
</table>




<p>
<a id="comment" rel="internal" style="color:rgb(255,255,255);">
<span style="font-size:20px;">
comment
</span></a>
 text
</p>
<p>
This documents the creature text. Currently there are no hard or fast rules for the format of the comment. 
It should help identifying who and why does perform the emote.
</p>



<br>
<p>
auto-generated by the <a href="https://getmangos.eu">getMaNGOS.eu</a> MAGNET dbdocs module
</p>
]]></description><guid isPermaLink="false">5015</guid><pubDate>Mon, 25 Jul 2016 08:57:23 +0000</pubDate></item><item><title>creature_battleground</title><link>https://www.getmangos.eu/wiki/referenceinfo/dbinfo/mangosdb/mangostwoworlddb/creature_battleground-r5016/</link><description><![CDATA[<table bgcolor="#a80000" border="2" cellpadding="0" cellspacing="0" width="100%">
<tbody>
<tr>
<td height="20">
<font color="#ffe97f" size="3"> <strong>NOTE:</strong>  This page is auto-generated from the MAGNET DBDocs module,<br>             Any changes made directly to this page will be lost when it is regenerated.</font>
</td>
</tr>
</tbody>
</table>
<h2 style="font-size:24px;color:rgb(180,255,255);">
Description of the  'creature_battleground' table for MaNGOSTwo
</h2>

<p>This table contains the description of creatures spawned on battlegrounds.</p>

<p style="font-size:18px;color:rgb(255,255,180);">
<strong>Table Notes</strong>
</p>
<p>This table uses the 'InnoDB' DB Engine</p>


<p style="font-size:18px;color:rgb(255,255,180);">
<strong>The Field definitions follow:</strong>
</p>
<table align="center" border="1" cellpadding="1" cellspacing="1" style="width:100%;background-color:#2b2b2b;color:#c0c0c0;">
<thead><tr>
<th scope="col" style="border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:center;">
<b>Field Name</b>
</th>
<th scope="col" style="border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:center;">
<b>Field Type</b>
</th>
<th scope="col" style="border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:center;">
<b>Nullable</b>
</th>
<th scope="col" style="border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:center;">
<b>Key</b>
</th>
<th scope="col" style="border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:center;">
<b>Default Value</b>
</th>
<th scope="col" style="border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:center;">
<b>Attributes</b>
</th>
<th scope="col" style="border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:left;">
<b>Notes</b>
</th>
</tr>
</thead>
<tbody>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
<a href="#guid" rel="internal" style="color:rgb(180,255,255);">guid</a>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
int(10) <abbr style="border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;" title="This field is unsigned, so it never accepts negative values">unsigned</abbr>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
NO
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
<abbr style="border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;" title="Primary Key">PRI</abbr>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
NULL
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
 
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:left;">
A unique identifier given to each creature to distinguish them from each other.
</td>
</tr>
<tr style="background-color:#3b3b3b;">
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
<a href="#event1" rel="internal" style="color:rgb(180,255,255);">event1</a>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
tinyint(3) <abbr style="border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;" title="This field is unsigned, so it never accepts negative values">unsigned</abbr>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
NO
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">

</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
NULL
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
 
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:left;">
Main Event.
</td>
</tr>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
<a href="#event2" rel="internal" style="color:rgb(180,255,255);">event2</a>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
tinyint(3) <abbr style="border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;" title="This field is unsigned, so it never accepts negative values">unsigned</abbr>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
NO
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">

</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
NULL
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
 
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:left;">
Sub Event.
</td>
</tr>
</tbody>
</table>
<p style="font-size:20px;color:rgb(255,255,180);">
<strong>Description of the fields</strong>
</p>
<p>
<a id="guid" rel="internal" style="color:rgb(255,255,255);">
<span style="font-size:20px;">
guid
</span></a>
 int(10) <abbr style="border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;" title="This field is unsigned, so it never accepts negative values">unsigned</abbr>
</p>
<p>
A unique identifier given to each creature to distinguish one creature from another. Two creatures can NOT have same GUID. This GUID is linked to the creature-table.
</p>


<p>
<a id="event1" rel="internal" style="color:rgb(255,255,255);">
<span style="font-size:20px;">
event1
</span></a>
 tinyint(3) <abbr style="border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;" title="This field is unsigned, so it never accepts negative values">unsigned</abbr>
</p>
<p>
The identifier for the event node in the battleground. Event nodes usually are defined in the battleground's script.<br><br>Nodes are locations in a battleground where characters of each faction can perform actions, such as capturing a tower in Alterac Valley, or taking control over the stables in Arathi Basin.
</p>


<p>
<a id="event2" rel="internal" style="color:rgb(255,255,255);">
<span style="font-size:20px;">
event2
</span></a>
 tinyint(3) <abbr style="border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;" title="This field is unsigned, so it never accepts negative values">unsigned</abbr>
</p>
<p>
The state of the event node. Node status is defined differently in every battleground script.<br><br>Node events can occur for every node and usually describe changes due to character interaction. E.g. if stables in Arathi Basin are taken over by Alliance, the stables note state would become Alliance controlled. Similar node states exist for every battleground note.<br><br></p><hr><br><b>Note</b><br><br>If you update battleground scripts and make changes to node status values ensure that you provide database update scripts which update the battleground events accordingly.<br>




<br>
<p>
auto-generated by the <a href="https://getmangos.eu">getMaNGOS.eu</a> MAGNET dbdocs module
</p>
]]></description><guid isPermaLink="false">5016</guid><pubDate>Mon, 25 Jul 2016 08:57:23 +0000</pubDate></item><item><title>creature_equip_template</title><link>https://www.getmangos.eu/wiki/referenceinfo/dbinfo/mangosdb/mangostwoworlddb/creature_equip_template-r5017/</link><description><![CDATA[<table bgcolor="#a80000" border="2" cellpadding="0" cellspacing="0" width="100%">
<tbody>
<tr>
<td height="20">
<font color="#ffe97f" size="3"> <strong>NOTE:</strong>  This page is auto-generated from the MAGNET DBDocs module,<br>             Any changes made directly to this page will be lost when it is regenerated.</font>
</td>
</tr>
</tbody>
</table>
<h2 style="font-size:24px;color:rgb(180,255,255);">
Description of the  'creature_equip_template' table for MaNGOSTwo
</h2>

<p>This table contains all equipment creatures should wear.</p>

<p style="font-size:18px;color:rgb(255,255,180);">
<strong>Table Notes</strong>
</p>
<p>This table uses the 'InnoDB' DB Engine</p>


<p style="font-size:18px;color:rgb(255,255,180);">
<strong>The Field definitions follow:</strong>
</p>
<table align="center" border="1" cellpadding="1" cellspacing="1" style="width:100%;background-color:#2b2b2b;color:#c0c0c0;">
<thead><tr>
<th scope="col" style="border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:center;">
<b>Field Name</b>
</th>
<th scope="col" style="border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:center;">
<b>Field Type</b>
</th>
<th scope="col" style="border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:center;">
<b>Nullable</b>
</th>
<th scope="col" style="border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:center;">
<b>Key</b>
</th>
<th scope="col" style="border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:center;">
<b>Default Value</b>
</th>
<th scope="col" style="border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:center;">
<b>Attributes</b>
</th>
<th scope="col" style="border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:left;">
<b>Notes</b>
</th>
</tr>
</thead>
<tbody>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
<a href="#entry" rel="internal" style="color:rgb(180,255,255);">entry</a>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
mediumint(8) <abbr style="border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;" title="This field is unsigned, so it never accepts negative values">unsigned</abbr>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
NO
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
<abbr style="border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;" title="Primary Key">PRI</abbr>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
'0'
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
 
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:left;">
Unique Id of the equipment, no link with any official data.
</td>
</tr>
<tr style="background-color:#3b3b3b;">
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
<a href="#equipentry1" rel="internal" style="color:rgb(180,255,255);">equipentry1</a>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
mediumint(8) <abbr style="border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;" title="This field is unsigned, so it never accepts negative values">unsigned</abbr>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
NO
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">

</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
'0'
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
 
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:left;">
This is the item of the equipment used in the right hand [<b>See <a href="https://www.getmangos.eu/wiki/" rel="">Item.dbc</a></b>].
</td>
</tr>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
<a href="#equipentry2" rel="internal" style="color:rgb(180,255,255);">equipentry2</a>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
mediumint(8) <abbr style="border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;" title="This field is unsigned, so it never accepts negative values">unsigned</abbr>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
NO
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">

</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
'0'
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
 
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:left;">
This is the item of the equipment used in the left hand [<b>See <a href="https://www.getmangos.eu/wiki/" rel="">Item.dbc</a></b>].
</td>
</tr>
<tr style="background-color:#3b3b3b;">
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
<a href="#equipentry3" rel="internal" style="color:rgb(180,255,255);">equipentry3</a>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
mediumint(8) <abbr style="border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;" title="This field is unsigned, so it never accepts negative values">unsigned</abbr>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
NO
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">

</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
'0'
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
 
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:left;">
This is the item of the equipment used in the distance slot [<b>See <a href="https://www.getmangos.eu/wiki/" rel="">Item.dbc</a></b>].
</td>
</tr>
</tbody>
</table>
<p style="font-size:20px;color:rgb(255,255,180);">
<strong>Description of the fields</strong>
</p>
<p>
<a id="entry" rel="internal" style="color:rgb(255,255,255);">
<span style="font-size:20px;">
entry
</span></a>
 mediumint(8) <abbr style="border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;" title="This field is unsigned, so it never accepts negative values">unsigned</abbr>
</p>
<p>
Unique Id of the equipment, no link with any official data.
</p>


<p>
<a id="equipentry1" rel="internal" style="color:rgb(255,255,255);">
<span style="font-size:20px;">
equipentry1
</span></a>
 mediumint(8) <abbr style="border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;" title="This field is unsigned, so it never accepts negative values">unsigned</abbr>
</p>
<p>
This is the item of the equipment used in the right hand [<b>See <a href="https://www.getmangos.eu/wiki/" rel="">Item.dbc</a></b>].
</p>


<p>
<a id="equipentry2" rel="internal" style="color:rgb(255,255,255);">
<span style="font-size:20px;">
equipentry2
</span></a>
 mediumint(8) <abbr style="border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;" title="This field is unsigned, so it never accepts negative values">unsigned</abbr>
</p>
<p>
This is the item of the equipment used in the left hand [<b>See <a href="https://www.getmangos.eu/wiki/" rel="">Item.dbc</a></b>].
</p>


<p>
<a id="equipentry3" rel="internal" style="color:rgb(255,255,255);">
<span style="font-size:20px;">
equipentry3
</span></a>
 mediumint(8) <abbr style="border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;" title="This field is unsigned, so it never accepts negative values">unsigned</abbr>
</p>
<p>
This is the item of the equipment used in the distance slot [<b>See <a href="https://www.getmangos.eu/wiki/" rel="">Item.dbc</a></b>].
</p>



<br>
<p>
auto-generated by the <a href="https://getmangos.eu">getMaNGOS.eu</a> MAGNET dbdocs module
</p>
]]></description><guid isPermaLink="false">5017</guid><pubDate>Mon, 25 Jul 2016 08:57:24 +0000</pubDate></item><item><title>creature_linking</title><link>https://www.getmangos.eu/wiki/referenceinfo/dbinfo/mangosdb/mangostwoworlddb/creature_linking-r5019/</link><description><![CDATA[<table bgcolor="#a80000" border="2" cellpadding="0" cellspacing="0" width="100%">
<tbody>
<tr>
<td height="20">
<font color="#ffe97f" size="3"> <strong>NOTE:</strong>  This page is auto-generated from the MAGNET DBDocs module,<br>             Any changes made directly to this page will be lost when it is regenerated.</font>
</td>
</tr>
</tbody>
</table>
<h2 style="font-size:24px;color:rgb(180,255,255);">
Description of the  'creature_linking' table for MaNGOSTwo
</h2>

<p>This table holds details of how creatures linked to a master creature should act in combat and non-combat situations.</p>

<p style="font-size:18px;color:rgb(255,255,180);">
<strong>Table Notes</strong>
</p>
<p>This table uses the 'InnoDB' DB Engine</p>


<p style="font-size:18px;color:rgb(255,255,180);">
<strong>The Field definitions follow:</strong>
</p>
<table align="center" border="1" cellpadding="1" cellspacing="1" style="width:100%;background-color:#2b2b2b;color:#c0c0c0;">
<thead><tr>
<th scope="col" style="border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:center;">
<b>Field Name</b>
</th>
<th scope="col" style="border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:center;">
<b>Field Type</b>
</th>
<th scope="col" style="border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:center;">
<b>Nullable</b>
</th>
<th scope="col" style="border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:center;">
<b>Key</b>
</th>
<th scope="col" style="border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:center;">
<b>Default Value</b>
</th>
<th scope="col" style="border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:center;">
<b>Attributes</b>
</th>
<th scope="col" style="border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:left;">
<b>Notes</b>
</th>
</tr>
</thead>
<tbody>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
<a href="#guid" rel="internal" style="color:rgb(180,255,255);">guid</a>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
int(10) <abbr style="border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;" title="This field is unsigned, so it never accepts negative values">unsigned</abbr>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
NO
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
<abbr style="border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;" title="Primary Key">PRI</abbr>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
NULL
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
 
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:left;">
This references the "creature" table tables unique ID.
</td>
</tr>
<tr style="background-color:#3b3b3b;">
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
<a href="#master_guid" rel="internal" style="color:rgb(180,255,255);">master_guid</a>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
int(10) <abbr style="border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;" title="This field is unsigned, so it never accepts negative values">unsigned</abbr>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
NO
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">

</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
NULL
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
 
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:left;">
This references the "creature" table tables unique ID.
</td>
</tr>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
<a href="#flag" rel="internal" style="color:rgb(180,255,255);">flag</a>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
mediumint(8) <abbr style="border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;" title="This field is unsigned, so it never accepts negative values">unsigned</abbr>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
NO
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">

</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
NULL
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
 
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:left;">
This flag determines how a linked creature will act.
</td>
</tr>
</tbody>
</table>
<p style="font-size:20px;color:rgb(255,255,180);">
<strong>Description of the fields</strong>
</p>
<p>
<a id="guid" rel="internal" style="color:rgb(255,255,255);">
<span style="font-size:20px;">
guid
</span></a>
 int(10) <abbr style="border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;" title="This field is unsigned, so it never accepts negative values">unsigned</abbr>
</p>
<p>
This references the "creature" table tables unique ID for which the entry is valid [<b>See <a href="https://www.getmangos.eu/wiki/referenceinfo/dbinfo/mangosdb/mangostwoworlddb/creature-r5011#entry" rel="">creature.entry</a></b>]. 
<br>This is a creature spawn bound to the master creature.
</p>


<p>
<a id="master_guid" rel="internal" style="color:rgb(255,255,255);">
<span style="font-size:20px;">
master_guid
</span></a>
 int(10) <abbr style="border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;" title="This field is unsigned, so it never accepts negative values">unsigned</abbr>
</p>
<p>
This references the "creature" table tables unique ID for which the entry is valid [<b>See <a href="https://www.getmangos.eu/wiki/referenceinfo/dbinfo/mangosdb/mangostwoworlddb/creature-r5011#entry" rel="">creature.entry</a></b>].
<br>This is the master creature which defines behaviour for the linked creature.
</p>


<p>
<a id="flag" rel="internal" style="color:rgb(255,255,255);">
<span style="font-size:20px;">
flag
</span></a>
 mediumint(8) <abbr style="border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;" title="This field is unsigned, so it never accepts negative values">unsigned</abbr>
</p>
<p>
This flag determines how a linked creature will act, when the master is changing it's combat state. <br>Flags provide support for combat state, non combat state and life state.<br><br>The following flags determine the behaviour if the master is in combat state.<br><br></p><table align="center" border="1" cellpadding="1" cellspacing="1" style="width:100%;background-color:#2b2b2b;color:#c0c0c0;">
<thead>
<tr>
<th scope="col" style="border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:center;">
<b>Value</b>
</th>
<th scope="col" style="border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:center;">
<b>Hex</b>
</th>
<th scope="col" style="border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:center;">
<b>FlagName</b>
</th>
<th scope="col" style="border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:left;">
<b>Description</b>
</th>
</tr>
</thead>
<tbody>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
1
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
0x1
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
FLAG_AGGRO_ON_AGGRO
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
The "slave" aggroes when the "master" aggroes
</td>
</tr>
<tr style="background-color:#3b3b3b;">
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
2
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
0x2
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
FLAG_TO_AGGRO_ON_AGGRO
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
The master aggroes when the slave aggroes
</td>
</tr>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
4
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
0x4
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
FLAG_RESPAWN_ON_EVADE
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
The slave respawns when the master evades
</td>
</tr>
<tr style="background-color:#3b3b3b;">
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
8
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
0x8
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
FLAG_TO_RESPAWN_ON_EVADE
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
the master respawns when the slave evades
</td>
</tr>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
16
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
0x10
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
FLAG_DESPAWN_ON_DEATH
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
the slave despawns when the master dies
</td>
</tr>
<tr style="background-color:#3b3b3b;">
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
32
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
0x20
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
FLAG_SELFKILL_ON_DEATH
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
the slave goes suicide when the master dies
</td>
</tr>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
64
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
0x40
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
FLAG_RESPAWN_ON_DEATH
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
the slave respawn when the master dies
</td>
</tr>
<tr style="background-color:#3b3b3b;">
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
128
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
0x80
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
FLAG_RESPAWN_ON_RESPAWN
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
the slave respawns on master respawn
</td>
</tr>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
256
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
0x100
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
FLAG_DESPAWN_ON_RESPAWN
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
the slave despawns on master respawn (TODO: check for slave != master)
</td>
</tr>
<tr style="background-color:#3b3b3b;">
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
512
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
0x200
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
FLAG_FOLLOW
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
the slave follows the master, very basic, see TODO notes in commit, or post below
</td>
</tr>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
1024
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
0x400
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
FLAG_CANT_SPAWN_IF_BOSS_DEAD
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
the slave cannot respawn while boss is dead
</td>
</tr>
<tr style="background-color:#3b3b3b;">
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
2048
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
0x800
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
FLAG_CANT_SPAWN_IF_BOSS_ALIVE
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
the slave cannot respawn while boss is alive
</td>
</tr>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
4096
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
0x1000
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
FLAG_DESPAWN_ON_EVADE
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
the slave despawn after the master evade
</td>
</tr>
<tr style="background-color:#3b3b3b;">
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
8192
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
0x2000
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
FLAG_DESPAWN_ON_DESPAWN
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
the slave despawn after the master despawns
</td>
</tr>
</tbody>
</table>
<br><br>




<br>
<p>
auto-generated by the <a href="https://getmangos.eu">getMaNGOS.eu</a> MAGNET dbdocs module
</p>
]]></description><guid isPermaLink="false">5019</guid><pubDate>Mon, 25 Jul 2016 08:57:24 +0000</pubDate></item><item><title>creature_linking_template</title><link>https://www.getmangos.eu/wiki/referenceinfo/dbinfo/mangosdb/mangostwoworlddb/creature_linking_template-r5020/</link><description><![CDATA[<table bgcolor="#a80000" border="2" cellpadding="0" cellspacing="0" width="100%">
<tbody>
<tr>
<td height="20">
<font color="#ffe97f" size="3"> <strong>NOTE:</strong>  This page is auto-generated from the MAGNET DBDocs module,<br>             Any changes made directly to this page will be lost when it is regenerated.</font>
</td>
</tr>
</tbody>
</table>
<h2 style="font-size:24px;color:rgb(180,255,255);">
Description of the  'creature_linking_template' table for MaNGOSTwo
</h2>

<p>This table holds details on how creature templates linked to a master creature template should act in combat and non-combat situations.</p>

<p style="font-size:18px;color:rgb(255,255,180);">
<strong>Table Notes</strong>
</p>
<p>This table uses the 'InnoDB' DB Engine</p>


<p style="font-size:18px;color:rgb(255,255,180);">
<strong>The Field definitions follow:</strong>
</p>
<table align="center" border="1" cellpadding="1" cellspacing="1" style="width:100%;background-color:#2b2b2b;color:#c0c0c0;">
<thead><tr>
<th scope="col" style="border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:center;">
<b>Field Name</b>
</th>
<th scope="col" style="border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:center;">
<b>Field Type</b>
</th>
<th scope="col" style="border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:center;">
<b>Nullable</b>
</th>
<th scope="col" style="border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:center;">
<b>Key</b>
</th>
<th scope="col" style="border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:center;">
<b>Default Value</b>
</th>
<th scope="col" style="border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:center;">
<b>Attributes</b>
</th>
<th scope="col" style="border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:left;">
<b>Notes</b>
</th>
</tr>
</thead>
<tbody>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
<a href="#entry" rel="internal" style="color:rgb(180,255,255);">entry</a>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
mediumint(8) <abbr style="border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;" title="This field is unsigned, so it never accepts negative values">unsigned</abbr>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
NO
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
<abbr style="border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;" title="Primary Key">PRI</abbr>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
'0'
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
 
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:left;">
creature_template.entry of the slave mob that is linked.
</td>
</tr>
<tr style="background-color:#3b3b3b;">
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
<a href="#map" rel="internal" style="color:rgb(180,255,255);">map</a>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
smallint(5) <abbr style="border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;" title="This field is unsigned, so it never accepts negative values">unsigned</abbr>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
NO
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
<abbr style="border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;" title="Primary Key">PRI</abbr>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
'0'
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
 
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:left;">
A map identifier
</td>
</tr>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
<a href="#master_entry" rel="internal" style="color:rgb(180,255,255);">master_entry</a>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
mediumint(8) <abbr style="border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;" title="This field is unsigned, so it never accepts negative values">unsigned</abbr>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
NO
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">

</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
'0'
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
 
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:left;">
master entry to trigger events
</td>
</tr>
<tr style="background-color:#3b3b3b;">
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
<a href="#flag" rel="internal" style="color:rgb(180,255,255);">flag</a>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
mediumint(8) <abbr style="border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;" title="This field is unsigned, so it never accepts negative values">unsigned</abbr>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
NO
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">

</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
'0'
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
 
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:left;">
This flag determines how a linked creature will act.
</td>
</tr>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
<a href="#search_range" rel="internal" style="color:rgb(180,255,255);">search_range</a>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
mediumint(8) <abbr style="border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;" title="This field is unsigned, so it never accepts negative values">unsigned</abbr>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
NO
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">

</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
'0'
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
 
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:left;">
IF given != 0 only mobs with spawn-dist 
</td></tr>
</tbody>
</table>
<p style="font-size:20px;color:rgb(255,255,180);">
<strong>Description of the fields</strong>
</p>
<p>
<a id="entry" rel="internal" style="color:rgb(255,255,255);">
<span style="font-size:20px;">
entry
</span></a>
 mediumint(8) <abbr style="border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;" title="This field is unsigned, so it never accepts negative values">unsigned</abbr>
</p>
<p>
creature_template.entry of the slave mob that is linked [<b>See <a href="https://www.getmangos.eu/wiki/referenceinfo/dbinfo/mangosdb/mangostwoworlddb/creature_template-r5028#entry" rel="">creature_template.entry</a></b>].
</p>


<p>
<a id="map" rel="internal" style="color:rgb(255,255,255);">
<span style="font-size:20px;">
map
</span></a>
 smallint(5) <abbr style="border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;" title="This field is unsigned, so it never accepts negative values">unsigned</abbr>
</p>
<p>
A map identifier. The value has to match with a map identifier [<b>See <a href="https://www.getmangos.eu/wiki/" rel="">Map.dbc</a></b>]. This is the map where creature templates are located.
</p>


<p>
<a id="master_entry" rel="internal" style="color:rgb(255,255,255);">
<span style="font-size:20px;">
master_entry
</span></a>
 mediumint(8) <abbr style="border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;" title="This field is unsigned, so it never accepts negative values">unsigned</abbr>
</p>
<p>
This is a  unique ID for which the entry is valid [<b>See <a href="https://www.getmangos.eu/wiki/" rel="">"creature_template" table</a></b>].<br><br>This is the master creature template which defines behaviour for the linked creature template.
</p>


<p>
<a id="flag" rel="internal" style="color:rgb(255,255,255);">
<span style="font-size:20px;">
flag
</span></a>
 mediumint(8) <abbr style="border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;" title="This field is unsigned, so it never accepts negative values">unsigned</abbr>
</p>
<p>
This flag determines how a linked creature will act, when the master is changing it's combat state. Flags provide support for combat state, non combat state and life state.<br><br>The following flags determine the behaviour if the master is in combat state.<br><br></p><table align="center" border="1" cellpadding="1" cellspacing="1" style="width:100%;background-color:#2b2b2b;color:#c0c0c0;">
<thead>
<tr>
<th scope="col" style="border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:center;">
<b>Value</b>
</th>
<th scope="col" style="border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:center;">
<b>Hex</b>
</th>
<th scope="col" style="border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:center;">
<b>FlagName</b>
</th>
<th scope="col" style="border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:left;">
<b>Description</b>
</th>
</tr>
</thead>
<tbody>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
1
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
0x1
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
FLAG_AGGRO_ON_AGGRO
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
The "slave" aggroes when the "master" aggroes
</td>
</tr>
<tr style="background-color:#3b3b3b;">
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
2
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
0x2
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
FLAG_TO_AGGRO_ON_AGGRO
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
The master aggroes when the slave aggroes
</td>
</tr>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
4
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
0x4
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
FLAG_RESPAWN_ON_EVADE
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
The slave respawns when the master evades
</td>
</tr>
<tr style="background-color:#3b3b3b;">
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
8
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
0x8
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
FLAG_TO_RESPAWN_ON_EVADE
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
the master respawns when the slave evades
</td>
</tr>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
16
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
0x10
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
FLAG_DESPAWN_ON_DEATH
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
the slave despawns when the master dies
</td>
</tr>
<tr style="background-color:#3b3b3b;">
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
32
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
0x20
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
FLAG_SELFKILL_ON_DEATH
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
the slave goes suicide when the master dies
</td>
</tr>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
64
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
0x40
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
FLAG_RESPAWN_ON_DEATH
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
the slave respawn when the master dies
</td>
</tr>
<tr style="background-color:#3b3b3b;">
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
128
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
0x80
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
FLAG_RESPAWN_ON_RESPAWN
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
the slave respawns on master respawn
</td>
</tr>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
256
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
0x100
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
FLAG_DESPAWN_ON_RESPAWN
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
the slave despawns on master respawn (TODO: check for slave != master)
</td>
</tr>
<tr style="background-color:#3b3b3b;">
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
512
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
0x200
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
FLAG_FOLLOW
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
the slave follows the master, very basic, see TODO notes in commit, or post below
</td>
</tr>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
1024
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
0x400
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
FLAG_CANT_SPAWN_IF_BOSS_DEAD
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
the slave cannot respawn while boss is dead
</td>
</tr>
<tr style="background-color:#3b3b3b;">
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
2048
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
0x800
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
FLAG_CANT_SPAWN_IF_BOSS_ALIVE
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
the slave cannot respawn while boss is alive
</td>
</tr>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
4096
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
0x1000
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
FLAG_DESPAWN_ON_EVADE
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
the slave despawn after the master evade
</td>
</tr>
<tr style="background-color:#3b3b3b;">
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
8192
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
0x2000
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
FLAG_DESPAWN_ON_DESPAWN
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
the slave despawn after the master despawns
</td>
</tr>
</tbody>
</table>
<br><br>



<p>
<a id="search_range" rel="internal" style="color:rgb(255,255,255);">
<span style="font-size:20px;">
search_range
</span></a>
 mediumint(8) <abbr style="border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;" title="This field is unsigned, so it never accepts negative values">unsigned</abbr>
</p>
<p>
IF given != 0 only mobs with spawn-dist 
<br>
IF = 0 all mobs on the map are linked to the master.
</p>



<br>
<p>
auto-generated by the <a href="https://getmangos.eu">getMaNGOS.eu</a> MAGNET dbdocs module
</p>
]]></description><guid isPermaLink="false">5020</guid><pubDate>Mon, 25 Jul 2016 08:57:24 +0000</pubDate></item><item><title>creature_loot_template</title><link>https://www.getmangos.eu/wiki/referenceinfo/dbinfo/mangosdb/mangostwoworlddb/creature_loot_template-r5021/</link><description><![CDATA[<table bgcolor="#a80000" border="2" cellpadding="0" cellspacing="0" width="100%">
<tbody>
<tr>
<td height="20">
<font color="#ffe97f" size="3"> <strong>NOTE:</strong>  This page is auto-generated from the MAGNET DBDocs module,<br>             Any changes made directly to this page will be lost when it is regenerated.</font>
</td>
</tr>
</tbody>
</table>
<h2 style="font-size:24px;color:rgb(180,255,255);">
Description of the  'creature_loot_template' table for MaNGOSTwo
</h2>

<p>This table format is used to generate different loot items. Loot templates define only items in the loot.
See comments about money drop in corpse, pickpocketing and luggage loot in creature_template and item_template.</p>

<p style="font-size:18px;color:rgb(255,255,180);">
<strong>Table Notes</strong>
</p>
<p>This table uses the 'InnoDB' DB Engine</p>


<p style="font-size:18px;color:rgb(255,255,180);">
<strong>The Field definitions follow:</strong>
</p>
<table align="center" border="1" cellpadding="1" cellspacing="1" style="width:100%;background-color:#2b2b2b;color:#c0c0c0;">
<thead><tr>
<th scope="col" style="border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:center;">
<b>Field Name</b>
</th>
<th scope="col" style="border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:center;">
<b>Field Type</b>
</th>
<th scope="col" style="border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:center;">
<b>Nullable</b>
</th>
<th scope="col" style="border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:center;">
<b>Key</b>
</th>
<th scope="col" style="border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:center;">
<b>Default Value</b>
</th>
<th scope="col" style="border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:center;">
<b>Attributes</b>
</th>
<th scope="col" style="border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:left;">
<b>Notes</b>
</th>
</tr>
</thead>
<tbody>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
<a href="#entry" rel="internal" style="color:rgb(180,255,255);">entry</a>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
mediumint(8) <abbr style="border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;" title="This field is unsigned, so it never accepts negative values">unsigned</abbr>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
NO
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
<abbr style="border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;" title="Primary Key">PRI</abbr>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
'0'
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
 
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:left;">
The ID of the loot definition (loot template).
</td>
</tr>
<tr style="background-color:#3b3b3b;">
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
<a href="#item" rel="internal" style="color:rgb(180,255,255);">item</a>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
mediumint(8) <abbr style="border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;" title="This field is unsigned, so it never accepts negative values">unsigned</abbr>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
NO
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
<abbr style="border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;" title="Primary Key">PRI</abbr>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
'0'
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
 
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:left;">
Template ID of the item which can be included into the loot.
</td>
</tr>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
<a href="#ChanceOrQuestChance" rel="internal" style="color:rgb(180,255,255);">ChanceOrQuestChance</a>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
float
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
NO
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">

</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
'100'
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
 
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:left;">
Meaning of that field is a bit different depending on its sign.
</td>
</tr>
<tr style="background-color:#3b3b3b;">
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
<a href="#groupid" rel="internal" style="color:rgb(180,255,255);">groupid</a>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
tinyint(3) <abbr style="border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;" title="This field is unsigned, so it never accepts negative values">unsigned</abbr>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
NO
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">

</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
'0'
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
 
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:left;">
A group is a set of loot definitions.
</td>
</tr>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
<a href="#mincountOrRef" rel="internal" style="color:rgb(180,255,255);">mincountOrRef</a>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
mediumint(9)
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
NO
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">

</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
'1'
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
 
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:left;">
This field defines when positive the minimum number of copies of the item. 
</td>
</tr>
<tr style="background-color:#3b3b3b;">
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
<a href="#maxcount" rel="internal" style="color:rgb(180,255,255);">maxcount</a>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
tinyint(3) <abbr style="border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;" title="This field is unsigned, so it never accepts negative values">unsigned</abbr>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
NO
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">

</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
'1'
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
 
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:left;">
For non-reference entries - the maximum number of copies of the item.
</td>
</tr>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
<a href="#condition_id" rel="internal" style="color:rgb(180,255,255);">condition_id</a>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
mediumint(8) <abbr style="border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;" title="This field is unsigned, so it never accepts negative values">unsigned</abbr>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
NO
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">

</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
'0'
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
 
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:left;">
Value that represents a loot condition that must be filled.
</td>
</tr>
</tbody>
</table>
<p style="font-size:20px;color:rgb(255,255,180);">
<strong>Description of the fields</strong>
</p>
<p>
<a id="entry" rel="internal" style="color:rgb(255,255,255);">
<span style="font-size:20px;">
entry
</span></a>
 mediumint(8) <abbr style="border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;" title="This field is unsigned, so it never accepts negative values">unsigned</abbr>
</p>
<p>
The ID of the loot definition (loot template). The rows with the same ID defines a single loot. 
It is often the same ID as the loot source (item, creature, etc) but when the link is made not on entry field of the Related table then ID can be different. For example, when several loot sources should provide the same loot, single loot definition can be used. In this case the loot sources have the same value in the link field. 

It is possible also to set up artificial loot templates which are not used directly at all as they have ID which are not referenced from the related source. Such "support templates" can be referenced from "normal" loot templates. 

When a common or artificial loot template is used a problem arises: what ID to use for that template? Depending on the loot table, different rules can be agreed on to simplify maintenance for the table. Moreover, such rules would be very handy but it seems at the moment there are very few rules explicitly defined. 

Agreements on entry field values are described there. 
</p>


<p>
<a id="item" rel="internal" style="color:rgb(255,255,255);">
<span style="font-size:20px;">
item
</span></a>
 mediumint(8) <abbr style="border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;" title="This field is unsigned, so it never accepts negative values">unsigned</abbr>
</p>
<p>
Template ID of the item which can be included into the loot. 

NOTE: For reference entries this field has no meaning and not used by the core in any way. Yet because of the PRIMARY KEY on the entry + item combination, this field will nonetheless need to be a unique number for each reference entry so that no indexing conflicts arise. 
</p>


<p>
<a id="ChanceOrQuestChance" rel="internal" style="color:rgb(255,255,255);">
<span style="font-size:20px;">
ChanceOrQuestChance
</span></a>
 float
</p>
<p>
Meaning of that field is a bit different depending on its sign and the sign of mincountOrRef: 

Plain entry
ChanceOrQuestChance &gt; 0, mincountOrRef &gt; 0 

Absolute value of ChanceOrQuestChance (actuallu just the value as it's positive in this case) signifies the percent chance that the item has to drop. Any floating point number is allowed but indeed any value larger that 100 will make the same result as 100. 

Quest drop
ChanceOrQuestChance  0 

Just as for plain entries absolute value of ChanceOrQuestChance signifies the percent chance that the item has to drop. But in addition negative ChanceOrQuestChance informs the core that the item should be shown only to characters having appropriate quest. This means that even if item is dropped, in order to see it in the loot the player must have at least one quest that has the item ID in its ReqItemIdN fields or in its ReqSourceIdN fields. The player must also have less copies of the item than ReqItemCountN or ReqSourceCountN. 

Chanced references
mincountOrRef 


</p><p>
<a id="groupid" rel="internal" style="color:rgb(255,255,255);">
<span style="font-size:20px;">
groupid
</span></a>
 tinyint(3) <abbr style="border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;" title="This field is unsigned, so it never accepts negative values">unsigned</abbr>
</p>
<p>
A group is a set of loot definitions processed in such a way that at any given looting event the loot generated can receive only 1 (or none) item from the items declared in the loot definitions of the group. Groups are formed by loot definitions having the same values of entry and groupid fields. 

A group may consists of explicitly-chanced (having non-zero ChanceOrQuestChance) and equal-chanced (ChanceOrQuestChance = 0) entries. Every equal-chanced entry of a group is considered having such a chance that: 

¦all equal-chanced entries have the same chance 
¦group chance (sum of chances of all entries) is 100% 
Of course group may consist of 

¦only explicitly-chanced entries or 
¦only equal-chanced entries or 
¦entries of both type. 
The easies way to understand what are groups is to understand how core processes grouped entries: 

At loading time: 

¦groups are formed - all grouped entries with the same values of groupid and entry fields are gathered into two sets - one for explicitly-chanced entries and one for equal-chanced. Note that order of entries in the sets can not be defined by DB - you should assume that the entries are in an unknown order. But indeed every time core processes a group the entries are in some order, constant during processing. 
During loot generation: 

¦core rolls for explicitly-chanced entries (if any): 
¦a random number R is rolled in range 0 to 100 (floating point value). 
¦chance to drop is checked for every (explicitly-chanced) entry in the group: 
¦if R is less than absolute value of ChanceOrQuestChance of the entry then the entry 'wins': the item is included in the loot. Group processing stops, the rest of group entries are just skipped. 
¦otherwise the entry 'looses': the item misses its chance to get into the loot. R is decreased by the absolute value of ChanceOrQuestChance and next explicitly-chanced entry is checked. 
¦if none of explicitly-chanced entries got its chance then equal-chanced part (if any) is processed: 
¦a random entry is selected from the set of equal-chanced entries and corresponding item is included in the loot. 
¦If nothing selected yet (this never happens if the group has some equal-chanced entries) - no item from the group is included into the loot. 
Let us use term group chance as the sum of ChanceOrQuestChance (absolute) values for the group. Please note that even one equal-chanced entry makes group chance to be 100% (provided that sum of explicit chances does not exceed 100%). 

If you understand the process you can understand the results: 

¦Not more than one item from a group may drop at any given time. 
¦If group chance is at least 100 then one item will be dropped for sure. 
¦If group chance does not exceed 100 then every item defined in group entries has exactly that chance to drop as set in ChanceOrQuestChance. 
¦If group chance is greater than 100 then some entries will lost a part of their chance (or even not be checked at all - that will be the case for all equal-chanced entries) whatever value takes the roll R. So for some items chance to drop will be less than their ChanceOrQuestChance. That is very bad and that is why having group chance &gt; 100 is strictly prohibited. 
¦Processing of equal-chanced part takes much less time then of explicitly-chanced one. So usage of equal-chanced groups is recommended when possible. 
So now basic applications of the groups are clear: 

¦Groups with group chance of 100% generate exactly one item every time. This is needed quite often, for example such behavior is needed to define a loot template for tier item drop from a boss. 
¦Groups with group chance 


</p><p>
<a id="mincountOrRef" rel="internal" style="color:rgb(255,255,255);">
<span style="font-size:20px;">
mincountOrRef
</span></a>
 mediumint(9)
</p>
<p>
This field defines <br><br>¦when positive: the minimum number of copies of the item that can drop in a single loot <br>¦when negative: a reference to another template. <br>Zero value makes no sense and should not be used. <br><br>Meaning of positive values is quite clear and requires no additional comments. References can point to either a whole template or to single group of a template and decribed below. <br><br>Template reference<br>mincountOrRef <br>Template reference asks core to process another loot template (having entry equal to "-mincountOrRef") and to include all items dropped for that template into current loot. Simple idea. <br><br>Value of maxcount field is used as a repetition factor for references - the reference will be processed not just once but exactly maxcount times. So if the referenced template can produce 3 to 10 items (depending on luck) and value of maxcount is '5' then after processing of that reference 15 to 50 items will be added to the loot. An awful example, isn't it? Actually no good example for whole template reference repetition is known, but it is quite useful for group references sometimes. <br><br>Be careful. Self references (loot template includes reference to itself) and loop references (loot template A includes reference to entire template B, loot template B includes reference to entire template A) are completely different from internal references. If you make a self-reference like <br><br></p><pre class="ipsCode">
INSERT INTO `creature_loot_template` (`entry`,`item`,`mincountOrRef`) VALUES <br>('21215','0','-21215'); 
</pre><br><br>then the core will crash due to stack overflow at first attempt of loot 21215 processing. That is why self references and loop references are strictly forbidden. <br><br>Group reference<br>mincountOrRef  0 <br><br>Group reference asks core to process another loot template (having entry equal to "-mincountOrRef") only in the part of one group - with id equal to value of `groupid` field of the reference entry. So this reference may add only none or 1 item into the loot (provided maxcount is equal to 1). <br><br>Meaning of maxcount field value is the same as described in Template reference. <br><br>Note that there is no way to have a reference as a part of a group as such grouped reference would have the same format as reference to group described here. <br><br>There are two types of group references: <br><br>¦external reference when group reference row has entry different from entry of the referenced group <br>¦internal reference when group reference row has the same entry as the referenced group. <br>Basic usage of group references is to avoid repetition of group definitions when several loot sources have common parts of the loot. In this case it is possible: <br><br>¦to define groups with the same contents (items/drop chances) again and again. The simpliest way, but very RAM consumable. <br>¦to define the group once as a part of one of loot source loot definition and to include group references in loot definitions of the other loot sources instead of repeating group definition. <br>¦to define the group once as a part of an artificial loot definition (having entry not corresponding to any source) and to include group references in loot definitions for every related loot source. <br>The first way is deprecated, both second and third use external references. UDB recommends to use the third way. <br><br>As references have chance to be processed it is possible to use them effiently for zone or world drop definitions. Those drops often have different chances for different loot sources (low/high skill gameobjects, non-elite/elite creatures etc) while having the same contents of the loot. The recommended way to define such drops is as following: <br><br>¦to set up a group with 100% group chance in an artificial loot template (using equal-chanced entries when possible) <br>¦to include references to that group into loot definition of every related loot source setting the drop chance for the reference. <br>Some bosses drop more than one tier item (two or three). Loot statistics looks like the same group is rolled 2 or 3 times and every time an item (possible the same) is chosen. It is simple to define a group for single item, but how to define drop for the second and the third? We can: <br><br>¦repeat group definition 2 (or 3) times with change of group id <br>¦define the group once and include 1 (or 2) internal references. <br>¦define the group once as a part of an artificial loot definition and include 2 (or 3) external group references. <br>¦define the group once as a part of an artificial loot definition and include an external group reference with repetition factor of 2 (or 3). <br>The in-game results will be the same. But again - the first way is very inefficient and then deprecated. We recommends to use the forth way. <br>



<p>
<a id="maxcount" rel="internal" style="color:rgb(255,255,255);">
<span style="font-size:20px;">
maxcount
</span></a>
 tinyint(3) <abbr style="border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;" title="This field is unsigned, so it never accepts negative values">unsigned</abbr>
</p>
<p>
For non-reference entries - the maximum number of copies of the item that can drop in a single loot. 

For references value of maxcount field is used as a repetition factor for references - the reference will be processed not just once but exactly maxcount times. This is designed to serve a single purpose: to make definition of tier token drops a bit simplier (tokens of a tier are defined as a 100%-chance group of an artificial template and bosses' loot templates include 100%-chanced reference to that group with repetition factor of 2 or 3 depending on the case). Using non-1 repetition factor for other things (references to a group with group chance less than 100% or chanced references with chance less than 100%) must be agreed with UDB devs first (and described here). 

Note: core rolls chance for any loot definition entry just one time - so if a references looses its chance it is skipped for the current loot completely whatever is maxcount value. 

</p>


<p>
<a id="condition_id" rel="internal" style="color:rgb(255,255,255);">
<span style="font-size:20px;">
condition_id
</span></a>
 mediumint(8) <abbr style="border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;" title="This field is unsigned, so it never accepts negative values">unsigned</abbr>
</p>
<p>
Value that represents a loot condition that must be filled in order for the item to drop. This field combined with condition_value1-2 fields can provide conditions on when an item can be dropped. <br><br></p><table align="center" border="1" cellpadding="1" cellspacing="1" style="width:100%;background-color:#2b2b2b;color:#c0c0c0;">
<thead>
<tr>
<th scope="col" style="border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:center;">
<b>ID</b>
</th>
<th scope="col" style="border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:left;">
<b>Type</b>
</th>
<th scope="col" style="border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:left;">
<b>Description</b>
</th>
</tr>
</thead>
<tbody>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
-3
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
CONDITION_NOT
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
Used to evaluate if another condition is NOT true. See Note 1
</td>
</tr>
<tr style="background-color:#3b3b3b;">
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
-2
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
CONDITION_OR
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
Used to evaluate if condition OR condition is true. See Note 1
</td>
</tr>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
-1
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
CONDITION_AND
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
Used to evaluate if condition AND condition is true. See Note 1
</td>
</tr>
<tr style="background-color:#3b3b3b;">
</tr>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
0
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
CONDITION_NONE
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
This condition is not used at all. Always returns true.
</td>
</tr>
<tr style="background-color:#3b3b3b;">
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
1
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
CONDITION_AURA
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
Checks target currently has the specified aura on him/her.
</td>
</tr>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
2
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
CONDITION_ITEM
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
Checks if the player has the required amount (value2) of items in his/hers inventory.
</td>
</tr>
<tr style="background-color:#3b3b3b;">
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
3
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
CONDITION_ITEM_EQUIPPED
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
Checks if the player has the specified item equipped.
</td>
</tr>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
4
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
CONDITION_AREAID
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
Checks if the player is within the specified area/zone.
</td>
</tr>
<tr style="background-color:#3b3b3b;">
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
5
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
CONDITION_REPUTATION_RANK_MIN
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
Checks if the player has the minimum required reputation rank with a specific faction.
</td>
</tr>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
6
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
CONDITION_TEAM
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
Checks what team the target is a member of (Alliance or Horde).
</td>
</tr>
<tr style="background-color:#3b3b3b;">
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
7
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
CONDITION_SKILL
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
Checks if the player has the required minimum skill value of the specified skill.
</td>
</tr>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
8
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
CONDITION_QUESTREWARDED
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
Checks if the player has complete the specified quest.
</td>
</tr>
<tr style="background-color:#3b3b3b;">
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
9
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
CONDITION_QUESTTAKEN
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
Checks if the player has taken the quest (as in has it in his/hers quest log.) and not completed it yet.
</td>
</tr>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
10
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
CONDITION_AD_COMMISSION_AURA
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
TODO
</td>
</tr>
<tr style="background-color:#3b3b3b;">
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
11
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
CONDITION_NO_AURA
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
Checks if the target DOES NOT currently have the specified aura on him/her.
</td>
</tr>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
12
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
CONDITION_ACTIVE_GAME_EVENT
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
Checks if a game event is currently active.
</td>
</tr>
<tr style="background-color:#3b3b3b;">
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
13
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
CONDITION_AREA_FLAG
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
Checks if area_flag is present in current area (if area_flag set != 0) AND if not_have_flag is not present in current area (if not_have_flag != 0)
</td>
</tr>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
14
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
CONDITION_RACE_CLASS
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
Checks if the target is a certain race AND/OR class.
</td>
</tr>
<tr style="background-color:#3b3b3b;">
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
15
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
CONDITION_LEVEL
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
Checks the targets level.
</td>
</tr>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
16
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
CONDITION_NOITEM
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
Checks if the player DOES NOT have the required amount (value2) of items in his/hers inventory.
</td>
</tr>
<tr style="background-color:#3b3b3b;">
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
17
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
CONDITION_SPELL
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
Checks if the target has or hasn't (value2) the specified spell.
</td>
</tr>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
18
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
CONDITION_INSTANCE_SCRIPT
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
SD3 based condition
</td>
</tr>
<tr style="background-color:#3b3b3b;">
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
19
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
CONDITION_QUESTAVAILABLE
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
Checks if the specified quest is available (can start it) for the player.
</td>
</tr>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
20
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
CONDITION_ACHIEVEMENT
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
Has or has no special achievement.
</td>
</tr>
<tr style="background-color:#3b3b3b;">
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
21
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
CONDITION_ACHIEVEMENT_REALM
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
Realm wide achievement (like 20 above but realm wide).
</td>
</tr>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
22
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
CONDITION_QUEST_NONE
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
Checks if the player has NOT taken the quest AND has NOT been rewarded for the quest.
</td>
</tr>
<tr style="background-color:#3b3b3b;">
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
23
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
CONDITION_ITEM_WITH_BANK
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
Checks if the player has the required amount (value2) of items in his/hers inventory OR bank.
</td>
</tr>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
24
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
CONDITION_NOITEM_WITH_BANK
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
Checks if the player DOES NOT have count (value2) of items in his/hers inventory OR bank.
</td>
</tr>
<tr style="background-color:#3b3b3b;">
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
25
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
CONDITION_NOT_ACTIVE_GAME_EVENT
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
Checks if a game event is currently NOT active.
</td>
</tr>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
26
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
CONDITION_ACTIVE_HOLIDAY
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
Checks if a holiday is active
</td>
</tr>
<tr style="background-color:#3b3b3b;">
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
27
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
CONDITION_NOT_ACTIVE_HOLIDAY
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
Checks if a holiday is not active
</td>
</tr>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
28
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
CONDITION_LEARNABLE_ABILITY
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
Checks if the player can learn ability - using minimum skill value from [<b>See <a href="https://www.getmangos.eu/wiki/" rel="">SkillLineAbility.dbc</a></b>] If the player has spell or has item (when defined) the condition will evaluate to false.
</td>
</tr>
<tr style="background-color:#3b3b3b;">
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
29
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
CONDITION_SKILL_BELOW
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
TODO
</td>
</tr>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
30
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
CONDITION_REPUTATION_RANK_MAX
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
Checks if the player has a higher reputation rank than specified a faction.
</td>
</tr>
<tr style="background-color:#3b3b3b;">
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
31
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
CONDITION_COMPLETED_ENCOUNTER
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
Checks if an encounter has been completed.
</td>
</tr>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
32
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
CONDITION_SOURCE_AURA
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
Checks if the source of the condition (like looted npc) has an aura.
</td>
</tr>
<tr style="background-color:#3b3b3b;">
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
33
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
CONDITION_LAST_WAYPOINT
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
Checks the waypoint-state of the source of the condition.
</td>
</tr>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
34
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
CONDITION_XP_USER
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
Checks if a player has turned XP earning on/off
</td>
</tr>
<tr style="background-color:#3b3b3b;">
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
35
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
CONDITION_GENDER
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
Checks the gender of a player.
</td>
</tr>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
36
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
CONDITION_DEAD_OR_AWAY
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
TODO
</td>
</tr>
<tr style="background-color:#3b3b3b;">
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
37
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
CONDITION_CREATURE_IN_RANGE
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
TODO
</td>
</tr>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
38
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
CONDITION_PVP_SCRIPT
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
TODO
</td>
</tr>
<tr style="background-color:#3b3b3b;">
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
39
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
CONDITION_SPAWN_COUNT
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
Returns if specified count of creature entry exists on map.
</td>
</tr>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
36
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
CONDITION_DEAD_OR_AWAY
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
Checks if a player, a player's group, all players in an instance, or a creature is dead or left the map.
</td>
</tr>
</tbody>
</table>
<br><br>NOTE: For reference entries this field has no meaning, not used by the core in any way and should have the default value of 0. <br><br>




<br>
<p>
auto-generated by the <a href="https://getmangos.eu">getMaNGOS.eu</a> MAGNET dbdocs module
</p>
]]></description><guid isPermaLink="false">5021</guid><pubDate>Mon, 25 Jul 2016 08:57:25 +0000</pubDate></item><item><title>creature_model_info</title><link>https://www.getmangos.eu/wiki/referenceinfo/dbinfo/mangosdb/mangostwoworlddb/creature_model_info-r5022/</link><description><![CDATA[<table bgcolor="#a80000" border="2" cellpadding="0" cellspacing="0" width="100%">
<tbody>
<tr>
<td height="20">
<font color="#ffe97f" size="3"> <strong>NOTE:</strong>  This page is auto-generated from the MAGNET DBDocs module,<br>             Any changes made directly to this page will be lost when it is regenerated.</font>
</td>
</tr>
</tbody>
</table>
<h2 style="font-size:24px;color:rgb(180,255,255);">
Description of the  'creature_model_info' table for MaNGOSTwo
</h2>

<p>This table contains all models of mobs, their gender and other information that are model related. This means that when a creature uses another model, this information will change as well.</p>

<p style="font-size:18px;color:rgb(255,255,180);">
<strong>Table Notes</strong>
</p>
<p>This table uses the 'InnoDB' DB Engine</p>


<p style="font-size:18px;color:rgb(255,255,180);">
<strong>The Field definitions follow:</strong>
</p>
<table align="center" border="1" cellpadding="1" cellspacing="1" style="width:100%;background-color:#2b2b2b;color:#c0c0c0;">
<thead><tr>
<th scope="col" style="border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:center;">
<b>Field Name</b>
</th>
<th scope="col" style="border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:center;">
<b>Field Type</b>
</th>
<th scope="col" style="border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:center;">
<b>Nullable</b>
</th>
<th scope="col" style="border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:center;">
<b>Key</b>
</th>
<th scope="col" style="border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:center;">
<b>Default Value</b>
</th>
<th scope="col" style="border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:center;">
<b>Attributes</b>
</th>
<th scope="col" style="border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:left;">
<b>Notes</b>
</th>
</tr>
</thead>
<tbody>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
<a href="#modelid" rel="internal" style="color:rgb(180,255,255);">modelid</a>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
mediumint(8) <abbr style="border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;" title="This field is unsigned, so it never accepts negative values">unsigned</abbr>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
NO
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
<abbr style="border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;" title="Primary Key">PRI</abbr>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
'0'
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
 
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:left;">
The Display ID [<b>See <a href="https://www.getmangos.eu/wiki/" rel="">CreatureDisplayInfo.dbc</a></b>].
</td>
</tr>
<tr style="background-color:#3b3b3b;">
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
<a href="#bounding_radius" rel="internal" style="color:rgb(180,255,255);">bounding_radius</a>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
float
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
NO
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">

</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
'0'
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
 
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:left;">
This is the distance the creature stands from the player to attack him.
</td>
</tr>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
<a href="#combat_reach" rel="internal" style="color:rgb(180,255,255);">combat_reach</a>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
float
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
NO
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">

</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
'0'
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
 
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:left;">
This is the maximum distance the creature can reach the player in ranged attack.
</td>
</tr>
<tr style="background-color:#3b3b3b;">
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
<a href="#gender" rel="internal" style="color:rgb(180,255,255);">gender</a>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
tinyint(3) <abbr style="border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;" title="This field is unsigned, so it never accepts negative values">unsigned</abbr>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
NO
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">

</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
'2'
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
 
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:left;">
Gender of the creature.
</td>
</tr>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
<a href="#modelid_other_gender" rel="internal" style="color:rgb(180,255,255);">modelid_other_gender</a>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
mediumint(8) <abbr style="border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;" title="This field is unsigned, so it never accepts negative values">unsigned</abbr>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
NO
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">

</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
'0'
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
 
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:left;">
A Model information entry [<b>See <a href="https://www.getmangos.eu/wiki/referenceinfo/dbinfo/mangosdb/mangostwoworlddb/creature_model_info-r5022#modelid" rel="">creature_model_info.modelid</a></b>].
</td>
</tr>
<tr style="background-color:#3b3b3b;">
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
<a href="#modelid_alternative" rel="internal" style="color:rgb(180,255,255);">modelid_alternative</a>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
mediumint(8) <abbr style="border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;" title="This field is unsigned, so it never accepts negative values">unsigned</abbr>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
NO
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">

</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
'0'
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
 
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:left;">
 
</td>
</tr>
</tbody>
</table>
<p style="font-size:20px;color:rgb(255,255,180);">
<strong>Description of the fields</strong>
</p>
<p>
<a id="modelid" rel="internal" style="color:rgb(255,255,255);">
<span style="font-size:20px;">
modelid
</span></a>
 mediumint(8) <abbr style="border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;" title="This field is unsigned, so it never accepts negative values">unsigned</abbr>
</p>
<p>
The Display ID [<b>See <a href="https://www.getmangos.eu/wiki/" rel="">CreatureDisplayInfo.dbc</a></b>].
</p>


<p>
<a id="bounding_radius" rel="internal" style="color:rgb(255,255,255);">
<span style="font-size:20px;">
bounding_radius
</span></a>
 float
</p>
<p>
This is the distance the creature stands from the player to attack him while in melee.
</p>


<p>
<a id="combat_reach" rel="internal" style="color:rgb(255,255,255);">
<span style="font-size:20px;">
combat_reach
</span></a>
 float
</p>
<p>
This is the maximum distance the creature can reach the player in ranged attack.
</p>


<p>
<a id="gender" rel="internal" style="color:rgb(255,255,255);">
<span style="font-size:20px;">
gender
</span></a>
 tinyint(3) <abbr style="border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;" title="This field is unsigned, so it never accepts negative values">unsigned</abbr>
</p>
<p>
</p><table border="1" cellpadding="3" cellspacing="0">
<caption>Gender of the creature</caption>
<tr><th>Value</th><th>Gender</th></tr>
<tr><td align="center" valign="middle">0</td><td align="center" valign="middle">Male</td></tr>
<tr><td align="center" valign="middle">1</td><td align="center" valign="middle">Female</td></tr>
<tr><td align="center" valign="middle">2</td><td align="center" valign="middle">None</td></tr>
</table>




<p>
<a id="modelid_other_gender" rel="internal" style="color:rgb(255,255,255);">
<span style="font-size:20px;">
modelid_other_gender
</span></a>
 mediumint(8) <abbr style="border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;" title="This field is unsigned, so it never accepts negative values">unsigned</abbr>
</p>
<p>
Point to Creature_model_info.modelid. When the entry is gender male (0) or female (1), this value can point to the display id of the other gender [<b>See <a href="https://www.getmangos.eu/wiki/referenceinfo/dbinfo/mangosdb/mangostwoworlddb/creature_model_info-r5022#modelid" rel="">creature_model_info.modelid</a></b>]
</p>


<p>
<a id="modelid_alternative" rel="internal" style="color:rgb(255,255,255);">
<span style="font-size:20px;">
modelid_alternative
</span></a>
 mediumint(8) <abbr style="border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;" title="This field is unsigned, so it never accepts negative values">unsigned</abbr>
</p>


<br>
<p>
auto-generated by the <a href="https://getmangos.eu">getMaNGOS.eu</a> MAGNET dbdocs module
</p>
]]></description><guid isPermaLink="false">5022</guid><pubDate>Mon, 25 Jul 2016 08:57:25 +0000</pubDate></item><item><title>creature_model_race</title><link>https://www.getmangos.eu/wiki/referenceinfo/dbinfo/mangosdb/mangostwoworlddb/creature_model_race-r5023/</link><description><![CDATA[<table bgcolor="#a80000" border="2" cellpadding="0" cellspacing="0" width="100%">
<tbody>
<tr>
<td height="20">
<font color="#ffe97f" size="3"> <strong>NOTE:</strong>  This page is auto-generated from the MAGNET DBDocs module,<br>             Any changes made directly to this page will be lost when it is regenerated.</font>
</td>
</tr>
</tbody>
</table>
<h2 style="font-size:24px;color:rgb(180,255,255);">
Description of the  'creature_model_race' table for MaNGOSTwo
</h2>
<p>'Model system'</p>


<p style="font-size:18px;color:rgb(255,255,180);">
<strong>Table Notes</strong>
</p>
<p>This table uses the 'MyISAM' DB Engine</p>


<p style="font-size:18px;color:rgb(255,255,180);">
<strong>The Field definitions follow:</strong>
</p>
<table align="center" border="1" cellpadding="1" cellspacing="1" style="width:100%;background-color:#2b2b2b;color:#c0c0c0;">
<thead><tr>
<th scope="col" style="border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:center;">
<b>Field Name</b>
</th>
<th scope="col" style="border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:center;">
<b>Field Type</b>
</th>
<th scope="col" style="border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:center;">
<b>Nullable</b>
</th>
<th scope="col" style="border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:center;">
<b>Key</b>
</th>
<th scope="col" style="border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:center;">
<b>Default Value</b>
</th>
<th scope="col" style="border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:center;">
<b>Attributes</b>
</th>
<th scope="col" style="border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:left;">
<b>Notes</b>
</th>
</tr>
</thead>
<tbody>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
<a href="#modelid" rel="internal" style="color:rgb(180,255,255);">modelid</a>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
mediumint(8) <abbr style="border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;" title="This field is unsigned, so it never accepts negative values">unsigned</abbr>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
NO
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
<abbr style="border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;" title="Primary Key">PRI</abbr>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
'0'
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
 
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:left;">
 
</td>
</tr>
<tr style="background-color:#3b3b3b;">
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
<a href="#racemask" rel="internal" style="color:rgb(180,255,255);">racemask</a>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
mediumint(8) <abbr style="border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;" title="This field is unsigned, so it never accepts negative values">unsigned</abbr>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
NO
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
<abbr style="border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;" title="Primary Key">PRI</abbr>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
'0'
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
 
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:left;">
 
</td>
</tr>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
<a href="#creature_entry" rel="internal" style="color:rgb(180,255,255);">creature_entry</a>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
mediumint(8) <abbr style="border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;" title="This field is unsigned, so it never accepts negative values">unsigned</abbr>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
NO
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">

</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
'0'
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
 
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:left;">
 
</td>
</tr>
<tr style="background-color:#3b3b3b;">
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
<a href="#modelid_racial" rel="internal" style="color:rgb(180,255,255);">modelid_racial</a>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
mediumint(8) <abbr style="border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;" title="This field is unsigned, so it never accepts negative values">unsigned</abbr>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
NO
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">

</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
'0'
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
 
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:left;">
 
</td>
</tr>
</tbody>
</table>
<p style="font-size:20px;color:rgb(255,255,180);">
<strong>Description of the fields</strong>
</p>
<p>
<a id="modelid" rel="internal" style="color:rgb(255,255,255);">
<span style="font-size:20px;">
modelid
</span></a>
 mediumint(8) <abbr style="border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;" title="This field is unsigned, so it never accepts negative values">unsigned</abbr>
</p>

<p>
<a id="racemask" rel="internal" style="color:rgb(255,255,255);">
<span style="font-size:20px;">
racemask
</span></a>
 mediumint(8) <abbr style="border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;" title="This field is unsigned, so it never accepts negative values">unsigned</abbr>
</p>

<p>
<a id="creature_entry" rel="internal" style="color:rgb(255,255,255);">
<span style="font-size:20px;">
creature_entry
</span></a>
 mediumint(8) <abbr style="border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;" title="This field is unsigned, so it never accepts negative values">unsigned</abbr>
</p>

<p>Notes: option 1, modelid_N from creature_template
</p>


<p>
<a id="modelid_racial" rel="internal" style="color:rgb(255,255,255);">
<span style="font-size:20px;">
modelid_racial
</span></a>
 mediumint(8) <abbr style="border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;" title="This field is unsigned, so it never accepts negative values">unsigned</abbr>
</p>

<p>Notes: option 2, explicit modelid
</p>



<br>
<p>
auto-generated by the <a href="https://getmangos.eu">getMaNGOS.eu</a> MAGNET dbdocs module
</p>
]]></description><guid isPermaLink="false">5023</guid><pubDate>Mon, 25 Jul 2016 08:57:25 +0000</pubDate></item><item><title>creature_movement</title><link>https://www.getmangos.eu/wiki/referenceinfo/dbinfo/mangosdb/mangostwoworlddb/creature_movement-r5024/</link><description><![CDATA[<table bgcolor="#a80000" border="2" cellpadding="0" cellspacing="0" width="100%">
<tbody>
<tr>
<td height="20">
<font color="#ffe97f" size="3"> <strong>NOTE:</strong>  This page is auto-generated from the MAGNET DBDocs module,<br>             Any changes made directly to this page will be lost when it is regenerated.</font>
</td>
</tr>
</tbody>
</table>
<h2 style="font-size:24px;color:rgb(180,255,255);">
Description of the  'creature_movement' table for MaNGOSTwo
</h2>

<p>This table holds all the information on each creature's waypoints. In essence, a set of waypoints just defines a path that the creature will follow by going from point to point. More specifically, once the creature arrives at a point, it can do different things like cast a spell, do an emote, etc. Usually this table is filled through the .wp command (and its various subcommands) in the world. <br><br>Please note that for a creature to use waypoints, its MovementType must be 2.</p>

<p style="font-size:18px;color:rgb(255,255,180);">
<strong>Table Notes</strong>
</p>
<p>This table uses the 'InnoDB' DB Engine</p>


<p style="font-size:18px;color:rgb(255,255,180);">
<strong>The Field definitions follow:</strong>
</p>
<table align="center" border="1" cellpadding="1" cellspacing="1" style="width:100%;background-color:#2b2b2b;color:#c0c0c0;">
<thead><tr>
<th scope="col" style="border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:center;">
<b>Field Name</b>
</th>
<th scope="col" style="border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:center;">
<b>Field Type</b>
</th>
<th scope="col" style="border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:center;">
<b>Nullable</b>
</th>
<th scope="col" style="border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:center;">
<b>Key</b>
</th>
<th scope="col" style="border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:center;">
<b>Default Value</b>
</th>
<th scope="col" style="border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:center;">
<b>Attributes</b>
</th>
<th scope="col" style="border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:left;">
<b>Notes</b>
</th>
</tr>
</thead>
<tbody>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
<a href="#id" rel="internal" style="color:rgb(180,255,255);">id</a>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
int(10) <abbr style="border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;" title="This field is unsigned, so it never accepts negative values">unsigned</abbr>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
NO
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
<abbr style="border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;" title="Primary Key">PRI</abbr>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
NULL
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
 
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:left;">
Creature GUID [<b>See <a href="https://www.getmangos.eu/wiki/referenceinfo/dbinfo/mangosdb/mangostwoworlddb/creature-r5011#guid" rel="">creature.guid</a></b>].
</td>
</tr>
<tr style="background-color:#3b3b3b;">
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
<a href="#point" rel="internal" style="color:rgb(180,255,255);">point</a>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
mediumint(8) <abbr style="border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;" title="This field is unsigned, so it never accepts negative values">unsigned</abbr>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
NO
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
<abbr style="border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;" title="Primary Key">PRI</abbr>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
'0'
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
 
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:left;">
An index count for all movement points attached to a creature spawn.
</td>
</tr>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
<a href="#position_x" rel="internal" style="color:rgb(180,255,255);">position_x</a>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
float
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
NO
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">

</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
'0'
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
 
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:left;">
The X position for the creature's movement point.
</td>
</tr>
<tr style="background-color:#3b3b3b;">
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
<a href="#position_y" rel="internal" style="color:rgb(180,255,255);">position_y</a>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
float
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
NO
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">

</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
'0'
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
 
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:left;">
The Y position for the creature's movement point.
</td>
</tr>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
<a href="#position_z" rel="internal" style="color:rgb(180,255,255);">position_z</a>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
float
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
NO
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">

</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
'0'
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
 
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:left;">
The Z position for the creature's movement point.
</td>
</tr>
<tr style="background-color:#3b3b3b;">
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
<a href="#waittime" rel="internal" style="color:rgb(180,255,255);">waittime</a>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
int(10) <abbr style="border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;" title="This field is unsigned, so it never accepts negative values">unsigned</abbr>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
NO
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">

</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
'0'
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
 
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:left;">
If the creature should wait at the movement point.
</td>
</tr>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
<a href="#script_id" rel="internal" style="color:rgb(180,255,255);">script_id</a>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
mediumint(8) <abbr style="border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;" title="This field is unsigned, so it never accepts negative values">unsigned</abbr>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
NO
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">

</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
'0'
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
 
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:left;">
If a script should be executed.
</td>
</tr>
<tr style="background-color:#3b3b3b;">
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
<a href="#textid1" rel="internal" style="color:rgb(180,255,255);">textid1</a>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
int(11)
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
NO
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">

</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
'0'
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
 
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:left;">
If a text should be emoted, this references the "db_script_string" table.
</td>
</tr>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
<a href="#textid2" rel="internal" style="color:rgb(180,255,255);">textid2</a>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
int(11)
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
NO
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">

</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
'0'
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
 
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:left;">
If a text should be emoted, this references the "db_script_string" table.
</td>
</tr>
<tr style="background-color:#3b3b3b;">
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
<a href="#textid3" rel="internal" style="color:rgb(180,255,255);">textid3</a>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
int(11)
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
NO
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">

</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
'0'
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
 
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:left;">
If a text should be emoted, this references the "db_script_string" table.
</td>
</tr>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
<a href="#textid4" rel="internal" style="color:rgb(180,255,255);">textid4</a>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
int(11)
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
NO
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">

</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
'0'
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
 
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:left;">
If a text should be emoted, this references the "db_script_string" table.
</td>
</tr>
<tr style="background-color:#3b3b3b;">
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
<a href="#textid5" rel="internal" style="color:rgb(180,255,255);">textid5</a>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
int(11)
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
NO
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">

</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
'0'
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
 
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:left;">
If a text should be emoted, this references the "db_script_string" table.
</td>
</tr>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
<a href="#emote" rel="internal" style="color:rgb(180,255,255);">emote</a>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
mediumint(8) <abbr style="border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;" title="This field is unsigned, so it never accepts negative values">unsigned</abbr>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
NO
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">

</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
'0'
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
 
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:left;">
Emote ID that the creature should perform.
</td>
</tr>
<tr style="background-color:#3b3b3b;">
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
<a href="#spell" rel="internal" style="color:rgb(180,255,255);">spell</a>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
mediumint(8) <abbr style="border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;" title="This field is unsigned, so it never accepts negative values">unsigned</abbr>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
NO
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">

</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
'0'
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
 
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:left;">
The spell identifier.
</td>
</tr>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
<a href="#wpguid" rel="internal" style="color:rgb(180,255,255);">wpguid</a>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
int(11)
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
NO
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">

</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
'0'
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
 
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:left;">
A unique identifier for this waypoint.
</td>
</tr>
<tr style="background-color:#3b3b3b;">
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
<a href="#orientation" rel="internal" style="color:rgb(180,255,255);">orientation</a>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
float
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
NO
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">

</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
'0'
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
 
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:left;">
The orientation for the creature's movement point.
</td>
</tr>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
<a href="#model1" rel="internal" style="color:rgb(180,255,255);">model1</a>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
mediumint(9)
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
NO
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">

</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
'0'
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
 
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:left;">
A display model identifier activated on the waypoint.
</td>
</tr>
<tr style="background-color:#3b3b3b;">
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
<a href="#model2" rel="internal" style="color:rgb(180,255,255);">model2</a>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
mediumint(9)
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
NO
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">

</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
'0'
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
 
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:left;">
An alternative display model identifier activated on the waypoint.
</td>
</tr>
</tbody>
</table>
<p style="font-size:20px;color:rgb(255,255,180);">
<strong>Description of the fields</strong>
</p>
<p>
<a id="id" rel="internal" style="color:rgb(255,255,255);">
<span style="font-size:20px;">
id
</span></a>
 int(10) <abbr style="border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;" title="This field is unsigned, so it never accepts negative values">unsigned</abbr>
</p>
<p>
Creature GUID [<b>See <a href="https://www.getmangos.eu/wiki/referenceinfo/dbinfo/mangosdb/mangostwoworlddb/creature-r5011#guid" rel="">creature.guid</a></b>].
</p>


<p>
<a id="point" rel="internal" style="color:rgb(255,255,255);">
<span style="font-size:20px;">
point
</span></a>
 mediumint(8) <abbr style="border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;" title="This field is unsigned, so it never accepts negative values">unsigned</abbr>
</p>
<p>
An index count for all movement points attached to a creature spawn. Starts with 1 and increments by one.
</p>


<p>
<a id="position_x" rel="internal" style="color:rgb(255,255,255);">
<span style="font-size:20px;">
position_x
</span></a>
 float
</p>
<p>
The X position for the creature's movement point.
</p>


<p>
<a id="position_y" rel="internal" style="color:rgb(255,255,255);">
<span style="font-size:20px;">
position_y
</span></a>
 float
</p>
<p>
The Y position for the creature's movement point.
</p>


<p>
<a id="position_z" rel="internal" style="color:rgb(255,255,255);">
<span style="font-size:20px;">
position_z
</span></a>
 float
</p>
<p>
The Z position for the creature's movement point.
</p>


<p>
<a id="waittime" rel="internal" style="color:rgb(255,255,255);">
<span style="font-size:20px;">
waittime
</span></a>
 int(10) <abbr style="border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;" title="This field is unsigned, so it never accepts negative values">unsigned</abbr>
</p>
<p>
If the creature should wait at the movement point, set this to the time in milliseconds. Otherwise set to zero for the creature to immediately proceed to the next movement point.
</p>


<p>
<a id="script_id" rel="internal" style="color:rgb(255,255,255);">
<span style="font-size:20px;">
script_id
</span></a>
 mediumint(8) <abbr style="border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;" title="This field is unsigned, so it never accepts negative values">unsigned</abbr>
</p>
<p>
If a script should be executed, this references the db_scripts table [<b>See <a href="https://www.getmangos.eu/wiki/referenceinfo/dbinfo/mangosdb/mangostwoworlddb/db_scripts-r5156#id" rel="">db_scripts.id</a></b>] with a type of 3 to form a unique ID for which the entry is valid. If not, set the value to zero.
</p>


<p>
<a id="textid1" rel="internal" style="color:rgb(255,255,255);">
<span style="font-size:20px;">
textid1
</span></a>
 int(11)
</p>
<p>
If a text should be emoted, this references the "db_script_string" table tables unique ID for which the entry is valid. If not, set the value to zero.
</p>


<p>
<a id="textid2" rel="internal" style="color:rgb(255,255,255);">
<span style="font-size:20px;">
textid2
</span></a>
 int(11)
</p>
<p>
If a text should be emoted, this references the "db_script_string" table tables unique ID for which the entry is valid. If not, set the value to zero.
</p>


<p>
<a id="textid3" rel="internal" style="color:rgb(255,255,255);">
<span style="font-size:20px;">
textid3
</span></a>
 int(11)
</p>
<p>
If a text should be emoted, this references the "db_script_string" table tables unique ID for which the entry is valid. If not, set the value to zero.
</p>


<p>
<a id="textid4" rel="internal" style="color:rgb(255,255,255);">
<span style="font-size:20px;">
textid4
</span></a>
 int(11)
</p>
<p>
If a text should be emoted, this references the "db_script_string" table tables unique ID for which the entry is valid. If not, set the value to zero.
</p>


<p>
<a id="textid5" rel="internal" style="color:rgb(255,255,255);">
<span style="font-size:20px;">
textid5
</span></a>
 int(11)
</p>
<p>
If a text should be emoted, this references the "db_script_string" table tables unique ID for which the entry is valid. If not, set the value to zero.
</p>


<p>
<a id="emote" rel="internal" style="color:rgb(255,255,255);">
<span style="font-size:20px;">
emote
</span></a>
 mediumint(8) <abbr style="border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;" title="This field is unsigned, so it never accepts negative values">unsigned</abbr>
</p>
<p>
Emote ID that the creature should perform.<br><br>List of often used emote IDs and what they do ie. 65 Makes the creature look dead by lying on the ground.<br></p><table align="center" border="1" cellpadding="1" cellspacing="1" style="width:100%;background-color:#2b2b2b;color:#c0c0c0;">
<thead>
<tr>
<th scope="col" style="border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:center;">
<b>Value</b>
</th>
<th scope="col" style="border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:left;">
<b>Emote Name</b>
</th>
</tr>
</thead>
<tbody>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
10
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
EMOTE_STATE_DANCE
</td>
</tr>
<tr style="background-color:#3b3b3b;">
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
12
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
EMOTE_STATE_SLEEP
</td>
</tr>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
13
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
EMOTE_STATE_SIT
</td>
</tr>
<tr style="background-color:#3b3b3b;">
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
26
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
EMOTE_STATE_STAND
</td>
</tr>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
28
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
EMOTE_STATE_WORK
</td>
</tr>
<tr style="background-color:#3b3b3b;">
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
64
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
EMOTE_STATE_STUN
</td>
</tr>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
64
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
EMOTE_STATE_DEAD
</td>
</tr>
<tr style="background-color:#3b3b3b;">
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
68
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
EMOTE_STATE_KNEEL
</td>
</tr>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
70
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
EMOTE_ONESHOT_WAVE_NOSHEATHE
</td>
</tr>
<tr style="background-color:#3b3b3b;">
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
71
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
EMOTE_ONESHOT_CHEER_NOSHEATHE
</td>
</tr>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
92
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
EMOTE_ONESHOT_EAT_NOSHEATHE
</td>
</tr>
<tr style="background-color:#3b3b3b;">
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
173
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
EMOTE_STATE_WORK_NOSHEATHE
</td>
</tr>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
379
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
EMOTE_STATE_FISHING
</td>
</tr>
<tr style="background-color:#3b3b3b;">
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
380
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
EMOTE_ONESHOT_FISHING
</td>
</tr>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
381
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
EMOTE_ONESHOT_LOOT
</td>
</tr>
<tr style="background-color:#3b3b3b;">
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
382
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
EMOTE_STATE_WHIRLWIND
</td>
</tr>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
392
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
EMOTE_STATE_LAUGH
</td>
</tr>
<tr style="background-color:#3b3b3b;">
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
398
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
EMOTE_STATE_CANNIBALIZE
</td>
</tr>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
400
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
EMOTE_STATE_DANCESPECIAL
</td>
</tr>
<tr style="background-color:#3b3b3b;">
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
412
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
EMOTE_STATE_EXCLAIM
</td>
</tr>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
415
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
EMOTE_STATE_SIT_CHAIR_MED
</td>
</tr>
</tbody>
</table>




<p>
<a id="spell" rel="internal" style="color:rgb(255,255,255);">
<span style="font-size:20px;">
spell
</span></a>
 mediumint(8) <abbr style="border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;" title="This field is unsigned, so it never accepts negative values">unsigned</abbr>
</p>
<p>
The spell identifier. The value has to match with a spell identifier defined in Spell.dbc. This refers to a spell which should be cast by the creature on this waypoint.
</p>


<p>
<a id="wpguid" rel="internal" style="color:rgb(255,255,255);">
<span style="font-size:20px;">
wpguid
</span></a>
 int(11)
</p>
<p>
A unique identifier for this waypoint.
</p>


<p>
<a id="orientation" rel="internal" style="color:rgb(255,255,255);">
<span style="font-size:20px;">
orientation
</span></a>
 float
</p>
<p>
The orientation for the creature's movement point. Measured in radians, where 0 is north on the mini-map and pi is south on the mini-map.
</p>


<p>
<a id="model1" rel="internal" style="color:rgb(255,255,255);">
<span style="font-size:20px;">
model1
</span></a>
 mediumint(9)
</p>
<p>
A display model identifier activated on the waypoint. This references the "creature_model_info" table tables unique ID for which this entry is valid.
</p>


<p>
<a id="model2" rel="internal" style="color:rgb(255,255,255);">
<span style="font-size:20px;">
model2
</span></a>
 mediumint(9)
</p>
<p>
An alternative display model identifier activated on the waypoint. This references the "creature_model_info" table tables unique ID for which this entry is valid.
</p>



<br>
<p>
auto-generated by the <a href="https://getmangos.eu">getMaNGOS.eu</a> MAGNET dbdocs module
</p>
]]></description><guid isPermaLink="false">5024</guid><pubDate>Mon, 25 Jul 2016 08:57:26 +0000</pubDate></item><item><title>creature_movement_template</title><link>https://www.getmangos.eu/wiki/referenceinfo/dbinfo/mangosdb/mangostwoworlddb/creature_movement_template-r5025/</link><description><![CDATA[<table bgcolor="#a80000" border="2" cellpadding="0" cellspacing="0" width="100%">
<tbody>
<tr>
<td height="20">
<font color="#ffe97f" size="3"> <strong>NOTE:</strong>  This page is auto-generated from the MAGNET DBDocs module,<br>             Any changes made directly to this page will be lost when it is regenerated.</font>
</td>
</tr>
</tbody>
</table>
<h2 style="font-size:24px;color:rgb(180,255,255);">
Description of the  'creature_movement_template' table for MaNGOSTwo
</h2>

<p>This table holds informations on paths for creature_template entries and allows the behaviour to be defined along the movement path (set of waypoints).<br><br>Template movement is usually applied to creature templates spawned by scripts, or for templates which are unique and have only one spawn.<br><br><b>Note:</b> Movement attached to a creature template will be applied to all spawns of this template, unless there is a unique movement defined for the creature guids in the creature_movement table.</p>

<p style="font-size:18px;color:rgb(255,255,180);">
<strong>Table Notes</strong>
</p>
<p>This table uses the 'InnoDB' DB Engine</p>


<p style="font-size:18px;color:rgb(255,255,180);">
<strong>The Field definitions follow:</strong>
</p>
<table align="center" border="1" cellpadding="1" cellspacing="1" style="width:100%;background-color:#2b2b2b;color:#c0c0c0;">
<thead><tr>
<th scope="col" style="border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:center;">
<b>Field Name</b>
</th>
<th scope="col" style="border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:center;">
<b>Field Type</b>
</th>
<th scope="col" style="border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:center;">
<b>Nullable</b>
</th>
<th scope="col" style="border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:center;">
<b>Key</b>
</th>
<th scope="col" style="border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:center;">
<b>Default Value</b>
</th>
<th scope="col" style="border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:center;">
<b>Attributes</b>
</th>
<th scope="col" style="border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:left;">
<b>Notes</b>
</th>
</tr>
</thead>
<tbody>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
<a href="#entry" rel="internal" style="color:rgb(180,255,255);">entry</a>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
mediumint(8) <abbr style="border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;" title="This field is unsigned, so it never accepts negative values">unsigned</abbr>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
NO
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
<abbr style="border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;" title="Primary Key">PRI</abbr>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
NULL
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
 
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:left;">
Creature ID from creature_template [<b>See <a href="https://www.getmangos.eu/wiki/referenceinfo/dbinfo/mangosdb/mangostwoworlddb/creature_template-r5028#entry" rel="">creature_template.entry</a></b>]
</td>
</tr>
<tr style="background-color:#3b3b3b;">
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
<a href="#point" rel="internal" style="color:rgb(180,255,255);">point</a>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
mediumint(8) <abbr style="border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;" title="This field is unsigned, so it never accepts negative values">unsigned</abbr>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
NO
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
<abbr style="border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;" title="Primary Key">PRI</abbr>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
'0'
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
 
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:left;">
An index count for all movement points attached to a creature spawn.
</td>
</tr>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
<a href="#position_x" rel="internal" style="color:rgb(180,255,255);">position_x</a>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
float
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
NO
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">

</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
'0'
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
 
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:left;">
The X position for the creature's movement point.
</td>
</tr>
<tr style="background-color:#3b3b3b;">
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
<a href="#position_y" rel="internal" style="color:rgb(180,255,255);">position_y</a>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
float
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
NO
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">

</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
'0'
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
 
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:left;">
The Y position for the creature's movement point.
</td>
</tr>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
<a href="#position_z" rel="internal" style="color:rgb(180,255,255);">position_z</a>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
float
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
NO
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">

</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
'0'
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
 
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:left;">
The Z position for the creature's movement point.
</td>
</tr>
<tr style="background-color:#3b3b3b;">
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
<a href="#waittime" rel="internal" style="color:rgb(180,255,255);">waittime</a>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
int(10) <abbr style="border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;" title="This field is unsigned, so it never accepts negative values">unsigned</abbr>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
NO
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">

</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
'0'
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
 
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:left;">
Delay time in milliseconds
</td>
</tr>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
<a href="#script_id" rel="internal" style="color:rgb(180,255,255);">script_id</a>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
mediumint(8) <abbr style="border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;" title="This field is unsigned, so it never accepts negative values">unsigned</abbr>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
NO
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">

</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
'0'
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
 
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:left;">
If a script should be executed.
</td>
</tr>
<tr style="background-color:#3b3b3b;">
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
<a href="#textid1" rel="internal" style="color:rgb(180,255,255);">textid1</a>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
int(11)
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
NO
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">

</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
'0'
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
 
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:left;">
Obsolete, Do not use this Field
</td>
</tr>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
<a href="#textid2" rel="internal" style="color:rgb(180,255,255);">textid2</a>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
int(11)
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
NO
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">

</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
'0'
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
 
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:left;">
Obsolete, Do not use this Field
</td>
</tr>
<tr style="background-color:#3b3b3b;">
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
<a href="#textid3" rel="internal" style="color:rgb(180,255,255);">textid3</a>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
int(11)
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
NO
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">

</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
'0'
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
 
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:left;">
Obsolete, Do not use this Field
</td>
</tr>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
<a href="#textid4" rel="internal" style="color:rgb(180,255,255);">textid4</a>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
int(11)
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
NO
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">

</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
'0'
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
 
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:left;">
Obsolete, Do not use this Field
</td>
</tr>
<tr style="background-color:#3b3b3b;">
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
<a href="#textid5" rel="internal" style="color:rgb(180,255,255);">textid5</a>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
int(11)
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
NO
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">

</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
'0'
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
 
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:left;">
Obsolete, Do not use this Field
</td>
</tr>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
<a href="#emote" rel="internal" style="color:rgb(180,255,255);">emote</a>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
mediumint(8) <abbr style="border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;" title="This field is unsigned, so it never accepts negative values">unsigned</abbr>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
NO
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">

</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
'0'
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
 
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:left;">
Emote ID that the creature should perform.
</td>
</tr>
<tr style="background-color:#3b3b3b;">
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
<a href="#spell" rel="internal" style="color:rgb(180,255,255);">spell</a>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
mediumint(8) <abbr style="border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;" title="This field is unsigned, so it never accepts negative values">unsigned</abbr>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
NO
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">

</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
'0'
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
 
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:left;">
The spell identifier.
</td>
</tr>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
<a href="#wpguid" rel="internal" style="color:rgb(180,255,255);">wpguid</a>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
int(11)
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
NO
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">

</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
'0'
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
 
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:left;">
A unique identifier for this waypoint.
</td>
</tr>
<tr style="background-color:#3b3b3b;">
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
<a href="#orientation" rel="internal" style="color:rgb(180,255,255);">orientation</a>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
float
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
NO
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">

</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
'0'
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
 
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:left;">
The orientation for the creature's movement point.
</td>
</tr>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
<a href="#model1" rel="internal" style="color:rgb(180,255,255);">model1</a>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
mediumint(9)
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
NO
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">

</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
'0'
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
 
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:left;">
A display model identifier activated on the waypoint.
</td>
</tr>
<tr style="background-color:#3b3b3b;">
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
<a href="#model2" rel="internal" style="color:rgb(180,255,255);">model2</a>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
mediumint(9)
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
NO
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">

</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
'0'
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
 
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:left;">
An alternative display model identifier activated on the waypoint.
</td>
</tr>
</tbody>
</table>
<p style="font-size:20px;color:rgb(255,255,180);">
<strong>Description of the fields</strong>
</p>
<p>
<a id="entry" rel="internal" style="color:rgb(255,255,255);">
<span style="font-size:20px;">
entry
</span></a>
 mediumint(8) <abbr style="border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;" title="This field is unsigned, so it never accepts negative values">unsigned</abbr>
</p>
<p>
Creature ID from creature_template [<b>See <a href="https://www.getmangos.eu/wiki/referenceinfo/dbinfo/mangosdb/mangostwoworlddb/creature_template-r5028#entry" rel="">creature_template.entry</a></b>]
</p>


<p>
<a id="point" rel="internal" style="color:rgb(255,255,255);">
<span style="font-size:20px;">
point
</span></a>
 mediumint(8) <abbr style="border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;" title="This field is unsigned, so it never accepts negative values">unsigned</abbr>
</p>
<p>
An index count for all movement points attached to a creature spawn. Starts with 1 and increments by one.
</p>


<p>
<a id="position_x" rel="internal" style="color:rgb(255,255,255);">
<span style="font-size:20px;">
position_x
</span></a>
 float
</p>
<p>
The X position for the creature's movement point.
</p>


<p>
<a id="position_y" rel="internal" style="color:rgb(255,255,255);">
<span style="font-size:20px;">
position_y
</span></a>
 float
</p>
<p>
The Y position for the creature's movement point.
</p>


<p>
<a id="position_z" rel="internal" style="color:rgb(255,255,255);">
<span style="font-size:20px;">
position_z
</span></a>
 float
</p>
<p>
The Z position for the creature's movement point.
</p>


<p>
<a id="waittime" rel="internal" style="color:rgb(255,255,255);">
<span style="font-size:20px;">
waittime
</span></a>
 int(10) <abbr style="border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;" title="This field is unsigned, so it never accepts negative values">unsigned</abbr>
</p>
<p>
Delay time in milliseconds
</p>


<p>
<a id="script_id" rel="internal" style="color:rgb(255,255,255);">
<span style="font-size:20px;">
script_id
</span></a>
 mediumint(8) <abbr style="border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;" title="This field is unsigned, so it never accepts negative values">unsigned</abbr>
</p>
<p>
If a script should be executed, this references the db_scripts table [<b>See <a href="https://www.getmangos.eu/wiki/referenceinfo/dbinfo/mangosdb/mangostwoworlddb/db_scripts-r5156#id" rel="">db_scripts.id</a></b>] with a type of 3 to form a unique ID for which the entry is valid. If not, set the value to zero.
</p>


<p>
<a id="textid1" rel="internal" style="color:rgb(255,255,255);">
<span style="font-size:20px;">
textid1
</span></a>
 int(11)
</p>
<p>
Obsolete, Do not use this Field
</p>


<p>
<a id="textid2" rel="internal" style="color:rgb(255,255,255);">
<span style="font-size:20px;">
textid2
</span></a>
 int(11)
</p>
<p>
Obsolete, Do not use this Field
</p>


<p>
<a id="textid3" rel="internal" style="color:rgb(255,255,255);">
<span style="font-size:20px;">
textid3
</span></a>
 int(11)
</p>
<p>
Obsolete, Do not use this Field
</p>


<p>
<a id="textid4" rel="internal" style="color:rgb(255,255,255);">
<span style="font-size:20px;">
textid4
</span></a>
 int(11)
</p>
<p>
Obsolete, Do not use this Field
</p>


<p>
<a id="textid5" rel="internal" style="color:rgb(255,255,255);">
<span style="font-size:20px;">
textid5
</span></a>
 int(11)
</p>
<p>
Obsolete, Do not use this Field
</p>


<p>
<a id="emote" rel="internal" style="color:rgb(255,255,255);">
<span style="font-size:20px;">
emote
</span></a>
 mediumint(8) <abbr style="border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;" title="This field is unsigned, so it never accepts negative values">unsigned</abbr>
</p>
<p>
Emote ID that the creature should perform.<br>List of often used emote IDs and what they do ie. 65 Makes the creature look dead by lying on the ground.<br></p><table align="center" border="1" cellpadding="1" cellspacing="1" style="width:100%;background-color:#2b2b2b;color:#c0c0c0;">
<thead>
<tr>
<th scope="col" style="border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:center;">
<b>Value</b>
</th>
<th scope="col" style="border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:left;">
<b>Emote Name</b>
</th>
</tr>
</thead>
<tbody>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
10
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
EMOTE_STATE_DANCE
</td>
</tr>
<tr style="background-color:#3b3b3b;">
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
12
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
EMOTE_STATE_SLEEP
</td>
</tr>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
13
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
EMOTE_STATE_SIT
</td>
</tr>
<tr style="background-color:#3b3b3b;">
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
26
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
EMOTE_STATE_STAND
</td>
</tr>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
28
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
EMOTE_STATE_WORK
</td>
</tr>
<tr style="background-color:#3b3b3b;">
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
64
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
EMOTE_STATE_STUN
</td>
</tr>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
64
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
EMOTE_STATE_DEAD
</td>
</tr>
<tr style="background-color:#3b3b3b;">
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
68
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
EMOTE_STATE_KNEEL
</td>
</tr>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
70
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
EMOTE_ONESHOT_WAVE_NOSHEATHE
</td>
</tr>
<tr style="background-color:#3b3b3b;">
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
71
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
EMOTE_ONESHOT_CHEER_NOSHEATHE
</td>
</tr>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
92
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
EMOTE_ONESHOT_EAT_NOSHEATHE
</td>
</tr>
<tr style="background-color:#3b3b3b;">
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
173
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
EMOTE_STATE_WORK_NOSHEATHE
</td>
</tr>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
379
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
EMOTE_STATE_FISHING
</td>
</tr>
<tr style="background-color:#3b3b3b;">
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
380
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
EMOTE_ONESHOT_FISHING
</td>
</tr>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
381
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
EMOTE_ONESHOT_LOOT
</td>
</tr>
<tr style="background-color:#3b3b3b;">
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
382
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
EMOTE_STATE_WHIRLWIND
</td>
</tr>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
392
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
EMOTE_STATE_LAUGH
</td>
</tr>
<tr style="background-color:#3b3b3b;">
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
398
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
EMOTE_STATE_CANNIBALIZE
</td>
</tr>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
400
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
EMOTE_STATE_DANCESPECIAL
</td>
</tr>
<tr style="background-color:#3b3b3b;">
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
412
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
EMOTE_STATE_EXCLAIM
</td>
</tr>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
415
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
EMOTE_STATE_SIT_CHAIR_MED
</td>
</tr>
</tbody>
</table>




<p>
<a id="spell" rel="internal" style="color:rgb(255,255,255);">
<span style="font-size:20px;">
spell
</span></a>
 mediumint(8) <abbr style="border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;" title="This field is unsigned, so it never accepts negative values">unsigned</abbr>
</p>
<p>
The spell identifier. The value has to match with a spell identifier defined [<b>See <a href="https://www.getmangos.eu/wiki/" rel="">Spell.dbc</a></b>]. This refers to a spell which should be cast on this waypoint.
</p>


<p>
<a id="wpguid" rel="internal" style="color:rgb(255,255,255);">
<span style="font-size:20px;">
wpguid
</span></a>
 int(11)
</p>
<p>
A unique identifier for this waypoint.
</p>


<p>
<a id="orientation" rel="internal" style="color:rgb(255,255,255);">
<span style="font-size:20px;">
orientation
</span></a>
 float
</p>
<p>
The orientation for the creature's movement point. Measured in radians, 0 is north on the mini-map and pi is south on the mini-map.
</p>


<p>
<a id="model1" rel="internal" style="color:rgb(255,255,255);">
<span style="font-size:20px;">
model1
</span></a>
 mediumint(9)
</p>
<p>
A display model identifier activated on the waypoint. This references the unique ID in the "creature_model_info" table [<b>See <a href="https://www.getmangos.eu/wiki/referenceinfo/dbinfo/mangosdb/mangostwoworlddb/creature_model_info-r5022#ID" rel="">creature_model_info.ID</a></b>] for which this entry is valid.
</p>


<p>
<a id="model2" rel="internal" style="color:rgb(255,255,255);">
<span style="font-size:20px;">
model2
</span></a>
 mediumint(9)
</p>
<p>
An alternative display model identifier activated on the waypoint. This references the unique ID in the "creature_model_info" table [<b>See <a href="https://www.getmangos.eu/wiki/referenceinfo/dbinfo/mangosdb/mangostwoworlddb/creature_model_info-r5022#ID" rel="">creature_model_info.ID</a></b>] for which this entry is valid.
</p>



<br>
<p>
auto-generated by the <a href="https://getmangos.eu">getMaNGOS.eu</a> MAGNET dbdocs module
</p>
]]></description><guid isPermaLink="false">5025</guid><pubDate>Mon, 25 Jul 2016 08:57:26 +0000</pubDate></item><item><title>creature_onkill_reputation</title><link>https://www.getmangos.eu/wiki/referenceinfo/dbinfo/mangosdb/mangostwoworlddb/creature_onkill_reputation-r5026/</link><description><![CDATA[<table bgcolor="#a80000" border="2" cellpadding="0" cellspacing="0" width="100%">
<tbody>
<tr>
<td height="20">
<font color="#ffe97f" size="3"> <strong>NOTE:</strong>  This page is auto-generated from the MAGNET DBDocs module,<br>             Any changes made directly to this page will be lost when it is regenerated.</font>
</td>
</tr>
</tbody>
</table>
<h2 style="font-size:24px;color:rgb(180,255,255);">
Description of the  'creature_onkill_reputation' table for MaNGOSTwo
</h2>

<p>This table controls the reputation given by creatures when killed by other players.</p>

<p style="font-size:18px;color:rgb(255,255,180);">
<strong>Table Notes</strong>
</p>
<p>This table uses the 'InnoDB' DB Engine</p>


<p style="font-size:18px;color:rgb(255,255,180);">
<strong>The Field definitions follow:</strong>
</p>
<table align="center" border="1" cellpadding="1" cellspacing="1" style="width:100%;background-color:#2b2b2b;color:#c0c0c0;">
<thead><tr>
<th scope="col" style="border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:center;">
<b>Field Name</b>
</th>
<th scope="col" style="border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:center;">
<b>Field Type</b>
</th>
<th scope="col" style="border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:center;">
<b>Nullable</b>
</th>
<th scope="col" style="border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:center;">
<b>Key</b>
</th>
<th scope="col" style="border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:center;">
<b>Default Value</b>
</th>
<th scope="col" style="border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:center;">
<b>Attributes</b>
</th>
<th scope="col" style="border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:left;">
<b>Notes</b>
</th>
</tr>
</thead>
<tbody>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
<a href="#creature_id" rel="internal" style="color:rgb(180,255,255);">creature_id</a>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
mediumint(8) <abbr style="border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;" title="This field is unsigned, so it never accepts negative values">unsigned</abbr>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
NO
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
<abbr style="border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;" title="Primary Key">PRI</abbr>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
'0'
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
 
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:left;">
The template ID of the creature [<b>See <a href="https://www.getmangos.eu/wiki/referenceinfo/dbinfo/mangosdb/mangostwoworlddb/creature_template-r5028#entry" rel="">creature_template.entry</a></b>].
</td>
</tr>
<tr style="background-color:#3b3b3b;">
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
<a href="#RewOnKillRepFaction1" rel="internal" style="color:rgb(180,255,255);">RewOnKillRepFaction1</a>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
smallint(6)
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
NO
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">

</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
'0'
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
 
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:left;">
The faction ID of the faction that the player will gain or lose points in.
</td>
</tr>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
<a href="#RewOnKillRepFaction2" rel="internal" style="color:rgb(180,255,255);">RewOnKillRepFaction2</a>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
smallint(6)
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
NO
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">

</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
'0'
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
 
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:left;">
The faction ID of the faction that the player will gain or lose points in.
</td>
</tr>
<tr style="background-color:#3b3b3b;">
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
<a href="#MaxStanding1" rel="internal" style="color:rgb(180,255,255);">MaxStanding1</a>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
tinyint(4)
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
NO
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">

</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
'0'
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
 
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:left;">
The maximum standing that the creature will award reputation until.
</td>
</tr>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
<a href="#IsTeamAward1" rel="internal" style="color:rgb(180,255,255);">IsTeamAward1</a>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
tinyint(4)
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
NO
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">

</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
'0'
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
 
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:left;">
controls if the player receives the reputation 
</td>
</tr>
<tr style="background-color:#3b3b3b;">
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
<a href="#RewOnKillRepValue1" rel="internal" style="color:rgb(180,255,255);">RewOnKillRepValue1</a>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
mediumint(9)
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
NO
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">

</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
'0'
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
 
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:left;">
The reputation value that the player gains (or loses if it&amp;s negative).
</td>
</tr>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
<a href="#MaxStanding2" rel="internal" style="color:rgb(180,255,255);">MaxStanding2</a>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
tinyint(4)
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
NO
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">

</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
'0'
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
 
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:left;">
The maximum standing that the creature will award reputation until.
</td>
</tr>
<tr style="background-color:#3b3b3b;">
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
<a href="#IsTeamAward2" rel="internal" style="color:rgb(180,255,255);">IsTeamAward2</a>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
tinyint(4)
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
NO
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">

</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
'0'
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
 
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:left;">
controls if the player receives the reputation 
</td>
</tr>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
<a href="#RewOnKillRepValue2" rel="internal" style="color:rgb(180,255,255);">RewOnKillRepValue2</a>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
mediumint(9)
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
NO
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">

</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
'0'
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
 
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:left;">
The reputation value that the player gains (or loses if it&amp;s negative).
</td>
</tr>
<tr style="background-color:#3b3b3b;">
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
<a href="#TeamDependent" rel="internal" style="color:rgb(180,255,255);">TeamDependent</a>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
tinyint(3) <abbr style="border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;" title="This field is unsigned, so it never accepts negative values">unsigned</abbr>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
NO
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">

</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
'0'
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
 
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:left;">
Gender
</td>
</tr>
</tbody>
</table>
<p style="font-size:20px;color:rgb(255,255,180);">
<strong>Description of the fields</strong>
</p>
<p>
<a id="creature_id" rel="internal" style="color:rgb(255,255,255);">
<span style="font-size:20px;">
creature_id
</span></a>
 mediumint(8) <abbr style="border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;" title="This field is unsigned, so it never accepts negative values">unsigned</abbr>
</p>
<p>
The template ID of the creature [<b>See <a href="https://www.getmangos.eu/wiki/referenceinfo/dbinfo/mangosdb/mangostwoworlddb/creature_template-r5028#entry" rel="">creature_template.entry</a></b>].
</p>


<p>
<a id="RewOnKillRepFaction1" rel="internal" style="color:rgb(255,255,255);">
<span style="font-size:20px;">
RewOnKillRepFaction1
</span></a>
 smallint(6)
</p>
<p>
The faction ID of the faction that the player will gain or lose points in [<b>See <a href="https://www.getmangos.eu/wiki/" rel="">Faction.dbc</a></b>]
</p>


<p>
<a id="RewOnKillRepFaction2" rel="internal" style="color:rgb(255,255,255);">
<span style="font-size:20px;">
RewOnKillRepFaction2
</span></a>
 smallint(6)
</p>
<p>
The faction ID of the faction that the player will gain or lose points in [<b>See <a href="https://www.getmangos.eu/wiki/" rel="">Faction.dbc</a></b>].
</p>


<p>
<a id="MaxStanding1" rel="internal" style="color:rgb(255,255,255);">
<span style="font-size:20px;">
MaxStanding1
</span></a>
 tinyint(4)
</p>
<p>
The maximum standing that the creature will award reputation until. If the player achieves standing higher than this, the creature will not award any reputation.<br>
</p><table border="1" cellpadding="3" cellspacing="0" width="100%">
<tr><th>Value</th><th>Gender</th></tr>
<tr><td align="center" valign="middle">0</td><td align="center" valign="middle">Hated</td></tr>
<tr><td align="center" valign="middle">1</td><td align="center" valign="middle">Hostile</td></tr>
<tr><td align="center" valign="middle">2</td><td align="center" valign="middle">Unfriendly</td></tr>
<tr><td align="center" valign="middle">3</td><td align="center" valign="middle">Neutral</td></tr>
<tr><td align="center" valign="middle">4</td><td align="center" valign="middle">Friendly</td></tr>
<tr><td align="center" valign="middle">5</td><td align="center" valign="middle">Honored</td></tr>
<tr><td align="center" valign="middle">6</td><td align="center" valign="middle">Revered</td></tr>
<tr><td align="center" valign="middle">7</td><td align="center" valign="middle">Exalted</td></tr>
</table>




<p>
<a id="IsTeamAward1" rel="internal" style="color:rgb(255,255,255);">
<span style="font-size:20px;">
IsTeamAward1
</span></a>
 tinyint(4)
</p>
<p>
</p><table border="1" cellpadding="3" cellspacing="0">
<caption>Boolean 0 or 1 that controls if the player receives the reputation not only to the faction but also the faction team.</caption>
<tr><th>Value</th><th>Gender</th></tr>
<tr><td align="center" valign="middle">0</td><td align="center" valign="middle">Player receives reputation only for the faction.</td></tr>
<tr><td align="center" valign="middle">1</td><td align="center" valign="middle">Player receives reputation both for the faction and the faction's team.</td></tr>
</table>

NOTE: The reputation value that the player gains for the team (if the field is 1) is half of the value specified in RewOnKillRepValue





<p>
<a id="RewOnKillRepValue1" rel="internal" style="color:rgb(255,255,255);">
<span style="font-size:20px;">
RewOnKillRepValue1
</span></a>
 mediumint(9)
</p>
<p>
The reputation value that the player gains (or loses if it&amp;s negative) by killing the creature.
</p>


<p>
<a id="MaxStanding2" rel="internal" style="color:rgb(255,255,255);">
<span style="font-size:20px;">
MaxStanding2
</span></a>
 tinyint(4)
</p>
<p>
The maximum standing that the creature will award reputation until. If the player achieves standing higher than this, the creature will not award any reputation.<br>
</p><table border="1" cellpadding="3" cellspacing="0" width="100%">
<tr><th>Value</th><th>Gender</th></tr>
<tr><td align="center" valign="middle">0</td><td align="center" valign="middle">Hated</td></tr>
<tr><td align="center" valign="middle">1</td><td align="center" valign="middle">Hostile</td></tr>
<tr><td align="center" valign="middle">2</td><td align="center" valign="middle">Unfriendly</td></tr>
<tr><td align="center" valign="middle">3</td><td align="center" valign="middle">Neutral</td></tr>
<tr><td align="center" valign="middle">4</td><td align="center" valign="middle">Friendly</td></tr>
<tr><td align="center" valign="middle">5</td><td align="center" valign="middle">Honored</td></tr>
<tr><td align="center" valign="middle">6</td><td align="center" valign="middle">Revered</td></tr>
<tr><td align="center" valign="middle">7</td><td align="center" valign="middle">Exalted</td></tr>
</table>




<p>
<a id="IsTeamAward2" rel="internal" style="color:rgb(255,255,255);">
<span style="font-size:20px;">
IsTeamAward2
</span></a>
 tinyint(4)
</p>
<p>
</p><table border="1" cellpadding="3" cellspacing="0">
<caption>Boolean 0 or 1 that controls if the player receives the reputation not only to the faction but also the faction team.</caption>
<tr><th>Value</th><th>Gender</th></tr>
<tr><td align="center" valign="middle">0</td><td align="center" valign="middle">Player receives reputation only for the faction.</td></tr>
<tr><td align="center" valign="middle">1</td><td align="center" valign="middle">Player receives reputation both for the faction and the faction's team.</td></tr>
</table>

NOTE: The reputation value that the player gains for the team (if the field is 1) is half of the value specified in RewOnKillRepValue





<p>
<a id="RewOnKillRepValue2" rel="internal" style="color:rgb(255,255,255);">
<span style="font-size:20px;">
RewOnKillRepValue2
</span></a>
 mediumint(9)
</p>
<p>
The reputation value that the player gains (or loses if it&amp;s negative) by killing the creature.
</p>


<p>
<a id="TeamDependent" rel="internal" style="color:rgb(255,255,255);">
<span style="font-size:20px;">
TeamDependent
</span></a>
 tinyint(3) <abbr style="border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;" title="This field is unsigned, so it never accepts negative values">unsigned</abbr>
</p>
<p>
</p><table border="1" cellpadding="3" cellspacing="0">
<caption>Boolean 0 or 1.Boolean 0 or 1.</caption>
<tr><th>Value</th><th>Gender</th></tr>
<tr><td align="center" valign="middle">0</td><td align="center" valign="middle">The creature will give reputation to the any player from both fields (RewOnKillRepFaction1 and RewOnKillRepFaction2) if both fields are non-zero.</td></tr>
<tr><td align="center" valign="middle">1</td><td align="center" valign="middle">The creature will award alliance players the reputation from RewOnKillRepFaction1 and will award horde players the reputation from RewOnKillRepFaction2.</td></tr>
</table>






<br>
<p>
auto-generated by the <a href="https://getmangos.eu">getMaNGOS.eu</a> MAGNET dbdocs module
</p>
]]></description><guid isPermaLink="false">5026</guid><pubDate>Mon, 25 Jul 2016 08:57:27 +0000</pubDate></item><item><title>creature_template</title><link>https://www.getmangos.eu/wiki/referenceinfo/dbinfo/mangosdb/mangostwoworlddb/creature_template-r5028/</link><description><![CDATA[<table bgcolor='#a80000' border='2' cellpadding='0' cellspacing='0' width='100%'>
<tbody>
<tr>
<td height='20'>
<font color='#ffe97f' size='3'>&nbsp;<strong>NOTE:</strong>&nbsp; This page is auto-generated from the MAGNET DBDocs module,<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Any changes made directly to this page will be lost when it is regenerated.</font>
</td>
</tr>
</tbody>
</table>
<h2 style='font-size:24px;color:rgb(180,255,255);'>
Description of the  'creature_template' table for MaNGOSTwo
</h2>

<p>This table contains the description of creatures. Each spawned creature is an instance of a template present in this table, this means every creature MUST be defined in this table.</p>

<p style='font-size:18px;color:rgb(255,255,180);'>
<strong>Table Notes</strong>
</p>
<p>This table uses the 'MyISAM' DB Engine</p>


<p style='font-size:18px;color:rgb(255,255,180);'>
<strong>The Field definitions follow:</strong>
</p>
<table align='center' border='1' cellpadding='1' cellspacing='1' style='width:100%;background-color:#2b2b2b;color:#c0c0c0;'>
<thead><tr>
<th scope='col' style='border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:center;'>
<b>Field Name</b>
</th>
<th scope='col' style='border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:center;'>
<b>Field Type</b>
</th>
<th scope='col' style='border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:center;'>
<b>Nullable</b>
</th>
<th scope='col' style='border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:center;'>
<b>Key</b>
</th>
<th scope='col' style='border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:center;'>
<b>Default Value</b>
</th>
<th scope='col' style='border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:center;'>
<b>Attributes</b>
</th>
<th scope='col' style='border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:left;'>
<b>Notes</b>
</th>
</tr>
</thead>
<tbody>
<tr>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
<a href='#Entry' rel='internal' style='color:rgb(180,255,255);'>Entry</a>
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
mediumint(8) <abbr style='border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;' title='This field is unsigned, so it never accepts negative values'>unsigned</abbr>
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
NO
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
<abbr style='border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;' title='Primary Key'>PRI</abbr>
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
'0'
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
&nbsp;
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:left;'>
This is the Primary NPC Entry Number and is Also the Dungeon Normal Mode / Raid 
</td>
</tr>
<tr style='background-color:#3b3b3b;'>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
<a href='#Name' rel='internal' style='color:rgb(180,255,255);'>Name</a>
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
char(100)
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
NO
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>

</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
{Blank String}
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
&nbsp;
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:left;'>
The creature's name that will be displayed.
</td>
</tr>
<tr>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
<a href='#SubName' rel='internal' style='color:rgb(180,255,255);'>SubName</a>
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
char(100)
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
YES
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>

</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
{Blank String}
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
&nbsp;
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:left;'>
An optional tag, which will be shown below the creature's name.
</td>
</tr>
<tr style='background-color:#3b3b3b;'>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
<a href='#IconName' rel='internal' style='color:rgb(180,255,255);'>IconName</a>
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
char(100)
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
YES
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>

</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
{Blank String}
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
&nbsp;
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:left;'>
&nbsp;
</td>
</tr>
<tr>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
<a href='#MinLevel' rel='internal' style='color:rgb(180,255,255);'>MinLevel</a>
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
tinyint(3) <abbr style='border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;' title='This field is unsigned, so it never accepts negative values'>unsigned</abbr>
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
NO
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>

</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
'1'
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
&nbsp;
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:left;'>
The minimum level of the creature when it is spawned in-game.
</td>
</tr>
<tr style='background-color:#3b3b3b;'>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
<a href='#MaxLevel' rel='internal' style='color:rgb(180,255,255);'>MaxLevel</a>
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
tinyint(3) <abbr style='border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;' title='This field is unsigned, so it never accepts negative values'>unsigned</abbr>
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
NO
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>

</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
'1'
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
&nbsp;
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:left;'>
The maximum level of the creature when it is spawned in-game.
</td>
</tr>
<tr>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
<a href='#DifficultyEntry1' rel='internal' style='color:rgb(180,255,255);'>DifficultyEntry1</a>
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
mediumint(8) <abbr style='border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;' title='This field is unsigned, so it never accepts negative values'>unsigned</abbr>
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
NO
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>

</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
'0'
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
&nbsp;
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:left;'>
&nbsp;
</td>
</tr>
<tr style='background-color:#3b3b3b;'>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
<a href='#DifficultyEntry2' rel='internal' style='color:rgb(180,255,255);'>DifficultyEntry2</a>
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
mediumint(8) <abbr style='border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;' title='This field is unsigned, so it never accepts negative values'>unsigned</abbr>
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
NO
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>

</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
'0'
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
&nbsp;
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:left;'>
&nbsp;
</td>
</tr>
<tr>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
<a href='#DifficultyEntry3' rel='internal' style='color:rgb(180,255,255);'>DifficultyEntry3</a>
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
mediumint(8) <abbr style='border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;' title='This field is unsigned, so it never accepts negative values'>unsigned</abbr>
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
NO
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>

</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
'0'
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
&nbsp;
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:left;'>
&nbsp;
</td>
</tr>
<tr style='background-color:#3b3b3b;'>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
<a href='#ModelId1' rel='internal' style='color:rgb(180,255,255);'>ModelId1</a>
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
mediumint(8) <abbr style='border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;' title='This field is unsigned, so it never accepts negative values'>unsigned</abbr>
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
NO
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>

</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
'0'
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
&nbsp;
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:left;'>
A display model identifier for the creature_template.
</td>
</tr>
<tr>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
<a href='#ModelId2' rel='internal' style='color:rgb(180,255,255);'>ModelId2</a>
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
mediumint(8) <abbr style='border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;' title='This field is unsigned, so it never accepts negative values'>unsigned</abbr>
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
NO
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>

</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
'0'
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
&nbsp;
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:left;'>
An alternative display model identifier for the creature_template.
</td>
</tr>
<tr style='background-color:#3b3b3b;'>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
<a href='#ModelId3' rel='internal' style='color:rgb(180,255,255);'>ModelId3</a>
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
mediumint(8) <abbr style='border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;' title='This field is unsigned, so it never accepts negative values'>unsigned</abbr>
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
NO
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>

</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
'0'
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
&nbsp;
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:left;'>
&nbsp;
</td>
</tr>
<tr>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
<a href='#ModelId4' rel='internal' style='color:rgb(180,255,255);'>ModelId4</a>
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
mediumint(8) <abbr style='border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;' title='This field is unsigned, so it never accepts negative values'>unsigned</abbr>
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
NO
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>

</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
'0'
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
&nbsp;
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:left;'>
&nbsp;
</td>
</tr>
<tr style='background-color:#3b3b3b;'>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
<a href='#FactionAlliance' rel='internal' style='color:rgb(180,255,255);'>FactionAlliance</a>
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
smallint(5) <abbr style='border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;' title='This field is unsigned, so it never accepts negative values'>unsigned</abbr>
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
NO
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>

</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
'0'
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
&nbsp;
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:left;'>
The Faction If The Creature Is On The Alliance Side [<b>See <a href='https://www.getmangos.eu/wiki/' rel=''>FactionTemplate.dbc</a></b>].
</td>
</tr>
<tr>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
<a href='#FactionHorde' rel='internal' style='color:rgb(180,255,255);'>FactionHorde</a>
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
smallint(5) <abbr style='border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;' title='This field is unsigned, so it never accepts negative values'>unsigned</abbr>
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
NO
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>

</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
'0'
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
&nbsp;
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:left;'>
The Faction If The Creature Is On The Alliance Side [<b>See <a href='https://www.getmangos.eu/wiki/' rel=''>FactionTemplate.dbc</a></b>].
</td>
</tr>
<tr style='background-color:#3b3b3b;'>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
<a href='#Scale' rel='internal' style='color:rgb(180,255,255);'>Scale</a>
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
float
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
NO
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>

</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
'1'
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
&nbsp;
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:left;'>
The scale/size of the creature.<br />Normal => 1 (100%)
</td>
</tr>
<tr>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
<a href='#Family' rel='internal' style='color:rgb(180,255,255);'>Family</a>
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
tinyint(4)
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
NO
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>

</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
'0'
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
&nbsp;
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:left;'>
This Defines The Family That This Creature Belongs To.
</td>
</tr>
<tr style='background-color:#3b3b3b;'>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
<a href='#CreatureType' rel='internal' style='color:rgb(180,255,255);'>CreatureType</a>
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
tinyint(3) <abbr style='border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;' title='This field is unsigned, so it never accepts negative values'>unsigned</abbr>
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
NO
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>

</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
'0'
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
&nbsp;
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:left;'>
This Field Defines The Type Of Creature This NPC Is.
</td>
</tr>
<tr>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
<a href='#InhabitType' rel='internal' style='color:rgb(180,255,255);'>InhabitType</a>
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
tinyint(3) <abbr style='border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;' title='This field is unsigned, so it never accepts negative values'>unsigned</abbr>
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
NO
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>

</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
'3'
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
&nbsp;
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:left;'>
This Field Controls Where The Creature Can Move Into, Chase And Attack.
</td>
</tr>
<tr style='background-color:#3b3b3b;'>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
<a href='#RegenerateStats' rel='internal' style='color:rgb(180,255,255);'>RegenerateStats</a>
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
tinyint(3) <abbr style='border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;' title='This field is unsigned, so it never accepts negative values'>unsigned</abbr>
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
NO
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>

</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
'3'
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
&nbsp;
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:left;'>
Controls if a creature template should regenerate it's Health/Mana.
</td>
</tr>
<tr>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
<a href='#RacialLeader' rel='internal' style='color:rgb(180,255,255);'>RacialLeader</a>
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
tinyint(3) <abbr style='border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;' title='This field is unsigned, so it never accepts negative values'>unsigned</abbr>
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
NO
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>

</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
'0'
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
&nbsp;
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:left;'>
Determines if a creature template is a racial leader.
</td>
</tr>
<tr style='background-color:#3b3b3b;'>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
<a href='#NpcFlags' rel='internal' style='color:rgb(180,255,255);'>NpcFlags</a>
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
int(10) <abbr style='border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;' title='This field is unsigned, so it never accepts negative values'>unsigned</abbr>
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
NO
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>

</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
'0'
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
&nbsp;
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:left;'>
The flags of the creature.
</td>
</tr>
<tr>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
<a href='#UnitFlags' rel='internal' style='color:rgb(180,255,255);'>UnitFlags</a>
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
int(10) <abbr style='border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;' title='This field is unsigned, so it never accepts negative values'>unsigned</abbr>
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
NO
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>

</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
'0'
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
&nbsp;
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:left;'>
Allows the manual application of unit flags to creatures.
</td>
</tr>
<tr style='background-color:#3b3b3b;'>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
<a href='#DynamicFlags' rel='internal' style='color:rgb(180,255,255);'>DynamicFlags</a>
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
int(10) <abbr style='border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;' title='This field is unsigned, so it never accepts negative values'>unsigned</abbr>
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
NO
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>

</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
'0'
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
&nbsp;
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:left;'>
Dynamic flags are used to control the visual appearance of a creature template.
</td>
</tr>
<tr>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
<a href='#ExtraFlags' rel='internal' style='color:rgb(180,255,255);'>ExtraFlags</a>
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
int(10) <abbr style='border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;' title='This field is unsigned, so it never accepts negative values'>unsigned</abbr>
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
NO
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>

</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
'0'
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
&nbsp;
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:left;'>
The extra flags allow to modify special behaviour for a creature_template. 
</td>
</tr>
<tr style='background-color:#3b3b3b;'>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
<a href='#CreatureTypeFlags' rel='internal' style='color:rgb(180,255,255);'>CreatureTypeFlags</a>
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
int(10) <abbr style='border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;' title='This field is unsigned, so it never accepts negative values'>unsigned</abbr>
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
NO
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>

</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
'0'
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
&nbsp;
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:left;'>
Type flags seem to control what actions a player can perform.
</td>
</tr>
<tr>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
<a href='#SpeedWalk' rel='internal' style='color:rgb(180,255,255);'>SpeedWalk</a>
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
float
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
NO
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>

</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
'1'
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
&nbsp;
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:left;'>
Controls how fast the creature can move in walking mode.
</td>
</tr>
<tr style='background-color:#3b3b3b;'>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
<a href='#SpeedRun' rel='internal' style='color:rgb(180,255,255);'>SpeedRun</a>
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
float
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
NO
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>

</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
'1.14286'
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
&nbsp;
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:left;'>
Controls how fast the creature can move in running mode.
</td>
</tr>
<tr>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
<a href='#UnitClass' rel='internal' style='color:rgb(180,255,255);'>UnitClass</a>
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
tinyint(3) <abbr style='border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;' title='This field is unsigned, so it never accepts negative values'>unsigned</abbr>
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
NO
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>

</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
'0'
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
&nbsp;
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:left;'>
A creature's class. The following table describes the available classes.
</td>
</tr>
<tr style='background-color:#3b3b3b;'>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
<a href='#Rank' rel='internal' style='color:rgb(180,255,255);'>Rank</a>
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
tinyint(3) <abbr style='border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;' title='This field is unsigned, so it never accepts negative values'>unsigned</abbr>
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
NO
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>

</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
'0'
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
&nbsp;
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:left;'>
The border of a creature portrait.
</td>
</tr>
<tr>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
<a href='#Expansion' rel='internal' style='color:rgb(180,255,255);'>Expansion</a>
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
tinyint(3)
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
NO
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>

</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
'-1'
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
&nbsp;
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:left;'>
&nbsp;
</td>
</tr>
<tr style='background-color:#3b3b3b;'>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
<a href='#HealthMultiplier' rel='internal' style='color:rgb(180,255,255);'>HealthMultiplier</a>
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
float
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
NO
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>

</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
'1'
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
&nbsp;
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:left;'>
Modifies the creature template's health by this factor.
</td>
</tr>
<tr>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
<a href='#PowerMultiplier' rel='internal' style='color:rgb(180,255,255);'>PowerMultiplier</a>
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
float
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
NO
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>

</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
'1'
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
&nbsp;
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:left;'>
The affects the creature's power.
</td>
</tr>
<tr style='background-color:#3b3b3b;'>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
<a href='#DamageMultiplier' rel='internal' style='color:rgb(180,255,255);'>DamageMultiplier</a>
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
float
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
NO
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>

</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
'1'
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
&nbsp;
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:left;'>
This affects the amount of damage a creature can do.
</td>
</tr>
<tr>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
<a href='#DamageVariance' rel='internal' style='color:rgb(180,255,255);'>DamageVariance</a>
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
float
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
NO
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>

</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
'1'
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
&nbsp;
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:left;'>
This is used in damage calculations.
</td>
</tr>
<tr style='background-color:#3b3b3b;'>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
<a href='#ArmorMultiplier' rel='internal' style='color:rgb(180,255,255);'>ArmorMultiplier</a>
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
float
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
NO
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>

</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
'1'
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
&nbsp;
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:left;'>
Modify the creature template's armor by this factor.
</td>
</tr>
<tr>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
<a href='#ExperienceMultiplier' rel='internal' style='color:rgb(180,255,255);'>ExperienceMultiplier</a>
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
float
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
NO
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>

</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
'1'
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
&nbsp;
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:left;'>
This affects the amount of experience the creature will earn.
</td>
</tr>
<tr style='background-color:#3b3b3b;'>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
<a href='#MinLevelHealth' rel='internal' style='color:rgb(180,255,255);'>MinLevelHealth</a>
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
int(10) <abbr style='border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;' title='This field is unsigned, so it never accepts negative values'>unsigned</abbr>
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
NO
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>

</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
'0'
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
&nbsp;
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:left;'>
The minimum health of the creature.
</td>
</tr>
<tr>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
<a href='#MaxLevelHealth' rel='internal' style='color:rgb(180,255,255);'>MaxLevelHealth</a>
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
int(10) <abbr style='border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;' title='This field is unsigned, so it never accepts negative values'>unsigned</abbr>
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
NO
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>

</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
'0'
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
&nbsp;
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:left;'>
The maximum health of the creature.
</td>
</tr>
<tr style='background-color:#3b3b3b;'>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
<a href='#MinLevelMana' rel='internal' style='color:rgb(180,255,255);'>MinLevelMana</a>
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
int(10) <abbr style='border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;' title='This field is unsigned, so it never accepts negative values'>unsigned</abbr>
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
NO
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>

</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
'0'
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
&nbsp;
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:left;'>
The miminum mana of the creature if the creature has variable mana.
</td>
</tr>
<tr>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
<a href='#MaxLevelMana' rel='internal' style='color:rgb(180,255,255);'>MaxLevelMana</a>
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
int(10) <abbr style='border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;' title='This field is unsigned, so it never accepts negative values'>unsigned</abbr>
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
NO
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>

</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
'0'
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
&nbsp;
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:left;'>
The maximum mana of the creature.
</td>
</tr>
<tr style='background-color:#3b3b3b;'>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
<a href='#MinMeleeDmg' rel='internal' style='color:rgb(180,255,255);'>MinMeleeDmg</a>
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
float
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
NO
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>

</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
'0'
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
&nbsp;
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:left;'>
Minimum damage the creature deals in melee combat.
</td>
</tr>
<tr>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
<a href='#MaxMeleeDmg' rel='internal' style='color:rgb(180,255,255);'>MaxMeleeDmg</a>
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
float
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
NO
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>

</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
'0'
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
&nbsp;
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:left;'>
Maximum damage the creature deals in melee combat.
</td>
</tr>
<tr style='background-color:#3b3b3b;'>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
<a href='#MinRangedDmg' rel='internal' style='color:rgb(180,255,255);'>MinRangedDmg</a>
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
float
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
NO
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>

</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
'0'
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
&nbsp;
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:left;'>
Minimum damage the creature deals in ranged combat.
</td>
</tr>
<tr>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
<a href='#MaxRangedDmg' rel='internal' style='color:rgb(180,255,255);'>MaxRangedDmg</a>
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
float
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
NO
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>

</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
'0'
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
&nbsp;
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:left;'>
Maximum damage the creature deals in ranged combat.
</td>
</tr>
<tr style='background-color:#3b3b3b;'>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
<a href='#Armor' rel='internal' style='color:rgb(180,255,255);'>Armor</a>
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
int(10) <abbr style='border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;' title='This field is unsigned, so it never accepts negative values'>unsigned</abbr>
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
NO
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>

</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
'0'
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
&nbsp;
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:left;'>
The total armor of the creature.
</td>
</tr>
<tr>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
<a href='#MeleeAttackPower' rel='internal' style='color:rgb(180,255,255);'>MeleeAttackPower</a>
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
int(10) <abbr style='border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;' title='This field is unsigned, so it never accepts negative values'>unsigned</abbr>
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
NO
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>

</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
'0'
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
&nbsp;
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:left;'>
The attack power for the creature's melee attacks.
</td>
</tr>
<tr style='background-color:#3b3b3b;'>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
<a href='#RangedAttackPower' rel='internal' style='color:rgb(180,255,255);'>RangedAttackPower</a>
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
smallint(5) <abbr style='border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;' title='This field is unsigned, so it never accepts negative values'>unsigned</abbr>
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
NO
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>

</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
'0'
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
&nbsp;
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:left;'>
The attack power for the creature's ranged attacks.
</td>
</tr>
<tr>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
<a href='#MeleeBaseAttackTime' rel='internal' style='color:rgb(180,255,255);'>MeleeBaseAttackTime</a>
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
int(10) <abbr style='border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;' title='This field is unsigned, so it never accepts negative values'>unsigned</abbr>
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
NO
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>

</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
'2000'
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
&nbsp;
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:left;'>
A creature's melee attack time in milliseconds.
</td>
</tr>
<tr style='background-color:#3b3b3b;'>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
<a href='#RangedBaseAttackTime' rel='internal' style='color:rgb(180,255,255);'>RangedBaseAttackTime</a>
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
int(10) <abbr style='border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;' title='This field is unsigned, so it never accepts negative values'>unsigned</abbr>
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
NO
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>

</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
'2000'
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
&nbsp;
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:left;'>
The delay between ranged attacks, in milliseconds.
</td>
</tr>
<tr>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
<a href='#DamageSchool' rel='internal' style='color:rgb(180,255,255);'>DamageSchool</a>
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
tinyint(4)
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
NO
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>

</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
'0'
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
&nbsp;
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:left;'>
A damage school for melee combat.
</td>
</tr>
<tr style='background-color:#3b3b3b;'>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
<a href='#MinLootGold' rel='internal' style='color:rgb(180,255,255);'>MinLootGold</a>
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
mediumint(8) <abbr style='border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;' title='This field is unsigned, so it never accepts negative values'>unsigned</abbr>
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
NO
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>

</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
'0'
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
&nbsp;
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:left;'>
Minimum money the creature drops when killed, in copper.
</td>
</tr>
<tr>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
<a href='#MaxLootGold' rel='internal' style='color:rgb(180,255,255);'>MaxLootGold</a>
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
mediumint(8) <abbr style='border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;' title='This field is unsigned, so it never accepts negative values'>unsigned</abbr>
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
NO
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>

</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
'0'
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
&nbsp;
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:left;'>
The money dropped by the creature in copper.
</td>
</tr>
<tr style='background-color:#3b3b3b;'>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
<a href='#LootId' rel='internal' style='color:rgb(180,255,255);'>LootId</a>
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
mediumint(8) <abbr style='border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;' title='This field is unsigned, so it never accepts negative values'>unsigned</abbr>
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
NO
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>

</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
'0'
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
&nbsp;
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:left;'>
This adds loot to the creature.
</td>
</tr>
<tr>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
<a href='#PickpocketLootId' rel='internal' style='color:rgb(180,255,255);'>PickpocketLootId</a>
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
mediumint(8) <abbr style='border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;' title='This field is unsigned, so it never accepts negative values'>unsigned</abbr>
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
NO
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>

</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
'0'
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
&nbsp;
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:left;'>
This adds pickpocket loot to the creature.
</td>
</tr>
<tr style='background-color:#3b3b3b;'>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
<a href='#SkinningLootId' rel='internal' style='color:rgb(180,255,255);'>SkinningLootId</a>
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
mediumint(8) <abbr style='border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;' title='This field is unsigned, so it never accepts negative values'>unsigned</abbr>
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
NO
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>

</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
'0'
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
&nbsp;
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:left;'>
This adds skinning loot to the creature.
</td>
</tr>
<tr>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
<a href='#KillCredit1' rel='internal' style='color:rgb(180,255,255);'>KillCredit1</a>
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
int(11) <abbr style='border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;' title='This field is unsigned, so it never accepts negative values'>unsigned</abbr>
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
NO
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>

</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
'0'
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
&nbsp;
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:left;'>
If killing a creature should credit towards a different creature_template.
</td>
</tr>
<tr style='background-color:#3b3b3b;'>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
<a href='#KillCredit2' rel='internal' style='color:rgb(180,255,255);'>KillCredit2</a>
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
int(11) <abbr style='border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;' title='This field is unsigned, so it never accepts negative values'>unsigned</abbr>
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
NO
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>

</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
'0'
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
&nbsp;
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:left;'>
If killing a creature should credit towards a different creature_template.
</td>
</tr>
<tr>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
<a href='#QuestItem1' rel='internal' style='color:rgb(180,255,255);'>QuestItem1</a>
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
int(11) <abbr style='border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;' title='This field is unsigned, so it never accepts negative values'>unsigned</abbr>
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
NO
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>

</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
'0'
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
&nbsp;
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:left;'>
&nbsp;
</td>
</tr>
<tr style='background-color:#3b3b3b;'>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
<a href='#QuestItem2' rel='internal' style='color:rgb(180,255,255);'>QuestItem2</a>
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
int(11) <abbr style='border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;' title='This field is unsigned, so it never accepts negative values'>unsigned</abbr>
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
NO
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>

</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
'0'
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
&nbsp;
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:left;'>
&nbsp;
</td>
</tr>
<tr>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
<a href='#QuestItem3' rel='internal' style='color:rgb(180,255,255);'>QuestItem3</a>
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
int(11) <abbr style='border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;' title='This field is unsigned, so it never accepts negative values'>unsigned</abbr>
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
NO
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>

</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
'0'
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
&nbsp;
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:left;'>
&nbsp;
</td>
</tr>
<tr style='background-color:#3b3b3b;'>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
<a href='#QuestItem4' rel='internal' style='color:rgb(180,255,255);'>QuestItem4</a>
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
int(11) <abbr style='border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;' title='This field is unsigned, so it never accepts negative values'>unsigned</abbr>
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
NO
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>

</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
'0'
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
&nbsp;
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:left;'>
&nbsp;
</td>
</tr>
<tr>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
<a href='#QuestItem5' rel='internal' style='color:rgb(180,255,255);'>QuestItem5</a>
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
int(11) <abbr style='border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;' title='This field is unsigned, so it never accepts negative values'>unsigned</abbr>
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
NO
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>

</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
'0'
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
&nbsp;
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:left;'>
&nbsp;
</td>
</tr>
<tr style='background-color:#3b3b3b;'>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
<a href='#QuestItem6' rel='internal' style='color:rgb(180,255,255);'>QuestItem6</a>
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
int(11) <abbr style='border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;' title='This field is unsigned, so it never accepts negative values'>unsigned</abbr>
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
NO
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>

</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
'0'
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
&nbsp;
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:left;'>
&nbsp;
</td>
</tr>
<tr>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
<a href='#MechanicImmuneMask' rel='internal' style='color:rgb(180,255,255);'>MechanicImmuneMask</a>
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
int(10) <abbr style='border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;' title='This field is unsigned, so it never accepts negative values'>unsigned</abbr>
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
NO
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>

</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
'0'
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
&nbsp;
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:left;'>
This mask can be used to make creatures immune to spell mechanics.
</td>
</tr>
<tr style='background-color:#3b3b3b;'>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
<a href='#ResistanceHoly' rel='internal' style='color:rgb(180,255,255);'>ResistanceHoly</a>
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
smallint(5)
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
NO
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>

</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
'0'
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
&nbsp;
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:left;'>
The Holy resistance of the creature.
</td>
</tr>
<tr>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
<a href='#ResistanceFire' rel='internal' style='color:rgb(180,255,255);'>ResistanceFire</a>
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
smallint(5)
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
NO
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>

</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
'0'
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
&nbsp;
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:left;'>
The Fire resistance of the creature.
</td>
</tr>
<tr style='background-color:#3b3b3b;'>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
<a href='#ResistanceNature' rel='internal' style='color:rgb(180,255,255);'>ResistanceNature</a>
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
smallint(5)
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
NO
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>

</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
'0'
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
&nbsp;
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:left;'>
The Nature resistance of the creature.
</td>
</tr>
<tr>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
<a href='#ResistanceFrost' rel='internal' style='color:rgb(180,255,255);'>ResistanceFrost</a>
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
smallint(5)
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
NO
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>

</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
'0'
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
&nbsp;
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:left;'>
The Frost resistance of the creature.
</td>
</tr>
<tr style='background-color:#3b3b3b;'>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
<a href='#ResistanceShadow' rel='internal' style='color:rgb(180,255,255);'>ResistanceShadow</a>
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
smallint(5)
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
NO
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>

</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
'0'
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
&nbsp;
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:left;'>
The Shadow resistance of the creature.
</td>
</tr>
<tr>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
<a href='#ResistanceArcane' rel='internal' style='color:rgb(180,255,255);'>ResistanceArcane</a>
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
smallint(5)
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
NO
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>

</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
'0'
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
&nbsp;
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:left;'>
The Arcane resistance of the creature.
</td>
</tr>
<tr style='background-color:#3b3b3b;'>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
<a href='#PetSpellDataId' rel='internal' style='color:rgb(180,255,255);'>PetSpellDataId</a>
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
mediumint(8) <abbr style='border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;' title='This field is unsigned, so it never accepts negative values'>unsigned</abbr>
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
NO
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>

</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
'0'
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
&nbsp;
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:left;'>
ID that displays what spells the pet has in the client.
</td>
</tr>
<tr>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
<a href='#MovementType' rel='internal' style='color:rgb(180,255,255);'>MovementType</a>
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
tinyint(3) <abbr style='border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;' title='This field is unsigned, so it never accepts negative values'>unsigned</abbr>
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
NO
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>

</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
'0'
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
&nbsp;
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:left;'>
The movement type defines what a creature spawn will behave like after spawning.
</td>
</tr>
<tr style='background-color:#3b3b3b;'>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
<a href='#MovementTemplateId' rel='internal' style='color:rgb(180,255,255);'>MovementTemplateId</a>
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
int(11) <abbr style='border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;' title='This field is unsigned, so it never accepts negative values'>unsigned</abbr>
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
NO
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>

</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
'0'
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
&nbsp;
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:left;'>
&nbsp;
</td>
</tr>
<tr>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
<a href='#TrainerType' rel='internal' style='color:rgb(180,255,255);'>TrainerType</a>
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
tinyint(4)
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
NO
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>

</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
'0'
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
&nbsp;
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:left;'>
This details what kind of trainer the creature is.
</td>
</tr>
<tr style='background-color:#3b3b3b;'>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
<a href='#TrainerSpell' rel='internal' style='color:rgb(180,255,255);'>TrainerSpell</a>
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
mediumint(8) <abbr style='border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;' title='This field is unsigned, so it never accepts negative values'>unsigned</abbr>
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
NO
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>

</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
'0'
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
&nbsp;
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:left;'>
This will restrict access to a profession trainer.
</td>
</tr>
<tr>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
<a href='#TrainerClass' rel='internal' style='color:rgb(180,255,255);'>TrainerClass</a>
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
tinyint(3) <abbr style='border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;' title='This field is unsigned, so it never accepts negative values'>unsigned</abbr>
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
NO
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>

</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
'0'
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
&nbsp;
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:left;'>
The value of this field will restrict access to class and/or pet trainers
</td>
</tr>
<tr style='background-color:#3b3b3b;'>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
<a href='#TrainerRace' rel='internal' style='color:rgb(180,255,255);'>TrainerRace</a>
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
tinyint(3) <abbr style='border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;' title='This field is unsigned, so it never accepts negative values'>unsigned</abbr>
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
NO
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>

</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
'0'
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
&nbsp;
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:left;'>
This field allows to restrict a riding trainer to a specific race.
</td>
</tr>
<tr>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
<a href='#TrainerTemplateId' rel='internal' style='color:rgb(180,255,255);'>TrainerTemplateId</a>
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
mediumint(8) <abbr style='border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;' title='This field is unsigned, so it never accepts negative values'>unsigned</abbr>
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
NO
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>

</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
'0'
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
&nbsp;
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:left;'>
This field adds a training spells to a creature template.
</td>
</tr>
<tr style='background-color:#3b3b3b;'>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
<a href='#VendorTemplateId' rel='internal' style='color:rgb(180,255,255);'>VendorTemplateId</a>
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
mediumint(8) <abbr style='border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;' title='This field is unsigned, so it never accepts negative values'>unsigned</abbr>
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
NO
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>

</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
'0'
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
&nbsp;
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:left;'>
This field adds a vendor items to a creature template.
</td>
</tr>
<tr>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
<a href='#EquipmentTemplateId' rel='internal' style='color:rgb(180,255,255);'>EquipmentTemplateId</a>
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
mediumint(8) <abbr style='border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;' title='This field is unsigned, so it never accepts negative values'>unsigned</abbr>
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
NO
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>

</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
'0'
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
&nbsp;
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:left;'>
The field adds equipment to a creature.
</td>
</tr>
<tr style='background-color:#3b3b3b;'>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
<a href='#VehicleTemplateId' rel='internal' style='color:rgb(180,255,255);'>VehicleTemplateId</a>
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
mediumint(8) <abbr style='border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;' title='This field is unsigned, so it never accepts negative values'>unsigned</abbr>
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
NO
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>

</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
'0'
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
&nbsp;
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:left;'>
&nbsp;
</td>
</tr>
<tr>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
<a href='#GossipMenuId' rel='internal' style='color:rgb(180,255,255);'>GossipMenuId</a>
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
mediumint(8) <abbr style='border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;' title='This field is unsigned, so it never accepts negative values'>unsigned</abbr>
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
NO
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>

</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
'0'
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
&nbsp;
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:left;'>
This field is used for adding gossip to the creature.
</td>
</tr>
<tr style='background-color:#3b3b3b;'>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
<a href='#AIName' rel='internal' style='color:rgb(180,255,255);'>AIName</a>
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
char(64)
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
NO
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>

</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
{Blank String}
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
&nbsp;
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:left;'>
This string determines which built-in AI script will be used.
</td>
</tr>
</tbody>
</table>
<p style='font-size:20px;color:rgb(255,255,180);'>
<strong>Description of the fields</strong>
</p>
<p>
<a id='Entry' rel='internal' style='color:rgb(255,255,255);'>
<span style='font-size:20px;'>
Entry
</span></a>
 mediumint(8) <abbr style='border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;' title='This field is unsigned, so it never accepts negative values'>unsigned</abbr>
</p>
<p>
This is the Primary NPC Entry Number and is Also the Dungeon Normal Mode / Raid 10-Man Normal Mode Entry.
</p>


<p>
<a id='Name' rel='internal' style='color:rgb(255,255,255);'>
<span style='font-size:20px;'>
Name
</span></a>
 char(100)
</p>
<p>
The creature's name that will be displayed.
</p>


<p>
<a id='SubName' rel='internal' style='color:rgb(255,255,255);'>
<span style='font-size:20px;'>
SubName
</span></a>
 char(100)
</p>
<p>
An optional tag, which will be shown below the creature's name.
</p>


<p>
<a id='IconName' rel='internal' style='color:rgb(255,255,255);'>
<span style='font-size:20px;'>
IconName
</span></a>
 char(100)
</p>

<p>
<a id='MinLevel' rel='internal' style='color:rgb(255,255,255);'>
<span style='font-size:20px;'>
MinLevel
</span></a>
 tinyint(3) <abbr style='border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;' title='This field is unsigned, so it never accepts negative values'>unsigned</abbr>
</p>
<p>
The minimum level of the creature when it is spawned in-game.
</p>


<p>
<a id='MaxLevel' rel='internal' style='color:rgb(255,255,255);'>
<span style='font-size:20px;'>
MaxLevel
</span></a>
 tinyint(3) <abbr style='border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;' title='This field is unsigned, so it never accepts negative values'>unsigned</abbr>
</p>
<p>
The maximum level of the creature when it is spawned in-game. Must be higher than minlevel!
</p>


<p>
<a id='DifficultyEntry1' rel='internal' style='color:rgb(255,255,255);'>
<span style='font-size:20px;'>
DifficultyEntry1
</span></a>
 mediumint(8) <abbr style='border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;' title='This field is unsigned, so it never accepts negative values'>unsigned</abbr>
</p>

<p>
<a id='DifficultyEntry2' rel='internal' style='color:rgb(255,255,255);'>
<span style='font-size:20px;'>
DifficultyEntry2
</span></a>
 mediumint(8) <abbr style='border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;' title='This field is unsigned, so it never accepts negative values'>unsigned</abbr>
</p>

<p>
<a id='DifficultyEntry3' rel='internal' style='color:rgb(255,255,255);'>
<span style='font-size:20px;'>
DifficultyEntry3
</span></a>
 mediumint(8) <abbr style='border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;' title='This field is unsigned, so it never accepts negative values'>unsigned</abbr>
</p>

<p>
<a id='ModelId1' rel='internal' style='color:rgb(255,255,255);'>
<span style='font-size:20px;'>
ModelId1
</span></a>
 mediumint(8) <abbr style='border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;' title='This field is unsigned, so it never accepts negative values'>unsigned</abbr>
</p>
<p>
A display model identifier for the creature_template. 
This references the unique ID in table "creature_model_info" [<b>See <a href='https://www.getmangos.eu/wiki/referenceinfo/dbinfo/mangosdb/mangostwoworlddb/creature_model_info-r5022' rel=''>creature_model_info</a></b>] for which this entry is valid.

</p>


<p>
<a id='ModelId2' rel='internal' style='color:rgb(255,255,255);'>
<span style='font-size:20px;'>
ModelId2
</span></a>
 mediumint(8) <abbr style='border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;' title='This field is unsigned, so it never accepts negative values'>unsigned</abbr>
</p>
<p>
A display model identifier for the creature_template. 
This references the unique ID in table "creature_model_info" [<b>See <a href='https://www.getmangos.eu/wiki/referenceinfo/dbinfo/mangosdb/mangostwoworlddb/creature_model_info-r5022' rel=''>creature_model_info</a></b>] for which this entry is valid.

</p>


<p>
<a id='ModelId3' rel='internal' style='color:rgb(255,255,255);'>
<span style='font-size:20px;'>
ModelId3
</span></a>
 mediumint(8) <abbr style='border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;' title='This field is unsigned, so it never accepts negative values'>unsigned</abbr>
</p>
<p>
A display model identifier for the creature_template. <br />This references the unique ID in table "creature_model_info" [<b>See <a href='https://www.getmangos.eu/wiki/referenceinfo/dbinfo/mangosdb/mangostwoworlddb/creature_model_info-r5022' rel=''>creature_model_info</a></b>] for which this entry is valid.
</p>


<p>
<a id='ModelId4' rel='internal' style='color:rgb(255,255,255);'>
<span style='font-size:20px;'>
ModelId4
</span></a>
 mediumint(8) <abbr style='border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;' title='This field is unsigned, so it never accepts negative values'>unsigned</abbr>
</p>
<p>
A display model identifier for the creature_template. <br />This references the unique ID in table "creature_model_info" [<b>See <a href='https://www.getmangos.eu/wiki/referenceinfo/dbinfo/mangosdb/mangostwoworlddb/creature_model_info-r5022' rel=''>creature_model_info</a></b>] for which this entry is valid.
</p>


<p>
<a id='FactionAlliance' rel='internal' style='color:rgb(255,255,255);'>
<span style='font-size:20px;'>
FactionAlliance
</span></a>
 smallint(5) <abbr style='border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;' title='This field is unsigned, so it never accepts negative values'>unsigned</abbr>
</p>
<p>
The Faction If The Creature Is On The Alliance Side [<b>See <a href='https://www.getmangos.eu/wiki/' rel=''>FactionTemplate.dbc</a></b>].. Just Because More Than One Faction Has The Same Name, The Inter-Faction Relationships Can Be Different.<br /><br /><b>Note:</b><br />This Field Also Controls The Creature Family Assistance Mechanic. Only Creatures With The Same Faction Will Assist Each Other.
</p>


<p>
<a id='FactionHorde' rel='internal' style='color:rgb(255,255,255);'>
<span style='font-size:20px;'>
FactionHorde
</span></a>
 smallint(5) <abbr style='border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;' title='This field is unsigned, so it never accepts negative values'>unsigned</abbr>
</p>
<p>
The Faction If The Creature Is On The Horde Side [<b>See <a href='https://www.getmangos.eu/wiki/' rel=''>FactionTemplate.dbc</a></b>].. Just Because More Than One Faction Has The Same Name, The Inter-Faction Relationships Can Be Different.<br /><br /><b>Note:</b><br />This Field Also Controls The Creature Family Assistance Mechanic. Only Creatures With The Same Faction Will Assist Each Other.
</p>


<p>
<a id='Scale' rel='internal' style='color:rgb(255,255,255);'>
<span style='font-size:20px;'>
Scale
</span></a>
 float
</p>
<p>
The scale/size of the creature.<br /><br />Normal => 1 (100%)
</p>


<p>
<a id='Family' rel='internal' style='color:rgb(255,255,255);'>
<span style='font-size:20px;'>
Family
</span></a>
 tinyint(4)
</p>
<p>
This Defines The Family That This Creature Belongs To. This Is Only Used If CreatureType Is 1 (Beast).<br /><table align='center' border='1' cellpadding='1' cellspacing='1' style='width:100%;background-color:#2b2b2b;color:#c0c0c0;'>
<thead>
<tr>
<th scope='col' style='border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:center;'>
<b>ID</b>
</th>
<th scope='col' style='border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:left;'>
<b>Family</b>
</th>
</tr>
</thead>
<tbody>
<tr>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
1
</td>
<td style='border:1px solid #999999;padding:3px 10px;'>
Wolf
</td>
</tr>
<tr style='background-color:#3b3b3b;'>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
2
</td>
<td style='border:1px solid #999999;padding:3px 10px;'>
Cat
</td>
</tr>
<tr>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
3
</td>
<td style='border:1px solid #999999;padding:3px 10px;'>
Spider
</td>
</tr>
<tr style='background-color:#3b3b3b;'>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
4
</td>
<td style='border:1px solid #999999;padding:3px 10px;'>
Bear
</td>
</tr>
<tr>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
5
</td>
<td style='border:1px solid #999999;padding:3px 10px;'>
Boar
</td>
</tr>
<tr style='background-color:#3b3b3b;'>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
6
</td>
<td style='border:1px solid #999999;padding:3px 10px;'>
Crocolisk
</td>
</tr>
<tr>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
7
</td>
<td style='border:1px solid #999999;padding:3px 10px;'>
Carrion Bird
</td>
</tr>
<tr style='background-color:#3b3b3b;'>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
8
</td>
<td style='border:1px solid #999999;padding:3px 10px;'>
Crab
</td>
</tr>
<tr>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
9
</td>
<td style='border:1px solid #999999;padding:3px 10px;'>
Gorilla
</td>
</tr>
<tr style='background-color:#3b3b3b;'>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
11
</td>
<td style='border:1px solid #999999;padding:3px 10px;'>
Raptor
</td>
</tr>
<tr>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
12
</td>
<td style='border:1px solid #999999;padding:3px 10px;'>
Tallstrider
</td>
</tr>
<tr style='background-color:#3b3b3b;'>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
15
</td>
<td style='border:1px solid #999999;padding:3px 10px;'>
Felhunter
</td>
</tr>
<tr>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
16
</td>
<td style='border:1px solid #999999;padding:3px 10px;'>
Voidwalker
</td>
</tr>
<tr style='background-color:#3b3b3b;'>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
17
</td>
<td style='border:1px solid #999999;padding:3px 10px;'>
Succubus
</td>
</tr>
<tr>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
19
</td>
<td style='border:1px solid #999999;padding:3px 10px;'>
Doomguard
</td>
</tr>
<tr style='background-color:#3b3b3b;'>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
20
</td>
<td style='border:1px solid #999999;padding:3px 10px;'>
Scorpid
</td>
</tr>
<tr>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
21
</td>
<td style='border:1px solid #999999;padding:3px 10px;'>
Turtle
</td>
</tr>
<tr style='background-color:#3b3b3b;'>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
23
</td>
<td style='border:1px solid #999999;padding:3px 10px;'>
Imp
</td>
</tr>
<tr>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
24
</td>
<td style='border:1px solid #999999;padding:3px 10px;'>
Bat
</td>
</tr>
<tr style='background-color:#3b3b3b;'>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
25
</td>
<td style='border:1px solid #999999;padding:3px 10px;'>
Hyena
</td>
</tr>
<tr>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
26
</td>
<td style='border:1px solid #999999;padding:3px 10px;'>
Owl
</td>
</tr>
<tr style='background-color:#3b3b3b;'>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
27
</td>
<td style='border:1px solid #999999;padding:3px 10px;'>
Wind Serpent
</td>
</tr>
<tr>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
28
</td>
<td style='border:1px solid #999999;padding:3px 10px;'>
Remote Control
</td>
</tr>
</tbody>
</table>
<br /><br /><b>Note:</b><br />It has to be evaluated if creatures of type 3 (Demons) should have their family set, as there are creature families defined for these. Also, remote control family would probably be having a type of 9 since these are mechanical.
</p>


<p>
<a id='CreatureType' rel='internal' style='color:rgb(255,255,255);'>
<span style='font-size:20px;'>
CreatureType
</span></a>
 tinyint(3) <abbr style='border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;' title='This field is unsigned, so it never accepts negative values'>unsigned</abbr>
</p>
<p>
This Field Defines The Type Of Creature This NPC Is.<br /><br /><br /><table align='center' border='1' cellpadding='1' cellspacing='1' style='width:100%;background-color:#2b2b2b;color:#c0c0c0;'>
<thead>
<tr>
<th scope='col' style='border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:center;'>
<b>ID</b>
</th>
<th scope='col' style='border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:left;'>
<b>Family</b>
</th>
</tr>
</thead>
<tbody>
<tr>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
0
</td>
<td style='border:1px solid #999999;padding:3px 10px;'>
None
</td>
</tr>
<tr style='background-color:#3b3b3b;'>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
1
</td>
<td style='border:1px solid #999999;padding:3px 10px;'>
Beast
</td>
</tr>
<tr>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
2
</td>
<td style='border:1px solid #999999;padding:3px 10px;'>
Dragonkin
</td>
</tr>
<tr style='background-color:#3b3b3b;'>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
3
</td>
<td style='border:1px solid #999999;padding:3px 10px;'>
Demon
</td>
</tr>
<tr>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
4
</td>
<td style='border:1px solid #999999;padding:3px 10px;'>
Elemental
</td>
</tr>
<tr style='background-color:#3b3b3b;'>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
5
</td>
<td style='border:1px solid #999999;padding:3px 10px;'>
Giant
</td>
</tr>
<tr>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
6
</td>
<td style='border:1px solid #999999;padding:3px 10px;'>
Undead
</td>
</tr>
<tr style='background-color:#3b3b3b;'>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
7
</td>
<td style='border:1px solid #999999;padding:3px 10px;'>
Humanoid
</td>
</tr>
<tr>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
8
</td>
<td style='border:1px solid #999999;padding:3px 10px;'>
Critter
</td>
</tr>
<tr style='background-color:#3b3b3b;'>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
9
</td>
<td style='border:1px solid #999999;padding:3px 10px;'>
Mechanical
</td>
</tr>
<tr>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
10
</td>
<td style='border:1px solid #999999;padding:3px 10px;'>
Not Specified
</td>
</tr>
<tr style='background-color:#3b3b3b;'>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
11
</td>
<td style='border:1px solid #999999;padding:3px 10px;'>
Totem
</td>
</tr>
<tr>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
12
</td>
<td style='border:1px solid #999999;padding:3px 10px;'>
Non-combat pet
</td>
</tr>
<tr style='background-color:#3b3b3b;'>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
13
</td>
<td style='border:1px solid #999999;padding:3px 10px;'>
Gas Cloud
</td>
</tr>
</tbody>
</table>

</p>


<p>
<a id='InhabitType' rel='internal' style='color:rgb(255,255,255);'>
<span style='font-size:20px;'>
InhabitType
</span></a>
 tinyint(3) <abbr style='border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;' title='This field is unsigned, so it never accepts negative values'>unsigned</abbr>
</p>
<p>
This Field Controls Where The Creature Can Move Into, Chase And Attack. The NPC Is Limited To ONLY This:<br /><br /><table align='center' border='1' cellpadding='1' cellspacing='1' style='width:100%;background-color:#2b2b2b;color:#c0c0c0;'>
<thead>
<tr>
<th scope='col' style='border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:center;'>
<b>ID</b>
</th>
<th scope='col' style='border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:left;'>
<b>Family</b>
</th>
</tr>
</thead>
<tbody>
<tr>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
1
</td>
<td style='border:1px solid #999999;padding:3px 10px;'>
Ground Movement Only
</td>
</tr>
<tr style='background-color:#3b3b3b;'>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
2
</td>
<td style='border:1px solid #999999;padding:3px 10px;'>
Water Movement Only
</td>
</tr>
<tr>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
3
</td>
<td style='border:1px solid #999999;padding:3px 10px;'>
Both Ground and Water Movement
</td>
</tr>
<tr style='background-color:#3b3b3b;'>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
4
</td>
<td style='border:1px solid #999999;padding:3px 10px;'>
Always Flying
</td>
</tr>
</tbody>
</table>

</p>


<p>
<a id='RegenerateStats' rel='internal' style='color:rgb(255,255,255);'>
<span style='font-size:20px;'>
RegenerateStats
</span></a>
 tinyint(3) <abbr style='border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;' title='This field is unsigned, so it never accepts negative values'>unsigned</abbr>
</p>
<p>
This flag is a bitmask field which controls if a creature template should regenerate it's Health and/or Power. i.e. To Regenerate both Health and Mana, you would set the template to 3 (1+2).<br /><table align='center' border='1' cellpadding='1' cellspacing='1' style='width:100%;background-color:#2b2b2b;color:#c0c0c0;'>
<thead>
<tr>
<th scope='col' style='border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:center;'>
<b>Bitmask Value</b>
</th>
<th scope='col' style='border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:left;'>
<b>Meaning</b>
</th>
</tr>
</thead>
<tbody>
<tr>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
1
</td>
<td style='border:1px solid #999999;padding:3px 10px;'>
Health
</td>
</tr>
<tr style='background-color:#3b3b3b;'>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
2
</td>
<td style='border:1px solid #999999;padding:3px 10px;'>
Mana
</td>
</tr>
</tbody>
</table>

</p>


<p>
<a id='RacialLeader' rel='internal' style='color:rgb(255,255,255);'>
<span style='font-size:20px;'>
RacialLeader
</span></a>
 tinyint(3) <abbr style='border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;' title='This field is unsigned, so it never accepts negative values'>unsigned</abbr>
</p>
<p>
Determines if a creature template is a racial leader. Racial leaders will grant increased honor points upon death.<br /><br /><table align='center' border='1' cellpadding='1' cellspacing='1' style='width:100%;background-color:#2b2b2b;color:#c0c0c0;'>
<thead>
<tr>
<th scope='col' style='border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:center;'>
<b>Value</b>
</th>
<th scope='col' style='border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:left;'>
<b>Description</b>
</th>
</tr>
</thead>
<tbody>
<tr>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
0
</td>
<td style='border:1px solid #999999;padding:3px 10px;'>
Normal creature
</td>
</tr>
<tr style='background-color:#3b3b3b;'>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
1
</td>
<td style='border:1px solid #999999;padding:3px 10px;'>
Racial leader
</td>
</tr>
<tr>
</tr>
</tbody>
</table>

</p>


<p>
<a id='NpcFlags' rel='internal' style='color:rgb(255,255,255);'>
<span style='font-size:20px;'>
NpcFlags
</span></a>
 int(10) <abbr style='border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;' title='This field is unsigned, so it never accepts negative values'>unsigned</abbr>
</p>
<p>
The flags of the creature.<br />Note that most of these also require the "Gossip" [1] flag to work.<br />So if you want a NPC that is a quest giver, a vendor and can repair you just add the specific flags together: 1 + 2 + 128 + 4096 = 4227. <br /><br /><table align='center' border='1' cellpadding='1' cellspacing='1' style='width:100%;background-color:#2b2b2b;color:#c0c0c0;'>
<thead>
<tr>
<th scope='col' style='border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:right;'>
<b>Pure Flags</b>
</th>
<th scope='col' style='border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:center;'>
<b>Decimal</b>
</th>
<th scope='col' style='border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:center;'>
<b>Binary (32 Bit)</b>
</th>
<th scope='col' style='border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:left;'>
<b>Remarks</b>
</th>
</tr>
</thead>
<tbody>
<tr>
<td style='border:1px solid #999999;padding:3px 10px;text-align:right;'>
UNIT_NPC_FLAG_NONE
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
0
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
0000 0000 0000 0000 0000 0000 0000 0000
</td>
<td style='border:1px solid #999999;padding:3px 10px;'>
&nbsp;
</td>
</tr>
<tr style='background-color:#3b3b3b;'>
<td style='border:1px solid #999999;padding:3px 10px;text-align:right;'>
UNIT_NPC_FLAG_GOSSIP
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
1
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
0000 0000 0000 0000 0000 0000 0000 0001
</td>
<td style='border:1px solid #999999;padding:3px 10px;'>
(If NPC has more gossip options, add this flag to bring up a menu.)
</td>
</tr>
<tr>
<td style='border:1px solid #999999;padding:3px 10px;text-align:right;'>
UNIT_NPC_FLAG_QUESTGIVER
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
2
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
0000 0000 0000 0000 0000 0000 0000 0010
</td>
<td style='border:1px solid #999999;padding:3px 10px;'>
(Any NPC giving or taking quests needs to have this flag.)
</td>
</tr>
<tr style='background-color:#3b3b3b;'>
<td style='border:1px solid #999999;padding:3px 10px;text-align:right;'>
UNIT_NPC_FLAG_UNKNOWN1
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
4
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
0000 0000 0000 0000 0000 0000 0000 0100
</td>
<td style='border:1px solid #999999;padding:3px 10px;'>
&nbsp;
</td>
</tr>
<tr>
<td style='border:1px solid #999999;padding:3px 10px;text-align:right;'>
UNIT_NPC_FLAG_UNKOWN2
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
8
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
0000 0000 0000 0000 0000 0000 0000 1000
</td>
<td style='border:1px solid #999999;padding:3px 10px;'>
&nbsp;
</td>
</tr>
<tr style='background-color:#3b3b3b;'>
<td style='border:1px solid #999999;padding:3px 10px;text-align:right;'>
UNIT_NPC_FLAG_TRAINER
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
16
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
0000 0000 0000 0000 0000 0000 0001 0000
</td>
<td style='border:1px solid #999999;padding:3px 10px;'>
(Allows the NPC to have a trainer list to teach spells, all trainers must have this flag)
</td>
</tr>
<tr>
<td style='border:1px solid #999999;padding:3px 10px;text-align:right;'>
UNIT_NPC_FLAG_TRAINER_CLASS
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
32
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
0000 0000 0000 0000 0000 0000 0010 0000
</td>
<td style='border:1px solid #999999;padding:3px 10px;'>
&nbsp;
</td>
</tr>
<tr style='background-color:#3b3b3b;'>
<td style='border:1px solid #999999;padding:3px 10px;text-align:right;'>
UNIT_NPC_FLAG_TRAINER_PROF
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
64
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
0000 0000 0000 0000 0000 0000 0100 0000
</td>
<td style='border:1px solid #999999;padding:3px 10px;'>
&nbsp;
</td>
</tr>
<tr>
<td style='border:1px solid #999999;padding:3px 10px;text-align:right;'>
UNIT_NPC_FLAG_VENDOR
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
128
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
0000 0000 0000 0000 0000 0000 1000 0000
</td>
<td style='border:1px solid #999999;padding:3px 10px;'>
(Any NPC selling items needs to have this flag)
</td>
</tr>
<tr style='background-color:#3b3b3b;'>
<td style='border:1px solid #999999;padding:3px 10px;text-align:right;'>
UNIT_NPC_FLAG_VENDOR_AMMO
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
256
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
0000 0000 0000 0000 0000 0001 0000 0000
</td>
<td style='border:1px solid #999999;padding:3px 10px;'>
&nbsp;
</td>
</tr>
<tr>
<td style='border:1px solid #999999;padding:3px 10px;text-align:right;'>
UNIT_NPC_FLAG_VENDOR_FOOD
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
512
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
0000 0000 0000 0000 0000 0010 0000 0000
</td>
<td style='border:1px solid #999999;padding:3px 10px;'>
&nbsp;
</td>
</tr>
<tr style='background-color:#3b3b3b;'>
<td style='border:1px solid #999999;padding:3px 10px;text-align:right;'>
UNIT_NPC_FLAG_VENDOR_POISON
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
1024
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
0000 0000 0000 0000 0000 0100 0000 0000
</td>
<td style='border:1px solid #999999;padding:3px 10px;'>
&nbsp;
</td>
</tr>
<tr>
<td style='border:1px solid #999999;padding:3px 10px;text-align:right;'>
UNIT_NPC_FLAG_VENDOR_REAGENT
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
2048
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
0000 0000 0000 0000 0000 1000 0000 0000
</td>
<td style='border:1px solid #999999;padding:3px 10px;'>
&nbsp;
</td>
</tr>
<tr style='background-color:#3b3b3b;'>
<td style='border:1px solid #999999;padding:3px 10px;text-align:right;'>
UNIT_NPC_FLAG_ARMORER
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
4096
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
0000 0000 0000 0000 0001 0000 0000 0000
</td>
<td style='border:1px solid #999999;padding:3px 10px;'>
(NPC with this flag can repair items.)
</td>
</tr>
<tr>
<td style='border:1px solid #999999;padding:3px 10px;text-align:right;'>
UNIT_NPC_FLAG_TAXIVENDOR
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
8192
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
0000 0000 0000 0000 0010 0000 0000 0000
</td>
<td style='border:1px solid #999999;padding:3px 10px;'>
(Any NPC serving as fly master has this.)
</td>
</tr>
<tr style='background-color:#3b3b3b;'>
<td style='border:1px solid #999999;padding:3px 10px;text-align:right;'>
UNIT_NPC_FLAG_SPIRITHEALER
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
16384
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
0000 0000 0000 0000 0100 0000 0000 0000
</td>
<td style='border:1px solid #999999;padding:3px 10px;'>
(Makes the NPC invisible to alive characters and has the resurrect function.)
</td>
</tr>
<tr>
<td style='border:1px solid #999999;padding:3px 10px;text-align:right;'>
UNIT_NPC_FLAG_SPIRITGUIDE
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
32768
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
0000 0000 0000 0000 1000 0000 0000 0000
</td>
<td style='border:1px solid #999999;padding:3px 10px;'>
&nbsp;
</td>
</tr>
<tr style='background-color:#3b3b3b;'>
<td style='border:1px solid #999999;padding:3px 10px;text-align:right;'>
UNIT_NPC_FLAG_INNKEEPER
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
65536
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
0000 0000 0000 0001 0000 0000 0000 0000
</td>
<td style='border:1px solid #999999;padding:3px 10px;'>
(NPC with this flag can set hearthstone locations.)
</td>
</tr>
<tr>
<td style='border:1px solid #999999;padding:3px 10px;text-align:right;'>
UNIT_NPC_FLAG_BANKER
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
131072
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
0000 0000 0000 0010 0000 0000 0000 0000
</td>
<td style='border:1px solid #999999;padding:3px 10px;'>
(NPC with this flag can show the bank)
</td>
</tr>
<tr style='background-color:#3b3b3b;'>
<td style='border:1px solid #999999;padding:3px 10px;text-align:right;'>
UNIT_NPC_FLAG_ARENACHARTER
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
262144
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
0000 0000 0000 0100 0000 0000 0000 0000
</td>
</tr>
<tr>
<td style='border:1px solid #999999;padding:3px 10px;text-align:right;'>
UNIT_NPC_FLAG_TABARDVENDOR
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
524288
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
0000 0000 0000 1000 0000 0000 0000 0000
</td>
<td style='border:1px solid #999999;padding:3px 10px;'>
(Allows the designing of guild tabards.)
</td>
</tr>
<tr style='background-color:#3b3b3b;'>
<td style='border:1px solid #999999;padding:3px 10px;text-align:right;'>
UNIT_NPC_FLAG_BATTLEFIELDPERSON
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
1048576
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
0000 0000 0001 0000 0000 0000 0000 0000
</td>
<td style='border:1px solid #999999;padding:3px 10px;'>
(NPC with this flag port players to battlegrounds. Like battlemasters, arena organzier etc.)
</td>
</tr>
<tr>
<td style='border:1px solid #999999;padding:3px 10px;text-align:right;'>
UNIT_NPC_FLAG_AUCTIONEER
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
2097152
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
0000 0000 0010 0000 0000 0000 0000 0000
</td>
<td style='border:1px solid #999999;padding:3px 10px;'>
(Allows NPC to display auction list.)
</td>
</tr>
<tr style='background-color:#3b3b3b;'>
<td style='border:1px solid #999999;padding:3px 10px;text-align:right;'>
UNIT_NPC_FLAG_STABLE
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
4194304
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
0000 0000 0100 0000 0000 0000 0000 0000
</td>
<td style='border:1px solid #999999;padding:3px 10px;'>
(Has the option to stable pets for hunters.)
</td>
</tr>
<tr>
<td style='border:1px solid #999999;padding:3px 10px;text-align:right;'>
UNIT_NPC_FLAG_GUILD_BANK
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
8388608
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
0000 0000 1000 0000 0000 0000 0000 0000
</td>
<td style='border:1px solid #999999;padding:3px 10px;'>
&nbsp;
</td>
</tr>
<tr style='background-color:#3b3b3b;'>
<td style='border:1px solid #999999;padding:3px 10px;text-align:right;'>
UNIT_NPC_FLAG_SPELLCLICK
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
16777216
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
0000 0001 0000 0000 0000 0000 0000 0000
</td>
<td style='border:1px solid #999999;padding:3px 10px;'>
(Needs data on npc_spellclick_spells table)
</td>
</tr>
<tr>
<td style='border:1px solid #999999;padding:3px 10px;text-align:right;'>
Mailbox
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
67108864
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
0000 0100 0000 0000 0000 0000 0000 0000
</td>
<td style='border:1px solid #999999;padding:3px 10px;'>
(NPC will act like a mailbox, opens mailbox with right-click)
</td>
</tr>
<tr style='background-color:#3b3b3b;'>
<td style='border:1px solid #999999;padding:3px 10px;text-align:right;'>
Guard
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
268435456
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
0001 0000 0000 0000 0000 0000 0000 0000
</td>
<td style='border:1px solid #999999;padding:3px 10px;'>
(Cityguards, must be scripted)
</td>
</tr>
</tbody>
</table>
<br /><br /><table align='center' border='1' cellpadding='1' cellspacing='1' style='width:100%;background-color:#2b2b2b;color:#c0c0c0;'>
<thead>
<tr>
<th scope='col' style='border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:right;'>
<b>Flag Combinations</b>
</th>
<th scope='col' style='border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:center;'>
<b>Decimal</b>
</th>
<th scope='col' style='border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:center;'>
<b>Binary (32 Bit)</b>
</th>
</tr>
</thead>
<tbody>
<tr>
<td style='border:1px solid #999999;padding:3px 10px;text-align:right;'>
TRAINER_CLASS + TRAINER + GOSSIP
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
49
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
0000 0000 0000 0000 0000 0000 0011 0001
</td>
</tr>
<tr style='background-color:#3b3b3b;'>
<td style='border:1px solid #999999;padding:3px 10px;text-align:right;'>
VENDOR + QUESTGIVER + GOSSIP
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
131
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
0000 0000 0000 0000 0000 0000 1000 0011
</td>
</tr>
<tr>
<td style='border:1px solid #999999;padding:3px 10px;text-align:right;'>
VENDOR + TRAINER_CLASS + TRAINER + GOSSIP
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
177
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
0000 0000 0000 0000 0000 0000 1011 0001
</td>
</tr>
<tr style='background-color:#3b3b3b;'>
<td style='border:1px solid #999999;padding:3px 10px;text-align:right;'>
TABARDVENDOR + ARENACHARTER (GUILDMASTER)
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
786433
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
0000 0000 0000 1100 0000 0000 0000 0000
</td>
</tr>
</tbody>
</table>

</p>


<p>
<a id='UnitFlags' rel='internal' style='color:rgb(255,255,255);'>
<span style='font-size:20px;'>
UnitFlags
</span></a>
 int(10) <abbr style='border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;' title='This field is unsigned, so it never accepts negative values'>unsigned</abbr>
</p>
<p>
Allows the manual application of unit flags to creatures. Again this is a bitmask field and to apply more than one flag, just add the different numbers. Some possible flags are:<br /><br /><table align='center' border='1' cellpadding='1' cellspacing='1' style='width:100%;background-color:#2b2b2b;color:#c0c0c0;'>
<thead>
<tr>
<th scope='col' style='border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:center;'>
<b>Bit</b>
</th>
<th scope='col' style='border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:center;'>
<b>Flag</b>
</th>
<th scope='col' style='border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:left;'>
<b>Name</b>
</th>
<th scope='col' style='border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:left;'>
<b>Comments</b>
</th>
</tr>
</thead>
<tbody>
<tr>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
0
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
1
</td>
<td style='border:1px solid #999999;padding:3px 10px;'>
UNIT_FLAG_UNK_0
</td>
<td style='border:1px solid #999999;padding:3px 10px;'>
Movement checks disabled, likely paired with loss of client control packet.
</td>
</tr>
<tr style='background-color:#3b3b3b;'>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
1
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
2
</td>
<td style='border:1px solid #999999;padding:3px 10px;'>
UNIT_FLAG_NON_ATTACKABLE
</td>
<td style='border:1px solid #999999;padding:3px 10px;'>
not attackable
</td>
</tr>
<tr>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
2
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
4
</td>
<td style='border:1px solid #999999;padding:3px 10px;'>
UNIT_FLAG_CLIENT_CONTROL_LOST
</td>
<td style='border:1px solid #999999;padding:3px 10px;'>
Generic unspecified loss of control initiated by server script, movement checks disabled, paired with loss of client control packet.
</td>
</tr>
<tr style='background-color:#3b3b3b;'>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
3
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
8
</td>
<td style='border:1px solid #999999;padding:3px 10px;'>
UNIT_FLAG_PLAYER_CONTROLLED
</td>
<td style='border:1px solid #999999;padding:3px 10px;'>
players, pets, totems, guardians, companions, charms, any units associated with players
</td>
</tr>
<tr>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
4
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
16
</td>
<td style='border:1px solid #999999;padding:3px 10px;'>
UNIT_FLAG_PET_RENAME
</td>
<td style='border:1px solid #999999;padding:3px 10px;'>
&nbsp;
</td>
</tr>
<tr style='background-color:#3b3b3b;'>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
5
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
32
</td>
<td style='border:1px solid #999999;padding:3px 10px;'>
UNIT_FLAG_PET_ABANDON
</td>
<td style='border:1px solid #999999;padding:3px 10px;'>
&nbsp;
</td>
</tr>
<tr>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
6
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
64
</td>
<td style='border:1px solid #999999;padding:3px 10px;'>
UNIT_FLAG_UNK_6
</td>
<td style='border:1px solid #999999;padding:3px 10px;'>
Related to Movement? often paired with UNIT_FLAG_SWIMMING
</td>
</tr>
<tr style='background-color:#3b3b3b;'>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
7
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
128
</td>
<td style='border:1px solid #999999;padding:3px 10px;'>
&nbsp;
</td>
<td style='border:1px solid #999999;padding:3px 10px;'>
&nbsp;
</td>
</tr>
<tr>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
8
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
256
</td>
<td style='border:1px solid #999999;padding:3px 10px;'>
UNIT_FLAG_IMMUNE_TO_PLAYER
</td>
<td style='border:1px solid #999999;padding:3px 10px;'>
Target is immune to players
</td>
</tr>
<tr style='background-color:#3b3b3b;'>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
9
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
512
</td>
<td style='border:1px solid #999999;padding:3px 10px;'>
UNIT_FLAG_IMMUNE_TO_NPC
</td>
<td style='border:1px solid #999999;padding:3px 10px;'>
makes you unable to attack everything. Almost identical to our "civilian"-term. Will ignore it's surroundings and not engage in combat unless "called upon" or engaged by another unit.
</td>
</tr>
<tr>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
10
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
1024
</td>
<td style='border:1px solid #999999;padding:3px 10px;'>
&nbsp;
</td>
<td style='border:1px solid #999999;padding:3px 10px;'>
&nbsp;
</td>
</tr>
<tr style='background-color:#3b3b3b;'>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
11
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
2048
</td>
<td style='border:1px solid #999999;padding:3px 10px;'>
&nbsp;
</td>
<td style='border:1px solid #999999;padding:3px 10px;'>
&nbsp;
</td>
</tr>
<tr>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
12
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
4096
</td>
<td style='border:1px solid #999999;padding:3px 10px;'>
UNIT_FLAG_PVP
</td>
<td style='border:1px solid #999999;padding:3px 10px;'>
Allows item spells to be casted upon. changed in 3.0.3
</td>
</tr>
<tr style='background-color:#3b3b3b;'>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
13
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
8192
</td>
<td style='border:1px solid #999999;padding:3px 10px;'>
UNIT_FLAG_SILENCED
</td>
<td style='border:1px solid #999999;padding:3px 10px;'>
silenced, 2.1.1
</td>
</tr>
<tr>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
14
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
16384
</td>
<td style='border:1px solid #999999;padding:3px 10px;'>
UNIT_FLAG_PERSUADED
</td>
<td style='border:1px solid #999999;padding:3px 10px;'>
persuaded, 2.0.8
</td>
</tr>
<tr style='background-color:#3b3b3b;'>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
15
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
32768
</td>
<td style='border:1px solid #999999;padding:3px 10px;'>
UNIT_FLAG_SWIMMING
</td>
<td style='border:1px solid #999999;padding:3px 10px;'>
controls water swimming animation
</td>
</tr>
<tr>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
16
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
65536
</td>
<td style='border:1px solid #999999;padding:3px 10px;'>
UNIT_FLAG_UNK_16
</td>
<td style='border:1px solid #999999;padding:3px 10px;'>
removes attackable icon, if on yourself, cannot assist self but can cast TARGET_SELF spells - added by SPELL_AURA_MOD_UNATTACKABLE
</td>
</tr>
<tr style='background-color:#3b3b3b;'>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
17
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
131072
</td>
<td style='border:1px solid #999999;padding:3px 10px;'>
UNIT_FLAG_PACIFIED
</td>
<td style='border:1px solid #999999;padding:3px 10px;'>
pacified, 3.0.3
</td>
</tr>
<tr>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
18
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
262144
</td>
<td style='border:1px solid #999999;padding:3px 10px;'>
UNIT_FLAG_STUNNED
</td>
<td style='border:1px solid #999999;padding:3px 10px;'>
stunned, 2.1.1 Unit is a subject to stun, turn and strafe movement disabled
</td>
</tr>
<tr style='background-color:#3b3b3b;'>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
19
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
524288
</td>
<td style='border:1px solid #999999;padding:3px 10px;'>
UNIT_FLAG_IN_COMBAT
</td>
<td style='border:1px solid #999999;padding:3px 10px;'>
&nbsp;
</td>
</tr>
<tr>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
20
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
1048576
</td>
<td style='border:1px solid #999999;padding:3px 10px;'>
UNIT_FLAG_TAXI_FLIGHT
</td>
<td style='border:1px solid #999999;padding:3px 10px;'>
Unit is on taxi, paired with a duplicate loss of client control packet (likely a legacy serverside hack). Disables any spellcasts not allowed in taxi flight client-side.
</td>
</tr>
<tr style='background-color:#3b3b3b;'>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
21
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
2097152
</td>
<td style='border:1px solid #999999;padding:3px 10px;'>
&nbsp;
</td>
<td style='border:1px solid #999999;padding:3px 10px;'>
&nbsp;
</td>
</tr>
<tr>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
22
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
4194304
</td>
<td style='border:1px solid #999999;padding:3px 10px;'>
UNIT_FLAG_CONFUSED
</td>
<td style='border:1px solid #999999;padding:3px 10px;'>
Unit is a subject to confused movement, movement checks disabled, paired with loss of client control packet.
</td>
</tr>
<tr style='background-color:#3b3b3b;'>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
23
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
8388608
</td>
<td style='border:1px solid #999999;padding:3px 10px;'>
UNIT_FLAG_FLEEING
</td>
<td style='border:1px solid #999999;padding:3px 10px;'>
Unit is a subject to fleeing movement, movement checks disabled, paired with loss of client control packet.
</td>
</tr>
<tr>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
24
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
16777216
</td>
<td style='border:1px solid #999999;padding:3px 10px;'>
UNIT_FLAG_POSSESSED
</td>
<td style='border:1px solid #999999;padding:3px 10px;'>
Unit is under remote control by another unit, movement checks disabled, paired with loss of client control packet. New master is allowed to use melee attack and can't select this unit via mouse in the world (as if it was own character).
</td>
</tr>
<tr style='background-color:#3b3b3b;'>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
25
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
33554432
</td>
<td style='border:1px solid #999999;padding:3px 10px;'>
UNIT_FLAG_NOT_SELECTABLE
</td>
<td style='border:1px solid #999999;padding:3px 10px;'>
Can't be selected by mouse
</td>
</tr>
<tr>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
26
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
67108864
</td>
<td style='border:1px solid #999999;padding:3px 10px;'>
UNIT_FLAG_SKINNABLE
</td>
<td style='border:1px solid #999999;padding:3px 10px;'>
&nbsp;
</td>
</tr>
<tr style='background-color:#3b3b3b;'>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
27
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
134217728
</td>
<td style='border:1px solid #999999;padding:3px 10px;'>
UNIT_FLAG_AURAS_VISIBLE
</td>
<td style='border:1px solid #999999;padding:3px 10px;'>
magic detect
</td>
</tr>
<tr>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
28
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
268435456
</td>
<td style='border:1px solid #999999;padding:3px 10px;'>
UNIT_FLAG_UNK_28
</td>
<td style='border:1px solid #999999;padding:3px 10px;'>
&nbsp;
</td>
</tr>
<tr style='background-color:#3b3b3b;'>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
29
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
536870912
</td>
<td style='border:1px solid #999999;padding:3px 10px;'>
UNIT_FLAG_UNK_29
</td>
<td style='border:1px solid #999999;padding:3px 10px;'>
&nbsp;
</td>
</tr>
<tr>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
30
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
1073741824
</td>
<td style='border:1px solid #999999;padding:3px 10px;'>
UNIT_FLAG_SHEATHE
</td>
<td style='border:1px solid #999999;padding:3px 10px;'>
&nbsp;
</td>
</tr>
<tr style='background-color:#3b3b3b;'>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
31
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
2147483648
</td>
<td style='border:1px solid #999999;padding:3px 10px;'>
UNIT_FLAG_UNK_31
</td>
<td style='border:1px solid #999999;padding:3px 10px;'>
set skinnable icon and also changes color of portrait)(no affect in 2.4.3)
</td>
</tr>
</tbody>
</table>

</p>


<p>
<a id='DynamicFlags' rel='internal' style='color:rgb(255,255,255);'>
<span style='font-size:20px;'>
DynamicFlags
</span></a>
 int(10) <abbr style='border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;' title='This field is unsigned, so it never accepts negative values'>unsigned</abbr>
</p>
<p>
Dynamic flags are used to control the visual appearance of a creature template. The following table provides a list of valid values. Multiple flags may be combined.<br /><br /><table align='center' border='1' cellpadding='1' cellspacing='1' style='width:100%;background-color:#2b2b2b;color:#c0c0c0;'>
<thead>
<tr>
<th scope='col' style='border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:center;'>
<b>Value</b>
</th>
<th scope='col' style='border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:left;'>
<b>Description</b>
</th>
<th scope='col' style='border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:left;'>
<b>Comments</b>
</th>
</tr>
</thead>
<tbody>
<tr>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
0
</td>
<td style='border:1px solid #999999;padding:3px 10px;'>
None
</td>
<td style='border:1px solid #999999;padding:3px 10px;'>
&nbsp;
</td>
</tr>
<tr style='background-color:#3b3b3b;'>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
1
</td>
<td style='border:1px solid #999999;padding:3px 10px;'>
Lootable
</td>
<td style='border:1px solid #999999;padding:3px 10px;'>
&nbsp;
</td>
</tr>
<tr>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
2
</td>
<td style='border:1px solid #999999;padding:3px 10px;'>
Track unit
</td>
<td style='border:1px solid #999999;padding:3px 10px;'>
&nbsp;
</td>
</tr>
<tr style='background-color:#3b3b3b;'>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
4
</td>
<td style='border:1px solid #999999;padding:3px 10px;'>
Other tagger
</td>
<td style='border:1px solid #999999;padding:3px 10px;'>
Makes creature name tag appear grey
</td>
</tr>
<tr>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
8
</td>
<td style='border:1px solid #999999;padding:3px 10px;'>
Rooted
</td>
<td style='border:1px solid #999999;padding:3px 10px;'>
&nbsp;
</td>
</tr>
<tr style='background-color:#3b3b3b;'>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
16
</td>
<td style='border:1px solid #999999;padding:3px 10px;'>
Specialinfo
</td>
<td style='border:1px solid #999999;padding:3px 10px;'>
Show basic creature stats in tooltip
</td>
</tr>
<tr>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
32
</td>
<td style='border:1px solid #999999;padding:3px 10px;'>
Dead
</td>
<td style='border:1px solid #999999;padding:3px 10px;'>
Make creature appear dead without tag
</td>
</tr>
<tr style='background-color:#3b3b3b;'>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
64
</td>
<td style='border:1px solid #999999;padding:3px 10px;'>
Tapped by all threat list
</td>
<td style='border:1px solid #999999;padding:3px 10px;'>
&nbsp;
</td>
</tr>
</tbody>
</table>

</p>


<p>
<a id='ExtraFlags' rel='internal' style='color:rgb(255,255,255);'>
<span style='font-size:20px;'>
ExtraFlags
</span></a>
 int(10) <abbr style='border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;' title='This field is unsigned, so it never accepts negative values'>unsigned</abbr>
</p>
<p>
The extra flags allow to modify special behaviour for a creature_template. The following table contains a list of combinable flags.<br /><table align='center' border='1' cellpadding='1' cellspacing='1' style='width:100%;background-color:#2b2b2b;color:#c0c0c0;'>
<thead>
<tr>
<th scope='col' style='border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:center;'>
<b>Value</b>
</th>
<th scope='col' style='border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:left;'>
<b>Type</b>
</th>
<th scope='col' style='border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:left;'>
<b>Description</b>
</th>
</tr>
</thead>
<tbody>
<tr>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
0
</td>
<td style='border:1px solid #999999;padding:3px 10px;'>
NONE
</td>
<td style='border:1px solid #999999;padding:3px 10px;'>
Default: do nothing.
</td>
</tr>
<tr style='background-color:#3b3b3b;'>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
1
</td>
<td style='border:1px solid #999999;padding:3px 10px;'>
INSTANCE_BIND
</td>
<td style='border:1px solid #999999;padding:3px 10px;'>
Bounds killer's party to the instance
</td>
</tr>
<tr>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
2
</td>
<td style='border:1px solid #999999;padding:3px 10px;'>
CIVILIAN
</td>
<td style='border:1px solid #999999;padding:3px 10px;'>
Makes creature ignore aggro
</td>
</tr>
<tr style='background-color:#3b3b3b;'>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
4
</td>
<td style='border:1px solid #999999;padding:3px 10px;'>
NO_PARRY
</td>
<td style='border:1px solid #999999;padding:3px 10px;'>
Prohibits from parrying
</td>
</tr>
<tr>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
8
</td>
<td style='border:1px solid #999999;padding:3px 10px;'>
NO_PARRY_HASTEN
</td>
<td style='border:1px solid #999999;padding:3px 10px;'>
Parries do not speed up its next attack
</td>
</tr>
<tr style='background-color:#3b3b3b;'>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
16
</td>
<td style='border:1px solid #999999;padding:3px 10px;'>
NO_BLOCK
</td>
<td style='border:1px solid #999999;padding:3px 10px;'>
Prohibits from blocking
</td>
</tr>
<tr>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
32
</td>
<td style='border:1px solid #999999;padding:3px 10px;'>
NO_CRUSH
</td>
<td style='border:1px solid #999999;padding:3px 10px;'>
Prohibits from dealing crushing blows
</td>
</tr>
<tr style='background-color:#3b3b3b;'>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
64
</td>
<td style='border:1px solid #999999;padding:3px 10px;'>
NO_XP_AT_KILL
</td>
<td style='border:1px solid #999999;padding:3px 10px;'>
Creature rewards no XP at kill
</td>
</tr>
<tr>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
128
</td>
<td style='border:1px solid #999999;padding:3px 10px;'>
INVISIBLE
</td>
<td style='border:1px solid #999999;padding:3px 10px;'>
Creature invisible for player, e.g triggers
</td>
</tr>
<tr style='background-color:#3b3b3b;'>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
256
</td>
<td style='border:1px solid #999999;padding:3px 10px;'>
NOT_TAUNTABLE
</td>
<td style='border:1px solid #999999;padding:3px 10px;'>
Creature is immune to taunts
</td>
</tr>
<tr>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
512
</td>
<td style='border:1px solid #999999;padding:3px 10px;'>
AGGRO_ZONE
</td>
<td style='border:1px solid #999999;padding:3px 10px;'>
Sets itself in combat with zone on aggro
</td>
</tr>
<tr style='background-color:#3b3b3b;'>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
1024
</td>
<td style='border:1px solid #999999;padding:3px 10px;'>
GUARD
</td>
<td style='border:1px solid #999999;padding:3px 10px;'>
Is zone guard and death will be announced
</td>
</tr>
<tr>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
2048
</td>
<td style='border:1px solid #999999;padding:3px 10px;'>
NO_TALKTO_CREDIT
</td>
<td style='border:1px solid #999999;padding:3px 10px;'>
Does not give quest credit (temporary)
</td>
</tr>
</tbody>
</table>

</p>


<p>
<a id='CreatureTypeFlags' rel='internal' style='color:rgb(255,255,255);'>
<span style='font-size:20px;'>
CreatureTypeFlags
</span></a>
 int(10) <abbr style='border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;' title='This field is unsigned, so it never accepts negative values'>unsigned</abbr>
</p>
<p>
This Field Controls If a Mob Is Mineable or Herbable. If Any Of These Flags Are Used Then The Loot Given When It Is Herb Picked / Mined Will Be Stored In The "Skinning_Loot_Template" Table. Aside From These Two Flags, This Field Has No Special Meaning Server-Side.<br />It will be send to the client in SMSG_CREATURE_QUERY_RESPONSE<br /><br /><table align='center' border='1' cellpadding='1' cellspacing='1' style='width:100%;background-color:#2b2b2b;color:#c0c0c0;'>
<thead>
<tr>
<th scope='col' style='border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:center;'>
<b>Flag</b>
</th>
<th scope='col' style='border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:center;'>
<b>Name</b>
</th>
<th scope='col' style='border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:left;'>
<b>Comments</b>
</th>
</tr>
</thead>
<tbody>
<tr>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
1
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
CREATURE_TYPEFLAGS_TAMEABLE
</td>
<td style='border:1px solid #999999;padding:3px 10px;'>
Makes the mob tameable (must also be a beast and have family set)
</td>
</tr>
<tr style='background-color:#3b3b3b;'>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
2
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
CREATURE_TYPEFLAGS_GHOST_VISIBLE
</td>
<td style='border:1px solid #999999;padding:3px 10px;'>
Sets Creatures that can ALSO be seen when player is a ghost. Used in CanInteract function by client, can't be attacked
</td>
</tr>
<tr>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
4
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
CREATURE_TYPEFLAGS_UNK3
</td>
<td style='border:1px solid #999999;padding:3px 10px;'>
Sets "BOSS" flag for tooltips
</td>
</tr>
<tr style='background-color:#3b3b3b;'>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
8
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
CREATURE_TYPEFLAGS_UNK4
</td>
<td style='border:1px solid #999999;padding:3px 10px;'>
&nbsp;
</td>
</tr>
<tr>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
16
</td>
<td style='border:1px solid #999999;padding:3px 10px;'>
CREATURE_TYPEFLAGS_UNK5
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
Controls something in client tooltip related to creature faction
</td>
</tr>
<tr style='background-color:#3b3b3b;'>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
32
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
CREATURE_TYPEFLAGS_UNK6
</td>
<td style='border:1px solid #999999;padding:3px 10px;'>
Something related to Sound
</td>
</tr>
<tr>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
64
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
CREATURE_TYPEFLAGS_UNK7
</td>
<td style='border:1px solid #999999;padding:3px 10px;'>
Related to attackable / not attackable creatures with spells
</td>
</tr>
<tr style='background-color:#3b3b3b;'>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
128
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
CREATURE_TYPEFLAGS_INTERACT_DEAD
</td>
<td style='border:1px solid #999999;padding:3px 10px;'>
has something to do with unit interaction / quest status requests
</td>
</tr>
<tr>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
136
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
CREATURE_TYPEFLAGS_NON_PVP_PLAYER
</td>
<td style='border:1px solid #999999;padding:3px 10px;'>
&nbsp;
</td>
</tr>
<tr style='background-color:#3b3b3b;'>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
256
</td>
<td style='border:1px solid #999999;padding:3px 10px;'>
CREATURE_TYPEFLAGS_HERBLOOT
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
Makes Mob Corpse Herbable - Uses Skinning Loot Field
</td>
</tr>
<tr>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
512
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
CREATURE_TYPEFLAGS_MININGLOOT
</td>
<td style='border:1px solid #999999;padding:3px 10px;'>
Makes Mob Corpse Mineable - Uses Skinning Loot Field
</td>
</tr>
<tr style='background-color:#3b3b3b;'>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
1024
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
CREATURE_TYPEFLAGS_ANIMATION_UNK11
</td>
<td style='border:1px solid #999999;padding:3px 10px;'>
no idea, but it used by client
</td>
</tr>
<tr>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
2048
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
CREATURE_TYPEFLAGS_ANIMATION_UNK12
</td>
<td style='border:1px solid #999999;padding:3px 10px;'>
related to possibility to cast spells while mounted
</td>
</tr>
<tr style='background-color:#3b3b3b;'>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
4096
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
CREATURE_TYPEFLAGS_CAN_ASSIST
</td>
<td style='border:1px solid #999999;padding:3px 10px;'>
Can aid any player or group in combat. Typically seen for escorting NPC's
</td>
</tr>
<tr>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
8192
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
CREATURE_TYPEFLAGS_UNK14
</td>
<td style='border:1px solid #999999;padding:3px 10px;'>
checked from calls in Lua_PetHasActionBar
</td>
</tr>
<tr style='background-color:#3b3b3b;'>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
16384
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
CREATURE_TYPEFLAGS_UNK15
</td>
<td style='border:1px solid #999999;padding:3px 10px;'>
Lua_UnitGUID, client does guid_low &= 0xFF000000 if this flag is set
</td>
</tr>
<tr>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
32768
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
CREATURE_TYPEFLAGS_ENGINEERLOOT
</td>
<td style='border:1px solid #999999;padding:3px 10px;'>
Makes Mob Corpse Engineer Lootable - Uses Skinning Loot Field
</td>
</tr>
</tbody>
</table>

</p>


<p>
<a id='SpeedWalk' rel='internal' style='color:rgb(255,255,255);'>
<span style='font-size:20px;'>
SpeedWalk
</span></a>
 float
</p>
<p>
Controls how fast the creature can move in walking mode.
</p>


<p>
<a id='SpeedRun' rel='internal' style='color:rgb(255,255,255);'>
<span style='font-size:20px;'>
SpeedRun
</span></a>
 float
</p>
<p>
Controls how fast the creature can move in running mode.
</p>


<p>
<a id='UnitClass' rel='internal' style='color:rgb(255,255,255);'>
<span style='font-size:20px;'>
UnitClass
</span></a>
 tinyint(3) <abbr style='border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;' title='This field is unsigned, so it never accepts negative values'>unsigned</abbr>
</p>
<p>
A creature's class. The following table describes the available classes.<br /><table align='center' border='1' cellpadding='1' cellspacing='1' style='width:100%;background-color:#2b2b2b;color:#c0c0c0;'>
<thead>
<tr>
<th scope='col' style='border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:center;'>
<b>Value</b>
</th>
<th scope='col' style='border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:left;'>
<b>Name</b>
</th>
<th scope='col' style='border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:left;'>
<b>Description</b>
</th>
</tr>
</thead>
<tbody>
<tr>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
1
</td>
<td style='border:1px solid #999999;padding:3px 10px;'>
Warrior
</td>
<td style='border:1px solid #999999;padding:3px 10px;'>
Has increased health and no mana
</td>
</tr>
<tr style='background-color:#3b3b3b;'>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
2
</td>
<td style='border:1px solid #999999;padding:3px 10px;'>
Paladin
</td>
<td style='border:1px solid #999999;padding:3px 10px;'>
Has increased health and low mana
</td>
</tr>
<tr>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
4
</td>
<td style='border:1px solid #999999;padding:3px 10px;'>
Rogue
</td>
<td style='border:1px solid #999999;padding:3px 10px;'>
Has increased damage, but lower armor
</td>
</tr>
<tr style='background-color:#3b3b3b;'>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
8
</td>
<td style='border:1px solid #999999;padding:3px 10px;'>
Mage
</td>
<td style='border:1px solid #999999;padding:3px 10px;'>
Has low health, but increased mana
</td>
</tr>
</tbody>
</table>
<br /><br /><b>Note:</b><br />Depending on the creature's class, you have to make sure that the mana values are set properly. E.g. a Warrior or Rogue will not have mana set.
</p>


<p>
<a id='Rank' rel='internal' style='color:rgb(255,255,255);'>
<span style='font-size:20px;'>
Rank
</span></a>
 tinyint(3) <abbr style='border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;' title='This field is unsigned, so it never accepts negative values'>unsigned</abbr>
</p>
<p>
The rank of a creature determines which border the game client will draw around the creature tooltip in the user interface. <br />The following table lists all valid values:<br /><br /><br /><table align='center' border='1' cellpadding='1' cellspacing='1' style='width:100%;background-color:#2b2b2b;color:#c0c0c0;'>
<thead>
<tr>
<th scope='col' style='border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:center;'>
<b>Value</b>
</th>
<th scope='col' style='border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:center;'>
<b>Name</b>
</th>
<th scope='col' style='border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:left;'>
<b>Description</b>
</th>
</tr>
</thead>
<tbody>
<tr>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
0
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
Normal
</td>
<td style='border:1px solid #999999;padding:3px 10px;'>
Default type
</td>
</tr>
<tr style='background-color:#3b3b3b;'>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
1
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
Elite
</td>
<td style='border:1px solid #999999;padding:3px 10px;'>
Increased health, damage, better loot
</td>
</tr>
<tr>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
2
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
Rare elite
</td>
<td style='border:1px solid #999999;padding:3px 10px;'>
Like Elite but with increased respawn time
</td>
</tr>
<tr style='background-color:#3b3b3b;'>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
3
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
World boss
</td>
<td style='border:1px solid #999999;padding:3px 10px;'>
Highest rank, best loot, highest respawn time
</td>
</tr>
<tr>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
4
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
Rare
</td>
<td style='border:1px solid #999999;padding:3px 10px;'>
Increased respawn time, better loot
</td>
</tr>
</tbody>
</table>

</p>


<p>
<a id='Expansion' rel='internal' style='color:rgb(255,255,255);'>
<span style='font-size:20px;'>
Expansion
</span></a>
 tinyint(3)
</p>

<p>
<a id='HealthMultiplier' rel='internal' style='color:rgb(255,255,255);'>
<span style='font-size:20px;'>
HealthMultiplier
</span></a>
 float
</p>
<p>
Setting this value to a value smaller or larger than 1 will modify the creature template's health by this factor.
</p>


<p>
<a id='PowerMultiplier' rel='internal' style='color:rgb(255,255,255);'>
<span style='font-size:20px;'>
PowerMultiplier
</span></a>
 float
</p>
<p>
Setting this value to a value smaller or larger than 1 will modify the creature template's power by this factor.
</p>


<p>
<a id='DamageMultiplier' rel='internal' style='color:rgb(255,255,255);'>
<span style='font-size:20px;'>
DamageMultiplier
</span></a>
 float
</p>
<p>
Setting this value to a value smaller or larger than 1 will modify the creature template's damage by this factor.
</p>


<p>
<a id='DamageVariance' rel='internal' style='color:rgb(255,255,255);'>
<span style='font-size:20px;'>
DamageVariance
</span></a>
 float
</p>
<p>
Damage Variance is a Co-Efficient used in Damage Calculations To Limit the Min/Max Damage Range.<br /><br />Default Value is 1 (Normal) ===> See DamageMultiplier for More Information
</p>


<p>
<a id='ArmorMultiplier' rel='internal' style='color:rgb(255,255,255);'>
<span style='font-size:20px;'>
ArmorMultiplier
</span></a>
 float
</p>
<p>
Setting this value to a value smaller or larger than 1 will modify the creature template's armor by this factor.
</p>


<p>
<a id='ExperienceMultiplier' rel='internal' style='color:rgb(255,255,255);'>
<span style='font-size:20px;'>
ExperienceMultiplier
</span></a>
 float
</p>
<p>
Setting this value to a value smaller or larger than 1 will modify experience gained from the creature template by this factor.
</p>


<p>
<a id='MinLevelHealth' rel='internal' style='color:rgb(255,255,255);'>
<span style='font-size:20px;'>
MinLevelHealth
</span></a>
 int(10) <abbr style='border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;' title='This field is unsigned, so it never accepts negative values'>unsigned</abbr>
</p>
<p>
The minimum health of the creature if the creature has variable health.
</p>


<p>
<a id='MaxLevelHealth' rel='internal' style='color:rgb(255,255,255);'>
<span style='font-size:20px;'>
MaxLevelHealth
</span></a>
 int(10) <abbr style='border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;' title='This field is unsigned, so it never accepts negative values'>unsigned</abbr>
</p>
<p>
The maximum health of the creature if the creature has a variable health. When added to world, the health value is chosen in proportion to the level chosen.
</p>


<p>
<a id='MinLevelMana' rel='internal' style='color:rgb(255,255,255);'>
<span style='font-size:20px;'>
MinLevelMana
</span></a>
 int(10) <abbr style='border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;' title='This field is unsigned, so it never accepts negative values'>unsigned</abbr>
</p>
<p>
The miminum mana of the creature if the creature has variable mana.
</p>


<p>
<a id='MaxLevelMana' rel='internal' style='color:rgb(255,255,255);'>
<span style='font-size:20px;'>
MaxLevelMana
</span></a>
 int(10) <abbr style='border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;' title='This field is unsigned, so it never accepts negative values'>unsigned</abbr>
</p>
<p>
The maximum mana of the creature if the creature has variable mana. When added to world, the mana value is chosen in proportion to the level chosen.
</p>


<p>
<a id='MinMeleeDmg' rel='internal' style='color:rgb(255,255,255);'>
<span style='font-size:20px;'>
MinMeleeDmg
</span></a>
 float
</p>
<p>
Minimum damage the creature deals in melee combat. This field is combined with the attackpower field to calculate the damage.
</p>


<p>
<a id='MaxMeleeDmg' rel='internal' style='color:rgb(255,255,255);'>
<span style='font-size:20px;'>
MaxMeleeDmg
</span></a>
 float
</p>
<p>
Maximum damage the creature deals in melee combat. This field is combined with the attackpower field to calculate the damage.
</p>


<p>
<a id='MinRangedDmg' rel='internal' style='color:rgb(255,255,255);'>
<span style='font-size:20px;'>
MinRangedDmg
</span></a>
 float
</p>
<p>
Minimum damage the creature deals in ranged combat. This field is combined with the ranged attackpower field to calculate the damage.
</p>


<p>
<a id='MaxRangedDmg' rel='internal' style='color:rgb(255,255,255);'>
<span style='font-size:20px;'>
MaxRangedDmg
</span></a>
 float
</p>
<p>
Maximum damage the creature deals in ranged combat. This field is combined with the ranged attackpower field to calculate the damage.
</p>


<p>
<a id='Armor' rel='internal' style='color:rgb(255,255,255);'>
<span style='font-size:20px;'>
Armor
</span></a>
 int(10) <abbr style='border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;' title='This field is unsigned, so it never accepts negative values'>unsigned</abbr>
</p>
<p>
The armor value of the creature. It controls how much damage reduction the creature gets from physical attacks.
</p>


<p>
<a id='MeleeAttackPower' rel='internal' style='color:rgb(255,255,255);'>
<span style='font-size:20px;'>
MeleeAttackPower
</span></a>
 int(10) <abbr style='border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;' title='This field is unsigned, so it never accepts negative values'>unsigned</abbr>
</p>
<p>
The attack power for the creature's melee attacks. This field along with MinMeleeDmg and MaxMeleeDmg dictate how much the creature will hit for. The formula for applying correct damages is as follows:<br /><pre class='ipsCode'>
UPDATE `creature_template` SET<br />    `MinMeleeDmg` = <#1>,<br />    `MaxMeleeDmg` = <#2>,<br />    `MeleeAttackPower` = ROUND((`MinMeleeDmg` + `MaxMeleeDmg`) / 4 * 7),<br />    `MinMeleeDmg` = ROUND(`MinMeleeDmg` - `MeleeAttackPower` / 7),<br />    `MaxMeleeDmg` = ROUND(`MaxMeleeDmg` - `MeleeAttackPower` / 7)<br />WHERE `Entry` = ...<br />
</pre>In the query above, substitute <#1> with the minimum damage you want the creature to deal and <#2> with the maximum damage you want the creature to deal.<br /><br /><b>Note:</b><br />You might want to double check the calculated values after the query has run because a large difference between MinMeleeDmg and MaxMeleeDmg can cause MinMeleeDmg to become a negative value.
</p>


<p>
<a id='RangedAttackPower' rel='internal' style='color:rgb(255,255,255);'>
<span style='font-size:20px;'>
RangedAttackPower
</span></a>
 smallint(5) <abbr style='border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;' title='This field is unsigned, so it never accepts negative values'>unsigned</abbr>
</p>
<p>
The attack power for the creature's ranged attacks.
</p>


<p>
<a id='MeleeBaseAttackTime' rel='internal' style='color:rgb(255,255,255);'>
<span style='font-size:20px;'>
MeleeBaseAttackTime
</span></a>
 int(10) <abbr style='border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;' title='This field is unsigned, so it never accepts negative values'>unsigned</abbr>
</p>
<p>
A creature's melee attack time in milliseconds.
</p>


<p>
<a id='RangedBaseAttackTime' rel='internal' style='color:rgb(255,255,255);'>
<span style='font-size:20px;'>
RangedBaseAttackTime
</span></a>
 int(10) <abbr style='border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;' title='This field is unsigned, so it never accepts negative values'>unsigned</abbr>
</p>
<p>
The delay between ranged attacks, in milliseconds.
</p>


<p>
<a id='DamageSchool' rel='internal' style='color:rgb(255,255,255);'>
<span style='font-size:20px;'>
DamageSchool
</span></a>
 tinyint(4)
</p>
<p>
A damage school for melee combat. The following table provides a list of valid values.<br /><table align='center' border='1' cellpadding='1' cellspacing='1' style='width:100%;background-color:#2b2b2b;color:#c0c0c0;'>
<thead>
<tr>
<th scope='col' style='border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:center;'>
<b>Value</b>
</th>
<th scope='col' style='border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:left;'>
<b>Description</b>
</th>
</tr>
</thead>
<tbody>
<tr>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
0
</td>
<td style='border:1px solid #999999;padding:3px 10px;'>
Normal damage
</td>
</tr>
<tr style='background-color:#3b3b3b;'>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
1
</td>
<td style='border:1px solid #999999;padding:3px 10px;'>
Holy damage
</td>
</tr>
<tr>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
2
</td>
<td style='border:1px solid #999999;padding:3px 10px;'>
Fire damage
</td>
</tr>
<tr style='background-color:#3b3b3b;'>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
3
</td>
<td style='border:1px solid #999999;padding:3px 10px;'>
Nature damage
</td>
</tr>
<tr>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
4
</td>
<td style='border:1px solid #999999;padding:3px 10px;'>
Frost damage
</td>
</tr>
<tr style='background-color:#3b3b3b;'>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
5
</td>
<td style='border:1px solid #999999;padding:3px 10px;'>
Shadow damage
</td>
</tr>
<tr>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
6
</td>
<td style='border:1px solid #999999;padding:3px 10px;'>
Arcane damage
</td>
</tr>
</tbody>
</table>

</p>


<p>
<a id='MinLootGold' rel='internal' style='color:rgb(255,255,255);'>
<span style='font-size:20px;'>
MinLootGold
</span></a>
 mediumint(8) <abbr style='border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;' title='This field is unsigned, so it never accepts negative values'>unsigned</abbr>
</p>
<p>
Minimum money the creature drops when killed, in copper.
</p>


<p>
<a id='MaxLootGold' rel='internal' style='color:rgb(255,255,255);'>
<span style='font-size:20px;'>
MaxLootGold
</span></a>
 mediumint(8) <abbr style='border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;' title='This field is unsigned, so it never accepts negative values'>unsigned</abbr>
</p>
<p>
The money dropped by the creature in copper (1000 = 10s, 100000 = 1g, 111111 = 11g 11s 11c)
</p>


<p>
<a id='LootId' rel='internal' style='color:rgb(255,255,255);'>
<span style='font-size:20px;'>
LootId
</span></a>
 mediumint(8) <abbr style='border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;' title='This field is unsigned, so it never accepts negative values'>unsigned</abbr>
</p>
<p>
The field adds loot to a creature template and references the "creature_loot_template" table unique ID for which the entry is valid.
</p>


<p>
<a id='PickpocketLootId' rel='internal' style='color:rgb(255,255,255);'>
<span style='font-size:20px;'>
PickpocketLootId
</span></a>
 mediumint(8) <abbr style='border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;' title='This field is unsigned, so it never accepts negative values'>unsigned</abbr>
</p>
<p>
The field adds pickpocketing loot to a creature template and references the "pickpocketing_loot_template" tables unique ID for which the entry is valid.
</p>


<p>
<a id='SkinningLootId' rel='internal' style='color:rgb(255,255,255);'>
<span style='font-size:20px;'>
SkinningLootId
</span></a>
 mediumint(8) <abbr style='border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;' title='This field is unsigned, so it never accepts negative values'>unsigned</abbr>
</p>
<p>
The field adds skinning loot to a creature template and references the "skinning_loot_template" tables unique ID for which the entry is valid.
</p>


<p>
<a id='KillCredit1' rel='internal' style='color:rgb(255,255,255);'>
<span style='font-size:20px;'>
KillCredit1
</span></a>
 int(11) <abbr style='border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;' title='This field is unsigned, so it never accepts negative values'>unsigned</abbr>
</p>
<p>
If killing a creature should credit towards a different creature_template, this should be set to the creature template's identifier.
</p>


<p>
<a id='KillCredit2' rel='internal' style='color:rgb(255,255,255);'>
<span style='font-size:20px;'>
KillCredit2
</span></a>
 int(11) <abbr style='border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;' title='This field is unsigned, so it never accepts negative values'>unsigned</abbr>
</p>
<p>
If killing a creature should credit towards a different creature_template, this should be set to the creature template's identifier.
</p>


<p>
<a id='QuestItem1' rel='internal' style='color:rgb(255,255,255);'>
<span style='font-size:20px;'>
QuestItem1
</span></a>
 int(11) <abbr style='border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;' title='This field is unsigned, so it never accepts negative values'>unsigned</abbr>
</p>

<p>
<a id='QuestItem2' rel='internal' style='color:rgb(255,255,255);'>
<span style='font-size:20px;'>
QuestItem2
</span></a>
 int(11) <abbr style='border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;' title='This field is unsigned, so it never accepts negative values'>unsigned</abbr>
</p>

<p>
<a id='QuestItem3' rel='internal' style='color:rgb(255,255,255);'>
<span style='font-size:20px;'>
QuestItem3
</span></a>
 int(11) <abbr style='border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;' title='This field is unsigned, so it never accepts negative values'>unsigned</abbr>
</p>

<p>
<a id='QuestItem4' rel='internal' style='color:rgb(255,255,255);'>
<span style='font-size:20px;'>
QuestItem4
</span></a>
 int(11) <abbr style='border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;' title='This field is unsigned, so it never accepts negative values'>unsigned</abbr>
</p>

<p>
<a id='QuestItem5' rel='internal' style='color:rgb(255,255,255);'>
<span style='font-size:20px;'>
QuestItem5
</span></a>
 int(11) <abbr style='border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;' title='This field is unsigned, so it never accepts negative values'>unsigned</abbr>
</p>

<p>
<a id='QuestItem6' rel='internal' style='color:rgb(255,255,255);'>
<span style='font-size:20px;'>
QuestItem6
</span></a>
 int(11) <abbr style='border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;' title='This field is unsigned, so it never accepts negative values'>unsigned</abbr>
</p>

<p>
<a id='MechanicImmuneMask' rel='internal' style='color:rgb(255,255,255);'>
<span style='font-size:20px;'>
MechanicImmuneMask
</span></a>
 int(10) <abbr style='border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;' title='This field is unsigned, so it never accepts negative values'>unsigned</abbr>
</p>
<p>
This mask can be used to make creatures immune to spell mechanics. Multiple immunities can be combined.<br /><table align='center' border='1' cellpadding='1' cellspacing='1' style='width:100%;background-color:#2b2b2b;color:#c0c0c0;'>
<thead>
<tr>
<th scope='col' style='border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:center;'>
<b>Value</b>
</th>
<th scope='col' style='border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:left;'>
<b>Type</b>
</th>
<th scope='col' style='border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:left;'>
<b>Value</b>
</th>
<th scope='col' style='border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:left;'>
<b>Type</b>
</th>
</tr>
</thead>
<tbody>
<tr>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
0
</td>
<td style='border:1px solid #999999;padding:3px 10px;'>
NONE
</td>
<td style='border:1px solid #999999;padding:3px 10px;'>
32768
</td>
<td style='border:1px solid #999999;padding:3px 10px;'>
BANDAGE
</td>
</tr>
<tr style='background-color:#3b3b3b;'>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
1
</td>
<td style='border:1px solid #999999;padding:3px 10px;'>
CHARM
</td>
<td style='border:1px solid #999999;padding:3px 10px;'>
65536
</td>
<td style='border:1px solid #999999;padding:3px 10px;'>
POLYMORPH
</td>
</tr>
<tr>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
2
</td>
<td style='border:1px solid #999999;padding:3px 10px;'>
CONFUSED
</td>
<td style='border:1px solid #999999;padding:3px 10px;'>
131072
</td>
<td style='border:1px solid #999999;padding:3px 10px;'>
BANISH
</td>
</tr>
<tr style='background-color:#3b3b3b;'>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
4
</td>
<td style='border:1px solid #999999;padding:3px 10px;'>
DISARM
</td>
<td style='border:1px solid #999999;padding:3px 10px;'>
262144
</td>
<td style='border:1px solid #999999;padding:3px 10px;'>
SHIELD
</td>
</tr>
<tr>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
8
</td>
<td style='border:1px solid #999999;padding:3px 10px;'>
DISTRACT
</td>
<td style='border:1px solid #999999;padding:3px 10px;'>
524288
</td>
<td style='border:1px solid #999999;padding:3px 10px;'>
SHACKLE
</td>
</tr>
<tr style='background-color:#3b3b3b;'>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
16
</td>
<td style='border:1px solid #999999;padding:3px 10px;'>
FEAR
</td>
<td style='border:1px solid #999999;padding:3px 10px;'>
1048576
</td>
<td style='border:1px solid #999999;padding:3px 10px;'>
MOUNT
</td>
</tr>
<tr>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
32
</td>
<td style='border:1px solid #999999;padding:3px 10px;'>
FUMBLE
</td>
<td style='border:1px solid #999999;padding:3px 10px;'>
2097152
</td>
<td style='border:1px solid #999999;padding:3px 10px;'>
PERSUADE
</td>
</tr>
<tr style='background-color:#3b3b3b;'>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
64
</td>
<td style='border:1px solid #999999;padding:3px 10px;'>
ROOT
</td>
<td style='border:1px solid #999999;padding:3px 10px;'>
4194304
</td>
<td style='border:1px solid #999999;padding:3px 10px;'>
TURN
</td>
</tr>
<tr>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
128
</td>
<td style='border:1px solid #999999;padding:3px 10px;'>
PACIFY
</td>
<td style='border:1px solid #999999;padding:3px 10px;'>
8388608
</td>
<td style='border:1px solid #999999;padding:3px 10px;'>
HORROR
</td>
</tr>
<tr style='background-color:#3b3b3b;'>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
256
</td>
<td style='border:1px solid #999999;padding:3px 10px;'>
SILENCE
</td>
<td style='border:1px solid #999999;padding:3px 10px;'>
16777216
</td>
<td style='border:1px solid #999999;padding:3px 10px;'>
INVULNERABILITY
</td>
</tr>
<tr>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
512
</td>
<td style='border:1px solid #999999;padding:3px 10px;'>
SLEEP
</td>
<td style='border:1px solid #999999;padding:3px 10px;'>
33554432
</td>
<td style='border:1px solid #999999;padding:3px 10px;'>
INTERRUPT
</td>
</tr>
<tr style='background-color:#3b3b3b;'>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
1024
</td>
<td style='border:1px solid #999999;padding:3px 10px;'>
SNARE
</td>
<td style='border:1px solid #999999;padding:3px 10px;'>
67108864
</td>
<td style='border:1px solid #999999;padding:3px 10px;'>
DAZE
</td>
</tr>
<tr>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
2048
</td>
<td style='border:1px solid #999999;padding:3px 10px;'>
STUN
</td>
<td style='border:1px solid #999999;padding:3px 10px;'>
134217728
</td>
<td style='border:1px solid #999999;padding:3px 10px;'>
DISCOVERY
</td>
</tr>
<tr style='background-color:#3b3b3b;'>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
4096
</td>
<td style='border:1px solid #999999;padding:3px 10px;'>
FREEZE
</td>
<td style='border:1px solid #999999;padding:3px 10px;'>
268435456
</td>
<td style='border:1px solid #999999;padding:3px 10px;'>
IMMUNE_SHIELD
</td>
</tr>
<tr>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
8192
</td>
<td style='border:1px solid #999999;padding:3px 10px;'>
KNOCKOUT
</td>
<td style='border:1px solid #999999;padding:3px 10px;'>
536870912
</td>
<td style='border:1px solid #999999;padding:3px 10px;'>
SAPPED
</td>
</tr>
<tr style='background-color:#3b3b3b;'>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
16384
</td>
<td style='border:1px solid #999999;padding:3px 10px;'>
BLEED
</td>
<td style='border:1px solid #999999;padding:3px 10px;'>
&nbsp;
</td>
<td style='border:1px solid #999999;padding:3px 10px;'>
&nbsp;
</td>
</tr>
</tbody>
</table>
<br /><br /><b>Note:</b><br />In theory this should somehow relates to SpellMechanic.dbc and the immunities list there, but it does not match.
</p>


<p>
<a id='ResistanceHoly' rel='internal' style='color:rgb(255,255,255);'>
<span style='font-size:20px;'>
ResistanceHoly
</span></a>
 smallint(5)
</p>
<p>
The Holy resistance of the creature.
</p>


<p>
<a id='ResistanceFire' rel='internal' style='color:rgb(255,255,255);'>
<span style='font-size:20px;'>
ResistanceFire
</span></a>
 smallint(5)
</p>
<p>
The Fire resistance of the creature.
</p>


<p>
<a id='ResistanceNature' rel='internal' style='color:rgb(255,255,255);'>
<span style='font-size:20px;'>
ResistanceNature
</span></a>
 smallint(5)
</p>
<p>
The Nature resistance of the creature.
</p>


<p>
<a id='ResistanceFrost' rel='internal' style='color:rgb(255,255,255);'>
<span style='font-size:20px;'>
ResistanceFrost
</span></a>
 smallint(5)
</p>
<p>
The Frost resistance of the creature.
</p>


<p>
<a id='ResistanceShadow' rel='internal' style='color:rgb(255,255,255);'>
<span style='font-size:20px;'>
ResistanceShadow
</span></a>
 smallint(5)
</p>
<p>
The Shadow resistance of the creature.
</p>


<p>
<a id='ResistanceArcane' rel='internal' style='color:rgb(255,255,255);'>
<span style='font-size:20px;'>
ResistanceArcane
</span></a>
 smallint(5)
</p>
<p>
The Arcane resistance of the creature.
</p>


<p>
<a id='PetSpellDataId' rel='internal' style='color:rgb(255,255,255);'>
<span style='font-size:20px;'>
PetSpellDataId
</span></a>
 mediumint(8) <abbr style='border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;' title='This field is unsigned, so it never accepts negative values'>unsigned</abbr>
</p>
<p>
ID that displays what spells the pet has in the client.
</p>


<p>
<a id='MovementType' rel='internal' style='color:rgb(255,255,255);'>
<span style='font-size:20px;'>
MovementType
</span></a>
 tinyint(3) <abbr style='border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;' title='This field is unsigned, so it never accepts negative values'>unsigned</abbr>
</p>
<p>
The movement type defines what a creature spawn will behave like after spawning.<br /><table align='center' border='1' cellpadding='1' cellspacing='1' style='width:100%;background-color:#2b2b2b;color:#c0c0c0;'>
<thead>
<tr>
<th scope='col' style='border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:center;'>
<b>Value</b>
</th>
<th scope='col' style='border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:left;'>
<b>Behaviour</b>
</th>
</tr>
</thead>
<tbody>
<tr>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
0
</td>
<td style='border:1px solid #999999;padding:3px 10px;'>
Idle on spawn point
</td>
</tr>
<tr style='background-color:#3b3b3b;'>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
1
</td>
<td style='border:1px solid #999999;padding:3px 10px;'>
Random movement within spawndist radius
</td>
</tr>
<tr>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
2
</td>
<td style='border:1px solid #999999;padding:3px 10px;'>
Waypoint movement
</td>
</tr>
</tbody>
</table>
<br />
</p>


<p>
<a id='MovementTemplateId' rel='internal' style='color:rgb(255,255,255);'>
<span style='font-size:20px;'>
MovementTemplateId
</span></a>
 int(11) <abbr style='border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;' title='This field is unsigned, so it never accepts negative values'>unsigned</abbr>
</p>

<p>
<a id='TrainerType' rel='internal' style='color:rgb(255,255,255);'>
<span style='font-size:20px;'>
TrainerType
</span></a>
 tinyint(4)
</p>
<p>
For creature templates set to be trainers, this details what kind of trainer the creature is. The following table provides a list of valid trainer types.<br /><table align='center' border='1' cellpadding='1' cellspacing='1' style='width:100%;background-color:#2b2b2b;color:#c0c0c0;'>
<thead>
<tr>
<th scope='col' style='border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:center;'>
<b>ID</b>
</th>
<th scope='col' style='border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:center;'>
<b>Type</b>
</th>
<th scope='col' style='border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:center;'>
<b>Related Field</b>
</th>
<th scope='col' style='border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:left;'>
<b>Comments</b>
</th>
</tr>
</thead>
<tbody>
<tr>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
0
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
TRAINER_TYPE_CLASS
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
trainer_class
</td>
<td style='border:1px solid #999999;padding:3px 10px;'>
Trains Class Spells
</td>
</tr>
<tr style='background-color:#3b3b3b;'>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
1
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
TRAINER_TYPE_MOUNTS
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
trainer_race
</td>
<td style='border:1px solid #999999;padding:3px 10px;'>
Trains Riding Skill
</td>
</tr>
<tr>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
2
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
TRAINER_TYPE_TRADESKILLS
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
trainer_spell
</td>
<td style='border:1px solid #999999;padding:3px 10px;'>
Trains Professions
</td>
</tr>
<tr style='background-color:#3b3b3b;'>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
3
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
TRAINER_TYPE_PETS
</td>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
trainer_class
</td>
<td style='border:1px solid #999999;padding:3px 10px;'>
Trains Pet Skills
</td>
</tr>
</tbody>
</table>

</p>


<p>
<a id='TrainerSpell' rel='internal' style='color:rgb(255,255,255);'>
<span style='font-size:20px;'>
TrainerSpell
</span></a>
 mediumint(8) <abbr style='border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;' title='This field is unsigned, so it never accepts negative values'>unsigned</abbr>
</p>
<p>
If set to a valid spell identifier from Spell.dbc [<b>See <a href='https://www.getmangos.eu/wiki/' rel=''>Spell.dbc</a></b>], this will restrict access to a profession trainer so that the player needs to already have access to the spell to access the trainer.
</p>


<p>
<a id='TrainerClass' rel='internal' style='color:rgb(255,255,255);'>
<span style='font-size:20px;'>
TrainerClass
</span></a>
 tinyint(3) <abbr style='border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;' title='This field is unsigned, so it never accepts negative values'>unsigned</abbr>
</p>
<p>
The value of this field will restrict access to class and/or pet trainers, if set to a value corresponding with the class identifiers from ChrClasses.dbc.<br /><table align='center' border='1' cellpadding='1' cellspacing='1' style='width:100%;background-color:#2b2b2b;color:#c0c0c0;'>
<thead>
<tr>
<th scope='col' style='border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:center;'>
<b>Value</b>
</th>
<th scope='col' style='border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:left;'>
<b>Description</b>
</th>
</tr>
</thead>
<tbody>
<tr>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
1
</td>
<td style='border:1px solid #999999;padding:3px 10px;'>
Warrior
</td>
</tr>
<tr style='background-color:#3b3b3b;'>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
2
</td>
<td style='border:1px solid #999999;padding:3px 10px;'>
Paladin
</td>
</tr>
<tr>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
3
</td>
<td style='border:1px solid #999999;padding:3px 10px;'>
Hunter
</td>
</tr>
<tr style='background-color:#3b3b3b;'>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
4
</td>
<td style='border:1px solid #999999;padding:3px 10px;'>
Rogue
</td>
</tr>
<tr>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
5
</td>
<td style='border:1px solid #999999;padding:3px 10px;'>
Priest
</td>
</tr>
<tr style='background-color:#3b3b3b;'>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
7
</td>
<td style='border:1px solid #999999;padding:3px 10px;'>
Shaman
</td>
</tr>
<tr>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
8
</td>
<td style='border:1px solid #999999;padding:3px 10px;'>
Mage
</td>
</tr>
<tr style='background-color:#3b3b3b;'>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
9
</td>
<td style='border:1px solid #999999;padding:3px 10px;'>
Warlock
</td>
</tr>
<tr>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
11
</td>
<td style='border:1px solid #999999;padding:3px 10px;'>
Druid
</td>
</tr>
</tbody>
</table>
<br /><br /><b>Note:</b><br />Pet trainers should always use the Hunter class identifier 3.
</p>


<p>
<a id='TrainerRace' rel='internal' style='color:rgb(255,255,255);'>
<span style='font-size:20px;'>
TrainerRace
</span></a>
 tinyint(3) <abbr style='border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;' title='This field is unsigned, so it never accepts negative values'>unsigned</abbr>
</p>
<p>
This field allows to restrict a riding trainer to a specific race. 
Players not from that race will require exalted reputation with the trainers race before being able to buy from him. 
Values in this field correspond with the content of ChrRaces.dbc [<b>See <a href='https://www.getmangos.eu/wiki/' rel=''>ChrRaces.dbc</a></b>].
</p>


<p>
<a id='TrainerTemplateId' rel='internal' style='color:rgb(255,255,255);'>
<span style='font-size:20px;'>
TrainerTemplateId
</span></a>
 mediumint(8) <abbr style='border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;' title='This field is unsigned, so it never accepts negative values'>unsigned</abbr>
</p>
<p>
This field adds a training spells to a creature template and references the "npc_trainer_template" tables unique ID for which the entry is valid.
</p>


<p>
<a id='VendorTemplateId' rel='internal' style='color:rgb(255,255,255);'>
<span style='font-size:20px;'>
VendorTemplateId
</span></a>
 mediumint(8) <abbr style='border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;' title='This field is unsigned, so it never accepts negative values'>unsigned</abbr>
</p>
<p>
This field adds a vendor items to a creature template and references the "npc_vendor_template" tables unique ID for which the entry is valid.
</p>


<p>
<a id='EquipmentTemplateId' rel='internal' style='color:rgb(255,255,255);'>
<span style='font-size:20px;'>
EquipmentTemplateId
</span></a>
 mediumint(8) <abbr style='border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;' title='This field is unsigned, so it never accepts negative values'>unsigned</abbr>
</p>
<p>
The field adds equipment to a creature template and references the "creature_equip_template" tables unique ID for which the entry is valid.
</p>


<p>
<a id='VehicleTemplateId' rel='internal' style='color:rgb(255,255,255);'>
<span style='font-size:20px;'>
VehicleTemplateId
</span></a>
 mediumint(8) <abbr style='border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;' title='This field is unsigned, so it never accepts negative values'>unsigned</abbr>
</p>

<p>
<a id='GossipMenuId' rel='internal' style='color:rgb(255,255,255);'>
<span style='font-size:20px;'>
GossipMenuId
</span></a>
 mediumint(8) <abbr style='border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;' title='This field is unsigned, so it never accepts negative values'>unsigned</abbr>
</p>
<p>
This references the "gossip_menu" tables unique ID for which the entry is valid, if the creature_template should have a gossip dialogue.
</p>


<p>
<a id='AIName' rel='internal' style='color:rgb(255,255,255);'>
<span style='font-size:20px;'>
AIName
</span></a>
 char(64)
</p>
<p>
This string determines which built-in AI script will be used for the creature template. By default and empty string will lead to the creature doing nothing. 
The following table lists all valid entries.<br />

<table align='center' border='1' cellpadding='1' cellspacing='1' style='width:100%;background-color:#2b2b2b;color:#c0c0c0;'>
<thead>
<tr>
<th scope='col' style='border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:center;'>
<b>Value</b>
</th>
<th scope='col' style='border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:left;'>
<b>Description</b>
</th>
</tr>
</thead>
<tbody>
<tr>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
NullAI
</td>
<td style='border:1px solid #999999;padding:3px 10px;'>
Do nothing. Same as empty string.
</td>
</tr>
<tr style='background-color:#3b3b3b;'>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
AggressorAI
</td>
<td style='border:1px solid #999999;padding:3px 10px;'>
Creature attacks when entering aggro radius.
</td>
</tr>
<tr>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
ReactorAI
</td>
<td style='border:1px solid #999999;padding:3px 10px;'>
Creature attacks only if aggroed by spell.
</td>
</tr>
<tr style='background-color:#3b3b3b;'>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
GuardAI
</td>
<td style='border:1px solid #999999;padding:3px 10px;'>
Creature is a zone guard.
</td>
</tr>
<tr>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
PetAI
</td>
<td style='border:1px solid #999999;padding:3px 10px;'>
Creature is a pet.
</td>
</tr>
<tr style='background-color:#3b3b3b;'>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
TotemAI
</td>
<td style='border:1px solid #999999;padding:3px 10px;'>
Creature casts spell from spell1.
</td>
</tr>
<tr>
<td style='border:1px solid #999999;padding:3px 10px;text-align:center;'>
EventAI
</td>
<td style='border:1px solid #999999;padding:3px 10px;'>
Creature uses event based AI.
</td>
</tr>
</tbody>
</table>

</p>



<br/>
<p>
auto-generated by the <a href='https://getmangos.eu'>getMaNGOS.eu</a> MAGNET dbdocs module
</p>
]]></description><guid isPermaLink="false">5028</guid><pubDate>Mon, 25 Jul 2016 08:57:29 +0000</pubDate></item><item><title>creature_template_addon</title><link>https://www.getmangos.eu/wiki/referenceinfo/dbinfo/mangosdb/mangostwoworlddb/creature_template_addon-r5029/</link><description><![CDATA[<table bgcolor="#a80000" border="2" cellpadding="0" cellspacing="0" width="100%">
<tbody>
<tr>
<td height="20">
<font color="#ffe97f" size="3"> <strong>NOTE:</strong>  This page is auto-generated from the MAGNET DBDocs module,<br>             Any changes made directly to this page will be lost when it is regenerated.</font>
</td>
</tr>
</tbody>
</table>
<h2 style="font-size:24px;color:rgb(180,255,255);">
Description of the  'creature_template_addon' table for MaNGOSTwo
</h2>

<p>The creature_addon and creature_template_addon tables define different things that are applied on creatures when they are loaded. These "different things" can be for example to have the creature be mounted, to have it emote something, to have it display an aura effect, etc. Through the use of the fields in this table, many things can be changed about the outward visual appearance of the creature. The creature_template_addon table affects all creatures with that creature template ID while the creature_addon table affects individually spawned creatures (so that two creatures using the same template can look different).

NOTES: 
A creature_addon record will override a creature_template_addon record should they overlap on the same creature.<br>
<br>
The data for this table is largely incomplete and is mostly just a regurgitation of what the client receives from the server. This article is a WIP as to what all the possible values are.</p>

<p style="font-size:18px;color:rgb(255,255,180);">
<strong>Table Notes</strong>
</p>
<p>This table uses the 'InnoDB' DB Engine</p>


<p style="font-size:18px;color:rgb(255,255,180);">
<strong>The Field definitions follow:</strong>
</p>
<table align="center" border="1" cellpadding="1" cellspacing="1" style="width:100%;background-color:#2b2b2b;color:#c0c0c0;">
<thead><tr>
<th scope="col" style="border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:center;">
<b>Field Name</b>
</th>
<th scope="col" style="border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:center;">
<b>Field Type</b>
</th>
<th scope="col" style="border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:center;">
<b>Nullable</b>
</th>
<th scope="col" style="border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:center;">
<b>Key</b>
</th>
<th scope="col" style="border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:center;">
<b>Default Value</b>
</th>
<th scope="col" style="border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:center;">
<b>Attributes</b>
</th>
<th scope="col" style="border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:left;">
<b>Notes</b>
</th>
</tr>
</thead>
<tbody>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
<a href="#entry" rel="internal" style="color:rgb(180,255,255);">entry</a>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
mediumint(8) <abbr style="border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;" title="This field is unsigned, so it never accepts negative values">unsigned</abbr>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
NO
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
<abbr style="border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;" title="Primary Key">PRI</abbr>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
'0'
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
 
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:left;">
This references the "creature_template" table's unique ID.
</td>
</tr>
<tr style="background-color:#3b3b3b;">
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
<a href="#mount" rel="internal" style="color:rgb(180,255,255);">mount</a>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
mediumint(8) <abbr style="border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;" title="This field is unsigned, so it never accepts negative values">unsigned</abbr>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
NO
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">

</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
'0'
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
 
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:left;">
A display model identifier used as mount for the creature_template.
</td>
</tr>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
<a href="#bytes1" rel="internal" style="color:rgb(180,255,255);">bytes1</a>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
int(10) <abbr style="border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;" title="This field is unsigned, so it never accepts negative values">unsigned</abbr>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
NO
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">

</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
'0'
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
 
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:left;">
TODO
</td>
</tr>
<tr style="background-color:#3b3b3b;">
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
<a href="#b2_0_sheath" rel="internal" style="color:rgb(180,255,255);">b2_0_sheath</a>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
tinyint(3) <abbr style="border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;" title="This field is unsigned, so it never accepts negative values">unsigned</abbr>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
NO
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">

</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
'0'
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
 
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:left;">
Defines the sheath state of the creature_template.
</td>
</tr>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
<a href="#b2_1_pvp_state" rel="internal" style="color:rgb(180,255,255);">b2_1_pvp_state</a>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
tinyint(3) <abbr style="border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;" title="This field is unsigned, so it never accepts negative values">unsigned</abbr>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
NO
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">

</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
'0'
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
 
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:left;">
 
</td>
</tr>
<tr style="background-color:#3b3b3b;">
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
<a href="#emote" rel="internal" style="color:rgb(180,255,255);">emote</a>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
mediumint(8) <abbr style="border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;" title="This field is unsigned, so it never accepts negative values">unsigned</abbr>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
NO
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">

</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
'0'
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
 
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:left;">
Emote ID that the creature should continually perform.
</td>
</tr>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
<a href="#moveflags" rel="internal" style="color:rgb(180,255,255);">moveflags</a>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
int(10) <abbr style="border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;" title="This field is unsigned, so it never accepts negative values">unsigned</abbr>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
NO
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">

</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
'0'
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
 
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:left;">
The flag controls how a creature_template will be animated while moving.
</td>
</tr>
<tr style="background-color:#3b3b3b;">
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
<a href="#auras" rel="internal" style="color:rgb(180,255,255);">auras</a>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
text
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
YES
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">

</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
NULL
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
 
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:left;">
Allows to attach auras to a creature_template entry.
</td>
</tr>
</tbody>
</table>
<p style="font-size:20px;color:rgb(255,255,180);">
<strong>Description of the fields</strong>
</p>
<p>
<a id="entry" rel="internal" style="color:rgb(255,255,255);">
<span style="font-size:20px;">
entry
</span></a>
 mediumint(8) <abbr style="border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;" title="This field is unsigned, so it never accepts negative values">unsigned</abbr>
</p>
<p>
This references the unique ID in table "creature_template" [<b>See <a href="https://www.getmangos.eu/wiki/referenceinfo/dbinfo/mangosdb/mangostwoworlddb/creature_template-r5028#id" rel="">creature_template.id</a></b>] for which the entry is valid.
</p>


<p>
<a id="mount" rel="internal" style="color:rgb(255,255,255);">
<span style="font-size:20px;">
mount
</span></a>
 mediumint(8) <abbr style="border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;" title="This field is unsigned, so it never accepts negative values">unsigned</abbr>
</p>
<p>
A display model identifier used as mount for the creature_template. 
This references the "creature_model_info" table tables unique ID for which this entry is valid.
</p>


<p>
<a id="bytes1" rel="internal" style="color:rgb(255,255,255);">
<span style="font-size:20px;">
bytes1
</span></a>
 int(10) <abbr style="border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;" title="This field is unsigned, so it never accepts negative values">unsigned</abbr>
</p>
<p>
TODO
</p>


<p>
<a id="b2_0_sheath" rel="internal" style="color:rgb(255,255,255);">
<span style="font-size:20px;">
b2_0_sheath
</span></a>
 tinyint(3) <abbr style="border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;" title="This field is unsigned, so it never accepts negative values">unsigned</abbr>
</p>
<p>
Defines the sheath state of the creature_template.<br><br></p><table align="center" border="1" cellpadding="1" cellspacing="1" style="width:100%;background-color:#2b2b2b;color:#c0c0c0;">
<thead>
<tr>
<th scope="col" style="border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:center;">
<b>Value</b>
</th>
<th scope="col" style="border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:left;">
<b>State</b>
</th>
</tr>
</thead>
<tbody>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
0
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
All weapons sheathed
</td>
</tr>
<tr style="background-color:#3b3b3b;">
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
1
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
Melee weapon unsheathed
</td>
</tr>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
2
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
Ranged weapon unsheathed
</td>
</tr>
<tr style="background-color:#3b3b3b;">
</tr>
</tbody>
</table>




<p>
<a id="b2_1_pvp_state" rel="internal" style="color:rgb(255,255,255);">
<span style="font-size:20px;">
b2_1_pvp_state
</span></a>
 tinyint(3) <abbr style="border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;" title="This field is unsigned, so it never accepts negative values">unsigned</abbr>
</p>

<p>
<a id="emote" rel="internal" style="color:rgb(255,255,255);">
<span style="font-size:20px;">
emote
</span></a>
 mediumint(8) <abbr style="border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;" title="This field is unsigned, so it never accepts negative values">unsigned</abbr>
</p>
<p>
Emote ID that the creature should continually perform.<br>
<br>
List of often used emote IDs and what they do ie. 65 Makes the creature look dead by lying on the ground.
</p><table align="center" border="1" cellpadding="1" cellspacing="1" style="width:100%;background-color:#2b2b2b;color:#c0c0c0;">
<thead>
<tr>
<th scope="col" style="border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:center;">
<b>Value</b>
</th>
<th scope="col" style="border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:left;">
<b>Emote Name</b>
</th>
</tr>
</thead>
<tbody>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
10
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
EMOTE_STATE_DANCE
</td>
</tr>
<tr style="background-color:#3b3b3b;">
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
12
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
EMOTE_STATE_SLEEP
</td>
</tr>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
13
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
EMOTE_STATE_SIT
</td>
</tr>
<tr style="background-color:#3b3b3b;">
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
26
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
EMOTE_STATE_STAND
</td>
</tr>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
28
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
EMOTE_STATE_WORK
</td>
</tr>
<tr style="background-color:#3b3b3b;">
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
64
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
EMOTE_STATE_STUN
</td>
</tr>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
64
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
EMOTE_STATE_DEAD
</td>
</tr>
<tr style="background-color:#3b3b3b;">
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
68
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
EMOTE_STATE_KNEEL
</td>
</tr>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
70
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
EMOTE_ONESHOT_WAVE_NOSHEATHE
</td>
</tr>
<tr style="background-color:#3b3b3b;">
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
71
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
EMOTE_ONESHOT_CHEER_NOSHEATHE
</td>
</tr>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
92
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
EMOTE_ONESHOT_EAT_NOSHEATHE
</td>
</tr>
<tr style="background-color:#3b3b3b;">
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
173
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
EMOTE_STATE_WORK_NOSHEATHE
</td>
</tr>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
379
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
EMOTE_STATE_FISHING
</td>
</tr>
<tr style="background-color:#3b3b3b;">
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
380
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
EMOTE_ONESHOT_FISHING
</td>
</tr>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
381
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
EMOTE_ONESHOT_LOOT
</td>
</tr>
<tr style="background-color:#3b3b3b;">
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
382
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
EMOTE_STATE_WHIRLWIND
</td>
</tr>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
392
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
EMOTE_STATE_LAUGH
</td>
</tr>
<tr style="background-color:#3b3b3b;">
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
398
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
EMOTE_STATE_CANNIBALIZE
</td>
</tr>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
400
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
EMOTE_STATE_DANCESPECIAL
</td>
</tr>
<tr style="background-color:#3b3b3b;">
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
412
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
EMOTE_STATE_EXCLAIM
</td>
</tr>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
415
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
EMOTE_STATE_SIT_CHAIR_MED
</td>
</tr>
</tbody>
</table>




<p>
<a id="moveflags" rel="internal" style="color:rgb(255,255,255);">
<span style="font-size:20px;">
moveflags
</span></a>
 int(10) <abbr style="border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;" title="This field is unsigned, so it never accepts negative values">unsigned</abbr>
</p>
<p>
The flag controls how a creature_template will be animated while moving.<br><br></p><table align="center" border="1" cellpadding="1" cellspacing="1" style="width:100%;background-color:#2b2b2b;color:#c0c0c0;">
<thead>
<tr>
<th scope="col" style="border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:center;">
<b>Value</b>
</th>
<th scope="col" style="border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:left;">
<b>Movement Animation</b>
</th>
</tr>
</thead>
<tbody>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
0x00000000
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
MOVEFLAG_NONE
</td>
</tr>
<tr style="background-color:#3b3b3b;">
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
0x00000001
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
MOVEFLAG_FORWARD
</td>
</tr>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
0x00000002
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
MOVEFLAG_BACKWARD
</td>
</tr>
<tr style="background-color:#3b3b3b;">
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
0x00000004
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
MOVEFLAG_STRAFE_LEFT
</td>
</tr>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
0x00000008
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
MOVEFLAG_STRAFE_RIGHT
</td>
</tr>
<tr style="background-color:#3b3b3b;">
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
0x00000010
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
MOVEFLAG_TURN_LEFT
</td>
</tr>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
0x00000020
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
MOVEFLAG_TURN_RIGHT
</td>
</tr>
<tr style="background-color:#3b3b3b;">
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
0x00000040
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
MOVEFLAG_PITCH_UP
</td>
</tr>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
0x00000080
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
MOVEFLAG_PITCH_DOWN
</td>
</tr>
<tr style="background-color:#3b3b3b;">
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
0x00000100
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
MOVEFLAG_WALK_MODE
</td>
</tr>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
0x00000400
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
MOVEFLAG_LEVITATING
</td>
</tr>
<tr style="background-color:#3b3b3b;">
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
0x00000800
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
MOVEFLAG_ROOT
</td>
</tr>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
0x00002000
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
MOVEFLAG_FALLING
</td>
</tr>
<tr style="background-color:#3b3b3b;">
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
0x00004000
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
MOVEFLAG_FALLINGFAR
</td>
</tr>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
0x00200000
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
MOVEFLAG_SWIMMING
</td>
</tr>
<tr style="background-color:#3b3b3b;">
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
0x00400000
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
MOVEFLAG_ASCENDING
</td>
</tr>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
0x00800000
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
MOVEFLAG_CAN_FLY
</td>
</tr>
<tr style="background-color:#3b3b3b;">
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
0x01000000
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
MOVEFLAG_FLYING
</td>
</tr>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
0x02000000
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
MOVEFLAG_ONTRANSPORT
</td>
</tr>
<tr style="background-color:#3b3b3b;">
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
0x04000000
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
MOVEFLAG_SPLINE_ELEVATION
</td>
</tr>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
0x08000000
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
MOVEFLAG_SPLINE_ENABLED
</td>
</tr>
<tr style="background-color:#3b3b3b;">
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
0x10000000
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
MOVEFLAG_WATERWALKING
</td>
</tr>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
0x20000000
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
MOVEFLAG_SAFE_FALL
</td>
</tr>
<tr style="background-color:#3b3b3b;">
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
0x40000000
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
MOVEFLAG_HOVER
</td>
</tr>
</tbody>
</table>




<p>
<a id="auras" rel="internal" style="color:rgb(255,255,255);">
<span style="font-size:20px;">
auras
</span></a>
 text
</p>
<p>
Allows to attach auras to a creature_template entry. This includes visual auras and spell effects. The field is a string containing a spell identifier defined in Spell.dbc with an index to the spell effect.<br><br>Multiple spells can be concatenated. Spells and effect indexes are separated by space characters.<br><br>Examples<br><br></p><table align="center" border="1" cellpadding="1" cellspacing="1" style="width:100%;background-color:#2b2b2b;color:#c0c0c0;">
<thead>
<tr>
<th scope="col" style="border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:center;">
<b>Value</b>
</th>
<th scope="col" style="border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:left;">
<b>Result</b>
</th>
</tr>
</thead>
<tbody>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
'16380 0'
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
Makes the creature_template invisible
</td>
</tr>
<tr style="background-color:#3b3b3b;">
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
'18950 0 18950 1'
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
Makes the creature_template detect invisible creatures and players
</td>
</tr>
</tbody>
</table>





<br>
<p>
auto-generated by the <a href="https://getmangos.eu">getMaNGOS.eu</a> MAGNET dbdocs module
</p>
]]></description><guid isPermaLink="false">5029</guid><pubDate>Mon, 25 Jul 2016 08:57:29 +0000</pubDate></item><item><title>creature_template_classlevelstats</title><link>https://www.getmangos.eu/wiki/referenceinfo/dbinfo/mangosdb/mangostwoworlddb/creature_template_classlevelstats-r5030/</link><description><![CDATA[<table bgcolor="#a80000" border="2" cellpadding="0" cellspacing="0" width="100%">
<tbody>
<tr>
<td height="20">
<font color="#ffe97f" size="3"> <strong>NOTE:</strong>  This page is auto-generated from the MAGNET DBDocs module,<br>             Any changes made directly to this page will be lost when it is regenerated.</font>
</td>
</tr>
</tbody>
</table>
<h2 style="font-size:24px;color:rgb(180,255,255);">
Description of the  'creature_template_classlevelstats' table for MaNGOSTwo
</h2>

<p>This table contains the base values for creatures' health, mana and armor.</p>

<p style="font-size:18px;color:rgb(255,255,180);">
<strong>Table Notes</strong>
</p>
<p>This table uses the 'MyISAM' DB Engine</p>


<p style="font-size:18px;color:rgb(255,255,180);">
<strong>The Field definitions follow:</strong>
</p>
<table align="center" border="1" cellpadding="1" cellspacing="1" style="width:100%;background-color:#2b2b2b;color:#c0c0c0;">
<thead><tr>
<th scope="col" style="border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:center;">
<b>Field Name</b>
</th>
<th scope="col" style="border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:center;">
<b>Field Type</b>
</th>
<th scope="col" style="border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:center;">
<b>Nullable</b>
</th>
<th scope="col" style="border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:center;">
<b>Key</b>
</th>
<th scope="col" style="border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:center;">
<b>Default Value</b>
</th>
<th scope="col" style="border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:center;">
<b>Attributes</b>
</th>
<th scope="col" style="border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:left;">
<b>Notes</b>
</th>
</tr>
</thead>
<tbody>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
<a href="#Level" rel="internal" style="color:rgb(180,255,255);">Level</a>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
tinyint(4)
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
NO
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
<abbr style="border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;" title="Primary Key">PRI</abbr>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
NULL
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
 
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:left;">
Creature level for the stats.
</td>
</tr>
<tr style="background-color:#3b3b3b;">
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
<a href="#Class" rel="internal" style="color:rgb(180,255,255);">Class</a>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
tinyint(4)
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
NO
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
<abbr style="border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;" title="Primary Key">PRI</abbr>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
NULL
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
 
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:left;">
A creature's class. The following table describes the available classes.
</td>
</tr>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
<a href="#BaseHealthExp0" rel="internal" style="color:rgb(180,255,255);">BaseHealthExp0</a>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
mediumint(8) <abbr style="border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;" title="This field is unsigned, so it never accepts negative values">unsigned</abbr>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
NO
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">

</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
'0'
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
 
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:left;">
Base health value for expansion 0 aka. vanilla WoW.
</td>
</tr>
<tr style="background-color:#3b3b3b;">
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
<a href="#BaseHealthExp1" rel="internal" style="color:rgb(180,255,255);">BaseHealthExp1</a>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
mediumint(8) <abbr style="border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;" title="This field is unsigned, so it never accepts negative values">unsigned</abbr>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
NO
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">

</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
'0'
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
 
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:left;">
 
</td>
</tr>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
<a href="#BaseHealthExp2" rel="internal" style="color:rgb(180,255,255);">BaseHealthExp2</a>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
mediumint(8) <abbr style="border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;" title="This field is unsigned, so it never accepts negative values">unsigned</abbr>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
NO
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">

</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
'0'
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
 
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:left;">
 
</td>
</tr>
<tr style="background-color:#3b3b3b;">
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
<a href="#BaseMana" rel="internal" style="color:rgb(180,255,255);">BaseMana</a>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
mediumint(8) <abbr style="border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;" title="This field is unsigned, so it never accepts negative values">unsigned</abbr>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
NO
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">

</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
'0'
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
 
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:left;">
Base mana value for any creature of this level and class.
</td>
</tr>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
<a href="#BaseDamageExp0" rel="internal" style="color:rgb(180,255,255);">BaseDamageExp0</a>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
float
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
NO
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">

</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
'0'
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
 
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:left;">
Base damage value for expansion 0 aka. vanilla WoW.
</td>
</tr>
<tr style="background-color:#3b3b3b;">
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
<a href="#BaseDamageExp1" rel="internal" style="color:rgb(180,255,255);">BaseDamageExp1</a>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
float
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
NO
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">

</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
'0'
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
 
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:left;">
 
</td>
</tr>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
<a href="#BaseDamageExp2" rel="internal" style="color:rgb(180,255,255);">BaseDamageExp2</a>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
float
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
NO
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">

</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
'0'
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
 
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:left;">
 
</td>
</tr>
<tr style="background-color:#3b3b3b;">
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
<a href="#BaseMeleeAttackPower" rel="internal" style="color:rgb(180,255,255);">BaseMeleeAttackPower</a>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
float
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
NO
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">

</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
'0'
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
 
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:left;">
Base melee attack power that has been factored for low level creatures.
</td>
</tr>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
<a href="#BaseRangedAttackPower" rel="internal" style="color:rgb(180,255,255);">BaseRangedAttackPower</a>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
float
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
NO
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">

</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
'0'
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
 
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:left;">
Base ranged attack power.
</td>
</tr>
<tr style="background-color:#3b3b3b;">
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
<a href="#BaseArmor" rel="internal" style="color:rgb(180,255,255);">BaseArmor</a>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
mediumint(8) <abbr style="border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;" title="This field is unsigned, so it never accepts negative values">unsigned</abbr>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
NO
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">

</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
'0'
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
 
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:left;">
Base armor value for any creature of this level and class.
</td>
</tr>
</tbody>
</table>
<p style="font-size:20px;color:rgb(255,255,180);">
<strong>Description of the fields</strong>
</p>
<p>
<a id="Level" rel="internal" style="color:rgb(255,255,255);">
<span style="font-size:20px;">
Level
</span></a>
 tinyint(4)
</p>
<p>
Creature level for the stats.<br>Could Be MinLevel or MaxLevel or both, could Be Same if the creature only has a single level.
</p>


<p>
<a id="Class" rel="internal" style="color:rgb(255,255,255);">
<span style="font-size:20px;">
Class
</span></a>
 tinyint(4)
</p>
<p>
A creature's class. The following table describes the available classes.<br><br></p><table align="center" border="1" cellpadding="1" cellspacing="1" style="width:100%;background-color:#2b2b2b;color:#c0c0c0;">
<thead>
<tr>
<th scope="col" style="border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:center;">
<b>Value</b>
</th>
<th scope="col" style="border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:left;">
<b>Battleground Name</b>
</th>
</tr>
</thead>
<tbody>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
1
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
Alterac Valley
</td>
</tr>
<tr style="background-color:#3b3b3b;">
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
2
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
Warsong Gulch
</td>
</tr>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
3
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
Arathi Basin
</td>
</tr>
</tbody>
</table>




<p>
<a id="BaseHealthExp0" rel="internal" style="color:rgb(255,255,255);">
<span style="font-size:20px;">
BaseHealthExp0
</span></a>
 mediumint(8) <abbr style="border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;" title="This field is unsigned, so it never accepts negative values">unsigned</abbr>
</p>
<p>
Base health value for expansion 0 aka. vanilla WoW.
</p>


<p>
<a id="BaseHealthExp1" rel="internal" style="color:rgb(255,255,255);">
<span style="font-size:20px;">
BaseHealthExp1
</span></a>
 mediumint(8) <abbr style="border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;" title="This field is unsigned, so it never accepts negative values">unsigned</abbr>
</p>

<p>
<a id="BaseHealthExp2" rel="internal" style="color:rgb(255,255,255);">
<span style="font-size:20px;">
BaseHealthExp2
</span></a>
 mediumint(8) <abbr style="border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;" title="This field is unsigned, so it never accepts negative values">unsigned</abbr>
</p>

<p>
<a id="BaseMana" rel="internal" style="color:rgb(255,255,255);">
<span style="font-size:20px;">
BaseMana
</span></a>
 mediumint(8) <abbr style="border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;" title="This field is unsigned, so it never accepts negative values">unsigned</abbr>
</p>
<p>
Base mana value for any creature of this level and class.
</p>


<p>
<a id="BaseDamageExp0" rel="internal" style="color:rgb(255,255,255);">
<span style="font-size:20px;">
BaseDamageExp0
</span></a>
 float
</p>
<p>
Base damage value for expansion 0 aka. vanilla WoW.
</p>


<p>
<a id="BaseDamageExp1" rel="internal" style="color:rgb(255,255,255);">
<span style="font-size:20px;">
BaseDamageExp1
</span></a>
 float
</p>

<p>
<a id="BaseDamageExp2" rel="internal" style="color:rgb(255,255,255);">
<span style="font-size:20px;">
BaseDamageExp2
</span></a>
 float
</p>

<p>
<a id="BaseMeleeAttackPower" rel="internal" style="color:rgb(255,255,255);">
<span style="font-size:20px;">
BaseMeleeAttackPower
</span></a>
 float
</p>
<p>
Base melee attack power that has been factored for low level creatures.<br><br><b>Note:</b><br>This is raw base value to be used for all melee damage calculations.
</p>


<p>
<a id="BaseRangedAttackPower" rel="internal" style="color:rgb(255,255,255);">
<span style="font-size:20px;">
BaseRangedAttackPower
</span></a>
 float
</p>
<p>
Base ranged attack power.<br><br><b>Note:</b><br>This is raw base value to be used for all ranged damage calculations.
</p>


<p>
<a id="BaseArmor" rel="internal" style="color:rgb(255,255,255);">
<span style="font-size:20px;">
BaseArmor
</span></a>
 mediumint(8) <abbr style="border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;" title="This field is unsigned, so it never accepts negative values">unsigned</abbr>
</p>
<p>
Base armor value for any creature of this level and class.
</p>



<br>
<p>
auto-generated by the <a href="https://getmangos.eu">getMaNGOS.eu</a> MAGNET dbdocs module
</p>
]]></description><guid isPermaLink="false">5030</guid><pubDate>Mon, 25 Jul 2016 08:57:30 +0000</pubDate></item><item><title>creature_template_spells</title><link>https://www.getmangos.eu/wiki/referenceinfo/dbinfo/mangosdb/mangostwoworlddb/creature_template_spells-r5031/</link><description><![CDATA[<table bgcolor="#a80000" border="2" cellpadding="0" cellspacing="0" width="100%">
<tbody>
<tr>
<td height="20">
<font color="#ffe97f" size="3"> <strong>NOTE:</strong>  This page is auto-generated from the MAGNET DBDocs module,<br>             Any changes made directly to this page will be lost when it is regenerated.</font>
</td>
</tr>
</tbody>
</table>
<h2 style="font-size:24px;color:rgb(180,255,255);">
Description of the  'creature_template_spells' table for MaNGOSTwo
</h2>

<p>This table holds information on the spells to which a Creature (See creature_template) has access.</p>

<p style="font-size:18px;color:rgb(255,255,180);">
<strong>Table Notes</strong>
</p>
<p>This table uses the 'InnoDB' DB Engine</p>


<p style="font-size:18px;color:rgb(255,255,180);">
<strong>The Field definitions follow:</strong>
</p>
<table align="center" border="1" cellpadding="1" cellspacing="1" style="width:100%;background-color:#2b2b2b;color:#c0c0c0;">
<thead><tr>
<th scope="col" style="border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:center;">
<b>Field Name</b>
</th>
<th scope="col" style="border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:center;">
<b>Field Type</b>
</th>
<th scope="col" style="border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:center;">
<b>Nullable</b>
</th>
<th scope="col" style="border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:center;">
<b>Key</b>
</th>
<th scope="col" style="border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:center;">
<b>Default Value</b>
</th>
<th scope="col" style="border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:center;">
<b>Attributes</b>
</th>
<th scope="col" style="border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:left;">
<b>Notes</b>
</th>
</tr>
</thead>
<tbody>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
<a href="#entry" rel="internal" style="color:rgb(180,255,255);">entry</a>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
mediumint(8) <abbr style="border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;" title="This field is unsigned, so it never accepts negative values">unsigned</abbr>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
NO
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
<abbr style="border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;" title="Primary Key">PRI</abbr>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
NULL
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
 
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:left;">
This references the unique ID in table "creature_template".
</td>
</tr>
<tr style="background-color:#3b3b3b;">
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
<a href="#spell1" rel="internal" style="color:rgb(180,255,255);">spell1</a>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
mediumint(8) <abbr style="border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;" title="This field is unsigned, so it never accepts negative values">unsigned</abbr>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
NO
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">

</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
NULL
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
 
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:left;">
The spell identifier. The value has to match with a defined spell identifier.
</td>
</tr>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
<a href="#spell2" rel="internal" style="color:rgb(180,255,255);">spell2</a>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
mediumint(8) <abbr style="border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;" title="This field is unsigned, so it never accepts negative values">unsigned</abbr>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
NO
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">

</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
'0'
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
 
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:left;">
The spell identifier. The value has to match with a defined spell identifier.
</td>
</tr>
<tr style="background-color:#3b3b3b;">
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
<a href="#spell3" rel="internal" style="color:rgb(180,255,255);">spell3</a>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
mediumint(8) <abbr style="border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;" title="This field is unsigned, so it never accepts negative values">unsigned</abbr>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
NO
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">

</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
'0'
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
 
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:left;">
The spell identifier. The value has to match with a defined spell identifier.
</td>
</tr>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
<a href="#spell4" rel="internal" style="color:rgb(180,255,255);">spell4</a>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
mediumint(8) <abbr style="border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;" title="This field is unsigned, so it never accepts negative values">unsigned</abbr>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
NO
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">

</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
'0'
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
 
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:left;">
The spell identifier. The value has to match with a defined spell identifier.
</td>
</tr>
<tr style="background-color:#3b3b3b;">
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
<a href="#spell5" rel="internal" style="color:rgb(180,255,255);">spell5</a>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
mediumint(8) <abbr style="border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;" title="This field is unsigned, so it never accepts negative values">unsigned</abbr>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
NO
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">

</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
'0'
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
 
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:left;">
 
</td>
</tr>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
<a href="#spell6" rel="internal" style="color:rgb(180,255,255);">spell6</a>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
mediumint(8) <abbr style="border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;" title="This field is unsigned, so it never accepts negative values">unsigned</abbr>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
NO
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">

</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
'0'
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
 
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:left;">
 
</td>
</tr>
<tr style="background-color:#3b3b3b;">
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
<a href="#spell7" rel="internal" style="color:rgb(180,255,255);">spell7</a>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
mediumint(8) <abbr style="border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;" title="This field is unsigned, so it never accepts negative values">unsigned</abbr>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
NO
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">

</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
'0'
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
 
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:left;">
 
</td>
</tr>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
<a href="#spell8" rel="internal" style="color:rgb(180,255,255);">spell8</a>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
mediumint(8) <abbr style="border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;" title="This field is unsigned, so it never accepts negative values">unsigned</abbr>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
NO
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">

</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
'0'
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
 
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:left;">
 
</td>
</tr>
</tbody>
</table>
<p style="font-size:20px;color:rgb(255,255,180);">
<strong>Description of the fields</strong>
</p>
<p>
<a id="entry" rel="internal" style="color:rgb(255,255,255);">
<span style="font-size:20px;">
entry
</span></a>
 mediumint(8) <abbr style="border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;" title="This field is unsigned, so it never accepts negative values">unsigned</abbr>
</p>
<p>
This references the unique ID in table "creature_template" [<b>See <a href="https://www.getmangos.eu/wiki/referenceinfo/dbinfo/mangosdb/mangostwoworlddb/creature_template-r5028#id" rel="">creature_template.id</a></b>] for which the entry is valid.
</p>


<p>
<a id="spell1" rel="internal" style="color:rgb(255,255,255);">
<span style="font-size:20px;">
spell1
</span></a>
 mediumint(8) <abbr style="border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;" title="This field is unsigned, so it never accepts negative values">unsigned</abbr>
</p>
<p>
The spell identifier. The value has to match with a spell identifier defined [<b>See <a href="https://www.getmangos.eu/wiki/" rel="">Spell.dbc</a></b>].
</p>


<p>
<a id="spell2" rel="internal" style="color:rgb(255,255,255);">
<span style="font-size:20px;">
spell2
</span></a>
 mediumint(8) <abbr style="border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;" title="This field is unsigned, so it never accepts negative values">unsigned</abbr>
</p>
<p>
The spell identifier. The value has to match with a spell identifier defined [<b>See <a href="https://www.getmangos.eu/wiki/" rel="">Spell.dbc</a></b>].
</p>


<p>
<a id="spell3" rel="internal" style="color:rgb(255,255,255);">
<span style="font-size:20px;">
spell3
</span></a>
 mediumint(8) <abbr style="border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;" title="This field is unsigned, so it never accepts negative values">unsigned</abbr>
</p>
<p>
The spell identifier. The value has to match with a spell identifier defined [<b>See <a href="https://www.getmangos.eu/wiki/" rel="">Spell.dbc</a></b>].
</p>


<p>
<a id="spell4" rel="internal" style="color:rgb(255,255,255);">
<span style="font-size:20px;">
spell4
</span></a>
 mediumint(8) <abbr style="border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;" title="This field is unsigned, so it never accepts negative values">unsigned</abbr>
</p>
<p>
The spell identifier. The value has to match with a spell identifier defined [<b>See <a href="https://www.getmangos.eu/wiki/" rel="">Spell.dbc</a></b>].
</p>


<p>
<a id="spell5" rel="internal" style="color:rgb(255,255,255);">
<span style="font-size:20px;">
spell5
</span></a>
 mediumint(8) <abbr style="border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;" title="This field is unsigned, so it never accepts negative values">unsigned</abbr>
</p>

<p>
<a id="spell6" rel="internal" style="color:rgb(255,255,255);">
<span style="font-size:20px;">
spell6
</span></a>
 mediumint(8) <abbr style="border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;" title="This field is unsigned, so it never accepts negative values">unsigned</abbr>
</p>

<p>
<a id="spell7" rel="internal" style="color:rgb(255,255,255);">
<span style="font-size:20px;">
spell7
</span></a>
 mediumint(8) <abbr style="border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;" title="This field is unsigned, so it never accepts negative values">unsigned</abbr>
</p>

<p>
<a id="spell8" rel="internal" style="color:rgb(255,255,255);">
<span style="font-size:20px;">
spell8
</span></a>
 mediumint(8) <abbr style="border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;" title="This field is unsigned, so it never accepts negative values">unsigned</abbr>
</p>


<br>
<p>
auto-generated by the <a href="https://getmangos.eu">getMaNGOS.eu</a> MAGNET dbdocs module
</p>
]]></description><guid isPermaLink="false">5031</guid><pubDate>Mon, 25 Jul 2016 08:57:30 +0000</pubDate></item><item><title>custom_texts</title><link>https://www.getmangos.eu/wiki/referenceinfo/dbinfo/mangosdb/mangostwoworlddb/custom_texts-r5032/</link><description><![CDATA[<table bgcolor="#a80000" border="2" cellpadding="0" cellspacing="0" width="100%">
<tbody>
<tr>
<td height="20">
<font color="#ffe97f" size="3"> <strong>NOTE:</strong>  This page is auto-generated from the MAGNET DBDocs module,<br>             Any changes made directly to this page will be lost when it is regenerated.</font>
</td>
</tr>
</tbody>
</table>
<h2 style="font-size:24px;color:rgb(180,255,255);">
Description of the  'custom_texts' table for MaNGOSTwo
</h2>

<p>The custom_texts table holds custom text strings, sounds, and emotes used in scripted events.</p>

<p style="font-size:18px;color:rgb(255,255,180);">
<strong>Table Notes</strong>
</p>
<p>This table uses the 'MyISAM' DB Engine</p>


<p style="font-size:18px;color:rgb(255,255,180);">
<strong>The Field definitions follow:</strong>
</p>
<table align="center" border="1" cellpadding="1" cellspacing="1" style="width:100%;background-color:#2b2b2b;color:#c0c0c0;">
<thead><tr>
<th scope="col" style="border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:center;">
<b>Field Name</b>
</th>
<th scope="col" style="border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:center;">
<b>Field Type</b>
</th>
<th scope="col" style="border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:center;">
<b>Nullable</b>
</th>
<th scope="col" style="border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:center;">
<b>Key</b>
</th>
<th scope="col" style="border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:center;">
<b>Default Value</b>
</th>
<th scope="col" style="border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:center;">
<b>Attributes</b>
</th>
<th scope="col" style="border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:left;">
<b>Notes</b>
</th>
</tr>
</thead>
<tbody>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
<a href="#entry" rel="internal" style="color:rgb(180,255,255);">entry</a>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
mediumint(8)
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
NO
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
<abbr style="border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;" title="Primary Key">PRI</abbr>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
NULL
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
 
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:left;">
The unique identifier of the script text entry.
</td>
</tr>
<tr style="background-color:#3b3b3b;">
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
<a href="#content_default" rel="internal" style="color:rgb(180,255,255);">content_default</a>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
text
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
NO
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">

</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
NULL
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
 
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:left;">
Contains the text presented in the default language English.
</td>
</tr>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
<a href="#content_loc1" rel="internal" style="color:rgb(180,255,255);">content_loc1</a>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
text
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
YES
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">

</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
NULL
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
 
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:left;">
Korean localization of content_default.
</td>
</tr>
<tr style="background-color:#3b3b3b;">
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
<a href="#content_loc2" rel="internal" style="color:rgb(180,255,255);">content_loc2</a>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
text
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
YES
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">

</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
NULL
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
 
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:left;">
French localization of content_default.
</td>
</tr>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
<a href="#content_loc3" rel="internal" style="color:rgb(180,255,255);">content_loc3</a>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
text
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
YES
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">

</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
NULL
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
 
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:left;">
German localization of content_default.
</td>
</tr>
<tr style="background-color:#3b3b3b;">
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
<a href="#content_loc4" rel="internal" style="color:rgb(180,255,255);">content_loc4</a>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
text
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
YES
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">

</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
NULL
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
 
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:left;">
Chinese localization of content_default.
</td>
</tr>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
<a href="#content_loc5" rel="internal" style="color:rgb(180,255,255);">content_loc5</a>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
text
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
YES
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">

</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
NULL
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
 
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:left;">
Taiwanese localization of content_default.
</td>
</tr>
<tr style="background-color:#3b3b3b;">
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
<a href="#content_loc6" rel="internal" style="color:rgb(180,255,255);">content_loc6</a>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
text
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
YES
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">

</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
NULL
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
 
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:left;">
Spanish (Spain) localization of content_default
</td>
</tr>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
<a href="#content_loc7" rel="internal" style="color:rgb(180,255,255);">content_loc7</a>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
text
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
YES
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">

</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
NULL
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
 
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:left;">
Spanish (Latin America) localization of content_default
</td>
</tr>
<tr style="background-color:#3b3b3b;">
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
<a href="#content_loc8" rel="internal" style="color:rgb(180,255,255);">content_loc8</a>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
text
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
YES
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">

</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
NULL
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
 
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:left;">
Russian localization of content_default
</td>
</tr>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
<a href="#sound" rel="internal" style="color:rgb(180,255,255);">sound</a>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
mediumint(8) <abbr style="border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;" title="This field is unsigned, so it never accepts negative values">unsigned</abbr>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
NO
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">

</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
'0'
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
 
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:left;">
Reference to a SoundEntries.dbc table entry.
</td>
</tr>
<tr style="background-color:#3b3b3b;">
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
<a href="#type" rel="internal" style="color:rgb(180,255,255);">type</a>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
tinyint(3) <abbr style="border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;" title="This field is unsigned, so it never accepts negative values">unsigned</abbr>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
NO
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">

</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
'0'
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
 
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:left;">
Selects one of various text emote types to be used for the script text.
</td>
</tr>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
<a href="#language" rel="internal" style="color:rgb(180,255,255);">language</a>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
tinyint(3) <abbr style="border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;" title="This field is unsigned, so it never accepts negative values">unsigned</abbr>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
NO
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">

</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
'0'
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
 
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:left;">
A language identifier.
</td>
</tr>
<tr style="background-color:#3b3b3b;">
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
<a href="#emote" rel="internal" style="color:rgb(180,255,255);">emote</a>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
smallint(5) <abbr style="border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;" title="This field is unsigned, so it never accepts negative values">unsigned</abbr>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
NO
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">

</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
'0'
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
 
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:left;">
Emote ID that the creature should continually perform.
</td>
</tr>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
<a href="#comment" rel="internal" style="color:rgb(180,255,255);">comment</a>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
text
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
YES
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">

</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
NULL
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
 
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:left;">
This documents the script text.
</td>
</tr>
</tbody>
</table>
<p style="font-size:20px;color:rgb(255,255,180);">
<strong>Description of the fields</strong>
</p>
<p>
<a id="entry" rel="internal" style="color:rgb(255,255,255);">
<span style="font-size:20px;">
entry
</span></a>
 mediumint(8)
</p>
<p>
The unique identifier of the script text entry. Identifiers here have to match with the identifier set in the string using the text.
</p>


<p>
<a id="content_default" rel="internal" style="color:rgb(255,255,255);">
<span style="font-size:20px;">
content_default
</span></a>
 text
</p>
<p>
Contains the text presented in the default language English. Strings may contain special variables which are replaced with creature or character data. The following table lists available variables.
</p><table align="center" border="1" cellpadding="1" cellspacing="1" style="width:100%;background-color:#2b2b2b;color:#c0c0c0;">
<thead>
<tr>
<th scope="col" style="border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:center;">
<b>Value</b>
</th>
<th scope="col" style="border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:left;">
<b>Description</b>
</th>
</tr>
</thead>
<tbody>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
%s
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
Creature name
</td>
</tr>
<tr style="background-color:#3b3b3b;">
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
$n
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
Character name
</td>
</tr>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
$r
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
Character race
</td>
</tr>
<tr style="background-color:#3b3b3b;">
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
$c
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
Character class
</td>
</tr>
</tbody>
</table>




<p>
<a id="content_loc1" rel="internal" style="color:rgb(255,255,255);">
<span style="font-size:20px;">
content_loc1
</span></a>
 text
</p>
<p>
Korean localization of content_default
</p>


<p>
<a id="content_loc2" rel="internal" style="color:rgb(255,255,255);">
<span style="font-size:20px;">
content_loc2
</span></a>
 text
</p>
<p>
French localization of content_default
</p>


<p>
<a id="content_loc3" rel="internal" style="color:rgb(255,255,255);">
<span style="font-size:20px;">
content_loc3
</span></a>
 text
</p>
<p>
German localization of content_default
</p>


<p>
<a id="content_loc4" rel="internal" style="color:rgb(255,255,255);">
<span style="font-size:20px;">
content_loc4
</span></a>
 text
</p>
<p>
Chinese localization of content_default
</p>


<p>
<a id="content_loc5" rel="internal" style="color:rgb(255,255,255);">
<span style="font-size:20px;">
content_loc5
</span></a>
 text
</p>
<p>
Taiwanese localization of content_default
</p>


<p>
<a id="content_loc6" rel="internal" style="color:rgb(255,255,255);">
<span style="font-size:20px;">
content_loc6
</span></a>
 text
</p>
<p>
Spanish (Spain) localization of content_default
</p>


<p>
<a id="content_loc7" rel="internal" style="color:rgb(255,255,255);">
<span style="font-size:20px;">
content_loc7
</span></a>
 text
</p>
<p>
Spanish (Latin America) localization of content_default
</p>


<p>
<a id="content_loc8" rel="internal" style="color:rgb(255,255,255);">
<span style="font-size:20px;">
content_loc8
</span></a>
 text
</p>
<p>
Russian localization of content_default
</p>


<p>
<a id="sound" rel="internal" style="color:rgb(255,255,255);">
<span style="font-size:20px;">
sound
</span></a>
 mediumint(8) <abbr style="border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;" title="This field is unsigned, so it never accepts negative values">unsigned</abbr>
</p>
<p>
If a sound file should be played, this references an entry in the SoundEntries.dbc table.
</p>


<p>
<a id="type" rel="internal" style="color:rgb(255,255,255);">
<span style="font-size:20px;">
type
</span></a>
 tinyint(3) <abbr style="border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;" title="This field is unsigned, so it never accepts negative values">unsigned</abbr>
</p>
<p>
Selects one of various text emote types to be used for the script text. The following tables shows available text emote types.<br></p><table align="center" border="1" cellpadding="1" cellspacing="1" style="width:100%;background-color:#2b2b2b;color:#c0c0c0;">
<thead>
<tr>
<th scope="col" style="border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:center;">
<b>Value</b>
</th>
<th scope="col" style="border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:left;">
<b>Description</b>
</th>
</tr>
</thead>
<tbody>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
0
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
Say
</td>
</tr>
<tr style="background-color:#3b3b3b;">
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
1
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
Yell
</td>
</tr>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
2
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
Text emote
</td>
</tr>
<tr style="background-color:#3b3b3b;">
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
3
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
Boss emote
</td>
</tr>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
4
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
Whisper
</td>
</tr>
<tr style="background-color:#3b3b3b;">
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
5
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
Boss whisper
</td>
</tr>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
6
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
Zone-wide yell
</td>
</tr>
</tbody>
</table>




<p>
<a id="language" rel="internal" style="color:rgb(255,255,255);">
<span style="font-size:20px;">
language
</span></a>
 tinyint(3) <abbr style="border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;" title="This field is unsigned, so it never accepts negative values">unsigned</abbr>
</p>
<p>
A language identifier. The value has to match with a language identifier defined in Languages.dbc.
</p>


<p>
<a id="emote" rel="internal" style="color:rgb(255,255,255);">
<span style="font-size:20px;">
emote
</span></a>
 smallint(5) <abbr style="border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;" title="This field is unsigned, so it never accepts negative values">unsigned</abbr>
</p>
<p>
Emote ID that the creature should continually perform.<br>
<br>
List of often used emote IDs and what they do ie. 65 Makes the creature look dead by lying on the ground.
</p><table align="center" border="1" cellpadding="1" cellspacing="1" style="width:100%;background-color:#2b2b2b;color:#c0c0c0;">
<thead>
<tr>
<th scope="col" style="border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:center;">
<b>Value</b>
</th>
<th scope="col" style="border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:left;">
<b>Emote Name</b>
</th>
</tr>
</thead>
<tbody>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
10
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
EMOTE_STATE_DANCE
</td>
</tr>
<tr style="background-color:#3b3b3b;">
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
12
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
EMOTE_STATE_SLEEP
</td>
</tr>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
13
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
EMOTE_STATE_SIT
</td>
</tr>
<tr style="background-color:#3b3b3b;">
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
26
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
EMOTE_STATE_STAND
</td>
</tr>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
28
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
EMOTE_STATE_WORK
</td>
</tr>
<tr style="background-color:#3b3b3b;">
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
64
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
EMOTE_STATE_STUN
</td>
</tr>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
64
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
EMOTE_STATE_DEAD
</td>
</tr>
<tr style="background-color:#3b3b3b;">
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
68
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
EMOTE_STATE_KNEEL
</td>
</tr>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
70
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
EMOTE_ONESHOT_WAVE_NOSHEATHE
</td>
</tr>
<tr style="background-color:#3b3b3b;">
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
71
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
EMOTE_ONESHOT_CHEER_NOSHEATHE
</td>
</tr>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
92
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
EMOTE_ONESHOT_EAT_NOSHEATHE
</td>
</tr>
<tr style="background-color:#3b3b3b;">
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
173
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
EMOTE_STATE_WORK_NOSHEATHE
</td>
</tr>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
379
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
EMOTE_STATE_FISHING
</td>
</tr>
<tr style="background-color:#3b3b3b;">
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
380
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
EMOTE_ONESHOT_FISHING
</td>
</tr>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
381
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
EMOTE_ONESHOT_LOOT
</td>
</tr>
<tr style="background-color:#3b3b3b;">
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
382
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
EMOTE_STATE_WHIRLWIND
</td>
</tr>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
392
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
EMOTE_STATE_LAUGH
</td>
</tr>
<tr style="background-color:#3b3b3b;">
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
398
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
EMOTE_STATE_CANNIBALIZE
</td>
</tr>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
400
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
EMOTE_STATE_DANCESPECIAL
</td>
</tr>
<tr style="background-color:#3b3b3b;">
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
412
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
EMOTE_STATE_EXCLAIM
</td>
</tr>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
415
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
EMOTE_STATE_SIT_CHAIR_MED
</td>
</tr>
</tbody>
</table>




<p>
<a id="comment" rel="internal" style="color:rgb(255,255,255);">
<span style="font-size:20px;">
comment
</span></a>
 text
</p>
<p>
This documents the script text. Currently no rules have been defined for the format of the comment. It should help identifying who and why does perform the emote.
</p>



<br>
<p>
auto-generated by the <a href="https://getmangos.eu">getMaNGOS.eu</a> MAGNET dbdocs module
</p>
]]></description><guid isPermaLink="false">5032</guid><pubDate>Mon, 25 Jul 2016 08:57:31 +0000</pubDate></item><item><title>db_script_string</title><link>https://www.getmangos.eu/wiki/referenceinfo/dbinfo/mangosdb/mangostwoworlddb/db_script_string-r5050/</link><description><![CDATA[<table bgcolor="#a80000" border="2" cellpadding="0" cellspacing="0" width="100%">
<tbody>
<tr>
<td height="20">
<font color="#ffe97f" size="3"> <strong>NOTE:</strong>  This page is auto-generated from the MAGNET DBDocs module,<br>             Any changes made directly to this page will be lost when it is regenerated.</font>
</td>
</tr>
</tbody>
</table>
<h2 style="font-size:24px;color:rgb(180,255,255);">
Description of the  'db_script_string' table for MaNGOSTwo
</h2>

<p>This table holds texts for the DB-based scripts.</p>

<p style="font-size:18px;color:rgb(255,255,180);">
<strong>Table Notes</strong>
</p>
<p>This table uses the 'InnoDB' DB Engine</p>


<p style="font-size:18px;color:rgb(255,255,180);">
<strong>The Field definitions follow:</strong>
</p>
<table align="center" border="1" cellpadding="1" cellspacing="1" style="width:100%;background-color:#2b2b2b;color:#c0c0c0;">
<thead><tr>
<th scope="col" style="border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:center;">
<b>Field Name</b>
</th>
<th scope="col" style="border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:center;">
<b>Field Type</b>
</th>
<th scope="col" style="border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:center;">
<b>Nullable</b>
</th>
<th scope="col" style="border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:center;">
<b>Key</b>
</th>
<th scope="col" style="border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:center;">
<b>Default Value</b>
</th>
<th scope="col" style="border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:center;">
<b>Attributes</b>
</th>
<th scope="col" style="border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:left;">
<b>Notes</b>
</th>
</tr>
</thead>
<tbody>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
<a href="#entry" rel="internal" style="color:rgb(180,255,255);">entry</a>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
int(11) <abbr style="border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;" title="This field is unsigned, so it never accepts negative values">unsigned</abbr>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
NO
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
<abbr style="border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;" title="Primary Key">PRI</abbr>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
'0'
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
 
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:left;">
Text ID. See dataint parameter of the SCRIPT_COMMAND_TALK command.
</td>
</tr>
<tr style="background-color:#3b3b3b;">
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
<a href="#content_default" rel="internal" style="color:rgb(180,255,255);">content_default</a>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
text
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
NO
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">

</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
NULL
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
 
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:left;">
Contains the text presented in the default language English.
</td>
</tr>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
<a href="#content_loc1" rel="internal" style="color:rgb(180,255,255);">content_loc1</a>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
text
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
YES
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">

</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
NULL
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
 
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:left;">
Korean localization of content_default.
</td>
</tr>
<tr style="background-color:#3b3b3b;">
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
<a href="#content_loc2" rel="internal" style="color:rgb(180,255,255);">content_loc2</a>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
text
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
YES
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">

</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
NULL
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
 
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:left;">
French localization of content_default.
</td>
</tr>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
<a href="#content_loc3" rel="internal" style="color:rgb(180,255,255);">content_loc3</a>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
text
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
YES
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">

</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
NULL
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
 
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:left;">
German localization of content_default.
</td>
</tr>
<tr style="background-color:#3b3b3b;">
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
<a href="#content_loc4" rel="internal" style="color:rgb(180,255,255);">content_loc4</a>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
text
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
YES
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">

</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
NULL
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
 
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:left;">
Chinese localization of content_default.
</td>
</tr>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
<a href="#content_loc5" rel="internal" style="color:rgb(180,255,255);">content_loc5</a>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
text
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
YES
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">

</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
NULL
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
 
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:left;">
Taiwanese localization of content_default.
</td>
</tr>
<tr style="background-color:#3b3b3b;">
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
<a href="#content_loc6" rel="internal" style="color:rgb(180,255,255);">content_loc6</a>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
text
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
YES
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">

</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
NULL
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
 
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:left;">
Spanish (Spain) localization of content_default
</td>
</tr>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
<a href="#content_loc7" rel="internal" style="color:rgb(180,255,255);">content_loc7</a>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
text
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
YES
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">

</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
NULL
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
 
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:left;">
Spanish (Latin America) localization of content_default
</td>
</tr>
<tr style="background-color:#3b3b3b;">
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
<a href="#content_loc8" rel="internal" style="color:rgb(180,255,255);">content_loc8</a>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
text
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
YES
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">

</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
NULL
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
 
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:left;">
Russian localization of content_default
</td>
</tr>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
<a href="#sound" rel="internal" style="color:rgb(180,255,255);">sound</a>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
mediumint(8) <abbr style="border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;" title="This field is unsigned, so it never accepts negative values">unsigned</abbr>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
NO
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">

</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
'0'
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
 
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:left;">
Sound ID.[<b>See <a href="https://www.getmangos.eu/wiki/" rel="">SoundEntrie</a></b>].dbc.
</td>
</tr>
<tr style="background-color:#3b3b3b;">
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
<a href="#type" rel="internal" style="color:rgb(180,255,255);">type</a>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
tinyint(3) <abbr style="border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;" title="This field is unsigned, so it never accepts negative values">unsigned</abbr>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
NO
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">

</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
'0'
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
 
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:left;">
Sound and speech type.
</td>
</tr>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
<a href="#language" rel="internal" style="color:rgb(180,255,255);">language</a>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
tinyint(3) <abbr style="border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;" title="This field is unsigned, so it never accepts negative values">unsigned</abbr>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
NO
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">

</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
'0'
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
 
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:left;">
In-game language [<b>See <a href="https://www.getmangos.eu/wiki/" rel="">Languages.dbc</a></b>].
</td>
</tr>
<tr style="background-color:#3b3b3b;">
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
<a href="#emote" rel="internal" style="color:rgb(180,255,255);">emote</a>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
smallint(5) <abbr style="border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;" title="This field is unsigned, so it never accepts negative values">unsigned</abbr>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
NO
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">

</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
'0'
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
 
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:left;">
Emote ID that the creature should continually perform.
</td>
</tr>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
<a href="#comment" rel="internal" style="color:rgb(180,255,255);">comment</a>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
text
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
YES
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">

</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
NULL
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
 
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:left;">
Textual comment.
</td>
</tr>
</tbody>
</table>
<p style="font-size:20px;color:rgb(255,255,180);">
<strong>Description of the fields</strong>
</p>
<p>
<a id="entry" rel="internal" style="color:rgb(255,255,255);">
<span style="font-size:20px;">
entry
</span></a>
 int(11) <abbr style="border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;" title="This field is unsigned, so it never accepts negative values">unsigned</abbr>
</p>
<p>
Text ID. The texts are numbered sequentially starting from 2000000000.<br>This ID is used in the SCRIPT_COMMAND_TALK command [<b>See <a href="https://www.getmangos.eu/wiki/" rel="">dataint field</a></b>].
</p>


<p>
<a id="content_default" rel="internal" style="color:rgb(255,255,255);">
<span style="font-size:20px;">
content_default
</span></a>
 text
</p>
<p>
Contains the text presented in the default language English. Strings may contain special variables which are replaced with creature or character data. The following table lists available variables.
</p><table align="center" border="1" cellpadding="1" cellspacing="1" style="width:100%;background-color:#2b2b2b;color:#c0c0c0;">
<thead>
<tr>
<th scope="col" style="border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:center;">
<b>Value</b>
</th>
<th scope="col" style="border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:left;">
<b>Description</b>
</th>
</tr>
</thead>
<tbody>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
%s
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
Creature name
</td>
</tr>
<tr style="background-color:#3b3b3b;">
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
$n
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
Character name
</td>
</tr>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
$r
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
Character race
</td>
</tr>
<tr style="background-color:#3b3b3b;">
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
$c
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
Character class
</td>
</tr>
</tbody>
</table>




<p>
<a id="content_loc1" rel="internal" style="color:rgb(255,255,255);">
<span style="font-size:20px;">
content_loc1
</span></a>
 text
</p>
<p>
Korean localization of content_default
</p>


<p>
<a id="content_loc2" rel="internal" style="color:rgb(255,255,255);">
<span style="font-size:20px;">
content_loc2
</span></a>
 text
</p>
<p>
French localization of content_default
</p>


<p>
<a id="content_loc3" rel="internal" style="color:rgb(255,255,255);">
<span style="font-size:20px;">
content_loc3
</span></a>
 text
</p>
<p>
German localization of content_default
</p>


<p>
<a id="content_loc4" rel="internal" style="color:rgb(255,255,255);">
<span style="font-size:20px;">
content_loc4
</span></a>
 text
</p>
<p>
Chinese localization of content_default
</p>


<p>
<a id="content_loc5" rel="internal" style="color:rgb(255,255,255);">
<span style="font-size:20px;">
content_loc5
</span></a>
 text
</p>
<p>
Taiwanese localization of content_default
</p>


<p>
<a id="content_loc6" rel="internal" style="color:rgb(255,255,255);">
<span style="font-size:20px;">
content_loc6
</span></a>
 text
</p>
<p>
Spanish (Spain) localization of content_default
</p>


<p>
<a id="content_loc7" rel="internal" style="color:rgb(255,255,255);">
<span style="font-size:20px;">
content_loc7
</span></a>
 text
</p>
<p>
Spanish (Latin America) localization of content_default
</p>


<p>
<a id="content_loc8" rel="internal" style="color:rgb(255,255,255);">
<span style="font-size:20px;">
content_loc8
</span></a>
 text
</p>
<p>
Russian localization of content_default
</p>


<p>
<a id="sound" rel="internal" style="color:rgb(255,255,255);">
<span style="font-size:20px;">
sound
</span></a>
 mediumint(8) <abbr style="border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;" title="This field is unsigned, so it never accepts negative values">unsigned</abbr>
</p>
<p>
ID of the sound which will accompany the text appearance.<br>These IDs are tied to filenames in SoundEntries.dbc. The corresponding sound files are stored in the client MPQ archives.<br>Example: sound 8580 is tied to the file CThunDeathIsClose.wav, which is found under SoundCreatureCThun section of an MPQ archive, this time it is patch.MPQ.<br></p><table align="center" border="1" cellpadding="1" cellspacing="1" style="width:100%;background-color:#2b2b2b;color:#c0c0c0;">
<thead>
<tr>
<th scope="col" style="border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:center;">
<b>Value</b>
</th>
<th scope="col" style="border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:left;">
<b>Description</b>
</th>
</tr>
</thead>
<tbody>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
0
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
Say
</td>
</tr>
<tr style="background-color:#3b3b3b;">
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
1
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
Yell
</td>
</tr>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
2
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
Text emote
</td>
</tr>
<tr style="background-color:#3b3b3b;">
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
3
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
Boss emote
</td>
</tr>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
4
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
Whisper
</td>
</tr>
<tr style="background-color:#3b3b3b;">
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
5
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
Boss whisper
</td>
</tr>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
6
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
Zone-wide yell
</td>
</tr>
</tbody>
</table>
<br>



<p>
<a id="type" rel="internal" style="color:rgb(255,255,255);">
<span style="font-size:20px;">
type
</span></a>
 tinyint(3) <abbr style="border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;" title="This field is unsigned, so it never accepts negative values">unsigned</abbr>
</p>
<p>
Chat type, affects chat radius and text colouring.<br><br></p><table align="center" border="1" cellpadding="1" cellspacing="1" style="width:100%;background-color:#2b2b2b;color:#c0c0c0;">
<thead>
<tr>
<th scope="col" style="border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:left;">
<b>ChatType</b>
</th>
<th scope="col" style="border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:center;">
<b>Value</b>
</th>
<th scope="col" style="border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:left;">
<b>Meaning</b>
</th>
</tr>
</thead>
<tbody>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;">
CHAT_TYPE_SAY
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
0
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
Say in a limited radius
</td>
</tr>
<tr style="background-color:#3b3b3b;">
<td style="border:1px solid #999999;padding:3px 10px;">
CHAT_TYPE_YELL
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
1
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
Yell in a limited radius
</td>
</tr>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;">
CHAT_TYPE_TEXT_EMOTE
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
2
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
TextEmote, prepended by the creature name
</td>
</tr>
<tr style="background-color:#3b3b3b;">
<td style="border:1px solid #999999;padding:3px 10px;">
CHAT_TYPE_BOSS_EMOTE
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
3
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
Like previous, but zone-wide
</td>
</tr>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;">
CHAT_TYPE_WHISPER
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
4
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
Whisper, requires a target to be defined
</td>
</tr>
<tr style="background-color:#3b3b3b;">
<td style="border:1px solid #999999;padding:3px 10px;">
CHAT_TYPE_BOSS_WHISPER
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
5
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
Like previous
</td>
</tr>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;">
CHAT_TYPE_ZONE_YELL
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
6
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
Yell to the zone
</td>
</tr>
</tbody>
</table>




<p>
<a id="language" rel="internal" style="color:rgb(255,255,255);">
<span style="font-size:20px;">
language
</span></a>
 tinyint(3) <abbr style="border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;" title="This field is unsigned, so it never accepts negative values">unsigned</abbr>
</p>
<p>
In-game language.<br></p><table align="center" border="1" cellpadding="1" cellspacing="1" style="width:100%;background-color:#2b2b2b;color:#c0c0c0;">
<thead>
<tr>
<th scope="col" style="border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:left;">
<b>Language</b>
</th>
<th scope="col" style="border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:center;">
<b>Value</b>
</th>
</tr>
</thead>
<tbody>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;">
LANG_UNIVERSAL
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
0
</td>
</tr>
<tr style="background-color:#3b3b3b;">
<td style="border:1px solid #999999;padding:3px 10px;">
LANG_ORCISH
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
1
</td>
</tr>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;">
LANG_DARNASSIAN
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
2
</td>
</tr>
<tr style="background-color:#3b3b3b;">
<td style="border:1px solid #999999;padding:3px 10px;">
LANG_TAURAHE
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
3
</td>
</tr>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;">
LANG_DWARVISH
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
6
</td>
</tr>
<tr style="background-color:#3b3b3b;">
<td style="border:1px solid #999999;padding:3px 10px;">
LANG_COMMON
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
7
</td>
</tr>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;">
LANG_DEMONIC
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
8
</td>
</tr>
<tr style="background-color:#3b3b3b;">
<td style="border:1px solid #999999;padding:3px 10px;">
LANG_TITAN
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
9
</td>
</tr>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;">
LANG_THALASSIAN
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
10
</td>
</tr>
<tr style="background-color:#3b3b3b;">
<td style="border:1px solid #999999;padding:3px 10px;">
LANG_DRACONIC
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
11
</td>
</tr>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;">
LANG_KALIMAG
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
12
</td>
</tr>
<tr style="background-color:#3b3b3b;">
<td style="border:1px solid #999999;padding:3px 10px;">
LANG_GNOMISH
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
13
</td>
</tr>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;">
LANG_TROLL
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
14
</td>
</tr>
<tr style="background-color:#3b3b3b;">
<td style="border:1px solid #999999;padding:3px 10px;">
LANG_GUTTERSPEAK
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
33
</td>
</tr>
<tr>
</tr>
</tbody>
</table>




<p>
<a id="emote" rel="internal" style="color:rgb(255,255,255);">
<span style="font-size:20px;">
emote
</span></a>
 smallint(5) <abbr style="border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;" title="This field is unsigned, so it never accepts negative values">unsigned</abbr>
</p>
<p>
Emote ID that the creature should continually perform.<br>
Note that for a given creature, some emotions may be not defined. It depends on corresponding animations accessibility.<br>
List of often used emote IDs and what they do ie. 65 Makes the creature look dead by lying on the ground.<br>
<br></p><table align="center" border="1" cellpadding="1" cellspacing="1" style="width:100%;background-color:#2b2b2b;color:#c0c0c0;">
<thead>
<tr>
<th scope="col" style="border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:center;">
<b>Value</b>
</th>
<th scope="col" style="border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:left;">
<b>Emote Name</b>
</th>
</tr>
</thead>
<tbody>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
10
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
EMOTE_STATE_DANCE
</td>
</tr>
<tr style="background-color:#3b3b3b;">
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
12
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
EMOTE_STATE_SLEEP
</td>
</tr>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
13
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
EMOTE_STATE_SIT
</td>
</tr>
<tr style="background-color:#3b3b3b;">
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
26
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
EMOTE_STATE_STAND
</td>
</tr>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
28
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
EMOTE_STATE_WORK
</td>
</tr>
<tr style="background-color:#3b3b3b;">
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
64
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
EMOTE_STATE_STUN
</td>
</tr>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
64
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
EMOTE_STATE_DEAD
</td>
</tr>
<tr style="background-color:#3b3b3b;">
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
68
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
EMOTE_STATE_KNEEL
</td>
</tr>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
70
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
EMOTE_ONESHOT_WAVE_NOSHEATHE
</td>
</tr>
<tr style="background-color:#3b3b3b;">
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
71
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
EMOTE_ONESHOT_CHEER_NOSHEATHE
</td>
</tr>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
92
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
EMOTE_ONESHOT_EAT_NOSHEATHE
</td>
</tr>
<tr style="background-color:#3b3b3b;">
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
173
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
EMOTE_STATE_WORK_NOSHEATHE
</td>
</tr>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
379
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
EMOTE_STATE_FISHING
</td>
</tr>
<tr style="background-color:#3b3b3b;">
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
380
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
EMOTE_ONESHOT_FISHING
</td>
</tr>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
381
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
EMOTE_ONESHOT_LOOT
</td>
</tr>
<tr style="background-color:#3b3b3b;">
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
382
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
EMOTE_STATE_WHIRLWIND
</td>
</tr>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
392
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
EMOTE_STATE_LAUGH
</td>
</tr>
<tr style="background-color:#3b3b3b;">
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
398
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
EMOTE_STATE_CANNIBALIZE
</td>
</tr>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
400
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
EMOTE_STATE_DANCESPECIAL
</td>
</tr>
<tr style="background-color:#3b3b3b;">
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
412
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
EMOTE_STATE_EXCLAIM
</td>
</tr>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
415
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
EMOTE_STATE_SIT_CHAIR_MED
</td>
</tr>
</tbody>
</table>




<p>
<a id="comment" rel="internal" style="color:rgb(255,255,255);">
<span style="font-size:20px;">
comment
</span></a>
 text
</p>
<p>
Textual comment, is not used by the core.<br>Usual form is like: CreatureName - Say1, CreatureName - YellAboutIntruders, so on.
</p>



<br>
<p>
auto-generated by the <a href="https://getmangos.eu">getMaNGOS.eu</a> MAGNET dbdocs module
</p>
]]></description><guid isPermaLink="false">5050</guid><pubDate>Mon, 25 Jul 2016 08:57:38 +0000</pubDate></item><item><title>db_scripts</title><link>https://www.getmangos.eu/wiki/referenceinfo/dbinfo/mangosdb/mangostwoworlddb/db_scripts-r5156/</link><description><![CDATA[<table bgcolor="#a80000" border="2" cellpadding="0" cellspacing="0" width="100%">
<tbody>
<tr>
<td height="20">
<font color="#ffe97f" size="3"> <strong>NOTE:</strong>  This page is auto-generated from the MAGNET DBDocs module,<br>             Any changes made directly to this page will be lost when it is regenerated.</font>
</td>
</tr>
</tbody>
</table>
<h2 style="font-size:24px;color:rgb(180,255,255);">
Description of the  'db_scripts' table for MaNGOSTwo
</h2>

<p>This table holds scripts activated under certain criteria.<br><br>The type controls what criteria are in effect</p>

<p style="font-size:18px;color:rgb(255,255,180);">
<strong>Table Notes</strong>
</p>
<p>This table uses the 'MyISAM' DB Engine</p>


<p style="font-size:18px;color:rgb(255,255,180);">
<strong>The Field definitions follow:</strong>
</p>
<table align="center" border="1" cellpadding="1" cellspacing="1" style="width:100%;background-color:#2b2b2b;color:#c0c0c0;">
<thead><tr>
<th scope="col" style="border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:center;">
<b>Field Name</b>
</th>
<th scope="col" style="border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:center;">
<b>Field Type</b>
</th>
<th scope="col" style="border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:center;">
<b>Nullable</b>
</th>
<th scope="col" style="border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:center;">
<b>Key</b>
</th>
<th scope="col" style="border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:center;">
<b>Default Value</b>
</th>
<th scope="col" style="border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:center;">
<b>Attributes</b>
</th>
<th scope="col" style="border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:left;">
<b>Notes</b>
</th>
</tr>
</thead>
<tbody>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
<a href="#script_guid" rel="internal" style="color:rgb(180,255,255);">script_guid</a>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
mediumint(8) <abbr style="border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;" title="This field is unsigned, so it never accepts negative values">unsigned</abbr>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
NO
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
<abbr style="border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;" title="Primary Key">PRI</abbr>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
NULL
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
'auto_increment'
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:left;">
The Unique Identifier for this script
</td>
</tr>
<tr style="background-color:#3b3b3b;">
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
<a href="#script_type" rel="internal" style="color:rgb(180,255,255);">script_type</a>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
smallint(2) <abbr style="border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;" title="This field is unsigned, so it never accepts negative values">unsigned</abbr>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
NO
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">

</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
'0'
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
 
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:left;">
The type of script
</td>
</tr>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
<a href="#id" rel="internal" style="color:rgb(180,255,255);">id</a>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
mediumint(8) <abbr style="border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;" title="This field is unsigned, so it never accepts negative values">unsigned</abbr>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
NO
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">

</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
'0'
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
 
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:left;">
Gossip script ID.
</td>
</tr>
<tr style="background-color:#3b3b3b;">
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
<a href="#delay" rel="internal" style="color:rgb(180,255,255);">delay</a>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
int(10) <abbr style="border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;" title="This field is unsigned, so it never accepts negative values">unsigned</abbr>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
NO
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">

</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
'0'
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
 
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:left;">
Delay (sec).
</td>
</tr>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
<a href="#command" rel="internal" style="color:rgb(180,255,255);">command</a>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
mediumint(8) <abbr style="border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;" title="This field is unsigned, so it never accepts negative values">unsigned</abbr>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
NO
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">

</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
'0'
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
 
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:left;">
Script command.
</td>
</tr>
<tr style="background-color:#3b3b3b;">
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
<a href="#datalong" rel="internal" style="color:rgb(180,255,255);">datalong</a>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
mediumint(8) <abbr style="border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;" title="This field is unsigned, so it never accepts negative values">unsigned</abbr>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
NO
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">

</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
'0'
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
 
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:left;">
Command parameter, see command description.
</td>
</tr>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
<a href="#datalong2" rel="internal" style="color:rgb(180,255,255);">datalong2</a>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
int(10) <abbr style="border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;" title="This field is unsigned, so it never accepts negative values">unsigned</abbr>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
NO
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">

</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
'0'
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
 
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:left;">
Command parameter, see command description.
</td>
</tr>
<tr style="background-color:#3b3b3b;">
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
<a href="#buddy_entry" rel="internal" style="color:rgb(180,255,255);">buddy_entry</a>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
int(10) <abbr style="border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;" title="This field is unsigned, so it never accepts negative values">unsigned</abbr>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
NO
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">

</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
'0'
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
 
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:left;">
Creature ID (creature_template.entry) for changing source/target.
</td>
</tr>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
<a href="#search_radius" rel="internal" style="color:rgb(180,255,255);">search_radius</a>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
int(10) <abbr style="border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;" title="This field is unsigned, so it never accepts negative values">unsigned</abbr>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
NO
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">

</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
'0'
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
 
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:left;">
Radius for the buddy search.
</td>
</tr>
<tr style="background-color:#3b3b3b;">
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
<a href="#data_flags" rel="internal" style="color:rgb(180,255,255);">data_flags</a>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
tinyint(3) <abbr style="border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;" title="This field is unsigned, so it never accepts negative values">unsigned</abbr>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
NO
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">

</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
'0'
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
 
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:left;">
Command flags.
</td>
</tr>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
<a href="#dataint" rel="internal" style="color:rgb(180,255,255);">dataint</a>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
int(11)
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
NO
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">

</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
'0'
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
 
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:left;">
Command parameter, see command description.
</td>
</tr>
<tr style="background-color:#3b3b3b;">
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
<a href="#dataint2" rel="internal" style="color:rgb(180,255,255);">dataint2</a>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
int(11)
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
NO
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">

</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
'0'
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
 
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:left;">
Command parameter, see command description.
</td>
</tr>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
<a href="#dataint3" rel="internal" style="color:rgb(180,255,255);">dataint3</a>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
int(11)
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
NO
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">

</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
'0'
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
 
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:left;">
Command parameter, see command description.
</td>
</tr>
<tr style="background-color:#3b3b3b;">
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
<a href="#dataint4" rel="internal" style="color:rgb(180,255,255);">dataint4</a>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
int(11)
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
NO
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">

</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
'0'
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
 
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:left;">
Command parameter, see command description.
</td>
</tr>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
<a href="#x" rel="internal" style="color:rgb(180,255,255);">x</a>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
float
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
NO
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">

</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
'0'
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
 
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:left;">
Position X.
</td>
</tr>
<tr style="background-color:#3b3b3b;">
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
<a href="#y" rel="internal" style="color:rgb(180,255,255);">y</a>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
float
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
NO
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">

</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
'0'
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
 
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:left;">
Position Y.
</td>
</tr>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
<a href="#z" rel="internal" style="color:rgb(180,255,255);">z</a>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
float
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
NO
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">

</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
'0'
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
 
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:left;">
Position Z.
</td>
</tr>
<tr style="background-color:#3b3b3b;">
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
<a href="#o" rel="internal" style="color:rgb(180,255,255);">o</a>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
float
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
NO
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">

</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
'0'
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
 
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:left;">
Orientation angle (0 to 2*Pi).
</td>
</tr>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
<a href="#comments" rel="internal" style="color:rgb(180,255,255);">comments</a>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
varchar(255)
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
NO
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">

</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
{Blank String}
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
 
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:left;">
Textual comment.
</td>
</tr>
</tbody>
</table>
<p style="font-size:20px;color:rgb(255,255,180);">
<strong>Description of the fields</strong>
</p>
<p>
<a id="script_guid" rel="internal" style="color:rgb(255,255,255);">
<span style="font-size:20px;">
script_guid
</span></a>
 mediumint(8) <abbr style="border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;" title="This field is unsigned, so it never accepts negative values">unsigned</abbr>
</p>
<p>
The Unique Identifier for this script
</p>


<p>
<a id="script_type" rel="internal" style="color:rgb(255,255,255);">
<span style="font-size:20px;">
script_type
</span></a>
 smallint(2) <abbr style="border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;" title="This field is unsigned, so it never accepts negative values">unsigned</abbr>
</p>
<p>
The type of script:<br><br></p><table align="center" border="1" cellpadding="1" cellspacing="1" style="width:100%;background-color:#2b2b2b;color:#c0c0c0;">
<thead>
<tr>
<th scope="col" style="border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:center;">
<b>Type</b>
</th>
<th scope="col" style="border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:left;">
<b>Type Name</b>
</th>
<th scope="col" style="border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:left;">
<b>Notes</b>
</th>
</tr>
</thead>
<tbody>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
0
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
Quest Start
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
This type are scripts mentioned in the quest_template table. Here source = questgiver, target = Player.
</td>
</tr>
<tr style="background-color:#3b3b3b;">
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
1
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
Quest End
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
This type are scripts mentioned in the quest_template table. Here source = questrewarder, target = Player.
</td>
</tr>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
2
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
Gossip
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
This type are scripts mentioned in the gossip_menu and gossip_menu_option tables. In the latter case, the parameters depend on object type (GameObject or Unit) of the object having such gossip:<br> for GO, source = Player and target = GameObject; <br>for Unit, source = Unit and target = Player. In the former case, source = Player and target = Unit. <br>This all is rather funny, isn't this?<br>The scripts "on talking to gameobject" are implemented instead with type 7 (Go Template Use).
</td>
</tr>
<tr style="background-color:#3b3b3b;">
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
3
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
Creature Movement
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
This type are  scripts activated when a creature moving by waypoints reaches a WP. (Source: creature)
</td>
</tr>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
4
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
Creature Death
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
This type are scripts activated when a creature dies. (Source: creature; at the script execution time, it is considered alive, so can cast instant spells.)
</td>
</tr>
<tr style="background-color:#3b3b3b;">
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
5
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
Spell
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
This type are scripts triggered by spells with EFFECT_DUMMY (3) or EFFECT_SCRIPT_EFFECT (77). Here source = caster, target = unitTarget.<br>Note that if the spell contains more than 1 effect of such type, this script will be set up for the single effect only, namely for one with the least effect number.
</td>
</tr>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
6
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
Go Use
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
This type are scripts activated when a character uses either door or button. <br>This script, bound to the GameObject GUID, does not override the script bound to the GameObject entry, if any. If both scripts are defined, they are executed sequentially, the script of this type activates after type 7 (Go Template Use).
</td>
</tr>
<tr style="background-color:#3b3b3b;">
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
7
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
Go Template Use
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
This type are scripts activated when a character uses a gameobject (like door, chest, button so on).
</td>
</tr>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
8
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
Event
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
This type are scripts activated when an event is sent either via spell (SPELL_EFFECT_SEND_EVENT=61) or by a gameobject.
</td>
</tr>
</tbody>
</table>
<br><br>



<p>
<a id="id" rel="internal" style="color:rgb(255,255,255);">
<span style="font-size:20px;">
id
</span></a>
 mediumint(8) <abbr style="border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;" title="This field is unsigned, so it never accepts negative values">unsigned</abbr>
</p>
<p>
Gossip script ID [<b>See <a href="https://www.getmangos.eu/wiki/referenceinfo/dbinfo/mangosdb/mangostwoworlddb/gossip_menu-r5074#script_id,%20gossip_menu_option.action_script_id" rel="">gossip_menu.script_id, gossip_menu_option.action_script_id</a></b>].<br>The script may contain several commands with identical id. Execution of these commands is not synchronized but the sequence is uniquely defined by 'delay' parameter.
</p>


<p>
<a id="delay" rel="internal" style="color:rgb(255,255,255);">
<span style="font-size:20px;">
delay
</span></a>
 int(10) <abbr style="border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;" title="This field is unsigned, so it never accepts negative values">unsigned</abbr>
</p>
<p>
Delay in seconds. Note that for any delay&gt;0, the creature is dead and cannot perform any action by itself (including cast).<br><br><b>Note:</b><br>Delay is accumulated over all events with identical id values.
</p>


<p>
<a id="command" rel="internal" style="color:rgb(255,255,255);">
<span style="font-size:20px;">
command
</span></a>
 mediumint(8) <abbr style="border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;" title="This field is unsigned, so it never accepts negative values">unsigned</abbr>
</p>
<p>
Script command. Note for this script type, several commands have no sense. These are animation command (will be overridden by death animation), movement, mount, despawn.<br></p><table align="center" border="1" cellpadding="1" cellspacing="1" style="width:100%;background-color:#2b2b2b;color:#c0c0c0;">
<thead>
<tr>
<th scope="col" style="border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:left;">
<b>Command name</b>
</th>
<th scope="col" style="border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:center;">
<b>Value</b>
</th>
<th scope="col" style="border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:left;">
<b>Source and target</b>
</th>
<th scope="col" style="border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:left;">
<b>Other fields</b>
</th>
</tr>
</thead>
<tbody>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;">
SCRIPT_COMMAND_TALK
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
0
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
Source = WorldObject, Target = Unit/none
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
dataint = text entry from db_script_string table. dataint2-4 optional for random selected texts
</td>
</tr>
<tr style="background-color:#3b3b3b;">
<td style="border:1px solid #999999;padding:3px 10px;">
SCRIPT_COMMAND_EMOTE
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
1
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
Source = Unit, Target = Unit/none
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
datalong1 = emote_id, dataint1-4 optional for random selected emotes
</td>
</tr>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;">
SCRIPT_COMMAND_FIELD_SET
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
2
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
source = any
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
datalong = field_id, datalong2 = value
</td>
</tr>
<tr style="background-color:#3b3b3b;">
<td style="border:1px solid #999999;padding:3px 10px;">
SCRIPT_COMMAND_MOVE_TO
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
3
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
Source = Creature
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
datalong2 = travel_speed*100, x/y/z; data_flags &amp; SCRIPT_FLAG_COMMAND_ADDITIONAL: teleport unit to position
</td>
</tr>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;">
SCRIPT_COMMAND_FLAG_SET
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
4
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
source = any
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
datalong = field_id, datalong2 = bitmask
</td>
</tr>
<tr style="background-color:#3b3b3b;">
<td style="border:1px solid #999999;padding:3px 10px;">
SCRIPT_COMMAND_FLAG_REMOVE
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
5
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
source = any
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
datalong = field_id, datalong2 = bitmask
</td>
</tr>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;">
SCRIPT_COMMAND_TELEPORT_TO
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
6
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
source or target is Player
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
datalong2 = map_id, x/y/z
</td>
</tr>
<tr style="background-color:#3b3b3b;">
<td style="border:1px solid #999999;padding:3px 10px;">
SCRIPT_COMMAND_QUEST_EXPLORED
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
7
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
one from source or target must be Player, another GO/Creature
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
datalong=quest_id, datalong2=distance or 0
</td>
</tr>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;">
SCRIPT_COMMAND_KILL_CREDIT
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
8
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
source or target is Player
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
datalong = creature entry (or 0 for target-entry), datalong2 = bool (0=personal credit, 1=group credit)
</td>
</tr>
<tr style="background-color:#3b3b3b;">
<td style="border:1px solid #999999;padding:3px 10px;">
SCRIPT_COMMAND_RESPAWN_GAMEOBJECT
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
9
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
source = any
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
datalong=db_guid, datalong2=despawn_delay
</td>
</tr>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;">
SCRIPT_COMMAND_TEMP_SUMMON_CREATURE
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
10
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
source = any
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
datalong=creature entry, datalong2=despawn_delay; data_flags &amp; SCRIPT_FLAG_COMMAND_ADDITIONAL = summon active
</td>
</tr>
<tr style="background-color:#3b3b3b;">
<td style="border:1px solid #999999;padding:3px 10px;">
SCRIPT_COMMAND_OPEN_DOOR
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
11
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
 
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
datalong=db_guid (or not provided), datalong2=reset_delay
</td>
</tr>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;">
SCRIPT_COMMAND_CLOSE_DOOR
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
12
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
 
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
datalong=db_guid (or not provided), datalong2=reset_delay
</td>
</tr>
<tr style="background-color:#3b3b3b;">
<td style="border:1px solid #999999;padding:3px 10px;">
SCRIPT_COMMAND_ACTIVATE_OBJECT
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
13
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
source = unit, target=GO
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
 
</td>
</tr>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;">
SCRIPT_COMMAND_REMOVE_AURA
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
14
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
Source = Unit
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
datalong = spell_id
</td>
</tr>
<tr style="background-color:#3b3b3b;">
<td style="border:1px solid #999999;padding:3px 10px;">
SCRIPT_COMMAND_CAST_SPELL
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
15
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
Source = Unit, cast spell on Target = Unit
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
datalong=spellid; data_flags &amp;  SCRIPT_FLAG_COMMAND_ADDITIONAL = cast triggered
</td>
</tr>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;">
SCRIPT_COMMAND_PLAY_SOUND
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
16
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
Source = WorldObject, target=any/player
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
datalong (sound_id), datalong2 (bitmask: 0/1=target-player, 0/2=with distance dependent, 0/4=map wide, 0/8=zone wide; so 1/2 = 3 is target with distance dependent)
</td>
</tr>
<tr style="background-color:#3b3b3b;">
<td style="border:1px solid #999999;padding:3px 10px;">
SCRIPT_COMMAND_CREATE_ITEM
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
17
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
source or target must be player
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
datalong = item entry, datalong2 = amount
</td>
</tr>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;">
SCRIPT_COMMAND_DESPAWN_SELF
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
18
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
Source = Creature
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
datalong = despawn delay
</td>
</tr>
<tr style="background-color:#3b3b3b;">
<td style="border:1px solid #999999;padding:3px 10px;">
SCRIPT_COMMAND_PLAY_MOVIE
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
19
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
target can only be a player
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
datalog = movie id
</td>
</tr>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;">
SCRIPT_COMMAND_MOVEMENT
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
20
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
Source = Creature
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
datalong = MovementType (0:idle, 1:random or 2:waypoint), datalong2 = wander-distance; data_flags &amp;  SCRIPT_FLAG_COMMAND_ADDITIONAL = Random-movement around current position
</td>
</tr>
<tr style="background-color:#3b3b3b;">
<td style="border:1px solid #999999;padding:3px 10px;">
SCRIPT_COMMAND_SET_ACTIVEOBJECT
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
21
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
Source = Creature
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
datalong=bool 0=off, 1=on
</td>
</tr>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;">
SCRIPT_COMMAND_SET_FACTION
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
22
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
Source = Creature
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
datalong=factionId, datalong2=faction_flags
</td>
</tr>
<tr style="background-color:#3b3b3b;">
<td style="border:1px solid #999999;padding:3px 10px;">
SCRIPT_COMMAND_MORPH_TO_ENTRY_OR_MODEL
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
23
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
Source = Creature
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
datalong=creature entry/modelid; data_flags &amp;  SCRIPT_FLAG_COMMAND_ADDITIONAL = use datalong value as modelid explicit
</td>
</tr>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;">
SCRIPT_COMMAND_MOUNT_TO_ENTRY_OR_MODEL
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
24
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
Source = Creature
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
datalong=creature entry/modelid; data_flags &amp;  SCRIPT_FLAG_COMMAND_ADDITIONAL = use datalong value as modelid explicit
</td>
</tr>
<tr style="background-color:#3b3b3b;">
<td style="border:1px solid #999999;padding:3px 10px;">
SCRIPT_COMMAND_SET_RUN
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
25
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
Source = Creature
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
datalong= bool 0=off, 1=on
</td>
</tr>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;">
SCRIPT_COMMAND_ATTACK_START
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
26
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
Source = Creature, Target = Unit
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
 
</td>
</tr>
<tr style="background-color:#3b3b3b;">
<td style="border:1px solid #999999;padding:3px 10px;">
SCRIPT_COMMAND_GO_LOCK_STATE
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
27
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
Source = GameObject
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
datalong= 1=lock, 2=unlock, 4=set not-interactable, 8=set interactable
</td>
</tr>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;">
SCRIPT_COMMAND_STAND_STATE
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
28
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
Source = Creature
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
datalong = stand state (enum UnitStandStateType)
</td>
</tr>
<tr style="background-color:#3b3b3b;">
<td style="border:1px solid #999999;padding:3px 10px;">
SCRIPT_COMMAND_MODIFY_NPC_FLAGS
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
29
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
Source = Creature
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
datalong=NPCFlags; datalong2:0x00=toggle, 0x01=add, 0x02=remove
</td>
</tr>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;">
SCRIPT_COMMAND_SEND_TAXI_PATH
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
30
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
source or target must be player
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
datalong = taxi path id
</td>
</tr>
<tr style="background-color:#3b3b3b;">
<td style="border:1px solid #999999;padding:3px 10px;">
SCRIPT_COMMAND_TERMINATE_SCRIPT
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
31
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
 
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
datalong = search for npc entry if provided, datalong2= search distance; data_flags &amp; SCRIPT_FLAG_COMMAND_ADDITIONAL: terminate steps of this script if npc found, ELSE: terminate steps of this script if npc not found; dataint=diff to change a waittime of current Waypoint Movement
</td>
</tr>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;">
SCRIPT_COMMAND_PAUSE_WAYPOINTS
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
32
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
Source = Creature
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
datalong = 0: unpause waypoint 1: pause waypoint
</td>
</tr>
<tr style="background-color:#3b3b3b;">
<td style="border:1px solid #999999;padding:3px 10px;">
SCRIPT_COMMAND_JOIN_LFG
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
33
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
 
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
datalong = zoneId
</td>
</tr>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;">
SCRIPT_COMMAND_TERMINATE_COND
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
34
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
 
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
datalong = condition_id, datalong2 = if != 0 then quest_id of quest that will be failed for player's group if the script is terminated; data_flags &amp; SCRIPT_FLAG_COMMAND_ADDITIONAL terminate when condition is false ELSE terminate when condition is true
</td>
</tr>
<tr style="background-color:#3b3b3b;">
<td style="border:1px solid #999999;padding:3px 10px;">
SCRIPT_COMMAND_SEND_AI_EVENT_AROUND
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
35
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
Source = Creature, Target = Unit
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
datalong = AIEventType, datalong2 = radius
</td>
</tr>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;">
SCRIPT_COMMAND_TURN_TO
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
36
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
Source = Unit, Target = Unit/none
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
 
</td>
</tr>
<tr style="background-color:#3b3b3b;">
<td style="border:1px solid #999999;padding:3px 10px;">
SCRIPT_COMMAND_MOVE_DYNAMIC
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
37
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
Source = Creature, Target Worldobject.
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
datalong = 0: Move Source towards Target; datalong != 0: Move Source to a random point between datalong2..datalong around Target.;orientation != 0: Obtain a random point around Target in direction of orientation; data_flags &amp; SCRIPT_FLAG_COMMAND_ADDITIONAL Obtain a random point around Target in direction of Target-&gt;GetOrientation + orientation; for Target == Source and orientation == 0 this will mean Source moving forward.
</td>
</tr>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;">
SCRIPT_COMMAND_SEND_MAIL
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
38
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
Source WorldObject, can be NULL, Target Player
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
datalong: Send mailTemplateId from Source (if provided) to player Target; datalong2: AlternativeSenderEntry. Use as sender-Entry; dataint1: Delay (&gt;= 0) in Seconds
</td>
</tr>
<tr style="background-color:#3b3b3b;">
<td style="border:1px solid #999999;padding:3px 10px;">
SCRIPT_COMMAND_SET_FLY
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
39
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
Source = Creature
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
datalong = 0 (off) or 1 (on)
</td>
</tr>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;">
SCRIPT_COMMAND_DESPAWN_GO
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
40
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
Target = GameObject
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
 
</td>
</tr>
<tr style="background-color:#3b3b3b;">
<td style="border:1px solid #999999;padding:3px 10px;">
SCRIPT_COMMAND_RESPAWN
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
41
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
Source = Creature.
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
Requires SCRIPT_FLAG_BUDDY_IS_DESPAWNED to find dead or despawned targets
</td>
</tr>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;">
SCRIPT_COMMAND_SET_EQUIPMENT_SLOTS
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
42
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
Source = Creature
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
datalong = reset default 0(false) or 1(true); dataint = main hand slot, dataint2 = offhand slot, dataint3 = ranged slot
</td>
</tr>
<tr style="background-color:#3b3b3b;">
<td style="border:1px solid #999999;padding:3px 10px;">
SCRIPT_COMMAND_RESET_GO
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
43
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
Target = GameObject
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
 
</td>
</tr>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;">
SCRIPT_COMMAND_UPDATE_TEMPLATE
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
44
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
Source = Creature
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
datalong = new creature entry, datalong2 = 0(Alliance) or 1(Horde)
</td>
</tr>
<tr style="background-color:#3b3b3b;">
</tr>
</tbody>
</table>




<p>
<a id="datalong" rel="internal" style="color:rgb(255,255,255);">
<span style="font-size:20px;">
datalong
</span></a>
 mediumint(8) <abbr style="border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;" title="This field is unsigned, so it never accepts negative values">unsigned</abbr>
</p>
<p>
Command parameter, see command description.
</p>


<p>
<a id="datalong2" rel="internal" style="color:rgb(255,255,255);">
<span style="font-size:20px;">
datalong2
</span></a>
 int(10) <abbr style="border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;" title="This field is unsigned, so it never accepts negative values">unsigned</abbr>
</p>
<p>
Command parameter, see command description.
</p>


<p>
<a id="buddy_entry" rel="internal" style="color:rgb(255,255,255);">
<span style="font-size:20px;">
buddy_entry
</span></a>
 int(10) <abbr style="border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;" title="This field is unsigned, so it never accepts negative values">unsigned</abbr>
</p>
<p>
Creature ID (creature_template.entry) for changing source/target.
</p>


<p>
<a id="search_radius" rel="internal" style="color:rgb(255,255,255);">
<span style="font-size:20px;">
search_radius
</span></a>
 int(10) <abbr style="border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;" title="This field is unsigned, so it never accepts negative values">unsigned</abbr>
</p>
<p>
Radius, in which the buddy will be searched. For changing source/target mechanic.<br><br><b>Note:</b><br>If data_flags has SCRIPT_FLAG_BUDDY_BY_GUID set, this references an entry in the 'gameobject' table or 'creature' table table.
</p>


<p>
<a id="data_flags" rel="internal" style="color:rgb(255,255,255);">
<span style="font-size:20px;">
data_flags
</span></a>
 tinyint(3) <abbr style="border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;" title="This field is unsigned, so it never accepts negative values">unsigned</abbr>
</p>
<p>
Command flags [<b>See <a href="https://www.getmangos.eu/wiki/#h" rel="">enum scriptinfodataflags in scriptmgr.h</a></b>].<br>Default cast direction: source/buddy -&gt; target, flags can change this.<br></p><table align="center" border="1" cellpadding="1" cellspacing="1" style="width:100%;background-color:#2b2b2b;color:#c0c0c0;">
<thead>
<tr>
<th scope="col" style="border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:left;">
<b>Flag</b>
</th>
<th scope="col" style="border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:center;">
<b>Value (hex)</b>
</th>
<th scope="col" style="border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:left;">
<b>Meaning</b>
</th>
</tr>
</thead>
<tbody>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;">
SCRIPT_FLAG_BUDDY_AS_TARGET
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
0x01
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
source -&gt; buddy
</td>
</tr>
<tr style="background-color:#3b3b3b;">
<td style="border:1px solid #999999;padding:3px 10px;">
SCRIPT_FLAG_REVERSE_DIRECTION
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
0x02
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
target* -&gt; source* (* result after previous flag is evaluated)
</td>
</tr>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;">
SCRIPT_FLAG_SOURCE_TARGETS_SELF
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
0x04
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
source* -&gt; source* (* result after previous flag is evaluated)
</td>
</tr>
<tr style="background-color:#3b3b3b;">
<td style="border:1px solid #999999;padding:3px 10px;">
SCRIPT_FLAG_COMMAND_ADDITIONAL
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
0x08
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
command-specific
</td>
</tr>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;">
SCRIPT_FLAG_BUDDY_BY_GUID
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
0x10
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
take the buddy by guid instead of entry
</td>
</tr>
<tr style="background-color:#3b3b3b;">
<td style="border:1px solid #999999;padding:3px 10px;">
SCRIPT_FLAG_BUDDY_IS_PET
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
0x20
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
buddy is a pet
</td>
</tr>
</tbody>
</table>




<p>
<a id="dataint" rel="internal" style="color:rgb(255,255,255);">
<span style="font-size:20px;">
dataint
</span></a>
 int(11)
</p>
<p>
Command parameter, see command description.
</p>


<p>
<a id="dataint2" rel="internal" style="color:rgb(255,255,255);">
<span style="font-size:20px;">
dataint2
</span></a>
 int(11)
</p>
<p>
Command parameter, see command description.
</p>


<p>
<a id="dataint3" rel="internal" style="color:rgb(255,255,255);">
<span style="font-size:20px;">
dataint3
</span></a>
 int(11)
</p>
<p>
Command parameter, see command description.
</p>


<p>
<a id="dataint4" rel="internal" style="color:rgb(255,255,255);">
<span style="font-size:20px;">
dataint4
</span></a>
 int(11)
</p>
<p>
Command parameter, see command description.
</p>


<p>
<a id="x" rel="internal" style="color:rgb(255,255,255);">
<span style="font-size:20px;">
x
</span></a>
 float
</p>
<p>
X of position - for commands requiring position.
</p>


<p>
<a id="y" rel="internal" style="color:rgb(255,255,255);">
<span style="font-size:20px;">
y
</span></a>
 float
</p>
<p>
Y of position - for commands requiring position.
</p>


<p>
<a id="z" rel="internal" style="color:rgb(255,255,255);">
<span style="font-size:20px;">
z
</span></a>
 float
</p>
<p>
Z of position - for commands requiring position.
</p>


<p>
<a id="o" rel="internal" style="color:rgb(255,255,255);">
<span style="font-size:20px;">
o
</span></a>
 float
</p>
<p>
Orientation angle (0 to 2*Pi): 0 north, Pi south - for commands requiring position.
</p>


<p>
<a id="comments" rel="internal" style="color:rgb(255,255,255);">
<span style="font-size:20px;">
comments
</span></a>
 varchar(255)
</p>
<p>
Textual comment, ignored by the core.
</p>



<br>
<p>
auto-generated by the <a href="https://getmangos.eu">getMaNGOS.eu</a> MAGNET dbdocs module
</p>
]]></description><guid isPermaLink="false">5156</guid><pubDate>Thu, 16 Nov 2017 08:29:42 +0000</pubDate></item><item><title>db_version</title><link>https://www.getmangos.eu/wiki/referenceinfo/dbinfo/mangosdb/mangostwoworlddb/db_version-r5051/</link><description><![CDATA[<table bgcolor="#a80000" border="2" cellpadding="0" cellspacing="0" width="100%">
<tbody>
<tr>
<td height="20">
<font color="#ffe97f" size="3"> <strong>NOTE:</strong>  This page is auto-generated from the MAGNET DBDocs module,<br>             Any changes made directly to this page will be lost when it is regenerated.</font>
</td>
</tr>
</tbody>
</table>
<h2 style="font-size:24px;color:rgb(180,255,255);">
Description of the  'db_version' table for MaNGOSTwo
</h2>

<p>This table holds the current version of the MaNGOS world database</p>

<p style="font-size:18px;color:rgb(255,255,180);">
<strong>Table Notes</strong>
</p>
<p>This table uses the 'InnoDB' DB Engine</p>


<p style="font-size:18px;color:rgb(255,255,180);">
<strong>The Field definitions follow:</strong>
</p>
<table align="center" border="1" cellpadding="1" cellspacing="1" style="width:100%;background-color:#2b2b2b;color:#c0c0c0;">
<thead><tr>
<th scope="col" style="border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:center;">
<b>Field Name</b>
</th>
<th scope="col" style="border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:center;">
<b>Field Type</b>
</th>
<th scope="col" style="border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:center;">
<b>Nullable</b>
</th>
<th scope="col" style="border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:center;">
<b>Key</b>
</th>
<th scope="col" style="border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:center;">
<b>Default Value</b>
</th>
<th scope="col" style="border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:center;">
<b>Attributes</b>
</th>
<th scope="col" style="border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:left;">
<b>Notes</b>
</th>
</tr>
</thead>
<tbody>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
<a href="#version" rel="internal" style="color:rgb(180,255,255);">version</a>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
int(3)
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
NO
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
<abbr style="border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;" title="Primary Key">PRI</abbr>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
NULL
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
 
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:left;">
The Version of the Release
</td>
</tr>
<tr style="background-color:#3b3b3b;">
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
<a href="#structure" rel="internal" style="color:rgb(180,255,255);">structure</a>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
int(3)
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
NO
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
<abbr style="border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;" title="Primary Key">PRI</abbr>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
NULL
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
 
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:left;">
The current core structure level.
</td>
</tr>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
<a href="#content" rel="internal" style="color:rgb(180,255,255);">content</a>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
int(3)
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
NO
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
<abbr style="border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;" title="Primary Key">PRI</abbr>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
NULL
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
 
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:left;">
The current core content level.
</td>
</tr>
<tr style="background-color:#3b3b3b;">
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
<a href="#description" rel="internal" style="color:rgb(180,255,255);">description</a>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
varchar(30)
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
NO
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">

</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
{Blank String}
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
 
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:left;">
 
</td>
</tr>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
<a href="#comment" rel="internal" style="color:rgb(180,255,255);">comment</a>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
varchar(150)
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
YES
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">

</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
{Blank String}
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
 
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:left;">
A comment about the latest database revision.
</td>
</tr>
</tbody>
</table>
<p style="font-size:20px;color:rgb(255,255,180);">
<strong>Description of the fields</strong>
</p>
<p>
<a id="version" rel="internal" style="color:rgb(255,255,255);">
<span style="font-size:20px;">
version
</span></a>
 int(3)
</p>
<p>
The Version of the Release, any mismatch prevents the server from starting.
</p>


<p>
<a id="structure" rel="internal" style="color:rgb(255,255,255);">
<span style="font-size:20px;">
structure
</span></a>
 int(3)
</p>
<p>
The current core structure level, any mismatch prevents the server from starting.
</p>


<p>
<a id="content" rel="internal" style="color:rgb(255,255,255);">
<span style="font-size:20px;">
content
</span></a>
 int(3)
</p>
<p>
The current core content level, The server will start if there is a mismatch, but will issue a warning message
</p>


<p>
<a id="description" rel="internal" style="color:rgb(255,255,255);">
<span style="font-size:20px;">
description
</span></a>
 varchar(30)
</p>

<p>Notes: A short description of the latest database revision.
</p>


<p>
<a id="comment" rel="internal" style="color:rgb(255,255,255);">
<span style="font-size:20px;">
comment
</span></a>
 varchar(150)
</p>
<p>
A comment about the latest database revision.
</p>



<br>
<p>
auto-generated by the <a href="https://getmangos.eu">getMaNGOS.eu</a> MAGNET dbdocs module
</p>
]]></description><guid isPermaLink="false">5051</guid><pubDate>Mon, 25 Jul 2016 08:57:38 +0000</pubDate></item><item><title>disables</title><link>https://www.getmangos.eu/wiki/referenceinfo/dbinfo/mangosdb/mangostwoworlddb/disables-r5160/</link><description><![CDATA[<table bgcolor="#a80000" border="2" cellpadding="0" cellspacing="0" width="100%">
<tbody>
<tr>
<td height="20">
<font color="#ffe97f" size="3"> <strong>NOTE:</strong>  This page is auto-generated from the MAGNET DBDocs module,<br>             Any changes made directly to this page will be lost when it is regenerated.</font>
</td>
</tr>
</tbody>
</table>
<h2 style="font-size:24px;color:rgb(180,255,255);">
Description of the  'disables' table for MaNGOSTwo
</h2>

<p>This table disables something on the server.<br>
Note that except the spawn disables (either creature or gameobject), the table is reloadable.<br>Creatures or gameobjects disabled to spawn here, are not loaded from the DB, thus such disables get effective since server restart. This feature was implemented rather for convenient developing.</p>

<p style="font-size:18px;color:rgb(255,255,180);">
<strong>Table Notes</strong>
</p>
<p>This table uses the 'MyISAM' DB Engine</p>


<p style="font-size:18px;color:rgb(255,255,180);">
<strong>The Field definitions follow:</strong>
</p>
<table align="center" border="1" cellpadding="1" cellspacing="1" style="width:100%;background-color:#2b2b2b;color:#c0c0c0;">
<thead><tr>
<th scope="col" style="border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:center;">
<b>Field Name</b>
</th>
<th scope="col" style="border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:center;">
<b>Field Type</b>
</th>
<th scope="col" style="border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:center;">
<b>Nullable</b>
</th>
<th scope="col" style="border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:center;">
<b>Key</b>
</th>
<th scope="col" style="border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:center;">
<b>Default Value</b>
</th>
<th scope="col" style="border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:center;">
<b>Attributes</b>
</th>
<th scope="col" style="border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:left;">
<b>Notes</b>
</th>
</tr>
</thead>
<tbody>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
<a href="#sourceType" rel="internal" style="color:rgb(180,255,255);">sourceType</a>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
int(10) <abbr style="border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;" title="This field is unsigned, so it never accepts negative values">unsigned</abbr>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
NO
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
<abbr style="border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;" title="Primary Key">PRI</abbr>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
NULL
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
 
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:left;">
Type of disable, see enum DisableType
</td>
</tr>
<tr style="background-color:#3b3b3b;">
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
<a href="#entry" rel="internal" style="color:rgb(180,255,255);">entry</a>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
int(10) <abbr style="border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;" title="This field is unsigned, so it never accepts negative values">unsigned</abbr>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
NO
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
<abbr style="border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;" title="Primary Key">PRI</abbr>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
NULL
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
 
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:left;">
Main entry for disable, type-specific
</td>
</tr>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
<a href="#flags" rel="internal" style="color:rgb(180,255,255);">flags</a>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
tinyint(3) <abbr style="border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;" title="This field is unsigned, so it never accepts negative values">unsigned</abbr>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
NO
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">

</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
'0'
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
 
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:left;">
Flag bitfield, type-specific
</td>
</tr>
<tr style="background-color:#3b3b3b;">
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
<a href="#data" rel="internal" style="color:rgb(180,255,255);">data</a>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
int(10) <abbr style="border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;" title="This field is unsigned, so it never accepts negative values">unsigned</abbr>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
NO
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
<abbr style="border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;" title="Primary Key">PRI</abbr>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
'0'
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
 
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:left;">
Additional data, type-specific
</td>
</tr>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
<a href="#comment" rel="internal" style="color:rgb(180,255,255);">comment</a>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
varchar(255)
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
YES
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">

</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
{Blank String}
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
 
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:left;">
Description of disable cause
</td>
</tr>
</tbody>
</table>
<p style="font-size:20px;color:rgb(255,255,180);">
<strong>Description of the fields</strong>
</p>
<p>
<a id="sourceType" rel="internal" style="color:rgb(255,255,255);">
<span style="font-size:20px;">
sourceType
</span></a>
 int(10) <abbr style="border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;" title="This field is unsigned, so it never accepts negative values">unsigned</abbr>
</p>
<p>
A value from the table below:<br></p><table align="center" border="1" cellpadding="1" cellspacing="1" style="width:100%;background-color:#2b2b2b;color:#c0c0c0;">
<thead>
<tr>
<th scope="col" style="border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:right;">
<b>Enum Name</b>
</th>
<th scope="col" style="border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:center;">
<b>Value</b>
</th>
<th scope="col" style="border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:left;">
<b>Comments</b>
</th>
</tr>
</thead>
<tbody>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;text-align:right;">
DISABLE_TYPE_SPELL
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
0
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
Disable specified Spell
</td>
</tr>
<tr style="background-color:#3b3b3b;">
<td style="border:1px solid #999999;padding:3px 10px;text-align:right;">
DISABLE_TYPE_QUEST
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
1
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
Disable specified Quest
</td>
</tr>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;text-align:right;">
DISABLE_TYPE_MAP
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
2
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
Disable specified Map
</td>
</tr>
<tr style="background-color:#3b3b3b;">
<td style="border:1px solid #999999;padding:3px 10px;text-align:right;">
DISABLE_TYPE_BATTLEGROUND
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
3
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
Disable specified Battleground
</td>
</tr>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;text-align:right;">
DISABLE_TYPE_ACHIEVEMENT_CRITERIA
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
4
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
Unused
</td>
</tr>
<tr style="background-color:#3b3b3b;">
<td style="border:1px solid #999999;padding:3px 10px;text-align:right;">
DISABLE_TYPE_OUTDOORPVP
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
5
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
Disable Outdoor PVP
</td>
</tr>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;text-align:right;">
DISABLE_TYPE_VMAP
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
6
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
Disable VMAP processing
</td>
</tr>
<tr style="background-color:#3b3b3b;">
<td style="border:1px solid #999999;padding:3px 10px;text-align:right;">
DISABLE_TYPE_MMAP
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
7
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
Disable MMAP processing
</td>
</tr>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;text-align:right;">
DISABLE_TYPE_CREATURE_SPAWN
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
8
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
Disable Creature Spawn
</td>
</tr>
<tr style="background-color:#3b3b3b;">
<td style="border:1px solid #999999;padding:3px 10px;text-align:right;">
DISABLE_TYPE_GAMEOBJECT_SPAWN
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
9
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
Disable GameObject Spawn
</td>
</tr>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;text-align:right;">
DISABLE_TYPE_ITEM_DROP
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
10
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
Disable Item Drop
</td>
</tr>
</tbody>
</table>




<p>
<a id="entry" rel="internal" style="color:rgb(255,255,255);">
<span style="font-size:20px;">
entry
</span></a>
 int(10) <abbr style="border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;" title="This field is unsigned, so it never accepts negative values">unsigned</abbr>
</p>
<p>
ID of the spell / quest / map / BG / achievement criteria / outdoor PvP / map / map / creature / gameobject / item, respectively.<br>For <b><i>sourceType</i></b>=3, the following entries are available [<b>See <a href="https://www.getmangos.eu/wiki/" rel="">BattlemasterList.dbc</a></b>]:<br></p><table align="center" border="1" cellpadding="1" cellspacing="1" style="width:100%;background-color:#2b2b2b;color:#c0c0c0;">
<thead>
<tr>
<th scope="col" style="border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:center;">
<b>Value</b>
</th>
<th scope="col" style="border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:left;">
<b>Battleground Name</b>
</th>
</tr>
</thead>
<tbody>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
1
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
Alterac Valley
</td>
</tr>
<tr style="background-color:#3b3b3b;">
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
2
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
Warsong Gulch
</td>
</tr>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
3
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
Arathi Basin
</td>
</tr>
</tbody>
</table>
<br>For <b><i>sourceType</i></b>=5, set 0 for Silithus, 1 for Eastern Plaguelands.<br>For VMAP or MMAP disable type, here is the map ID. The whole map is affected, no way to disable it in a specific area is provided.<br>For creature, gameobject, or item disable type, here is the object ID (entry field from the corresponding template table).



<p>
<a id="flags" rel="internal" style="color:rgb(255,255,255);">
<span style="font-size:20px;">
flags
</span></a>
 tinyint(3) <abbr style="border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;" title="This field is unsigned, so it never accepts negative values">unsigned</abbr>
</p>
<p>
For <b><i>disableType</i></b>=0, specifies who the spell is disabled for. Values can be added together, except SPELL_DISABLE_LOS and SPELL_DISABLE_DEPRECATED_SPELL.<br></p><table align="center" border="1" cellpadding="1" cellspacing="1" style="width:100%;background-color:#2b2b2b;color:#c0c0c0;">
<thead>
<tr>
<th scope="col" style="border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:right;">
<b>Disabled for</b>
</th>
<th scope="col" style="border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:center;">
<b>Hex value</b>
</th>
<th scope="col" style="border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:center;">
<b>Dec value</b>
</th>
<th scope="col" style="border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:left;">
<b>Meaning</b>
</th>
</tr>
</thead>
<tbody>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;text-align:right;">
SPELL_DISABLE_PLAYER
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
0x1
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
1
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
Disable casting by players
</td>
</tr>
<tr style="background-color:#3b3b3b;">
<td style="border:1px solid #999999;padding:3px 10px;text-align:right;">
SPELL_DISABLE_CREATURE
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
0x2
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
2
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
Disable casting by creatures
</td>
</tr>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;text-align:right;">
SPELL_DISABLE_PET
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
0x4
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
4
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
Disable casting by pets
</td>
</tr>
<tr style="background-color:#3b3b3b;">
<td style="border:1px solid #999999;padding:3px 10px;text-align:right;">
SPELL_DISABLE_DEPRECATED_SPELL
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
0x8
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
8
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
Disable the spell missing in Spell.dbc
</td>
</tr>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;text-align:right;">
SPELL_DISABLE_MAP
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
0x10
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
16
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
Disable the spell at a map
</td>
</tr>
<tr style="background-color:#3b3b3b;">
<td style="border:1px solid #999999;padding:3px 10px;text-align:right;">
SPELL_DISABLE_AREA
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
0x20
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
32
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
Disable the spell in an area (AreaTable.dbc)
</td>
</tr>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;text-align:right;">
SPELL_DISABLE_LOS
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
0x40
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
64
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
Do not check line-of-sight for the spell (the same as vmap.ignoreSpellIds config parameter)
</td>
</tr>
<tr style="background-color:#3b3b3b;">
</tr>
</tbody>
</table>
<br>For <b><i>disableType</i></b>=6, specifies what VMAP function is disabled. Values can be added together.<br><table align="center" border="1" cellpadding="1" cellspacing="1" style="width:100%;background-color:#2b2b2b;color:#c0c0c0;">
<thead>
<tr>
<th scope="col" style="border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:right;">
<b>VMAP function</b>
</th>
<th scope="col" style="border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:center;">
<b>Value</b>
</th>
<th scope="col" style="border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:left;">
<b>Meaning</b>
</th>
</tr>
</thead>
<tbody>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;text-align:right;">
VMAP_DISABLE_AREAFLAG
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
1
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
Disable area determination
</td>
</tr>
<tr style="background-color:#3b3b3b;">
<td style="border:1px solid #999999;padding:3px 10px;text-align:right;">
VMAP_DISABLE_HEIGHT
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
2
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
Disable height calculation
</td>
</tr>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;text-align:right;">
VMAP_DISABLE_LOS
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
4
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
Disable line-of-sight calculation
</td>
</tr>
<tr style="background-color:#3b3b3b;">
<td style="border:1px solid #999999;padding:3px 10px;text-align:right;">
VMAP_DISABLE_LIQUIDSTATUS
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
8
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
Disable type of liquid determination
</td>
</tr>
<tr>
</tr>
</tbody>
</table>
<br>For <b><i>disableType</i></b>= 8 or 9, set this to 1 if you want to check the DB GUID value in addition to the id.



<p>
<a id="data" rel="internal" style="color:rgb(255,255,255);">
<span style="font-size:20px;">
data
</span></a>
 int(10) <abbr style="border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;" title="This field is unsigned, so it never accepts negative values">unsigned</abbr>
</p>
<p>
For <b><i>disableType</i></b>=0 and SPELL_DISABLE_MAP or SPELL_DISABLE_AREA flag(s) set, here is the map ID and area ID in the following compact form: 65535*areaID+mapID.<br>For <b><i>disableType</i></b>= 8 or 9 and the flags set to 1, here is the spawn DB GUID.
</p>


<p>
<a id="comment" rel="internal" style="color:rgb(255,255,255);">
<span style="font-size:20px;">
comment
</span></a>
 varchar(255)
</p>
<p>
Developer data, ignored by the core.
</p>



<br>
<p>
auto-generated by the <a href="https://getmangos.eu">getMaNGOS.eu</a> MAGNET dbdocs module
</p>
]]></description><guid isPermaLink="false">5160</guid><pubDate>Fri, 18 Jan 2019 21:39:51 +0000</pubDate></item><item><title>disenchant_loot_template</title><link>https://www.getmangos.eu/wiki/referenceinfo/dbinfo/mangosdb/mangostwoworlddb/disenchant_loot_template-r5052/</link><description><![CDATA[<table bgcolor="#a80000" border="2" cellpadding="0" cellspacing="0" width="100%">
<tbody>
<tr>
<td height="20">
<font color="#ffe97f" size="3"> <strong>NOTE:</strong>  This page is auto-generated from the MAGNET DBDocs module,<br>             Any changes made directly to this page will be lost when it is regenerated.</font>
</td>
</tr>
</tbody>
</table>
<h2 style="font-size:24px;color:rgb(180,255,255);">
Description of the  'disenchant_loot_template' table for MaNGOSTwo
</h2>

<p>This table format is used to generate different loot items. Loot templates define only items in the loot.
See comments about money drop in corpse, pickpocketing and luggage loot in creature_template and item_template.</p>

<p style="font-size:18px;color:rgb(255,255,180);">
<strong>Table Notes</strong>
</p>
<p>This table uses the 'InnoDB' DB Engine</p>


<p style="font-size:18px;color:rgb(255,255,180);">
<strong>The Field definitions follow:</strong>
</p>
<table align="center" border="1" cellpadding="1" cellspacing="1" style="width:100%;background-color:#2b2b2b;color:#c0c0c0;">
<thead><tr>
<th scope="col" style="border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:center;">
<b>Field Name</b>
</th>
<th scope="col" style="border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:center;">
<b>Field Type</b>
</th>
<th scope="col" style="border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:center;">
<b>Nullable</b>
</th>
<th scope="col" style="border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:center;">
<b>Key</b>
</th>
<th scope="col" style="border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:center;">
<b>Default Value</b>
</th>
<th scope="col" style="border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:center;">
<b>Attributes</b>
</th>
<th scope="col" style="border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:left;">
<b>Notes</b>
</th>
</tr>
</thead>
<tbody>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
<a href="#entry" rel="internal" style="color:rgb(180,255,255);">entry</a>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
mediumint(8) <abbr style="border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;" title="This field is unsigned, so it never accepts negative values">unsigned</abbr>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
NO
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
<abbr style="border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;" title="Primary Key">PRI</abbr>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
'0'
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
 
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:left;">
The ID of the loot definition (loot template).
</td>
</tr>
<tr style="background-color:#3b3b3b;">
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
<a href="#item" rel="internal" style="color:rgb(180,255,255);">item</a>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
mediumint(8) <abbr style="border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;" title="This field is unsigned, so it never accepts negative values">unsigned</abbr>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
NO
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
<abbr style="border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;" title="Primary Key">PRI</abbr>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
'0'
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
 
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:left;">
Template ID of the item which can be included into the loot.
</td>
</tr>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
<a href="#ChanceOrQuestChance" rel="internal" style="color:rgb(180,255,255);">ChanceOrQuestChance</a>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
float
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
NO
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">

</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
'100'
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
 
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:left;">
Command parameter, see command description.
</td>
</tr>
<tr style="background-color:#3b3b3b;">
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
<a href="#groupid" rel="internal" style="color:rgb(180,255,255);">groupid</a>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
tinyint(3) <abbr style="border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;" title="This field is unsigned, so it never accepts negative values">unsigned</abbr>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
NO
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">

</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
'0'
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
 
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:left;">
A group is a set of loot definitions.
</td>
</tr>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
<a href="#mincountOrRef" rel="internal" style="color:rgb(180,255,255);">mincountOrRef</a>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
mediumint(9)
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
NO
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">

</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
'1'
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
 
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:left;">
The total number of copies of an item or may reference another loot template
</td>
</tr>
<tr style="background-color:#3b3b3b;">
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
<a href="#maxcount" rel="internal" style="color:rgb(180,255,255);">maxcount</a>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
tinyint(3) <abbr style="border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;" title="This field is unsigned, so it never accepts negative values">unsigned</abbr>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
NO
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">

</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
'1'
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
 
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:left;">
For non-reference entries - the maximum number of copies of the item.
</td>
</tr>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
<a href="#condition_id" rel="internal" style="color:rgb(180,255,255);">condition_id</a>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
mediumint(8) <abbr style="border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;" title="This field is unsigned, so it never accepts negative values">unsigned</abbr>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
NO
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">

</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
'0'
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
 
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:left;">
Value that represents a loot condition that must be filled.
</td>
</tr>
</tbody>
</table>
<p style="font-size:20px;color:rgb(255,255,180);">
<strong>Description of the fields</strong>
</p>
<p>
<a id="entry" rel="internal" style="color:rgb(255,255,255);">
<span style="font-size:20px;">
entry
</span></a>
 mediumint(8) <abbr style="border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;" title="This field is unsigned, so it never accepts negative values">unsigned</abbr>
</p>
<p>
The ID of the loot definition (loot template). The rows with the same ID defines a single loot. (Recommended id selection: item_level*100 + item_quality)<br><br>It is often the same ID as the loot source (item, creature, etc) but when the link is made not on entry field of the Related table then ID can be different. For example, when several loot sources should provide the same loot, single loot definition can be used. In this case the loot sources have the same value in the link field. <br><br>It is possible also to set up artificial loot templates which are not used directly at all as they have ID which are not referenced from the related source. Such "support templates" can be referenced from "normal" loot templates. <br><br>When a common or artificial loot template is used a problem arises: what ID to use for that template? Depending on the loot table, different rules can be agreed on to simplify maintenance for the table. Moreover, such rules would be very handy but it seems at the moment there are very few rules explicitly defined. <br><br>Agreements on entry field values are described there. 
</p>


<p>
<a id="item" rel="internal" style="color:rgb(255,255,255);">
<span style="font-size:20px;">
item
</span></a>
 mediumint(8) <abbr style="border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;" title="This field is unsigned, so it never accepts negative values">unsigned</abbr>
</p>
<p>
Template ID of the item which can be included into the loot. 

NOTE: For reference entries this field has no meaning and not used by the core in any way. Yet because of the PRIMARY KEY on the entry + item combination, this field will nonetheless need to be a unique number for each reference entry so that no indexing conflicts arise. 
</p>


<p>
<a id="ChanceOrQuestChance" rel="internal" style="color:rgb(255,255,255);">
<span style="font-size:20px;">
ChanceOrQuestChance
</span></a>
 float
</p>
<p>
This field determines if an item should drop by chance, or by the character looting having a quest. The meaning is determined by the fields signedness and the value of the mincountOrRef field's value.<br><br>The following table shows possible combinations and their meanings.<br></p><table align="center" border="1" cellpadding="1" cellspacing="1" style="width:100%;background-color:#2b2b2b;color:#c0c0c0;">
<thead>
<tr>
<th scope="col" style="border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:left;">
<b>ChanceOrQuestChance</b>
</th>
<th scope="col" style="border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:left;">
<b>mincountOrRef</b>
</th>
<th scope="col" style="border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:left;">
<b>Description</b>
</th>
</tr>
</thead>
<tbody>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;">
&gt; 0
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
&gt; 0
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
A simple percentage based drop chance.
</td>
</tr>
<tr style="background-color:#3b3b3b;">
<td style="border:1px solid #999999;padding:3px 10px;">

</td><td style="border:1px solid #999999;padding:3px 10px;">
&gt; 0
</td>
<td style="border:1px solid #999999;padding:3px 10px;">
A quest based drop chance.
</td>
</tr>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;">
&gt; 0
</td>
<td style="border:1px solid #999999;padding:3px 10px;">

</td><td style="border:1px solid #999999;padding:3px 10px;">
A drop chance which has a chance to be used.
</td>
</tr>
</tbody>
</table>
<br><br><br><br><b>Note:</b><br>Setting ChanceOrQuestChance to 0 is only allowed for entries which are part of a loot group (aka. have a groupid set). Also note that non-zero values are subject to multiplication based on the drop rate configured in the world server configuration if they are not part of a loot group.<br><br>



<p>
<a id="groupid" rel="internal" style="color:rgb(255,255,255);">
<span style="font-size:20px;">
groupid
</span></a>
 tinyint(3) <abbr style="border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;" title="This field is unsigned, so it never accepts negative values">unsigned</abbr>
</p>
<p>
A group is a set of loot definitions processed in such a way that at any given looting event the loot generated can receive only 1 (or none) item from the items declared in the loot definitions of the group. Groups are formed by loot definitions having the same values of entry and groupid fields. 

A group may consists of explicitly-chanced (having non-zero ChanceOrQuestChance) and equal-chanced (ChanceOrQuestChance = 0) entries. Every equal-chanced entry of a group is considered having such a chance that: 

¦all equal-chanced entries have the same chance 
¦group chance (sum of chances of all entries) is 100% 
Of course group may consist of 

¦only explicitly-chanced entries or 
¦only equal-chanced entries or 
¦entries of both type. 
The easies way to understand what are groups is to understand how core processes grouped entries: 

At loading time: 

¦groups are formed - all grouped entries with the same values of groupid and entry fields are gathered into two sets - one for explicitly-chanced entries and one for equal-chanced. Note that order of entries in the sets can not be defined by DB - you should assume that the entries are in an unknown order. But indeed every time core processes a group the entries are in some order, constant during processing. 
During loot generation: 

¦core rolls for explicitly-chanced entries (if any): 
¦a random number R is rolled in range 0 to 100 (floating point value). 
¦chance to drop is checked for every (explicitly-chanced) entry in the group: 
¦if R is less than absolute value of ChanceOrQuestChance of the entry then the entry 'wins': the item is included in the loot. Group processing stops, the rest of group entries are just skipped. 
¦otherwise the entry 'looses': the item misses its chance to get into the loot. R is decreased by the absolute value of ChanceOrQuestChance and next explicitly-chanced entry is checked. 
¦if none of explicitly-chanced entries got its chance then equal-chanced part (if any) is processed: 
¦a random entry is selected from the set of equal-chanced entries and corresponding item is included in the loot. 
¦If nothing selected yet (this never happens if the group has some equal-chanced entries) - no item from the group is included into the loot. 
Let us use term group chance as the sum of ChanceOrQuestChance (absolute) values for the group. Please note that even one equal-chanced entry makes group chance to be 100% (provided that sum of explicit chances does not exceed 100%). 

If you understand the process you can understand the results: 

¦Not more than one item from a group may drop at any given time. 
¦If group chance is at least 100 then one item will be dropped for sure. 
¦If group chance does not exceed 100 then every item defined in group entries has exactly that chance to drop as set in ChanceOrQuestChance. 
¦If group chance is greater than 100 then some entries will lost a part of their chance (or even not be checked at all - that will be the case for all equal-chanced entries) whatever value takes the roll R. So for some items chance to drop will be less than their ChanceOrQuestChance. That is very bad and that is why having group chance &gt; 100 is strictly prohibited. 
¦Processing of equal-chanced part takes much less time then of explicitly-chanced one. So usage of equal-chanced groups is recommended when possible. 
So now basic applications of the groups are clear: 

¦Groups with group chance of 100% generate exactly one item every time. This is needed quite often, for example such behavior is needed to define a loot template for tier item drop from a boss. 
¦Groups with group chance 


</p><p>
<a id="mincountOrRef" rel="internal" style="color:rgb(255,255,255);">
<span style="font-size:20px;">
mincountOrRef
</span></a>
 mediumint(9)
</p>
<p>
Depending on the value of the field it may either define the minimum number of copies for the item to be dropped, or it may reference another loot template.
</p>


<p>
<a id="maxcount" rel="internal" style="color:rgb(255,255,255);">
<span style="font-size:20px;">
maxcount
</span></a>
 tinyint(3) <abbr style="border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;" title="This field is unsigned, so it never accepts negative values">unsigned</abbr>
</p>
<p>
For non-reference entries - the maximum number of copies of the item that can drop in a single loot. 

For references value of maxcount field is used as a repetition factor for references - the reference will be processed not just once but exactly maxcount times. This is designed to serve a single purpose: to make definition of tier token drops a bit simplier (tokens of a tier are defined as a 100%-chance group of an artificial template and bosses' loot templates include 100%-chanced reference to that group with repetition factor of 2 or 3 depending on the case). Using non-1 repetition factor for other things (references to a group with group chance less than 100% or chanced references with chance less than 100%) must be agreed with UDB devs first (and described here). 

Note: core rolls chance for any loot definition entry just one time - so if a references looses its chance it is skipped for the current loot completely whatever is maxcount value. 

</p>


<p>
<a id="condition_id" rel="internal" style="color:rgb(255,255,255);">
<span style="font-size:20px;">
condition_id
</span></a>
 mediumint(8) <abbr style="border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;" title="This field is unsigned, so it never accepts negative values">unsigned</abbr>
</p>
<p>
Value that represents a loot condition that must be filled in order for the item to drop. This field combined with condition_value1-2 fields can provide conditions on when an item can be dropped. 

Value  Condition  Comments  
0  CONDITION_NONE  Regular drop  
1  CONDITION_AURA  Player looting must have an aura active  
2  CONDITION_ITEM  Player must have a number of items in his/her inventory  
3  CONDITION_ITEM_EQUIPPED  Player must have an item equipped  
4  CONDITION_ZONEID  Player must be in a certain zone  
5  CONDITION_REPUTATION_RANK  Player must have a certain reputation rank with a certain faction  
6  CONDITION_TEAM  Player must be part of the specified team (Alliance or Horde)  
7  CONDITION_SKILL  Player must have a certain skill value  
8  CONDITION_QUESTREWARDED  Player must have completed a quest first  
9  CONDITION_QUESTTAKEN  Players must have the quest in the quest log and not completed yet  
10  CONDITION_AD_COMMISSION_AURA   
11  CONDITION_NO_AURA  Player looting must have no aura active mentioned in condition_value1  
12  CONDITION_ACTIVE_EVENT  The loot with that condition can be looted only while the Event (condition_value1) is active  

NOTE: For reference entries this field has no meaning, not used by the core in any way and should have the default value of 0. 


</p>



<br>
<p>
auto-generated by the <a href="https://getmangos.eu">getMaNGOS.eu</a> MAGNET dbdocs module
</p>
]]></description><guid isPermaLink="false">5052</guid><pubDate>Mon, 25 Jul 2016 08:57:39 +0000</pubDate></item><item><title>dungeonfinder_item_rewards</title><link>https://www.getmangos.eu/wiki/referenceinfo/dbinfo/mangosdb/mangostwoworlddb/dungeonfinder_item_rewards-r5053/</link><description><![CDATA[<table bgcolor="#a80000" border="2" cellpadding="0" cellspacing="0" width="100%">
<tbody>
<tr>
<td height="20">
<font color="#ffe97f" size="3"> <strong>NOTE:</strong>  This page is auto-generated from the MAGNET DBDocs module,<br>             Any changes made directly to this page will be lost when it is regenerated.</font>
</td>
</tr>
</tbody>
</table>
<h2 style="font-size:24px;color:rgb(180,255,255);">
Description of the  'dungeonfinder_item_rewards' table for MaNGOSTwo
</h2>

<p style="font-size:18px;color:rgb(255,255,180);">
<strong>Table Notes</strong>
</p>
<p>This table uses the 'MyISAM' DB Engine</p>


<p style="font-size:18px;color:rgb(255,255,180);">
<strong>The Field definitions follow:</strong>
</p>
<table align="center" border="1" cellpadding="1" cellspacing="1" style="width:100%;background-color:#2b2b2b;color:#c0c0c0;">
<thead><tr>
<th scope="col" style="border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:center;">
<b>Field Name</b>
</th>
<th scope="col" style="border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:center;">
<b>Field Type</b>
</th>
<th scope="col" style="border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:center;">
<b>Nullable</b>
</th>
<th scope="col" style="border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:center;">
<b>Key</b>
</th>
<th scope="col" style="border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:center;">
<b>Default Value</b>
</th>
<th scope="col" style="border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:center;">
<b>Attributes</b>
</th>
<th scope="col" style="border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:left;">
<b>Notes</b>
</th>
</tr>
</thead>
<tbody>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
<a href="#id" rel="internal" style="color:rgb(180,255,255);">id</a>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
int(10) <abbr style="border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;" title="This field is unsigned, so it never accepts negative values">unsigned</abbr>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
NO
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
<abbr style="border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;" title="Primary Key">PRI</abbr>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
NULL
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
'auto_increment'
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:left;">
 
</td>
</tr>
<tr style="background-color:#3b3b3b;">
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
<a href="#min_level" rel="internal" style="color:rgb(180,255,255);">min_level</a>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
smallint(3) <abbr style="border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;" title="This field is unsigned, so it never accepts negative values">unsigned</abbr>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
NO
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">

</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
NULL
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
 
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:left;">
 
</td>
</tr>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
<a href="#max_level" rel="internal" style="color:rgb(180,255,255);">max_level</a>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
smallint(3) <abbr style="border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;" title="This field is unsigned, so it never accepts negative values">unsigned</abbr>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
NO
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">

</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
NULL
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
 
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:left;">
 
</td>
</tr>
<tr style="background-color:#3b3b3b;">
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
<a href="#item_reward" rel="internal" style="color:rgb(180,255,255);">item_reward</a>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
mediumint(8) <abbr style="border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;" title="This field is unsigned, so it never accepts negative values">unsigned</abbr>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
NO
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">

</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
NULL
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
 
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:left;">
 
</td>
</tr>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
<a href="#item_amount" rel="internal" style="color:rgb(180,255,255);">item_amount</a>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
mediumint(4) <abbr style="border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;" title="This field is unsigned, so it never accepts negative values">unsigned</abbr>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
NO
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">

</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
NULL
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
 
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:left;">
 
</td>
</tr>
<tr style="background-color:#3b3b3b;">
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
<a href="#dungeon_type" rel="internal" style="color:rgb(180,255,255);">dungeon_type</a>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
smallint(4) <abbr style="border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;" title="This field is unsigned, so it never accepts negative values">unsigned</abbr>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
NO
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">

</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
'0'
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
 
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:left;">
 
</td>
</tr>
</tbody>
</table>
<p style="font-size:20px;color:rgb(255,255,180);">
<strong>Description of the fields</strong>
</p>
<p>
<a id="id" rel="internal" style="color:rgb(255,255,255);">
<span style="font-size:20px;">
id
</span></a>
 int(10) <abbr style="border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;" title="This field is unsigned, so it never accepts negative values">unsigned</abbr>
</p>

<p>
<a id="min_level" rel="internal" style="color:rgb(255,255,255);">
<span style="font-size:20px;">
min_level
</span></a>
 smallint(3) <abbr style="border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;" title="This field is unsigned, so it never accepts negative values">unsigned</abbr>
</p>

<p>Notes: dbc value
</p>


<p>
<a id="max_level" rel="internal" style="color:rgb(255,255,255);">
<span style="font-size:20px;">
max_level
</span></a>
 smallint(3) <abbr style="border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;" title="This field is unsigned, so it never accepts negative values">unsigned</abbr>
</p>

<p>Notes: dbc value
</p>


<p>
<a id="item_reward" rel="internal" style="color:rgb(255,255,255);">
<span style="font-size:20px;">
item_reward
</span></a>
 mediumint(8) <abbr style="border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;" title="This field is unsigned, so it never accepts negative values">unsigned</abbr>
</p>

<p>
<a id="item_amount" rel="internal" style="color:rgb(255,255,255);">
<span style="font-size:20px;">
item_amount
</span></a>
 mediumint(4) <abbr style="border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;" title="This field is unsigned, so it never accepts negative values">unsigned</abbr>
</p>

<p>
<a id="dungeon_type" rel="internal" style="color:rgb(255,255,255);">
<span style="font-size:20px;">
dungeon_type
</span></a>
 smallint(4) <abbr style="border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;" title="This field is unsigned, so it never accepts negative values">unsigned</abbr>
</p>


<br>
<p>
auto-generated by the <a href="https://getmangos.eu">getMaNGOS.eu</a> MAGNET dbdocs module
</p>
]]></description><guid isPermaLink="false">5053</guid><pubDate>Mon, 25 Jul 2016 08:57:39 +0000</pubDate></item><item><title>dungeonfinder_requirements</title><link>https://www.getmangos.eu/wiki/referenceinfo/dbinfo/mangosdb/mangostwoworlddb/dungeonfinder_requirements-r5054/</link><description><![CDATA[<table bgcolor="#a80000" border="2" cellpadding="0" cellspacing="0" width="100%">
<tbody>
<tr>
<td height="20">
<font color="#ffe97f" size="3"> <strong>NOTE:</strong>  This page is auto-generated from the MAGNET DBDocs module,<br>             Any changes made directly to this page will be lost when it is regenerated.</font>
</td>
</tr>
</tbody>
</table>
<h2 style="font-size:24px;color:rgb(180,255,255);">
Description of the  'dungeonfinder_requirements' table for MaNGOSTwo
</h2>
<p>'Dungeon Finder Requirements'</p>


<p style="font-size:18px;color:rgb(255,255,180);">
<strong>Table Notes</strong>
</p>
<p>This table uses the 'MyISAM' DB Engine</p>


<p style="font-size:18px;color:rgb(255,255,180);">
<strong>The Field definitions follow:</strong>
</p>
<table align="center" border="1" cellpadding="1" cellspacing="1" style="width:100%;background-color:#2b2b2b;color:#c0c0c0;">
<thead><tr>
<th scope="col" style="border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:center;">
<b>Field Name</b>
</th>
<th scope="col" style="border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:center;">
<b>Field Type</b>
</th>
<th scope="col" style="border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:center;">
<b>Nullable</b>
</th>
<th scope="col" style="border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:center;">
<b>Key</b>
</th>
<th scope="col" style="border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:center;">
<b>Default Value</b>
</th>
<th scope="col" style="border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:center;">
<b>Attributes</b>
</th>
<th scope="col" style="border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:left;">
<b>Notes</b>
</th>
</tr>
</thead>
<tbody>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
<a href="#mapId" rel="internal" style="color:rgb(180,255,255);">mapId</a>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
mediumint(8) <abbr style="border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;" title="This field is unsigned, so it never accepts negative values">unsigned</abbr>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
NO
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
<abbr style="border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;" title="Primary Key">PRI</abbr>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
NULL
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
 
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:left;">
 
</td>
</tr>
<tr style="background-color:#3b3b3b;">
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
<a href="#difficulty" rel="internal" style="color:rgb(180,255,255);">difficulty</a>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
tinyint(3) <abbr style="border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;" title="This field is unsigned, so it never accepts negative values">unsigned</abbr>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
NO
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
<abbr style="border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;" title="Primary Key">PRI</abbr>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
'0'
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
 
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:left;">
 
</td>
</tr>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
<a href="#min_item_level" rel="internal" style="color:rgb(180,255,255);">min_item_level</a>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
smallint(5) <abbr style="border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;" title="This field is unsigned, so it never accepts negative values">unsigned</abbr>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
NO
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">

</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
'0'
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
 
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:left;">
 
</td>
</tr>
<tr style="background-color:#3b3b3b;">
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
<a href="#item" rel="internal" style="color:rgb(180,255,255);">item</a>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
mediumint(8) <abbr style="border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;" title="This field is unsigned, so it never accepts negative values">unsigned</abbr>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
NO
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">

</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
'0'
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
 
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:left;">
 
</td>
</tr>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
<a href="#item_2" rel="internal" style="color:rgb(180,255,255);">item_2</a>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
mediumint(8) <abbr style="border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;" title="This field is unsigned, so it never accepts negative values">unsigned</abbr>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
NO
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">

</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
'0'
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
 
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:left;">
 
</td>
</tr>
<tr style="background-color:#3b3b3b;">
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
<a href="#alliance_quest" rel="internal" style="color:rgb(180,255,255);">alliance_quest</a>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
mediumint(8) <abbr style="border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;" title="This field is unsigned, so it never accepts negative values">unsigned</abbr>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
NO
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">

</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
'0'
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
 
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:left;">
 
</td>
</tr>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
<a href="#horde_quest" rel="internal" style="color:rgb(180,255,255);">horde_quest</a>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
mediumint(8) <abbr style="border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;" title="This field is unsigned, so it never accepts negative values">unsigned</abbr>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
NO
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">

</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
'0'
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
 
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:left;">
 
</td>
</tr>
<tr style="background-color:#3b3b3b;">
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
<a href="#achievement" rel="internal" style="color:rgb(180,255,255);">achievement</a>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
mediumint(8) <abbr style="border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;" title="This field is unsigned, so it never accepts negative values">unsigned</abbr>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
NO
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">

</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
'0'
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
 
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:left;">
 
</td>
</tr>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
<a href="#quest_incomplete_text" rel="internal" style="color:rgb(180,255,255);">quest_incomplete_text</a>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
text
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
YES
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">

</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
NULL
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
 
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:left;">
 
</td>
</tr>
<tr style="background-color:#3b3b3b;">
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
<a href="#comment" rel="internal" style="color:rgb(180,255,255);">comment</a>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
text
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
YES
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">

</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
NULL
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
 
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:left;">
 
</td>
</tr>
</tbody>
</table>
<p style="font-size:20px;color:rgb(255,255,180);">
<strong>Description of the fields</strong>
</p>
<p>
<a id="mapId" rel="internal" style="color:rgb(255,255,255);">
<span style="font-size:20px;">
mapId
</span></a>
 mediumint(8) <abbr style="border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;" title="This field is unsigned, so it never accepts negative values">unsigned</abbr>
</p>

<p>
<a id="difficulty" rel="internal" style="color:rgb(255,255,255);">
<span style="font-size:20px;">
difficulty
</span></a>
 tinyint(3) <abbr style="border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;" title="This field is unsigned, so it never accepts negative values">unsigned</abbr>
</p>

<p>
<a id="min_item_level" rel="internal" style="color:rgb(255,255,255);">
<span style="font-size:20px;">
min_item_level
</span></a>
 smallint(5) <abbr style="border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;" title="This field is unsigned, so it never accepts negative values">unsigned</abbr>
</p>

<p>
<a id="item" rel="internal" style="color:rgb(255,255,255);">
<span style="font-size:20px;">
item
</span></a>
 mediumint(8) <abbr style="border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;" title="This field is unsigned, so it never accepts negative values">unsigned</abbr>
</p>

<p>
<a id="item_2" rel="internal" style="color:rgb(255,255,255);">
<span style="font-size:20px;">
item_2
</span></a>
 mediumint(8) <abbr style="border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;" title="This field is unsigned, so it never accepts negative values">unsigned</abbr>
</p>

<p>
<a id="alliance_quest" rel="internal" style="color:rgb(255,255,255);">
<span style="font-size:20px;">
alliance_quest
</span></a>
 mediumint(8) <abbr style="border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;" title="This field is unsigned, so it never accepts negative values">unsigned</abbr>
</p>

<p>
<a id="horde_quest" rel="internal" style="color:rgb(255,255,255);">
<span style="font-size:20px;">
horde_quest
</span></a>
 mediumint(8) <abbr style="border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;" title="This field is unsigned, so it never accepts negative values">unsigned</abbr>
</p>

<p>
<a id="achievement" rel="internal" style="color:rgb(255,255,255);">
<span style="font-size:20px;">
achievement
</span></a>
 mediumint(8) <abbr style="border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;" title="This field is unsigned, so it never accepts negative values">unsigned</abbr>
</p>

<p>
<a id="quest_incomplete_text" rel="internal" style="color:rgb(255,255,255);">
<span style="font-size:20px;">
quest_incomplete_text
</span></a>
 text
</p>

<p>
<a id="comment" rel="internal" style="color:rgb(255,255,255);">
<span style="font-size:20px;">
comment
</span></a>
 text
</p>


<br>
<p>
auto-generated by the <a href="https://getmangos.eu">getMaNGOS.eu</a> MAGNET dbdocs module
</p>
]]></description><guid isPermaLink="false">5054</guid><pubDate>Mon, 25 Jul 2016 08:57:40 +0000</pubDate></item><item><title>dungeonfinder_rewards</title><link>https://www.getmangos.eu/wiki/referenceinfo/dbinfo/mangosdb/mangostwoworlddb/dungeonfinder_rewards-r5055/</link><description><![CDATA[<table bgcolor="#a80000" border="2" cellpadding="0" cellspacing="0" width="100%">
<tbody>
<tr>
<td height="20">
<font color="#ffe97f" size="3"> <strong>NOTE:</strong>  This page is auto-generated from the MAGNET DBDocs module,<br>             Any changes made directly to this page will be lost when it is regenerated.</font>
</td>
</tr>
</tbody>
</table>
<h2 style="font-size:24px;color:rgb(180,255,255);">
Description of the  'dungeonfinder_rewards' table for MaNGOSTwo
</h2>

<p style="font-size:18px;color:rgb(255,255,180);">
<strong>Table Notes</strong>
</p>
<p>This table uses the 'MyISAM' DB Engine</p>


<p style="font-size:18px;color:rgb(255,255,180);">
<strong>The Field definitions follow:</strong>
</p>
<table align="center" border="1" cellpadding="1" cellspacing="1" style="width:100%;background-color:#2b2b2b;color:#c0c0c0;">
<thead><tr>
<th scope="col" style="border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:center;">
<b>Field Name</b>
</th>
<th scope="col" style="border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:center;">
<b>Field Type</b>
</th>
<th scope="col" style="border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:center;">
<b>Nullable</b>
</th>
<th scope="col" style="border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:center;">
<b>Key</b>
</th>
<th scope="col" style="border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:center;">
<b>Default Value</b>
</th>
<th scope="col" style="border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:center;">
<b>Attributes</b>
</th>
<th scope="col" style="border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:left;">
<b>Notes</b>
</th>
</tr>
</thead>
<tbody>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
<a href="#id" rel="internal" style="color:rgb(180,255,255);">id</a>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
int(10)
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
NO
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
<abbr style="border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;" title="Primary Key">PRI</abbr>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
NULL
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
'auto_increment'
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:left;">
 
</td>
</tr>
<tr style="background-color:#3b3b3b;">
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
<a href="#level" rel="internal" style="color:rgb(180,255,255);">level</a>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
mediumint(8) <abbr style="border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;" title="This field is unsigned, so it never accepts negative values">unsigned</abbr>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
NO
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">

</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
NULL
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
 
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:left;">
 
</td>
</tr>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
<a href="#base_xp_reward" rel="internal" style="color:rgb(180,255,255);">base_xp_reward</a>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
mediumint(8) <abbr style="border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;" title="This field is unsigned, so it never accepts negative values">unsigned</abbr>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
NO
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">

</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
NULL
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
 
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:left;">
 
</td>
</tr>
<tr style="background-color:#3b3b3b;">
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
<a href="#base_monetary_reward" rel="internal" style="color:rgb(180,255,255);">base_monetary_reward</a>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
int(10)
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
NO
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">

</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
NULL
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
 
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:left;">
 
</td>
</tr>
</tbody>
</table>
<p style="font-size:20px;color:rgb(255,255,180);">
<strong>Description of the fields</strong>
</p>
<p>
<a id="id" rel="internal" style="color:rgb(255,255,255);">
<span style="font-size:20px;">
id
</span></a>
 int(10)
</p>

<p>
<a id="level" rel="internal" style="color:rgb(255,255,255);">
<span style="font-size:20px;">
level
</span></a>
 mediumint(8) <abbr style="border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;" title="This field is unsigned, so it never accepts negative values">unsigned</abbr>
</p>

<p>Notes: uint32
</p>


<p>
<a id="base_xp_reward" rel="internal" style="color:rgb(255,255,255);">
<span style="font-size:20px;">
base_xp_reward
</span></a>
 mediumint(8) <abbr style="border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;" title="This field is unsigned, so it never accepts negative values">unsigned</abbr>
</p>

<p>Notes: uint32
</p>


<p>
<a id="base_monetary_reward" rel="internal" style="color:rgb(255,255,255);">
<span style="font-size:20px;">
base_monetary_reward
</span></a>
 int(10)
</p>

<p>Notes: int32
</p>



<br>
<p>
auto-generated by the <a href="https://getmangos.eu">getMaNGOS.eu</a> MAGNET dbdocs module
</p>
]]></description><guid isPermaLink="false">5055</guid><pubDate>Mon, 25 Jul 2016 08:57:40 +0000</pubDate></item><item><title>exploration_basexp</title><link>https://www.getmangos.eu/wiki/referenceinfo/dbinfo/mangosdb/mangostwoworlddb/exploration_basexp-r5056/</link><description><![CDATA[<table bgcolor="#a80000" border="2" cellpadding="0" cellspacing="0" width="100%">
<tbody>
<tr>
<td height="20">
<font color="#ffe97f" size="3"> <strong>NOTE:</strong>  This page is auto-generated from the MAGNET DBDocs module,<br>             Any changes made directly to this page will be lost when it is regenerated.</font>
</td>
</tr>
</tbody>
</table>
<h2 style="font-size:24px;color:rgb(180,255,255);">
Description of the  'exploration_basexp' table for MaNGOSTwo
</h2>

<p>This table controls the XP gained by characters when they explore new zones.<br>Many areas have an "area level" defined in AreaTable.dbc. It is the suggested level of the character exploring the area. This table defines exploration XP reward and in conjunction with a core mechanic limits the reward for the characters of substantial different level. The basic formula for the XP reward is:<br>basexp[area_level] * Rate.XP.Explore<br>where the last parameter is defined in the config file. If the area level exceeds the player level by 5 or more, the formula turns into:<br>basexp[player_level+5] * Rate.XP.Explore</p>

<p style="font-size:18px;color:rgb(255,255,180);">
<strong>Table Notes</strong>
</p>
<p>This table uses the 'InnoDB' DB Engine</p>


<p style="font-size:18px;color:rgb(255,255,180);">
<strong>The Field definitions follow:</strong>
</p>
<table align="center" border="1" cellpadding="1" cellspacing="1" style="width:100%;background-color:#2b2b2b;color:#c0c0c0;">
<thead><tr>
<th scope="col" style="border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:center;">
<b>Field Name</b>
</th>
<th scope="col" style="border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:center;">
<b>Field Type</b>
</th>
<th scope="col" style="border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:center;">
<b>Nullable</b>
</th>
<th scope="col" style="border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:center;">
<b>Key</b>
</th>
<th scope="col" style="border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:center;">
<b>Default Value</b>
</th>
<th scope="col" style="border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:center;">
<b>Attributes</b>
</th>
<th scope="col" style="border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:left;">
<b>Notes</b>
</th>
</tr>
</thead>
<tbody>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
<a href="#level" rel="internal" style="color:rgb(180,255,255);">level</a>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
tinyint(4)
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
NO
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
<abbr style="border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;" title="Primary Key">PRI</abbr>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
'0'
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
 
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:left;">
Area level [<b>See <a href="https://www.getmangos.eu/wiki/" rel="">AreaTable.dbc</a></b>].
</td>
</tr>
<tr style="background-color:#3b3b3b;">
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
<a href="#basexp" rel="internal" style="color:rgb(180,255,255);">basexp</a>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
mediumint(9)
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
NO
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">

</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
'0'
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
 
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:left;">
Base XP reward.
</td>
</tr>
</tbody>
</table>
<p style="font-size:20px;color:rgb(255,255,180);">
<strong>Description of the fields</strong>
</p>
<p>
<a id="level" rel="internal" style="color:rgb(255,255,255);">
<span style="font-size:20px;">
level
</span></a>
 tinyint(4)
</p>
<p>
Area level [<b>See <a href="https://www.getmangos.eu/wiki/" rel="">ExplorationLevel in AreaTable.dbc</a></b>].
</p>


<p>
<a id="basexp" rel="internal" style="color:rgb(255,255,255);">
<span style="font-size:20px;">
basexp
</span></a>
 mediumint(9)
</p>
<p>
Base XP reward for exploring the area.
</p>



<br>
<p>
auto-generated by the <a href="https://getmangos.eu">getMaNGOS.eu</a> MAGNET dbdocs module
</p>
]]></description><guid isPermaLink="false">5056</guid><pubDate>Mon, 25 Jul 2016 08:57:40 +0000</pubDate></item><item><title>fishing_loot_template</title><link>https://www.getmangos.eu/wiki/referenceinfo/dbinfo/mangosdb/mangostwoworlddb/fishing_loot_template-r5057/</link><description><![CDATA[<table bgcolor="#a80000" border="2" cellpadding="0" cellspacing="0" width="100%">
<tbody>
<tr>
<td height="20">
<font color="#ffe97f" size="3"> <strong>NOTE:</strong>  This page is auto-generated from the MAGNET DBDocs module,<br>             Any changes made directly to this page will be lost when it is regenerated.</font>
</td>
</tr>
</tbody>
</table>
<h2 style="font-size:24px;color:rgb(180,255,255);">
Description of the  'fishing_loot_template' table for MaNGOSTwo
</h2>

<p>This table format is used to generate different loot items. Loot templates define only items in the loot.
See comments about money drop in corpse, pickpocketing and luggage loot in creature_template and item_template.</p>

<p style="font-size:18px;color:rgb(255,255,180);">
<strong>Table Notes</strong>
</p>
<p>This table uses the 'InnoDB' DB Engine</p>


<p style="font-size:18px;color:rgb(255,255,180);">
<strong>The Field definitions follow:</strong>
</p>
<table align="center" border="1" cellpadding="1" cellspacing="1" style="width:100%;background-color:#2b2b2b;color:#c0c0c0;">
<thead><tr>
<th scope="col" style="border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:center;">
<b>Field Name</b>
</th>
<th scope="col" style="border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:center;">
<b>Field Type</b>
</th>
<th scope="col" style="border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:center;">
<b>Nullable</b>
</th>
<th scope="col" style="border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:center;">
<b>Key</b>
</th>
<th scope="col" style="border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:center;">
<b>Default Value</b>
</th>
<th scope="col" style="border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:center;">
<b>Attributes</b>
</th>
<th scope="col" style="border:1px solid #999999;padding:3px 10px;background-color:#5b5b5b;text-align:left;">
<b>Notes</b>
</th>
</tr>
</thead>
<tbody>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
<a href="#entry" rel="internal" style="color:rgb(180,255,255);">entry</a>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
mediumint(8) <abbr style="border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;" title="This field is unsigned, so it never accepts negative values">unsigned</abbr>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
NO
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
<abbr style="border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;" title="Primary Key">PRI</abbr>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
'0'
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
 
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:left;">
The ID of the loot definition (loot template).
</td>
</tr>
<tr style="background-color:#3b3b3b;">
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
<a href="#item" rel="internal" style="color:rgb(180,255,255);">item</a>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
mediumint(8) <abbr style="border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;" title="This field is unsigned, so it never accepts negative values">unsigned</abbr>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
NO
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
<abbr style="border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;" title="Primary Key">PRI</abbr>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
'0'
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
 
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:left;">
Template ID of the item which can be included into the loot.
</td>
</tr>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
<a href="#ChanceOrQuestChance" rel="internal" style="color:rgb(180,255,255);">ChanceOrQuestChance</a>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
float
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
NO
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">

</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
'100'
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
 
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:left;">
Meaning of that field is a bit different depending on its sign.
</td>
</tr>
<tr style="background-color:#3b3b3b;">
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
<a href="#groupid" rel="internal" style="color:rgb(180,255,255);">groupid</a>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
tinyint(3) <abbr style="border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;" title="This field is unsigned, so it never accepts negative values">unsigned</abbr>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
NO
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">

</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
'0'
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
 
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:left;">
A group is a set of loot definitions.
</td>
</tr>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
<a href="#mincountOrRef" rel="internal" style="color:rgb(180,255,255);">mincountOrRef</a>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
mediumint(9)
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
NO
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">

</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
'1'
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
 
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:left;">
The total number of copies of an item or may reference another loot template
</td>
</tr>
<tr style="background-color:#3b3b3b;">
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
<a href="#maxcount" rel="internal" style="color:rgb(180,255,255);">maxcount</a>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
tinyint(3) <abbr style="border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;" title="This field is unsigned, so it never accepts negative values">unsigned</abbr>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
NO
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">

</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
'1'
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
 
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:left;">
For non-reference entries - the maximum number of copies of the item.
</td>
</tr>
<tr>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
<a href="#condition_id" rel="internal" style="color:rgb(180,255,255);">condition_id</a>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
mediumint(8) <abbr style="border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;" title="This field is unsigned, so it never accepts negative values">unsigned</abbr>
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
NO
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">

</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
'0'
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:center;">
 
</td>
<td style="border:1px solid #999999;padding:3px 10px;text-align:left;">
Value that represents a loot condition that must be filled.
</td>
</tr>
</tbody>
</table>
<p style="font-size:20px;color:rgb(255,255,180);">
<strong>Description of the fields</strong>
</p>
<p>
<a id="entry" rel="internal" style="color:rgb(255,255,255);">
<span style="font-size:20px;">
entry
</span></a>
 mediumint(8) <abbr style="border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;" title="This field is unsigned, so it never accepts negative values">unsigned</abbr>
</p>
<p>
The ID of the loot definition (loot template). The rows with the same ID defines a single loot. (entry 0 used for junk loot at fishing fail (if allowed by config option)).<br><br>It is often the same ID as the loot source (item, creature, etc) but when the link is made not on entry field of the Related table then ID can be different. For example, when several loot sources should provide the same loot, single loot definition can be used. In this case the loot sources have the same value in the link field. <br><br>It is possible also to set up artificial loot templates which are not used directly at all as they have ID which are not referenced from the related source. Such "support templates" can be referenced from "normal" loot templates. <br><br>When a common or artificial loot template is used a problem arises: what ID to use for that template? Depending on the loot table, different rules can be agreed on to simplify maintenance for the table. Moreover, such rules would be very handy but it seems at the moment there are very few rules explicitly defined. <br><br>Agreements on entry field values are described there. 
</p>


<p>
<a id="item" rel="internal" style="color:rgb(255,255,255);">
<span style="font-size:20px;">
item
</span></a>
 mediumint(8) <abbr style="border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;" title="This field is unsigned, so it never accepts negative values">unsigned</abbr>
</p>
<p>
Template ID of the item which can be included into the loot. 

NOTE: For reference entries this field has no meaning and not used by the core in any way. Yet because of the PRIMARY KEY on the entry + item combination, this field will nonetheless need to be a unique number for each reference entry so that no indexing conflicts arise. 
</p>


<p>
<a id="ChanceOrQuestChance" rel="internal" style="color:rgb(255,255,255);">
<span style="font-size:20px;">
ChanceOrQuestChance
</span></a>
 float
</p>
<p>
Meaning of that field is a bit different depending on its sign and the sign of mincountOrRef: 

Plain entry
ChanceOrQuestChance &gt; 0, mincountOrRef &gt; 0 

Absolute value of ChanceOrQuestChance (actuallu just the value as it's positive in this case) signifies the percent chance that the item has to drop. Any floating point number is allowed but indeed any value larger that 100 will make the same result as 100. 

Quest drop
ChanceOrQuestChance  0 

Just as for plain entries absolute value of ChanceOrQuestChance signifies the percent chance that the item has to drop. But in addition negative ChanceOrQuestChance informs the core that the item should be shown only to characters having appropriate quest. This means that even if item is dropped, in order to see it in the loot the player must have at least one quest that has the item ID in its ReqItemIdN fields or in its ReqSourceIdN fields. The player must also have less copies of the item than ReqItemCountN or ReqSourceCountN. 

Chanced references
mincountOrRef 


</p><p>
<a id="groupid" rel="internal" style="color:rgb(255,255,255);">
<span style="font-size:20px;">
groupid
</span></a>
 tinyint(3) <abbr style="border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;" title="This field is unsigned, so it never accepts negative values">unsigned</abbr>
</p>
<p>
A group is a set of loot definitions processed in such a way that at any given looting event the loot generated can receive only 1 (or none) item from the items declared in the loot definitions of the group. Groups are formed by loot definitions having the same values of entry and groupid fields. 

A group may consists of explicitly-chanced (having non-zero ChanceOrQuestChance) and equal-chanced (ChanceOrQuestChance = 0) entries. Every equal-chanced entry of a group is considered having such a chance that: 

¦all equal-chanced entries have the same chance 
¦group chance (sum of chances of all entries) is 100% 
Of course group may consist of 

¦only explicitly-chanced entries or 
¦only equal-chanced entries or 
¦entries of both type. 
The easies way to understand what are groups is to understand how core processes grouped entries: 

At loading time: 

¦groups are formed - all grouped entries with the same values of groupid and entry fields are gathered into two sets - one for explicitly-chanced entries and one for equal-chanced. Note that order of entries in the sets can not be defined by DB - you should assume that the entries are in an unknown order. But indeed every time core processes a group the entries are in some order, constant during processing. 
During loot generation: 

¦core rolls for explicitly-chanced entries (if any): 
¦a random number R is rolled in range 0 to 100 (floating point value). 
¦chance to drop is checked for every (explicitly-chanced) entry in the group: 
¦if R is less than absolute value of ChanceOrQuestChance of the entry then the entry 'wins': the item is included in the loot. Group processing stops, the rest of group entries are just skipped. 
¦otherwise the entry 'looses': the item misses its chance to get into the loot. R is decreased by the absolute value of ChanceOrQuestChance and next explicitly-chanced entry is checked. 
¦if none of explicitly-chanced entries got its chance then equal-chanced part (if any) is processed: 
¦a random entry is selected from the set of equal-chanced entries and corresponding item is included in the loot. 
¦If nothing selected yet (this never happens if the group has some equal-chanced entries) - no item from the group is included into the loot. 
Let us use term group chance as the sum of ChanceOrQuestChance (absolute) values for the group. Please note that even one equal-chanced entry makes group chance to be 100% (provided that sum of explicit chances does not exceed 100%). 

If you understand the process you can understand the results: 

¦Not more than one item from a group may drop at any given time. 
¦If group chance is at least 100 then one item will be dropped for sure. 
¦If group chance does not exceed 100 then every item defined in group entries has exactly that chance to drop as set in ChanceOrQuestChance. 
¦If group chance is greater than 100 then some entries will lost a part of their chance (or even not be checked at all - that will be the case for all equal-chanced entries) whatever value takes the roll R. So for some items chance to drop will be less than their ChanceOrQuestChance. That is very bad and that is why having group chance &gt; 100 is strictly prohibited. 
¦Processing of equal-chanced part takes much less time then of explicitly-chanced one. So usage of equal-chanced groups is recommended when possible. 
So now basic applications of the groups are clear: 

¦Groups with group chance of 100% generate exactly one item every time. This is needed quite often, for example such behavior is needed to define a loot template for tier item drop from a boss. 
¦Groups with group chance 


</p><p>
<a id="mincountOrRef" rel="internal" style="color:rgb(255,255,255);">
<span style="font-size:20px;">
mincountOrRef
</span></a>
 mediumint(9)
</p>
<p>
Depending on the value of the field it may either define the minimum number of copies for the item to be dropped, or it may reference another loot template.
</p>


<p>
<a id="maxcount" rel="internal" style="color:rgb(255,255,255);">
<span style="font-size:20px;">
maxcount
</span></a>
 tinyint(3) <abbr style="border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;" title="This field is unsigned, so it never accepts negative values">unsigned</abbr>
</p>
<p>
For non-reference entries - the maximum number of copies of the item that can drop in a single loot. 

For references value of maxcount field is used as a repetition factor for references - the reference will be processed not just once but exactly maxcount times. This is designed to serve a single purpose: to make definition of tier token drops a bit simplier (tokens of a tier are defined as a 100%-chance group of an artificial template and bosses' loot templates include 100%-chanced reference to that group with repetition factor of 2 or 3 depending on the case). Using non-1 repetition factor for other things (references to a group with group chance less than 100% or chanced references with chance less than 100%) must be agreed with UDB devs first (and described here). 

Note: core rolls chance for any loot definition entry just one time - so if a references looses its chance it is skipped for the current loot completely whatever is maxcount value. 

</p>


<p>
<a id="condition_id" rel="internal" style="color:rgb(255,255,255);">
<span style="font-size:20px;">
condition_id
</span></a>
 mediumint(8) <abbr style="border-bottom-width:1px;border-bottom-style:dotted;border-bottom-color:rgb(153,153,153);margin-bottom:0px;" title="This field is unsigned, so it never accepts negative values">unsigned</abbr>
</p>
<p>
Value that represents a loot condition that must be filled in order for the item to drop. This field combined with condition_value1-2 fields can provide conditions on when an item can be dropped. 

Value  Condition  Comments  
0  CONDITION_NONE  Regular drop  
1  CONDITION_AURA  Player looting must have an aura active  
2  CONDITION_ITEM  Player must have a number of items in his/her inventory  
3  CONDITION_ITEM_EQUIPPED  Player must have an item equipped  
4  CONDITION_ZONEID  Player must be in a certain zone  
5  CONDITION_REPUTATION_RANK  Player must have a certain reputation rank with a certain faction  
6  CONDITION_TEAM  Player must be part of the specified team (Alliance or Horde)  
7  CONDITION_SKILL  Player must have a certain skill value  
8  CONDITION_QUESTREWARDED  Player must have completed a quest first  
9  CONDITION_QUESTTAKEN  Players must have the quest in the quest log and not completed yet  
10  CONDITION_AD_COMMISSION_AURA   
11  CONDITION_NO_AURA  Player looting must have no aura active mentioned in condition_value1  
12  CONDITION_ACTIVE_EVENT  The loot with that condition can be looted only while the Event (condition_value1) is active  

NOTE: For reference entries this field has no meaning, not used by the core in any way and should have the default value of 0. 


</p>



<br>
<p>
auto-generated by the <a href="https://getmangos.eu">getMaNGOS.eu</a> MAGNET dbdocs module
</p>
]]></description><guid isPermaLink="false">5057</guid><pubDate>Mon, 25 Jul 2016 08:57:41 +0000</pubDate></item></channel></rss>
