mail_level_reward
On certain levels, the player receives a mail with some text.
Structure
| Field | Type | Attributes | Key | Null | Default | Extra | Comment |
|---|---|---|---|---|---|---|---|
| level | tinyint | unsigned | PRI | NO | 0 | ||
| raceMask | int | unsigned | PRI | NO | 0 | ||
| mailTemplateId | int | unsigned | NO | 0 | |||
| senderEntry | int | unsigned | NO | 0 |
Description of fields
level
Level required for receiving specific mail
raceMask
Players race must match mask to receive mail.
| Value | Flag | Name | Value | Flag | Name | |
|---|---|---|---|---|---|---|
| 1 | 0x0001 | Human | 2 | 0x0002 | Orc | |
| 4 | 0x0004 | Dwarf | 16 | 0x0010 | Undead | |
| 8 | 0x0008 | Night Elf | 32 | 0x0020 | Tauren | |
| 64 | 0x0040 | Gnome | 128 | 0x0080 | Troll | |
| 1024 | 0x0400 | Draenei | 512 | 0x0200 | Blood Elf | |
| 1101 | 0x044D | Alliance | 690 | 0x02B2 | Horde |
mailTemplateId
MailTemplate ID to send.
senderEntry
creature_template.entry used as source of the mail.
