* 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>
* (Instance:Pit of Saron) cleanup some duplicated txt lines and make use broadcast_text for localization support
(Instance:AzjolNerub) added ruRU creature_text localization for Anub'arak intro (because BroadcastTextId unknown)
* Update txt_line_fix.sql
Remove excess line breaks
* Rescued Alliance Slave connect heroic version template
---------
Co-authored-by: Walter Pagani <paganiwalter@gmail.com>
* fix(Core/AllMapScript) Update structure to use CALL_ENABLED_HOOKS
* fatal error: no template named 'vector' in namespace 'std'
* fix build
Co-authored-by: Anton Popovichenko <anton.popovichenko@mendix.com>
---------
Co-authored-by: Anton Popovichenko <anton.popovichenko@mendix.com>
* fix(Core/PlayerQuest): Introduce flag QUEST_SPECIAL_FLAGS_NO_LOREMASTER_COUNT
- this allows flagging quests so that they will not count towards Loremaster achievement
- update Corrupted Flower Quests in Felwood accordingly as a first use case
* load Specialflags as uint32 from DB
* fix(Scripts/BlackTemple): Parasitic Shadowfiends should not target players affected with debuff
* Update boss_illidan.cpp
* Update src/server/scripts/Outland/BlackTemple/boss_illidan.cpp
* make it simple
* fix(Scripts/BlackTemple): fix stationary shadow demons
* optimization: use else if to stop the execution when a condition is reach
* revert last changes and fix the spell to allow move while casting
* .
* fix(Core/Spell): Summoning Portal position
Summoning Portal is created in front of the caster but it is still too
close to them. Move it away a bit.
* Cleanup unused SpellInfo correction
Spell 61994 was stopped being used for summons in favor of 23598 on:
67010623a0
* fix(Core/AI): remove an unused variable
* Move variables at the end of each sections
* reorder several methods
* remove few inline defintions
* few codestyle fixes
* Init.
* Use GetGameTime() instead of system call.
Co-Authored-By: Anton Popovichenko <walkline.ua@gmail.com>
* Update leash timer if rooted.
* Remove unnecessary checks, add extension for fanning.
More parity with VMaNGOS implementation.
---------
Co-authored-by: Anton Popovichenko <walkline.ua@gmail.com>