Matan Shukry
ee839fee1e
Core/SAI: Added new Flags argument for SMART_ACTION_SUMMON_CREATURE ( #26055 )
...
* Added personalSpawn for SMART_ACTION_SUMMON_CREATURE
* Added flags for smart action summon creature, including prefer unit and personal spawn. When preferUnit flag is chosen only the unit will be chosen, even if nullptr
(cherry picked from commit e0278f0537 )
# Conflicts:
# src/server/game/AI/SmartScripts/SmartScript.cpp
# src/server/game/AI/SmartScripts/SmartScriptMgr.h
2021-04-05 17:29:41 +02:00
Shauren
013f8370a0
Core/Misc: Enum flag v3 - allow enabling flag operations directly after enum definition when inside namespaces
...
(cherry picked from commit ec87d048b4 )
# Conflicts:
# src/server/game/AuctionHouse/AuctionHouseMgr.cpp
# src/server/game/AuctionHouse/AuctionHouseMgr.h
# src/server/game/Entities/Object/ObjectGuid.h
# src/server/game/Entities/Object/Updates/UpdateField.h
# src/server/game/Entities/Object/Updates/UpdateFields.cpp
# src/server/game/Entities/Object/Updates/UpdateFields.h
# src/server/game/Entities/Player/CollectionMgr.cpp
# src/server/game/Entities/Player/CollectionMgr.h
# src/server/game/Phasing/PhaseShift.cpp
# src/server/game/Phasing/PhaseShift.h
# src/server/game/Phasing/PhasingHandler.cpp
2021-04-05 16:30:09 +02:00
Shauren
ab97969202
Core/Misc: Improve enum flags with type safe operators
...
(cherry picked from commit 0763844fb6 )
# Conflicts:
# src/server/game/AuctionHouse/AuctionHouseMgr.cpp
# src/server/game/AuctionHouse/AuctionHouseMgr.h
# src/server/game/Entities/Object/ObjectGuid.h
# src/server/game/Entities/Object/Updates/UpdateField.h
# src/server/game/Entities/Object/Updates/UpdateFields.cpp
# src/server/game/Entities/Object/Updates/UpdateFields.h
# src/server/game/Entities/Player/CollectionMgr.cpp
# src/server/game/Entities/Player/CollectionMgr.h
# src/server/game/Entities/Player/Player.cpp
# src/server/game/Entities/Unit/Unit.cpp
# src/server/game/Globals/ObjectMgr.h
# src/server/game/Phasing/PhaseShift.cpp
# src/server/game/Phasing/PhaseShift.h
# src/server/game/Phasing/PhasingHandler.cpp
2021-04-05 16:24:06 +02:00
Mikhail Redko
6a72f9fbfd
Core/Player: Fix output of .additem command with negative count value ( #26290 )
2021-04-04 22:19:29 +02:00
CraftedRO
db69b832b9
Group repair command attempt ( #26304 )
...
* Group repair command attempt
* Update cs_group.cpp
2021-04-04 22:01:46 +02:00
killerwife
00da074109
MapExtraction: Fix water height redundancy algorithm ignoring "no water" ( #26324 )
...
* MapExtraction: Fix water height redundancy algorithm ignoring "no water"
* Update MMAP_VERSION
* Change map version
Co-authored-by: jackpoz <giacomopoz@gmail.com >
2021-04-04 21:52:57 +02:00
Giacomo Pozzoni
42877e75e2
Core/Maps: Change .map file version from FourCC to uint32 ( #26326 )
2021-04-04 21:49:50 +02:00
Keader
c6e2b6e88c
Revert "Core/Spells: Spells with Attribute SPELL_ATTR1_DISPEL_AURAS_ON_IMMUNITY should dispel snare auras. ( #20621 )"
...
This reverts commit b507acf1c0 .
2021-04-03 10:20:16 -03:00
offl
293ae05d31
Scripts/Quest: Rework 'Basic Orders' (25199) ( #26294 )
2021-04-03 00:27:59 +03:00
Gildor
80f30d5ca9
Core/Maps: increase value of fixed offset when retrieving floor Z ( #26321 )
2021-03-26 13:26:21 +01:00
offl
1a624cad36
Scripts/Ahn'kahet: Herald Volazj texts ( #26202 )
...
Co-authored-by: Giacomo Pozzoni <giacomopoz@gmail.com >
2021-03-20 17:00:12 +02:00
Jakub Cieplinski
397d4b5d05
Group level up ( #26139 )
...
* First version of command handler
* Done HandleReviveAllCommand
* Moved command to group subcommonads
* Added group level up
* Removed empty line
* Added additional nullchecks
* Removed newline
* Code styling
* Added group set level command
* Removed whitespace
* Removed group set level command
* Unnecessary comma
* Added check for level lower bound
2021-03-20 12:21:22 +01:00
offl
df8ab338c7
DB/Quest: Rework 'Avruu's Orb' (9418)
2021-03-15 01:09:31 +02:00
offl
c905af818c
DB/Quest: Rework 'A Spirit Guide' (9410)
2021-03-14 03:20:36 +02:00
offl
43fa6698d7
DB/Quest: Rework 'The Road to Falcon Watch' (9375)
...
Closes #26233
2021-03-14 03:17:43 +02:00
offl
62594c62f6
Scripts/Misc: Let core take care of Feign Death related flags
2021-03-12 18:06:10 +02:00
offl
d0b67aecb6
Scripts/Spells: Feign Death & 'prevent emotes flag' spell scripts ( #26198 )
...
Closes #25842 Ref #25764
2021-03-11 20:20:34 +02:00
offl
5a22cd868a
Scripts/The Eye: Update instance script ( #26190 )
2021-03-11 20:19:23 +02:00
offl
10304a8875
Core/Spells: Apply UNIT_FLAG_IMMUNE after applying SPELL_AURA_DAMAGE_IMMUNITY ( #26187 )
2021-03-11 20:16:36 +02:00
offl
d6c8359224
DB/Spells: Sayge's Carnie Buff & Buffeting Winds of Susurrus
...
Ref #24663
2021-03-11 18:26:23 +02:00
Shauren
a34519bded
Core/Units: Renamed unknown unit flag (UNIT_FLAG_UNK_29 -> UNIT_FLAG_PREVENT_EMOTES_FROM_CHAT_TEXT)
2021-03-02 23:11:49 +01:00
Keader
06c1f728ba
Script/Ulduar: Fixed conflict with Random Aggro Periodic spell ( #26184 )
2021-02-28 17:22:29 -03:00
Jakub Cieplinski
97e41645d3
Revive all command ( #26127 )
...
* First version of command handler
* Done HandleReviveAllCommand
* Moved command to group subcommonads
* removed empty row
* nullptr check for player target
2021-02-27 14:04:07 +01:00
Shauren
fd54f19d41
Core/SAI: Reserve master branch SAI action id 143
2021-02-27 11:46:40 +01:00
Kargatum
b0aaccb908
Core/ThreadManager: delete double include "TemporarySummon.h" ( #26163 )
2021-02-25 17:46:54 +01:00
robinsch
60680283db
Core/LFG: Fixed incorrect role check timer unit (was milliseconds instead of seconds) ( #26145 )
2021-02-24 21:20:47 +01:00
jackpoz
7635f3f948
Scripts/Ulduar: Apply renames of #25529
...
Apply renames of #25529 to review that PR easier
2021-02-23 19:36:33 +01:00
offl
cdb7904182
DB/Instance/Gruul's Lair: Overhaul
2021-02-22 17:20:03 +02:00
Gildor
6e1b9d775c
Core/Spells: Warlock Death Coil shouldn't be able to crit ( #26118 )
2021-02-21 22:23:33 +01:00
Giacomo Pozzoni
f96aab2186
Core/Maps: Use a fixed offset instead of full collision height when retrieving floor Z ( #26092 )
...
Use a fixed offset 0.5f instead of full collision height when retrieving floor Z as a full collision height ended up on the floor above a few times. It makes more sense to cast the ray just a bit higher up than using a full collision height (which by default is 2.0f)
2021-02-21 17:29:09 +01:00
Metalaka
69916138bd
Core/Unit: Fix glancing blow calculation ( #26120 )
...
* Fix glancing blow calculation
* Comment readability improvement
Co-authored-by: Trond B. Krokli <38162891+illfated@users.noreply.github.com >
* Update src/server/game/Entities/Unit/Unit.cpp
Co-authored-by: Metalaka <Metalaka@users.noreply.github.com >
* Tabs to spaces
Co-authored-by: Trond B. Krokli <38162891+illfated@users.noreply.github.com >
Co-authored-by: Giacomo Pozzoni <giacomopoz@gmail.com >
2021-02-21 17:28:47 +01:00
jackpoz
8014fa1a2f
Revert "Core/Unit: Improve Glancing Blow calculation ( #26100 )"
...
This reverts commit c3165dce31 .
2021-02-20 15:21:38 +01:00
Metalaka
c3165dce31
Core/Unit: Improve Glancing Blow calculation ( #26100 )
...
* Core/Unit: Improve Glancing Blow calculation
* Fix minimum reduction of Glancing Blow
* Fix comment
* Fix glancing minimum damage reduction
2021-02-19 18:13:10 +01:00
offl
6ad76dd7c0
DB/Instance/The Eye: Overhaul part 2
2021-02-19 00:40:50 +02:00
Gildor
ca253e4124
Scripts/Events: Fix achievement in Love is in the air: "Lonely?" ( #26083 )
...
* Scripts/Events: Fix achievement in Love is in the air: "Lonely?"
* apply @keader feedback ;)
* apply @jackpoz feedback ;)
* @jackpoz feedback
2021-02-18 19:39:03 +01:00
offl
2f9e38612f
DB/Instance/The Eye: Overhaul part 1
2021-02-16 00:16:38 +02:00
Engilas
f6e52f6b3d
Core/SmartAI: AI change on charmed ( #26065 )
...
* Fix AI refresh on charmed
* Remove unnecessary refresh
* Check SMART_EVENT_FLAG_WHILE_CHARMED flag
2021-02-14 14:38:06 +01:00
Shauren
895dbc06dc
Core/SAI: Reserve additional param for SMART_ACTION_SUMMON_CREATURE
2021-02-10 21:19:56 +01:00
Gildor
0675be4bc3
Scripts/UtgardePinnacle: Svala Sorrowgrave Ritual improvements ( #25997 )
...
* Scripts/UtgardePinnacle: Svala Sorrowgrave Ritual improvements
* remove unneded fall
thx @offl
* apply @Ovahlord feedback
* prevent svala fall (visual) when ritual start after wipe
* svala should be disarmed before teleport when ritual start
* apply @Ovahlord feedback
* Use DoCastSelf
* Remove unneded AttackStart when finish ritual
* Use SetDisableGravity properly
2021-02-09 20:23:41 +01:00
Gildor
770a4499df
Core/Spells: Fix Seed of Corruption (Warlock) target selection ( #26019 )
...
* Core/Spells: Fix Seed of Corruption (Warlock) target selection
* unneeded things
2021-02-06 19:17:54 +01:00
jackpoz
b84b925063
Core/Unit: Fix crash when exiting a vehicle
...
Ref #25649
2021-02-06 11:36:56 +01:00
jackpoz
4cc1f85067
Core/Unit: Set stand state on damage only to players
2021-02-06 11:20:32 +01:00
Shauren
88ffc2596d
Core/SAI: Reserve SmartScriptType for master branch
2021-02-05 19:19:13 +01:00
offl
3cb70ee62a
Core/Scripts: Move some speed values & UNIT_FLAG_NOT_SELECTABLE to DB
2021-02-04 15:11:22 +02:00
offl
e5518b53fa
DB/GameObject: Matrix Punchograph
...
Closes #25881
2021-02-01 16:15:44 +02:00
offl
a9c83d5566
DB/Creature: Remove UNIT_FLAG_PACIFIED
...
Ref #25764
2021-01-31 18:39:25 +02:00
Matan Shukry
dd27485a64
Core/Player: remaining XP logging overflow correction ( #25934 )
...
(cherry picked from commit 6dbaba7669 )
# Conflicts:
# src/server/game/Handlers/CharacterHandler.cpp
# src/server/game/Server/WorldSession.cpp
2021-01-31 16:02:39 +01:00
jackpoz
dc21ac342e
Scripts/EoE: Attempt to fix players getting stuck after dying
...
Attempt to fix players getting stuck after dying caused by a hack that calls SetControlled(true, UNIT_STATE_ROOT) by calling the opposite when a dead player leaves the instance, i.e. on releasing.
Close #24458
2021-01-30 20:48:18 +01:00
Giacomo Pozzoni
d5fc86af8b
Core/Creature: Allow to skip Rate.Corpse.Decay.Looted when calling SetCorpseDelay() ( #25989 )
...
Add a second parameter to SetCorpseDelay() that specifies if Rate.Corpse.Decay.Looted setting should be ignored, false by default (aka don't ignore by default).
Add a second parameter to SMART_ACTION_SET_CORPSE_DELAY to specify if Rate.Corpse.Decay.Looted should be included, false by default (aka ignore by default).
2021-01-30 19:13:10 +01:00
Giacomo Pozzoni
3e6b3f88b0
Core/Warden: Send Lua checks only when ingame ( #25977 )
2021-01-30 18:53:59 +01:00