Commit Graph

28873 Commits

Author SHA1 Message Date
Malcrom
7ea864e287 Scripts/ExilesReach: Implemented ship quests for both factions (#29019)
* Warming up
* Stand your ground
* Brace for impact
2023-06-21 01:59:15 +02:00
Naddley
ad0007783b Scripts/DK: Fix Festering Strike (#29084) 2023-06-20 22:35:24 +02:00
Shauren
f62b1d0190 Core/Misc: Exclude most of WorldSession::HandleAreaTriggerOpcode from being called when leaving the areatrigger 2023-06-20 00:18:32 +02:00
Shauren
afe1b1eeed Core/Spells: Added debuginfo to SpellEvent assertions 2023-06-19 00:44:06 +02:00
Shauren
3e641606e7 Core/Creatures: Added missing assignment 2023-06-18 21:18:37 +02:00
Meji
bb68fd73b4 Core/Creatures: Drop dynamic flags from creature and creature_template (#29041) 2023-06-18 19:18:56 +02:00
Shauren
f4d35546b0 clang build fix 2023-06-18 16:45:33 +02:00
Shauren
7282a17725 Core/Creatures: Added db fields to hold creature static flags 2023-06-18 16:36:00 +02:00
Shauren
f93b4d6c43 Core/Quests: Fixed crash in Player::RewardQuest 2023-06-18 12:36:58 +02:00
Shauren
0fb8765a66 Core/Items: Item bonus generation improvements
* Pass ItemContext to item creation wherever possible
* Support scaling item levels with m+ keystone levels (not used currently)
* Fixed item link validation when client sends it as default uninitialized bonus list with context only
* Support scaling items depending on current active season (seasons not implemented)
* Implemented content tuning redirection
2023-06-17 16:29:59 +02:00
Shauren
a97cdfc8f5 nopch build fix 2023-06-17 00:05:25 +02:00
Shauren
cd7c5eff49 Core/Spells: Validate known heirlooms for SPELL_EFFECT_CREATE_HEIRLOOM_ITEM 2023-06-16 23:54:29 +02:00
Shauren
d4fc589f4c Core/Misc: Don't logout players instantly when client automatically requests a logout by idling too long 2023-06-15 23:35:22 +02:00
Shauren
09dea76fb5 Core/Misc: Replace std::abort with our ABORT macro
* libmysql is not a well behaved library on windows, it installs its own SIGABRT handler every time a new connection is opened, overriding our own
2023-06-14 20:30:02 +02:00
Shauren
84973fa4f3 GCC build fix 2023-06-12 23:59:11 +02:00
Shauren
1b55f85fad Core/AreaTriggers: Implement visibility of serverside areatriggers with .debug areatrigger command 2023-06-12 12:46:56 +02:00
Shauren
0cb8965de2 Core/Quests: New FlagsEx implementations
* QUEST_FLAGS_EX_REWARDS_IGNORE_CAPS
* QUEST_FLAGS_EX_NO_CREDIT_FOR_PROXY
* QUEST_FLAGS_EX_RECAST_ACCEPT_SPELL_ON_LOGIN
* QUEST_FLAGS_EX_REMOVE_ON_PERIODIC_RESET
* QUEST_FLAGS_EX_NO_ABANDON_ONCE_BEGUN
2023-06-11 19:29:42 +02:00
Shauren
d419fe5ff4 Core/Spells: Corrected effect type implicit targeting for SPELL_EFFECT_CREATE_PRIVATE_CONVERSATION 2023-06-11 00:47:26 +02:00
Shauren
9581690581 typo fix 2023-06-10 20:38:33 +02:00
Shauren
4d4c7e6893 Core/Quests: Quest flag fixups
* Update flag names
* Implemented QUEST_FLAGS_COMPLETION_NO_DEATH and QUEST_FLAGS_FAIL_ON_LOGOUT
* Started using QUEST_FLAGS_COMPLETION_EVENT and QUEST_FLAGS_COMPLETION_AREA_TRIGGER instead of a custom SpeclalFlag
* Renamed Quest::IsAutoComplete to Quest::IsTurnIn to better describe what it means (a quest that can be turned in without accepting it to quest log)
* Implemented QUEST_FLAGS_UPDATE_PHASESHIFT and removed forced phaseshift updates on every quest status change
* Implemented QUEST_FLAGS_LAUNCH_GOSSIP_ACCEPT - reopens gossip menu with questgiver
2023-06-10 20:31:33 +02:00
Смердокрыл
39bebe6a65 Core/Commands: Fix crash in .character customize chat output (#29069) 2023-06-09 22:21:55 +02:00
Смердокрыл
74a4dc46b4 Core/Config: Implement reading config overrides from subdirectory (#29068)
Co-authored-by: Shauren <shauren.trinity@gmail.com>
2023-06-09 20:36:03 +02:00
Shauren
c484530b0c Core/Spells: Added enum flag operators to TriggerCastFlags to prevent accidentally using CastSpellExtraArgs(bool) constructor when CastSpellExtraArgs(TriggerCastFlags) was intended 2023-06-09 00:33:35 +02:00
Shauren
9c393a40e2 Core/Spells: Allow passing SpellDestination to CastSpell to target locations on a transport 2023-06-08 18:43:59 +02:00
Shauren
8cfc8e4141 Core/Spells: Always remove spell target from transport on teleport spells if spell destination does not target a position on the transport 2023-06-08 18:37:08 +02:00
Shauren
e746cb2f28 Core/Quests: Only launch gossip menu on quest completion when quest has QUEST_FLAGS_LAUNCH_GOSSIP_COMPLETE flag 2023-06-08 16:31:24 +02:00
HuangStomach
78b3f6309f Core/Quests: Fixed quest dialog not closing automatically when there are no other follow-up quests for the quest giver 2023-06-08 16:31:24 +02:00
HuangStomach
9805b133c9 Core/Scripts: Added const to GetDialogStatus functions 2023-06-08 16:31:24 +02:00
Shauren
649f8f5fc0 Codestyle fix 2023-06-07 23:52:00 +02:00
Shauren
b98df50add Core/Auction House: Fixed sorting items with itemlevel greater than 255 2023-06-07 20:03:20 +02:00
Shauren
43134cadf1 Scripts/Spells: Added proc requirements to a few auras that have SPELL_ATTR3_CAN_PROC_FROM_PROCS attribute 2023-06-05 22:48:31 +02:00
Teleqraph
7d15ec0de8 Scripts/Spells: Implement Empowered Renew (#29036) 2023-06-04 16:29:36 +02:00
Shauren
b3590184c0 Core/Auras: Implemented helper function to estimate total damage/healing done by a periodic effect 2023-06-04 12:30:03 +02:00
Teleqraph
cd10bf5052 Scripts/Spells: Implement Healing Chorus (#29038)
Co-authored-by: Shauren <shauren.trinity@gmail.com>
2023-06-04 00:40:33 +02:00
Shauren
622eed752b Scripts/Spells: Converted remaining spell scripts to use ValidateSpellEffect 2023-06-03 23:17:28 +02:00
Teleqraph
277497fdf1 Scripts/Spells: Implement Holy Mending (#29031) 2023-06-03 19:06:40 +02:00
Shauren
a2be8d2028 Core/Quests: Implemented new db table quest_objectives_completion_effect
* Turn off automatic phase updates on quest objective completion
* Allow more convenient conversation and spell casts on quest objective completion
2023-06-02 00:50:30 +02:00
Jeremy
c1df555e16 Core/Graveyards: Drop Faction column and replace it with conditions (#28965) 2023-06-01 02:33:46 +02:00
Teleqraph
692c26a15e Scripts/Spells: Implement Say Your Prayers (#29028) 2023-05-31 19:10:38 +02:00
Shauren
f8a6a9b017 Scripts/Spells: Added spell effect validation helper 2023-05-30 19:34:19 +02:00
Shauren
3ca9e1253a Core/Movement: Fixed uninitialized value in MoveSplineInitArgs 2023-05-29 19:32:55 +02:00
Teleqraph
c4aa4d4b53 Core/Spells: Implement SPELL_ATTR10_RESET_COOLDOWN_UPON_ENDING_AN_ENCOUNTER (#29032) 2023-05-29 10:43:48 +02:00
Meji
06d0b16f15 Core/Creatures: Move creature difficulty specific data from creature_template table to creature_template_difficulty (#28931) 2023-05-29 00:01:23 +02:00
Shauren
526b16fea4 Core/Objects: Unify GameObjectSearcher, UnitSearcher, CreatureSearcher and PlayerSearcher classes into one common implementation 2023-05-28 16:54:23 +02:00
Shauren
261eb201bf Core/Objects: Unify WorldObjectSearcher classes into one common implementation 2023-05-28 16:07:34 +02:00
Shauren
3790c1e3da Core/Spells: Implemented spell target type 142 2023-05-28 01:14:19 +02:00
Shauren
7881f0ef5f Core/Creatures: Allow summons to be initialized properly when summoner is not in world yet 2023-05-27 18:43:43 +02:00
Shauren
3d3e94d8e4 Core/Auras: Fixed SPELL_AURA_LINKED_SUMMON summons not despawning when aura is removed from unit being removed from world 2023-05-27 16:17:39 +02:00
Shauren
781ca507dd Core/Commands: Added .debug playercondition command 2023-05-26 23:51:20 +02:00
Shauren
092119058b Scripts/Spells: Added proc requirements to a few auras that have SPELL_ATTR3_CAN_PROC_FROM_PROCS attribute 2023-05-24 22:10:04 +02:00