Commit Graph

20534 Commits

Author SHA1 Message Date
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 Deus
09591fbdb0 Core/SAI: Add action param 7 (#28519)
Co-authored-by: Shauren <shauren.trinity@gmail.com>
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
Teleqraph
dbed48becc Core/Auras: Implemented SPELL_AURA_MOD_ROOT_DISABLE_GRAVITY (#28517)
Co-authored-by: Shauren <shauren.trinity@gmail.com>
2022-12-30 01:38:41 +01:00
Teleqraph
6515319b75 Core/Auras: Implemented SPELL_AURA_MOD_STUN_DISABLE_GRAVITY (#28511)
Co-authored-by: Shauren <shauren.trinity@gmail.com>
2022-12-30 01:16:29 +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
Seyden
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 <shauren.trinity@gmail.com>
2022-12-27 16:39:05 +01:00
Seyden
9ab0679781 Core/Objects: Implement FindNearestCreatureWithOptions helper function (#28488)
Co-authored-by: Shauren <shauren.trinity@gmail.com>
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
Seyden
97f3710fa7 Core/Conversations: Allow delaying starting conversations (#28545) 2022-12-21 14:37:58 +01:00
Shauren
dfd2e6d901 Core/GameObjects: Unlink loot from gameobject before deleting it
Closes #28541
Closes #28610
2022-12-20 18:30:30 +01:00
Shauren
a2ec80b14c Core/vmaps: Stop worldserver startup when gameobject models cannot be loaded 2022-12-20 16:01:28 +01:00
Shauren
21940405e0 Core/Battlegrounds: Made Battleground inherit ZoneScript
Closes #28480
2022-12-20 01:03:58 +01:00
Shauren
71b23c1b50 Core/Misc: GCC build fix
Closes #28604
2022-12-19 00:04:32 +01:00
Shauren
4b2c1bbe0c Core/PacketIO: Fixed incorrect optional check in SMSG_GOSSIP_MESSAGE 2022-12-18 13:15:34 +01:00
Shauren
743c396317 Core/PacketIO: Fixed structure of SMSG_FEATURE_SYSTEM_STATUS_GLUE_SCREEN
Closes #28602
2022-12-18 01:35:26 +01:00
Meji
9653f96f99 Core/Units: Implemented UNIT_VIS_FLAGS_INVISIBLE (#28448) 2022-12-18 01:10:39 +01:00
Meji
263ce0cd30 Core/Creatures: Never enable gravity for creatures that can only fly (#28411) 2022-12-17 23:48:04 +01:00
Shauren
ce7806adc8 Fix line endings 2022-12-17 23:42:38 +01:00
Shauren
0555ab2f56 Core/Players: Implemented setting tradeskill recipes as favorite 2022-12-17 20:27:13 +01:00
ModoX
e275c39586 Core/Items: Dropped deprecated ItemFlag2 ITEM_FLAG2_DONT_IGNORE_BUY_PRICE (#28382) 2022-12-17 17:53:37 +01:00
Shauren
caad5c36bd Core/Misc: Updated default expansion to 9 2022-12-17 13:36:29 +01:00
Shauren
25c28c0c7d GCC build fix 2022-12-17 12:54:38 +01:00
ModoX
bf4880973d Core/Spells: Added missed aura handler for SPELL_AURA_535 2022-12-17 11:22:17 +01:00
ModoX
94147c5ba6 Core/Spells: Added SPELL_AURA_535 to aura enum 2022-12-17 11:17:29 +01:00
Shauren
0cc5ab8372 Core/Players: Implemented new talent system 2022-12-16 22:44:55 +01:00
Shauren
9be60f2409 Core/Players: Don't remove unlearned spells from action bars 2022-12-15 14:19:54 +01:00
Shauren
1c52c31274 Core/Spells: Added custom spell cast arg 2022-12-14 00:32:57 +01:00
Shauren
ba4c148a69 Core/DataStores: Devirtualize DB2Storage 2022-12-14 00:29:03 +01:00
Shauren
9d9e11f8ca Core/DataStores: Made DB2LoadInfo constexpr 2022-12-14 00:27:01 +01:00
Shauren
2d205506bf Core/Spells: Fixed spell effect value truncation when value is a large integer 2022-12-14 00:24:24 +01:00
Shauren
e98e1283ea Core: Updated to 10.0.2 2022-12-04 15:13:20 +01:00
Shauren
de7c03c838 Core/Spells: Extended mechanic mask to uint64 2022-12-04 15:07:36 +01:00
Shauren
943e37f208 Core/Realms: Fixed switching realms 2022-12-04 00:16:17 +01:00
Shauren
79ca6df27d Core/DataStores: Add const to DBStorageIterator dereference operators 2022-11-27 22:16:32 +01:00