2 * Copyright (C) 2005-2008 MaNGOS <http://getmangos.com/>
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License as published by
6 * the Free Software Foundation; either version 2 of the License, or
7 * (at your option) any later version.
9 * This program is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 * GNU General Public License for more details.
14 * You should have received a copy of the GNU General Public License
15 * along with this program; if not, write to the Free Software
16 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
31 AREA_FLAG_SNOW
= 0x00000001, // snow (only Dun Morogh, Naxxramas, Razorfen Downs and Winterspring)
32 AREA_FLAG_UNK1
= 0x00000002, // unknown, (only Naxxramas and Razorfen Downs)
33 AREA_FLAG_UNK2
= 0x00000004, // Only used on development map
34 AREA_FLAG_SLAVE_CAPITAL
= 0x00000008, // slave capital city flag?
35 AREA_FLAG_UNK3
= 0x00000010, // unknown
36 AREA_FLAG_SLAVE_CAPITAL2
= 0x00000020, // slave capital city flag?
37 AREA_FLAG_UNK4
= 0x00000040, // many zones have this flag
38 AREA_FLAG_ARENA
= 0x00000080, // arena, both instanced and world arenas
39 AREA_FLAG_CAPITAL
= 0x00000100, // main capital city flag
40 AREA_FLAG_CITY
= 0x00000200, // only for one zone named "City" (where it located?)
41 AREA_FLAG_OUTLAND
= 0x00000400, // outland zones? (only Eye of the Storm not have this flag, but have 0x00004000 flag)
42 AREA_FLAG_SANCTUARY
= 0x00000800, // sanctuary area (PvP disabled)
43 AREA_FLAG_NEED_FLY
= 0x00001000, // only Netherwing Ledge, Socrethar's Seat, Tempest Keep, The Arcatraz, The Botanica, The Mechanar, Sorrow Wing Point, Dragonspine Ridge, Netherwing Mines, Dragonmaw Base Camp, Dragonmaw Skyway
44 AREA_FLAG_UNUSED1
= 0x00002000, // not used now (no area/zones with this flag set in 2.4.2)
45 AREA_FLAG_OUTLAND2
= 0x00004000, // outland zones? (only Circle of Blood Arena not have this flag, but have 0x00000400 flag)
46 AREA_FLAG_PVP
= 0x00008000, // pvp objective area? (Death's Door also has this flag although it's no pvp object area)
47 AREA_FLAG_ARENA_INSTANCE
= 0x00010000, // used by instanced arenas only
48 AREA_FLAG_UNUSED2
= 0x00020000, // not used now (no area/zones with this flag set in 2.4.2)
49 AREA_FLAG_UNK5
= 0x00040000, // just used for Amani Pass, Hatchet Hills
50 AREA_FLAG_LOWLEVEL
= 0x00100000 // used for some starting areas with area_level <=15
53 enum FactionTemplateFlags
55 FACTION_TEMPLATE_FLAG_CONTESTED_GUARD
= 0x00001000, // faction will attack players that were involved in PvP combats
60 FACTION_MASK_PLAYER
= 1, // any player
61 FACTION_MASK_ALLIANCE
= 2, // player or creature from alliance team
62 FACTION_MASK_HORDE
= 4, // player or creature from horde team
63 FACTION_MASK_MONSTER
= 8 // aggressive creature from monster team
64 // if none flags set then non-aggressive creature
78 ABILITY_LEARNED_ON_GET_PROFESSION_SKILL
= 1,
79 ABILITY_LEARNED_ON_GET_RACE_OR_CLASS_SKILL
= 2
82 enum ItemEnchantmentType
84 ITEM_ENCHANTMENT_TYPE_NONE
= 0,
85 ITEM_ENCHANTMENT_TYPE_COMBAT_SPELL
= 1,
86 ITEM_ENCHANTMENT_TYPE_DAMAGE
= 2,
87 ITEM_ENCHANTMENT_TYPE_EQUIP_SPELL
= 3,
88 ITEM_ENCHANTMENT_TYPE_RESISTANCE
= 4,
89 ITEM_ENCHANTMENT_TYPE_STAT
= 5,
90 ITEM_ENCHANTMENT_TYPE_TOTEM
= 6
93 enum TotemCategoryType
95 TOTEM_CATEGORY_TYPE_KNIFE
= 1,
96 TOTEM_CATEGORY_TYPE_TOTEM
= 2,
97 TOTEM_CATEGORY_TYPE_ROD
= 3,
98 TOTEM_CATEGORY_TYPE_PICK
= 21,
99 TOTEM_CATEGORY_TYPE_STONE
= 22,
100 TOTEM_CATEGORY_TYPE_HAMMER
= 23,
101 TOTEM_CATEGORY_TYPE_SPANNER
= 24