Commit Graph
100 Commits
Author SHA1 Message Date
Shauren 26f37152cc Dep/CascLib: Update to ladislav-zezula/CascLib@a27d2b3b9c
Closes #29102
Closes #29132
2023-07-13 00:12:42 +02:00
Shauren b6a0fa3518 Tools: Updated db2 metadata used by extractors 2023-07-12 20:51:39 +02:00
Shauren 0cea730fa2 Core: Update to 10.1.5 2023-07-12 16:29:00 +02:00
Shauren da325f4322 build fix 2023-07-07 16:28:42 +02:00
Shauren b7f06c154c Core/Scenarios: Move map from InstanceScenario to base class 2023-07-07 14:01:19 +02:00
Shauren 768bf46043 Core/Quests: Make completion of tracking quests completed by SPELL_EFFECT_QUEST_COMPLETE visible to client 2023-07-06 10:46:36 +02:00
Shauren 074c5da6e4 Core/Pets: Fixed crash when summoning hunter pets 2023-07-05 00:18:55 +02:00
Shauren 4b29ecd749 Core/Players: Fixed fury warriors failing to be saved to db on first save after login/respec 2023-07-04 13:48:58 +02:00
Shauren a3ef01f87b Core/GameObjects: Only start loot restock timer if loot contents were modified and ignore it for personal loot
Closes #29023
2023-07-03 00:17:17 +02:00
Shauren 36ecc2d8cb Core/Auras: Removed triggering aura effect from SPELL_AURA_OVERRIDE_AUTOATTACK_WITH_MELEE_SPELL handling (paladin Crusading Strikes combines this with a proc aura on another effect on the same spell) 2023-07-02 00:04:58 +02:00
Shauren 263d1f4fe5 Core/Spells: Fixed crash in spells with charge effects that also apply another effect on the caster
Closes #28983
2023-07-01 00:51:15 +02:00
Shauren ad0cb188c9 Core/Players: Fixed spell overrides not being removed when unlearning talents 2023-06-30 00:06:33 +02:00
Shauren 29eac37a16 Core/Spells: Fully prevent infinite proc loops and add logging to detect most spells that could possibly trigger this behavior at startup
Closes #28865
2023-06-29 11:39:02 +02:00
Shauren bacfbec251 Core/Spells: Allow filtering procs in FINISH phase by SpellTypeMask 2023-06-29 00:06:49 +02:00
Shauren 8c4a966dc0 Core/Auras: Use std::vector for temporary copies of aura lists 2023-06-28 11:45:29 +02:00
Shauren 63b2188e75 Core/Auras: Fixed accessing invalid iterators in Unit::CalcHealAbsorb (ChangeAmount removes and readds current effect to iterated list) 2023-06-28 00:13:53 +02:00
Shauren 07d6eb3a57 Scripts/Spells: Fixed remaining spells with SPELL_ATTR3_CAN_PROC_FROM_PROCS attribute 2023-06-27 22:22:16 +02:00
Shauren 81f0bf9525 Core/Conditions: Replaced Player argument to world state expression checking with Map 2023-06-26 22:53:07 +02:00
Shauren 8bb7d90f21 Core/Spells: Fixed SPELL_EFFECT_TRIGGER_SPELL for spells that require DEST target but their triggering spell does not provide one, for example DH soul cleave damage component 2023-06-25 16:38:00 +02:00
Shauren a03455acbb Core/AreaTriggers: Add Spell* argument to AreaTriggerAI::OnCreate script 2023-06-24 20:10:14 +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
Shauren 9ad1e5d635 Dep/CascLib: Update to ladislav-zezula/CascLib@ebd79e8fd4 2023-06-23 10:25:18 +02:00
Shauren 23752a5c70 DB/Spells: Added proc requirements to a few auras that have SPELL_ATTR3_CAN_PROC_FROM_PROCS attribute 2023-06-21 19:42:59 +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
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 b444faf76d Core: Update allowed build to 10.1.0.50000 2023-06-13 00:00:44 +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 ade8aa33a1 Build: Silence CMake warnings about boost version being too new 2023-06-12 00:04:27 +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
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
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 8d1a57eb96 Core: Update allowed build to 10.1.0.49890 2023-06-06 00:50:41 +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
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
Shauren 622eed752b Scripts/Spells: Converted remaining spell scripts to use ValidateSpellEffect 2023-06-03 23:17:28 +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
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
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 e71381728e Core: Update allowed build to 10.1.0.49801 2023-05-27 13:26:19 +02:00
Shauren 781ca507dd Core/Commands: Added .debug playercondition command 2023-05-26 23:51:20 +02:00
Shauren bfc0f7faab Core: Update allowed build to 10.1.0.49741 2023-05-25 00:34:44 +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 4a1b0b180c Core: Update allowed build to 10.1.0.49679 2023-05-23 09:24:04 +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
Shauren 7f98b71698 Core/Creatures: Fixed some creatures having 0 max health (and being unkillable) 2023-05-21 13:31:42 +02:00
Shauren 907d9f1a79 Docker: Fixed files being missing from circleci built images 2023-05-20 13:57:57 +02:00
Shauren 40361a95da DB: Fixed player name uniqueness checks 2023-05-19 18:42:19 +02:00
Shauren 073d1cb4ec Dep/protobuf: Fixed gcc warnings 2023-05-17 17:35:03 +02:00
Shauren 33bd04fb64 Core/Auras: Define new aura type
Closes #28995
2023-05-16 11:35:20 +02:00
Shauren baefed8b95 Core/Proto: Updated protobuf messages and services 2023-05-16 00:40:43 +02:00
Shauren 034db11b2c Core: Update allowed build to 10.1.0.49570 2023-05-15 00:36:49 +02:00
Shauren 8a91448f28 Scripts/Spells: Fixed uninitialized variable in d64f7c332e 2023-05-14 19:36:06 +02:00
Shauren b42477f6b4 Warning fix 2023-05-14 19:35:26 +02:00
Shauren eadafb0347 Core/DBLayer: Relaxed restrictions on which Field class member function can be used to access column value from "strict match" to "must not truncate" 2023-05-14 16:30:05 +02:00
Shauren 8d0620eb05 Core/GameTables: Fixed parsing gt files (for real this time) 2023-05-14 00:55:03 +02:00
Shauren 3f2d62f9d6 Core/GameTables: Fixed parsing gt files 2023-05-13 16:10:26 +02:00
Shauren 06db073eb9 Core/PacketIO: Add missing bit writes 2023-05-13 15:48:25 +02:00
Shauren 3260b94dd6 Core/Misc: Replace string to int conversion functions from Common.h with c++17 std::from_chars based ones Trinity::StringTo 2023-05-13 15:46:27 +02:00
Shauren c4d4008596 Scripts/Underrot: Removed unneccessary code, handled by difficulty version of SpellMisc already 2023-05-10 17:20:51 +02:00
Shauren 1325e0c4b2 Core/Units: Power handling improvements
* Don't include creature_template power multipliers in CreateMana updatefield
* Allow NPCs to have power types other than mana
* Add missing Essence config regeneration rate
* Fixed demon hunter powers not decaying immediately after combat
* Fixed some powers decaying immediately out of combat after energizing (for example holy power)
* Replace hardcoded list of powers to set to full on levelup with a db2 flag check
* Updated Creature::GetPowerIndex for 10.1 new power types
2023-05-09 23:16:30 +02:00
Shauren dc28475096 Core: Update allowed build to 10.1.0.49474 2023-05-09 01:07:52 +02:00
Shauren f4e5c381ac Build fix 2023-05-06 21:19:58 +02:00
Shauren cd8bba63a2 Core/PacketIO: Fixed CreateObject structure for areatriggers 2023-05-06 13:54:04 +02:00
Shauren a1e2ad439d Core/Spells: Check passive attribute on the final spell that will be cast by CMSG_CAST_SPELL, after taking overriden spells into account 2023-05-06 13:53:26 +02:00
Shauren 22eb73916a Core/PacketIO: Reverted unintended change 2023-05-05 17:06:07 +02:00
Shauren e540d74610 Core/PacketIO: Fixed quest query packet structure 2023-05-05 14:34:27 +02:00
Shauren 3d36889c55 Core: Update allowed build to 10.1.0.49444 2023-05-05 00:56:02 +02:00
Shauren 3bd4c21754 Core/DataStores: Remove temporary 10.0.7 workraround 2023-05-05 00:45:11 +02:00
Shauren 16bc74667e Core: Update to 10.1 2023-05-04 17:00:52 +02:00
Shauren 9740219850 Scripts/Spells: Added proc requirements to a few auras that have SPELL_ATTR3_CAN_PROC_FROM_PROCS attribute 2023-05-02 17:19:51 +02:00
Shauren c563d52c8d Core/Auras: Removed outdated aura type handling 2023-05-01 00:32:51 +02:00
Shauren 8f7a1d3c2c Core/Misc: Delay creating std::string objects for locale data after size validation 2023-04-30 14:04:28 +02:00
Shauren 7f5e47c396 Core/Realms: Remove duplicate realm names storage 2023-04-29 00:25:31 +02:00
Shauren d78f08aa9e Core/Chat: Implemented more chat link types
Closes #28946
2023-04-28 00:11:24 +02:00
Shauren f540477fed Core/DataStores: Optimized DB2Storage::begin to remove searching for lowest id on every call 2023-04-27 00:17:25 +02:00