*Change the value of CREATURE_FLAG_EXTRA_NO_TAUNT.

*There is no creatures with this flag in core. So if you have custom content, you can use this:
update creature_template set flags_extra = (flags_extra | 0x00000100) where flags_extra & 0x00010000;
update creature_template set flags_extra = (flags_extra & ~0x00010000) where flags_extra & 0x00010000;

--HG--
branch : trunk
This commit is contained in:
megamage
2009-05-24 11:29:38 -05:00
parent 6da36b90cc
commit c14fb42915
2 changed files with 6 additions and 1 deletions

View File

@@ -550,6 +550,11 @@ INSERT INTO spell_target_position () VALUES (46019, 580, 1704.34, 928.17, -74.55
INSERT INTO spell_target_position () VALUES (46020, 580, 1704.34, 928.17, 53.079, 0);
INSERT INTO spell_target_position () VALUES (53360, 571, 5807.829, 587.960, 660.939, 1.663);
-- --------
-- MISC
-- --------
UPDATE `creature_template` SET `flags_extra` = 33 WHERE `entry` = 23576; /*no crush*/
-- --------
-- REQUIRED
-- --------

View File

@@ -146,9 +146,9 @@ enum CreatureFlagsExtra
CREATURE_FLAG_EXTRA_NO_CRUSH = 0x00000020, // creature can't do crush attacks
CREATURE_FLAG_EXTRA_NO_XP_AT_KILL = 0x00000040, // creature kill not provide XP
CREATURE_FLAG_EXTRA_TRIGGER = 0x00000080, // trigger creature
CREATURE_FLAG_EXTRA_NO_TAUNT = 0x00000100, // creature is immune to taunt auras and effect attack me
CREATURE_FLAG_EXTRA_WORLDEVENT = 0x00004000, // custom flag for world event creatures (left room for merging)
//CREATURE_FLAG_EXTRA_CHARM_AI = 0x00008000, // use ai when charmed
CREATURE_FLAG_EXTRA_NO_TAUNT = 0x00010000, // cannot be taunted
CREATURE_FLAG_EXTRA_NO_CRIT = 0x00020000, // creature can't do critical strikes
};