From c14fb429155f4f477bc1881696162fd0832f6503 Mon Sep 17 00:00:00 2001 From: megamage Date: Sun, 24 May 2009 11:29:38 -0500 Subject: [PATCH] *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 --- sql/world_spell_full.sql | 5 +++++ src/game/Creature.h | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) 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 @@ -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 -- -------- 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 };