Commit Graph

37839 Commits

Author SHA1 Message Date
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
Rothend
0e44700598 DB/Conditions: remove wrong conditions related to the Purple/Green Trophy Tabard of the Illidari from Tabard Vendors
Closes #24829

(cherry picked from commit 0a08027bd9)
2022-01-19 21:13:00 +01:00
Rothend
b65aff8323 DB/SAI: Prevent Gavis Greyshield (involved in quest The End of the Deserters) from getting killed and disable health regen when becoming friendly
Closes #24827

(cherry picked from commit b2ad5d5b2b)
2022-01-19 21:07:56 +01:00
Rothend
ea6619552c DB/Creature: Fix Firemane Drakes and Monstrous Kaliri flying movement
Closes #24826

(cherry picked from commit 02828a477a)
2022-01-19 20:56:31 +01:00
Rothend
21722d01c6 DB/Creature: Add missing aura to two Citizen of New Avalon NPCs
Closes #24825

(cherry picked from commit 4727c626c4)
2022-01-19 20:55:36 +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
Killyana
e6f5cfcd23 DB/Creature: Remove models from creature table for npcs triggers
(cherry picked from commit 33b2be8e5b)
2022-01-19 20:53:43 +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
Shauren
f551e16e21 Fixed 2022_01_18_07_world_2020_06_26_06_world.sql with sql_mode=ONLY_FULL_GROUP_BY 2022-01-19 10:35:04 +01:00
offl
09ee27d03d DB/Creature: Remove model from creature table if not needed
Closes #24822

(cherry picked from commit 2211610ff7)
2022-01-19 00:06:09 +01:00
offl
342754baa3 DB/Creature: Lady Liadrin
Closes #24820

(cherry picked from commit 13bdd5184e)
2022-01-18 23:50:54 +01:00
offl
32d624fe21 DB/Quest: A Father's Duty
Closes #18653

(cherry picked from commit f9a7e546a0)
2022-01-18 23:49:48 +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
dc2c7ffd45 DB: Goblin Land Mine
Closes #22429

(cherry picked from commit 69d3b30a86)
2022-01-18 23:46:26 +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
offl
00164a0394 DB/SAI: Rework Mana-Tombs
Closes #24808

(cherry picked from commit 0740692117)
2022-01-18 23:43:05 +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
lee
845b807c84 Core: Configure rapidjson to support arm builds (remove SSE flag for them) (#27618)
Co-authored-by: Shauren <shauren.trinity@gmail.com>
2022-01-16 11:48:58 +01:00
TDB Release
1761f72da7 TDB 915.22012 - 2022/01/15 TDB915.22012 2022-01-15 23:33:52 +00: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
ModoX
6f3a11f7b1 DB/Quest: Fixed Warming up quest in Exiles Reach / NPE
Closes #27530
2022-01-15 04:47:31 +01:00
Shauren
72286dc5e4 Core/Conditions: Initial support for UnitCondition.db2 2022-01-15 00:52:55 +01:00
funjoker
ccccf8a2b5 DB/Hotfixes: Update hotfixes to 41793 2022-01-15 00:40:17 +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
425a1f0189 DB/Misc: Added massparsed 9.1.5 npc_text data 2022-01-14 03:01:25 +01:00
ModoX
693f8f92eb DB/Misc: Added massparsed 9.1.0 npc_text data 2022-01-14 03:01:16 +01:00
ModoX
2d44a6b7bb DB/Misc: Added massparsed 9.0.5 npc_text data 2022-01-14 03:00:23 +01:00