mirror of
https://github.com/mangosfour/server.git
synced 2025-12-19 04:37:06 +00:00
[7808] Move corpse search code in function with template arg for class-check.
This let reuse code for other similar near corpse target selection spells. Also provided currently not used class-checks for 2 spells Signed-off-by: VladimirMangos <vladimir@getmangos.com>
This commit is contained in:
parent
1feff6365f
commit
09046df744
6 changed files with 86 additions and 33 deletions
|
|
@ -1766,6 +1766,7 @@ enum CreatureType
|
|||
};
|
||||
|
||||
uint32 const CREATURE_TYPEMASK_HUMANOID_OR_UNDEAD = (1 << (CREATURE_TYPE_HUMANOID-1)) | (1 << (CREATURE_TYPE_UNDEAD-1));
|
||||
uint32 const CREATURE_TYPEMASK_MECHANICAL_OR_ELEMENTAL = (1 << (CREATURE_TYPE_MECHANICAL-1)) | (1 << (CREATURE_TYPE_ELEMENTAL-1));
|
||||
|
||||
// CreatureFamily.dbc
|
||||
enum CreatureFamily
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue