* fix(Script/BlackTemple): teleport position with fatal attraction
* fix codestyle
* try a new way by keeping a random teleport
* remove the old fixed position
* improve the dest selection
* raycast around the new position for check a valid dest
* fix codestyle
* revert the old changes
* refactor to remove the while loop
* few refactor
* Revert "few refactor"
This reverts commit fb7613d5cc5a19df01bbcf41ef5c982119ee9685.
* .
* add a los check
* new improvement with stairs cases & console errors
* fix disableWarning option
* Update boss_mother_shahraz.cpp
* Update boss_mother_shahraz.cpp
* Update boss_mother_shahraz.cpp
* Update boss_mother_shahraz.cpp
* Update boss_mother_shahraz.cpp
* new BattlegroundDesertionTypes for hook OnBattlegroundDesertion
* chore: minor improvements
---------
Co-authored-by: laasker <79991768+laasker@users.noreply.github.com>
* 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>
* 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): 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>
* feat(Battlegrounds): make it compatible with custom arena type
* fix(BattlegroundQueue.cpp): ignore bg for arena condition
* feat(Scripting): add OnQueueUpdateValidity hook
* fix: codestyle