offl
144914b4f0
DB/Quest: Convert & update support for 'Chasing A-Me 01' to SAI
...
Closes #24925
(cherry picked from commit 46ad9fa0d9 )
2022-01-21 20:42:32 +01:00
offl
4d64524a70
DB/Quest: Convert & update scripts from Thousand Needles to SAI
...
Closes #24924
(cherry picked from commit 18864aeddb )
2022-01-21 20:36:00 +01:00
offl
20535a5d2d
DB/Quest: Convert & update support for 'Protect Kaya' to SAI
...
Closes #24923
(cherry picked from commit c29e3b46af )
2022-01-21 20:34:54 +01:00
Giacomo Pozzoni
74923df35a
Core/Pools: Attempt to workaround pools being broken since 2015 ( #24949 )
...
* Core/Pools: Attempt to workaround pools being broken since 2015
Attempt n°2
* Fix warning
(cherry picked from commit 8c0a315734 )
2022-01-21 18:57:24 +01:00
jackpoz
8fd7a4b6e5
Core/PetAI: Validate GetCharmInfo()
...
Fixes #24870
(cherry picked from commit bf62901053 )
2022-01-21 18:55:48 +01:00
Gildor
054b62be3b
Core/Gameobjects: Improve IsValidAttackTarget faction check for traps that hasn't owner or have NPC owner ( #24931 )
...
(cherry picked from commit 2a5f537d6a )
2022-01-21 18:50:43 +01:00
Gildor
a8edacd20b
Core/Spells: Check a few aura effects for determining if should be negative ( #24930 )
...
* Core/Spells: Check a few aura effects for determining if should be negative
* Rename 9999_99_99_99_world_auras.sql to 2020_07_04_00_world.sql
Co-authored-by: Giacomo Pozzoni <giacomopoz@gmail.com >
(cherry picked from commit 26ba4ecd51 )
2022-01-21 18:45:04 +01:00
offl
dde859cb21
DB/Creature: Convert & update support for 'Messenger Torvus' to SAI
...
Closes #24852
(cherry picked from commit 2ebef0c51c )
2022-01-21 16:16:43 +01:00
Gildor
fb39553831
Core/Gameobjects: Traps shouldn't ignore IsImmuneToNPC/IsImmuneToPC and IsInSanctuary rules if has owner ( #24911 )
...
(cherry picked from commit 4a4aac61d5 )
2022-01-21 16:16:04 +01:00
Gildor
a16c804ea0
Core/Spells: SPELL_AURA_MOD_HEALTH_REGEN_PERCENT should be negative if TargetType is enemy and Basepoints are negative ( #24902 )
...
(cherry picked from commit af1571ce50 )
2022-01-21 16:12:31 +01:00
Gildor
de21d446aa
Core/Spells: SPELL_AURA_MELEE_SLOW should be negative if TargetType is enemy or Basepoints are negative ( #24901 )
...
(cherry picked from commit 7a81ce2f21 )
2022-01-21 16:11:39 +01:00
Gildor
cc6e616e61
Core/Spells: SPELL_AURA_MOD_MELEE_RANGED_HASTE should be negative if Basepoints are negative ( #24900 )
...
(cherry picked from commit 0759d73777 )
2022-01-21 16:11:15 +01:00
Shauren
96137fb30f
Core/Misc: Future msvc warning fixes
2022-01-21 13:40:48 +01:00
Giacomo Pozzoni
8f4db9aa69
Core/Spells: implement corpse target type support and properly fix resurrections ( #24921 )
...
* Core/Spells: implement corpse target type support and properly fix resurrections
(cherry picked from commit df193945d9 )
* Core/Spells: implement TARGET_CORPSE_SRC_AREA_RAID and updated remaining resurrection effect handlers for updated corpse targeting
(cherry picked from commit 98b075cb4b )
* Fix no-pch
Co-authored-by: Ovahlord <dreadkiller@gmx.de >
(cherry picked from commit cc71da35b5 )
2022-01-20 00:13:02 +01:00
genion18
1ddfbf3ecc
DB/Quest: Rumors for Kravel outro event
...
Closes #24835
(cherry picked from commit 32aebc14ab )
2022-01-19 23:06:57 +01:00
offl
fa0d4ceea1
DB/Quest: Convert & update support for 'Escorting Erland' to SAI
...
Closes #24834
(cherry picked from commit eea3cf1401 )
2022-01-19 23:01:12 +01:00
jackpoz
68faf5bc4b
Core/Common: Replace ASSERT(false, "...") with ABORT_MSG("...")
...
(cherry picked from commit 54c701cf0d )
2022-01-19 22:17:42 +01:00
jackpoz
f7c1ae01f8
Core/Common: Add macro ASSERT_WITH_SIDE_EFFECTS to be used when asserting conditions that have side effects
...
(cherry picked from commit 49da3533cd )
2022-01-19 21:18:39 +01:00
offl
306e08cc31
DB/Quest: Convert & update support for 'Scratches' to SAI
...
Closes #24824
(cherry picked from commit d526d5d176 )
2022-01-19 20:54:24 +01:00
Shauren
a270005de1
Core/SAI: Support SMART_TARGET_POSITION in SMART_ACTION_BECOME_PERSONAL_CLONE_FOR_PLAYER
2022-01-19 19:20:56 +01:00
Shauren
279744efcd
Core/Commands: Fixed wrong field being used to determine instance type in .lookup map id
2022-01-19 12:37:27 +01:00
Shauren
18cc0b2e4a
Core/Quests: Fixed quest select query
2022-01-19 10:40:10 +01:00
offl
c5bc1cbeb6
DB/Quest: Convert Galen's Escape to SAI
...
Closes #23684
(cherry picked from commit f621173748 )
2022-01-18 23:47:59 +01:00
offl
775c6ca039
DB/Quest: Convert & update support for 'City of Light' to SAI
...
Closes #24814
(cherry picked from commit f2c2210dbb )
2022-01-18 23:45:00 +01:00
funjoker
4c5f57d712
Core/Quests: Remove RewardMoney from quest_template as it is not a static value and depends on receiving player ( #27590 )
2022-01-18 21:22:41 +01:00
Jeremy
bbed5dc3e8
Core/Auras: Store non-unit caster guids in auras ( #27625 )
...
This allows retrieving any caster object, not just units
2022-01-18 21:18:25 +01:00
Seyden
12d00e2e5f
Scripts/Spells: Implement OnPrecast scripting hook for spell scripts ( #27632 )
...
* Fires before cast bar starts
2022-01-18 21:06:10 +01:00
Seyden
f383c0ea21
Core/SAI: Add SMART_ACTION_BECOME_PERSONAL_CLONE_FOR_PLAYER ( #27581 )
2022-01-18 20:51:23 +01:00
ModoX
9c63503527
Core/Movement: Fixed possible crash in HomeMovementGenerator
2022-01-18 17:42:03 +01:00
Shauren
03dd82b52d
Scripts/Spells: Updated Power Word: Shield script
...
Closes #27630
2022-01-18 14:33:07 +01:00
Rothend
77e1304a5a
Script/Creature: script Terokk's encounter ( #24871 )
...
* Script/Creature: script Terokk's encounter.
Closes #2029
* Apply suggested changes.
* Fix nopch build.
* Rename 9999_99_99_99_world_terokk.sql to 2020_06_24_02_world.sql
* Update 2020_06_24_02_world.sql
Co-authored-by: Giacomo Pozzoni <giacomopoz@gmail.com >
Co-authored-by: Eridium <6587064+Killyana@users.noreply.github.com >
(cherry picked from commit 3227ed94bc )
2022-01-18 00:27:18 +01:00
Rothend
abc490f677
Core/Player: do not consider FLAG_EXTRA_NO_XP_AT_KILL or pet status when deciding if a creature counts as a "gives experience or honor" target. ( #24884 )
...
Closes #23860
(cherry picked from commit e3bac11837 )
2022-01-18 00:18:15 +01:00
Rothend
381333690b
Core/SAI: do not allow the waypoint pause timer to update while in combat. ( #24877 )
...
(cherry picked from commit 37cb391796 )
2022-01-18 00:17:44 +01:00
Rothend
d4a1a7a040
Core/SAI: implement SMART_EVENT_SUMMONED_UNIT_DIES (82), useable by creatures and gameobjects ( #24874 )
...
* Core/SAI: implement SMART_EVENT_SUMMONED_UNIT_DIES (82), useable by creatures and gameobjects.
Closes #24831
* Update SmartScriptMgr.h
(cherry picked from commit 5339d1d3b8 )
2022-01-18 00:17:28 +01:00
Rothend
f5967b8a87
Script/Spell: fix Midsummer's Juggling Torch ( #24885 )
...
* Script/Spell: fix Midsummer's Juggling Torch.
Closes #17446
* Remove unneeded GetPosition() call, thanks jackpoz for noticing!
* Rename 9999_99_99_99_world_midsummer_torch_juggling.sql to 2020_06_24_01_world.sql
Co-authored-by: Giacomo Pozzoni <giacomopoz@gmail.com >
(cherry picked from commit 5f35bf9e79 )
2022-01-18 00:06:59 +01:00
Aqua Deus
d8efda4ff3
Scripts/Spells: Fix mage Flame On talent ( #27622 )
2022-01-17 23:36:12 +01:00
Aqua Deus
92335bf900
Scripts/Spells: Fix warlock chaos bolt damage ( #27616 )
2022-01-17 20:56:31 +01:00
ModoX
d342be8c79
Core/Spells: Using hearthstone will teleport caster to map again
...
Closes #27623
2022-01-17 17:02:44 +01:00
Shauren
3346366b0e
Core/Auras: Fixed invalid iterator access in SPELL_AURA_TRIGGER_SPELL_ON_HEALTH_PCT implementation
2022-01-17 10:31:17 +01:00
Aqua Deus
d95a1e7eaf
Scripts/Spells: Fix warlock immolate periodic ( #27615 )
2022-01-16 23:10:09 +01:00
Aqua Deus
a3b2e4d987
Core/Items: Reagent bank ( #27592 )
2022-01-16 22:31:24 +01:00
Shauren
c0296ac131
Core/PacketIO: Allow more CMSG_SET_ACTION_BAR_TOGGLES before triggering AntiDOS protection
...
Closes #27619
2022-01-16 19:45:16 +01:00
Shauren
bf357312e0
Core/Conditions: Implemented many more UnitCondition types
2022-01-15 23:30:00 +01:00
Shauren
bff5ae51fe
Core/Spells: Fixed crash in spell visual selection when CasterUnitConditionID is set
2022-01-15 19:16:20 +01:00
Shauren
72286dc5e4
Core/Conditions: Initial support for UnitCondition.db2
2022-01-15 00:52:55 +01:00
Shauren
f2bde40922
Core/DataStores: Load UnitCondition.db2
2022-01-14 20:10:16 +01:00
ModoX
16a80656c5
Core/Conditions: Update phases when quest objective is updated ( #27583 )
2022-01-14 19:53:32 +01:00
ModoX
8a61024cfa
Core/Player: Added PlayerCreateMode field to playercreateinfo_cast_spell to only cast spells based on related mode ( #27593 )
2022-01-14 19:52:56 +01:00
ModoX
a17944e91e
Core/Quests: Set quest slot earlier when abandoning a quest ( #27584 )
...
* fixes quest objective conditions still being true when quest is abandoned
2022-01-13 20:31:51 +01:00
Shauren
1989c68fb6
Core/Items: Change missed enchantment flag checks to use enum instead of raw number
2022-01-13 16:43:44 +01:00