mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-02-01 18:13:48 +00:00
fix(Core/Unit): fix Dual Wield for more creatures, CREATURE_FLAG_EXTRA_USE_OFFHAND_ATTACK, creature disarm damage (#20015)
* enable CREATURE_FLAG_EXTRA_USE_OFFHAND_ATTACK * sql set CREATURE_FLAG_EXTRA_USE_OFFHAND * use new HasOffHandWeaponForAttack instead of haveOffhandWeapon no longer requires m_CanDualwield set to use Offhand attack requires non-disarmed weapon in Offhand OR creature_flag_extra enabled Co-authored-by: Ovah <dreadkiller@gmx.de> Co-authored-by: Warlockbugs <warlockbugs@outlook.com> * Make shapeshift forms which dont override attack speed use weapon damage Co-authored-by: killerwife <killerwife@gmail.com> * SetEquipmentSlots turning off damage update when using template default Co-authored-by: killerwife <killerwife@gmail.com> * Setup DualWield & Damage On Equipment Updates, implement Set and GetVirtualItem Co-authored-by: Yatzii <47720837+Yatzii93@users.noreply.github.com> * creature disarm damage set disarm to reduce minmax damage by 50% instead of setting to 0 Co-authored-by: Warlockbugs <warlockbugs@outlook.com> --------- Co-authored-by: Ovah <dreadkiller@gmx.de> Co-authored-by: Warlockbugs <warlockbugs@outlook.com> Co-authored-by: killerwife <killerwife@gmail.com> Co-authored-by: Yatzii <47720837+Yatzii93@users.noreply.github.com>
This commit is contained in:
@@ -0,0 +1,53 @@
|
||||
--
|
||||
UPDATE `creature_template` SET `flags_extra` = `flags_extra` | 2048 WHERE `entry` IN (
|
||||
3672, -- Boahn
|
||||
4403, -- Muckshell Pincer
|
||||
4540, -- Scarlet Monk
|
||||
7033, -- Firegut Ogre
|
||||
8218, -- Witherheart the Stalker
|
||||
10478, -- Splintered Skeleton
|
||||
10488, -- Risen Construct
|
||||
11022, -- Alexi Barov
|
||||
12100, -- Lava Reaver
|
||||
12262, -- Ziggurat Protector
|
||||
12263, -- Slaughterhouse Protector
|
||||
14688, -- Prince Sandoval
|
||||
14882, -- Atal'ai Mistress
|
||||
16299, -- Skeletal Shocktrooper
|
||||
16422, -- Skeletal Soldier
|
||||
16593, -- Shattered Hand Brawler
|
||||
16808, -- Warchief Kargath Bladefist
|
||||
16936, -- Dreghood Wanderer
|
||||
18120, -- Ango'rosh Mauler
|
||||
18211, -- Murkblood Brute
|
||||
18541, -- Urdak
|
||||
18860, -- Daughter of Destiny
|
||||
19191, -- Arazzius the Cruel
|
||||
20456, -- Ethereum Researcher
|
||||
20582, -- Shattered Hand Brawler (1)
|
||||
20597, -- Warchief Kargath Bladefist (1)
|
||||
20683, -- Prophetess Cavrylin
|
||||
20783, -- Porfus the Gem Gorger
|
||||
20784, -- Armbreaker Huffaz
|
||||
20785, -- Fel Tinkerer Zortan
|
||||
20786, -- Gul'bor
|
||||
20790, -- Malevus the Mad
|
||||
20929, -- Wrath Lord
|
||||
20984, -- Protectorate Defender
|
||||
21639, -- Illidari Slayer
|
||||
21717, -- Dragonmaw Wrangler
|
||||
21805, -- Protectorate Avenger
|
||||
21877, -- Karsius the Ancient Watcher
|
||||
22004, -- Leoroxx
|
||||
22076, -- Torloth the Magnificent
|
||||
22082, -- Shadowmoon Slayer
|
||||
22199, -- Slaag
|
||||
22377, -- Akuno
|
||||
22825, -- Matron Li-sahar
|
||||
23008, -- Ethereum Jailor
|
||||
23410, -- Spirit of Udalo
|
||||
23411, -- Spirit of Olum
|
||||
24882, -- Brutallus
|
||||
37132, -- Ymirjar Battle-Maiden
|
||||
38132 -- Ymirjar Battle-Maiden (1)
|
||||
);
|
||||
Reference in New Issue
Block a user