Commit Graph

29678 Commits

Author SHA1 Message Date
Shauren
a03455acbb Core/AreaTriggers: Add Spell* argument to AreaTriggerAI::OnCreate script 2023-06-24 20:10:14 +02:00
Meji
76d2f29e4e Core/SAI: Fixed event SMART_EVENT_WAYPOINT_ENDED (#29025)
* also moved "any" pointid to 0xFFFFFFFF for waypoint sai events:
* SMART_EVENT_WAYPOINT_REACHED
* SMART_EVENT_WAYPOINT_RESUMED
* SMART_EVENT_WAYPOINT_PAUSED
* SMART_EVENT_WAYPOINT_STOPPED
* SMART_EVENT_WAYPOINT_ENDED
2023-06-24 19:21:37 +02:00
Aqua Deus
76a84fcc86 Scripts/Evoker: Implemented Pyre (Red) (#29093) 2023-06-24 04:48:16 +02:00
ModoX
80e22230c3 Core/Spells: Implemented target type TARGET_DEST_DEST_TARGET_TOWARDS_CASTER (#29085) 2023-06-24 01:16:00 +02:00
Shauren
8ffc4c1034 Tools/Extractors: Warn when casc storage could not be opened in remote mode because a local installation was detected in input/cache directory 2023-06-23 10:27:44 +02:00
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