Commit Graph

28859 Commits

Author SHA1 Message Date
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
Shauren
db55a034fd Fix dynamic linking build 2023-05-23 10:46:46 +02:00
Shauren
206369934a Core/Spells: Implemented new proc hit type PROC_HIT_DISPEL 2023-05-22 18:55:17 +02:00
Shauren
c2884612ce Core/Players: Fixed crashes with char enum packet if equipment cache field does not have correct format 2023-05-22 11:58:50 +02:00
Shauren
c76d96edfb Core/Objects: Fixed uninitialized variables in FindCreatureOptions 2023-05-22 10:40:57 +02:00
Jeremy
fce1994795 Core/Players: Respawn alive at graveyard when releasing spirit (#29009) 2023-05-21 16:42:26 +02:00
Jeremy
7ba4e2df84 Core/Graveyards: Fix graveyards in subzones when there is no valid graveyard in that subzone (#29003) 2023-05-21 15:31:14 +02:00
ModoX
ae9ec38345 Scripts/Warrior: Fix nopch build 2023-05-21 14:29:40 +02:00
Shauren
7f98b71698 Core/Creatures: Fixed some creatures having 0 max health (and being unkillable) 2023-05-21 13:31:42 +02:00
SargeroDeV
f0aa85c99e Spells/Scripts: Implement Critical Thinking (#29005) 2023-05-21 13:27:02 +02:00
Jeremy
f8f1c3b4f0 Core/Areas: Update AreaFlags from EnumeratedStings values (#29008) 2023-05-19 20:11:31 +02:00
SargeroDeV
48820532e4 Scripts/Warrior: Implement Shield Block (#29004) 2023-05-18 22:43:35 +02:00
SargeroDeV
e943c695f2 Scripts/Warrior: Implement Warbreaker and In For The Kill (#28994) 2023-05-18 22:27:37 +02:00
SargeroDeV
94b7a863ef Scripts/Warrior: Implement Brutal Vitality (#28987) 2023-05-18 14:01:32 +02:00
Shauren
33bd04fb64 Core/Auras: Define new aura type
Closes #28995
2023-05-16 11:35:20 +02:00