Commit Graph

28709 Commits

Author SHA1 Message Date
Shauren
f18c0644f3 Core/Scripts: Fixed crash in SummonList::DoZoneInCombat
Closes #28864
2023-03-21 12:20:17 +01:00
Shauren
2569dc8cfe Core/Instances: Fixed not being able to reenter instances that have no encounters completed
Closes #28737
2023-03-21 12:07:54 +01:00
Shauren
5f642b78f0 Core/Instances: Fixed instance locks being incorrectly found and forcing difficulty when entering normal mode dungons 2023-03-21 11:07:10 +01:00
Shauren
356c0c8afc Core/Items: Updated ItemModifier enum for 10.0 2023-03-20 00:22:34 +01:00
Shauren
cc61ccb1a4 Core/PacketIO: Fixed missing reference on return type of operator << overloads for packets 2023-03-19 16:37:24 +01:00
Shauren
51569217ad Core/Units: Added functions to modify WorldEffects updatefield 2023-03-18 20:49:02 +01:00
Shauren
512f5138d4 Core/Creatures: Use togglable CREATURE_STATIC_FLAG_4_TREAT_AS_RAID_UNIT_FOR_HELPFUL_SPELLS instead of equivalent flag from creature_template.type_flag 2023-03-17 23:02:47 +01:00
Shauren
6e309ed17f Core/Creatures: Allow flagging creatures to not clear their tap list when evading 2023-03-15 19:42:58 +01:00
Shauren
d26d38075c Core/Creatures: Allow disabling melee attacks for all creatures, not just the ones using SAI 2023-03-13 20:22:47 +01:00
Shauren
eb93afffc0 Core/Creatures: Allow toggling creature default root state 2023-03-13 14:52:11 +01:00
Shauren
155cf58236 Core/Creatures: Allow scripts to change creature loot id (must be done before death) 2023-03-13 00:09:18 +01:00
Meji
5787c0173b Core/Auras: Implement caster selection of SPELL_AURA_TRIGGER_SPELL_ON_EXPIRE (stored in MiscValue) (#28860) 2023-03-12 17:23:05 +01:00
Meji
5d5ca30b23 Core/Spells: Allow implicit targeting of serverside WorldObjects (#28827) 2023-03-12 17:12:36 +01:00
Shauren
91e7401e64 Core/Creatures: Allow turning off experience gain from creatures by scripts 2023-03-12 13:20:25 +01:00
Shauren
ebf799c0f6 Core/Creatures: Allow disabling loot for creatures 2023-03-12 13:05:35 +01:00
Shauren
8f38c12c4e Core/Misc: Move GetContentTuningForArea from ObjectMgr to DB2Manager 2023-03-12 11:58:19 +01:00
Meji
bb67731711 Core/Fishing: Update correct fishing skill according to area expansion (#28838)
Closes #26676
2023-03-12 11:07:34 +01:00
Shauren
0956873613 Core/Creatures: Allow overriding default gossip menu id 2023-03-12 00:13:49 +01:00
Ghaster
5c9283244b Core/DataStores: Fixed loading CommonData when IdTable is present (#28853) 2023-03-11 15:38:46 +01:00
Shauren
e0e70948e4 Build fix 2023-03-11 14:18:25 +01:00
Shauren
6bcbc786e5 Core/Creatures: Wrap all creature static flags in a structure 2023-03-11 13:45:16 +01:00
Shauren
080bf4c565 Core/Scripts: Make CreatureAI::DoZoneInCombat overload accepting a different creature static 2023-03-11 13:37:03 +01:00
Shauren
4300c3edd3 Core/Movement: Refactor TimedFleeingMovementGenerator to use chrono types 2023-03-11 13:35:46 +01:00
Shauren
7ea438ebdc Core/Creatures: Implemented unkillable flag (prevent health from going below 1) 2023-03-11 00:07:57 +01:00
Shauren
379b1ec6ae Core/Creatures: Added fields for static flags to creature class for future use 2023-03-10 21:50:01 +01:00
Shauren
689d3a667a Core/Creatures: Allow overriding non-gossip based trainer ids for creatures 2023-03-10 19:09:48 +01:00
Meji
8cc4fc74af Core/Gossips: Enable loading gossip_menu_option using GossipNpcOption not yet implemented (#28849) 2023-03-09 00:04:39 +01:00
Shauren
cf2e0e2faa Core/Movement: New waypoint movement features
* Allow going backwards on a repeatable waypoint path (instead of going directly to first point)
* Allow triggering random movement on path ends
* Max duration of waypoint movement
* Skipping mmap usage
* Forced speed for whole path
* Forced run/walk for whole path
2023-03-07 20:13:28 +01:00
Shauren
705d5701bf Core/Movement: Refactor jump speed calculation out of spell code 2023-03-06 00:14:42 +01:00
Shauren
cdc09d29bc Core/Units: Added Unit::SetFacingToPoint function 2023-03-05 15:45:57 +01:00
Shauren
39b76cfbc2 Core/Movement: Allow specifying timeout for follow movement 2023-03-04 14:57:17 +01:00
Naddley
1baa2f4f39 Scripts/AzureVault: Implement Leymor encounter (#28810) 2023-03-02 23:52:05 +01:00
Shauren
0026706e83 Core/Movement: Extend MovePoint with new arguments
* Forced speed
* Speed selection mode (walk, run or default)
* Distance from target point that is considered close enough to finalize movement
2023-03-02 23:24:42 +01:00
Shauren
66b29fba44 Core/Movement: Allow specifying timeout for random movement 2023-03-01 21:58:07 +01:00
Meji
0748986835 Core/Misc: Update SkillLine and LockType definitions (Dragonflight) (#28829) 2023-03-01 12:02:29 +01:00
Shauren
9fe8ee3622 Core/Spells: Make CastSpellExtraArgs copy and movable 2023-02-28 00:22:18 +01:00
Shauren
a8bb1739e9 Core/Spells: Refactor Spell::finish to accept SpellCastResult argument instead of just a bool indicating success 2023-02-28 00:19:31 +01:00
Shauren
982b60f39c Core/Misc: Add launchDelay argument to Unit::SendPlaySpellVisual overload accepting Unit* argument 2023-02-26 19:58:04 +01:00
Shauren
3400c5a52c Core/Spells: Updated silence flags for 9.0 and rename unit flag to its new meaning 2023-02-26 00:58:48 +01:00
Shauren
cbdb255958 Partial revert of "Core/Spells: Moved SpellVisual functions from Unit to WorldObject" - client only accepts unit guids in these packets (orphan visuals not reverted)
This partially reverts commit 54f607641a.
2023-02-25 16:24:44 +01:00
Gosha
f8f994998a Core/Players: Fix mail memory leaks happening if mail is received before saved mail is loaded (during loading from db) (#28826) 2023-02-20 23:14:20 +01:00
Shauren
e6b43c0d5c Core/Spells: Remove TRIGGERED_IGNORE_CASTER_AURASTATE from default triggered spell flags
Closes #28820
2023-02-18 18:43:27 +01:00
Shauren
d5ec4a7f05 Core/Misc: Mention vmaps in error message about loading gameobject models 2023-02-16 11:19:37 +01:00
Aokromes
1502648598 Update worldserver.conf.dist 2023-02-16 10:43:25 +01:00
DeadMouse
f7c9a85327 Core/Guilds: Fixed loading achievement CompletingPlayers guids from db. (#28813) 2023-02-14 16:49:20 +01:00
Shauren
9f088c2e04 Core/Units: Pass real damage taken after level scaling calculations to DamageDone and DamageTaken script hooks 2023-02-11 16:54:46 +01:00
Смердокрыл
b37333c1d9 Core/Auras: Implemented SPELL_AURA_KEYBOUND_OVERRIDE (#28809)
Co-authored-by: MaxtorCoder <warsongkiller.s8@gmail.com>
Co-authored-by: Shauren <shauren.trinity@gmail.com>
2023-02-10 11:29:43 +01:00
Shauren
b842f2be55 Core/Auras: Remove channeled auras when caster and target are not on the same map
Closes #28777
Closes #28792

(cherry picked from commit d23c839998)
2023-02-09 19:06:36 +01:00
Shauren
f79cd0f526 Scripts/Events: Fixed infinite loop with auras 71507 and 71508 casting each other when unit is removed from map
(cherry picked from commit 70e985c7f7)
2023-02-09 10:31:48 +01:00
Gildor
0e76b4ab9d Core/Battlegrounds: Prevent end Arena when a dead player logout (#28766)
(cherry picked from commit aeb4d18e20)
2023-02-09 10:31:48 +01:00