diff options
author | megamage <none@none> | 2009-05-24 11:29:38 -0500 |
---|---|---|
committer | megamage <none@none> | 2009-05-24 11:29:38 -0500 |
commit | c14fb429155f4f477bc1881696162fd0832f6503 (patch) | |
tree | b3a013a4a151531c699ed5da65e31ea352c82964 | |
parent | 6da36b90ccf0bc7be9c5ffca97b19cd79228a8a0 (diff) |
*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
-rw-r--r-- | sql/world_spell_full.sql | 5 | ||||
-rw-r--r-- | src/game/Creature.h | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/sql/world_spell_full.sql b/sql/world_spell_full.sql index e3c93d39b79..5486cd72b0c 100644 --- a/sql/world_spell_full.sql +++ b/sql/world_spell_full.sql @@ -551,6 +551,11 @@ INSERT INTO spell_target_position () VALUES (46020, 580, 1704.34, 928.17, 53.079 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 -- -------- DROP TABLE IF EXISTS `spell_required`; diff --git a/src/game/Creature.h b/src/game/Creature.h index aeecc19a3ba..2f583e25be0 100644 --- a/src/game/Creature.h +++ b/src/game/Creature.h @@ -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 }; |