Commit Graph
28585 Commits
Author SHA1 Message Date
Shauren 1afec8be63 Core/Misc: Use boost/circular_buffer forward declaration headers in our headers 2023-01-06 16:55:25 +01:00
Shauren 280d83ecc7 Core/Misc: Remove boost::container::small_vector from header files 2023-01-06 16:54:43 +01:00
Shauren e8e330addd Core/Misc: Remove boost::heap::fibonacci_heap from header files 2023-01-06 16:54:16 +01:00
Shauren b65c3f5f4a Core/Misc: Replaced boost::container::static_vector in packet classes with plain vector with custom static storage allocatlr 2023-01-06 16:52:44 +01:00
Shauren 42fbcf2fc5 Core/Utils: Replace boost flat_set with our own 2023-01-06 16:51:01 +01:00
Shauren d8a4668c77 Core/Misc: Add missing Containers.h include where neccessary 2023-01-06 16:44:11 +01:00
Shauren dcb589946b Core/Spells: Hide spell effect immunity info implementation details 2023-01-05 16:59:16 +01:00
Shauren 585900f42d Core/Misc: Added a include hack for msvc <chrono> to use only c++17 bits from it 2023-01-05 12:16:21 +01:00
Shauren 9d9ccb7be7 Core/Proto: Re-generate protobuf services optimized for CODE_SIZE (compile time) instead of SPEED 2023-01-04 23:00:47 +01:00
Meji fd364fe522 Core/Quests: Set QuestGiverCreatureID for QuestGiverQuestDetails packet (#28655) 2023-01-04 14:08:25 +01:00
Shauren ad843a54a3 Scripts/Zul'aman: Removed incorrect ZulAmanState initialization 2023-01-03 19:33:17 +01:00
Aqua Deus 486152e163 Scripts/RLP: Added initial spawns and some cosmetic spells (#28629) 2023-01-03 18:30:51 +01:00
Shauren 33954538bc Core/Auras: Implemented SPELL_ATTR12_ONLY_PROC_FROM_CLASS_ABILITIES and SPELL_ATTR13_ALLOW_CLASS_ABILITY_PROCS attributes
Closes #28658
2023-01-03 12:42:39 +01:00
Aqua Deus b428f600b1 Scripts/Evoker: Implement Glide (#28654) 2023-01-02 21:47:54 +01:00
Shauren 2eea58f26e Core/Loot: Added loot slot check to Loot::LootItemInSlot (client sent-value)
Ref #28646
2023-01-02 19:48:54 +01:00
fluxurion b71b121c51 Core/Characters: Added Dracthyr Evoker creation data (#28624) 2023-01-02 00:52:25 +01:00
ModoX 78ef91975d Core/Scene: Fixed OnSceneComplete and OnSceneCancel handling 2023-01-01 23:47:30 +01:00
fluxurion bd33d61a61 Core/Players: Fixed finding trainer id from gossip menus (#28648) 2023-01-01 22:37:55 +01:00
Shauren ba9bbbc9d0 Core/Misc: Fixed deprecation warnings for c++20 2023-01-01 00:26:53 +01:00
Shauren fa361a40c8 Core/Spells: Fixed crashes with spells cast by gameobject that summon creatures
Closes #28640
2022-12-31 19:29:52 +01:00
Shauren 704142f15a Core/Maps: Fixed retrieving terrain info when on child maps 2022-12-31 18:22:40 +01:00
Shauren 2c044ea9f5 Core/Scenarios: Replace assert with null check
Closes #28639
2022-12-31 16:57:59 +01:00
Shauren dc07faf8f4 Core/Maps: Implemented WMOAreaTable -1 grouipid fallback 2022-12-31 12:56:42 +01:00
Shauren 1fe89a3701 Core/Players: Implement saving edit mode account data 2022-12-31 12:56:20 +01:00
Shauren 55091ff4bc Core/Players: Fixed crashes when accessing ActivePlayerData::PvpInfo
Closes #28638
2022-12-31 11:53:12 +01:00
Shauren bb9907f019 Core/Players: Fixed trait config validation
Closes #28601
2022-12-30 22:54:13 +01:00
Shauren 9a96d32350 Core/Objects: Replace IsWithinDistInMap with IsWithinDist in grid searchers to avoid duplicate phase check (its also checked in Searcher classes) 2022-12-30 21:50:16 +01:00
Meji 8d83c78618 Core/Movement: Don't compute orientation for vertical splines (#28556) 2022-12-30 18:00:05 +01:00
Seyden 24d21301a6 Core/Objects: ignore database visibility conditions for personal clones (#28548) 2022-12-30 17:57:58 +01:00
Meji f291ca9796 Core/SAI: Improved SMART_ACTION_JUMP_TO_POS to mirror behavior similar to SMART_ACTION_MOVE_TO_POS (#28547)
*  Support for targets other than positions
*  Added param3 Gravity, to use MoveJumpWithGravity (priority over SpeedZ)
*  Added param4 UseDefaultGravity (priority over Gravity): 19.29110527038574
*  Added param5 PointId, useful for linking the jump to the event SMART_EVENT_MOVEMENTINFORM (Type: 16)
*  Added param6 ContactDistance
*  If the target is different from a position, target params for coords allow to add offsets
2022-12-30 17:48:33 +01:00
Aqua DeusandShauren 09591fbdb0 Core/SAI: Add action param 7 (#28519)
Co-authored-by: Shauren <[email protected]>
2022-12-30 16:32:37 +01:00
Shauren bde93b25d2 Core/Gossip: Integrate banker guid checks into shared gossip interaction data 2022-12-30 14:08:01 +01:00
Shauren 7c4c5ba549 Core/Misc: Clean up WorldSession includes a bit 2022-12-30 14:00:20 +01:00
Shauren cf525beefd Core/Chat: Fixed chat channel name validation
* Removed it entirely for builtin channels (unused)
* Use utf8 character count to determine length instead of number of bytes

Closes #28635
2022-12-30 13:59:46 +01:00
Seyden c5bd2ceda4 Core/Auras: Fixed iterator invalidation crash in Unit::CalcHealAbsorb (#28515) 2022-12-30 12:52:22 +01:00
TeleqraphandShauren dbed48becc Core/Auras: Implemented SPELL_AURA_MOD_ROOT_DISABLE_GRAVITY (#28517)
Co-authored-by: Shauren <[email protected]>
2022-12-30 01:38:41 +01:00
TeleqraphandShauren 6515319b75 Core/Auras: Implemented SPELL_AURA_MOD_STUN_DISABLE_GRAVITY (#28511)
Co-authored-by: Shauren <[email protected]>
2022-12-30 01:16:29 +01:00
ModoXandGosha 6ce6665992 Core/Vmaps: Fix inconsistency of hitInstance and hitModel to cause wrong area ids (#28632)
Closes #28326

Co-authored-by: Gosha <[email protected]>
2022-12-30 00:02:40 +01:00
Shauren 14c48272fb Core/Spells: Added missing changes for ade34a7f48 2022-12-29 20:25:01 +01:00
Shauren ade34a7f48 Core/Spells: Implemented SPELL_EFFECT_GIVE_EXPERIENCE and SPELL_EFFECT_GIVE_RESTED_EXPERIENCE_BONUS 2022-12-29 16:57:35 +01:00
Shauren c7e89d3576 Core/Gossip: Move setting ActionMenuID and ActionPoiID directly into GossipMenu::AddMenuItem and remove GossipMenu::AddGossipMenuItemData 2022-12-28 15:17:21 +01:00
SeydenandShauren 61c51b76c0 Core/Creatures: Implement StringId for Creatures, a custom identifier to make finding specific creatures in script easier (#28500)
Allows targeting specific spawns without hardcoding guids or find a bunch of different creatures with a single search

Co-authored-by: Shauren <[email protected]>
2022-12-27 16:39:05 +01:00
SeydenandShauren 9ab0679781 Core/Objects: Implement FindNearestCreatureWithOptions helper function (#28488)
Co-authored-by: Shauren <[email protected]>
2022-12-26 20:13:13 +01:00
Shauren 49cef90ddb Core/DataStores: More constexpr in DB2 metadata 2022-12-26 14:18:19 +01:00
Shauren c3f385c48f Core/Phasing: Reduce differences between branches in GridNotifiers 2022-12-25 00:44:12 +01:00
Shauren abe84b9acf Core/SAI: Fixed unused param validation for SMART_ACTION_MOVE_OFFSET 2022-12-23 13:45:10 +01:00
Meji e218f27602 Core/SAI: Added param PointId to SMART_ACTION_MOVE_OFFSET (#28555) 2022-12-22 23:51:49 +01:00
Seyden 64a1c7735e Core/Creatures: Implemented AttackableBySummoner summon properties flag (#28489) 2022-12-22 23:45:35 +01:00
Jeremy 8023daabef Core/GameObjects: Update spawn group conditions immediately after battleground capture point changes state (#28611) 2022-12-22 17:28:26 +01:00
Shauren 7dc25889c6 Core/Instances: Fixed assertion failure with instance id based lockouts
Closes #28613
2022-12-22 14:11:55 +01:00