Commit Graph

6490 Commits

Author SHA1 Message Date
Shauren
2de255bc17 Core/GameObjects: Implemented data22 for chests (allow opening while immune) 2023-09-30 16:31:01 +02:00
Shauren
e883b61094 Core/Spells: Implemented NoImmunity spell effect attribute 2023-09-29 21:16:50 +02:00
Shauren
58a5d485f8 Core/Units: Implemented UNIT_FLAG2_INTERACT_WHILE_HOSTILE 2023-09-28 14:57:25 +02:00
Shauren
112e60003f Core/Creatures: Allow UNIT_FLAG2_INTERACT_WHILE_HOSTILE to be set in database 2023-09-27 14:41:27 +02:00
Shauren
41a20b1e40 Core/Achievements: Fixed achievement criteria StartEvent and FailEvent
* Criteria using StartEvent cannot be updated without that event triggering first (not only for timed achievements)
* Implemented most StartEvent and FailEvent types
* Fixed saving criteria removed by RemoveCriteriaProgress
2023-09-25 00:53:56 +02:00
Shauren
4362a8c3f6 Core/Quests: Fixed optional quest objectives incorrectly changing quest state when they change completion state 2023-09-24 01:12:13 +02:00
Shauren
68b6d81d4c Core/Skills: Fixed updating riding skill value when learning riding spells automatically 2023-09-23 20:01:27 +02:00
Meji
ae1dd8caf0 Core/Players: Fixed learning riding spells (#29326) 2023-09-23 19:58:44 +02:00
Meji
0d9dd75fe2 Core/Quests: Fix questgiver status for trivial and future quests (#29328) 2023-09-19 21:37:14 +02:00
Shauren
47fc3cb852 Core/Instances: Kill instance_encounters table, it is no longer neccessary 2023-09-19 10:59:04 +02:00
Meji
911e9da2bb Core/Players: Fix environmental damage from lava (#29327) 2023-09-17 00:33:00 +02:00
Shauren
a667d723bf Core/Pets: Improved pet despawn behavior when mounting
* Pets will now only be despawned when starting to fly
* Fixed crash when summoning a pet that is different than the one that was despawned by flying

Closes #29303
2023-09-10 11:54:09 +02:00
Shauren
8efeb202a5 Core: Update to 10.1.7 2023-09-07 01:10:07 +02:00
Traesh
0bf5cf33c7 Core/AreaTriggers: Added SpawnDifficulties for spawned areatriggers (#29284) 2023-09-07 00:13:47 +02:00
Meji
d645b7e9cd Core/Creatures: Fix instant despawn for summons with unlimited duration (#29307) 2023-09-06 08:34:19 +02:00
Shauren
ba224f70ad Core/Auras: Defined and implemented new aura interrupt flags 2023-09-03 16:06:43 +02:00
ModoX
0e818e23e7 Core/AreaTriggers: Added SpellForVisual for db spawned areatriggers (#29277) 2023-08-31 20:58:58 +02:00
ModoX
8c26b9350d Core/Creature: Fixed logic for npcflag, unitflags when saving creatures to db
* 06ea822a31 followup
2023-08-31 16:15:26 +02:00
Shauren
2b54376d65 Core/Vehicles: Fixed crash happening if a vehicle despawns during handling of control vehicle aura removal
Closes #29290
2023-08-31 15:39:28 +02:00
ModoX
06ea822a31 Core/Creature: Save npcflags and unitflags as NULL in db if they are equivalent to creature_template entry
Closes #29297
2023-08-31 13:18:59 +02:00
Shauren
955343f747 Core/GameObjects: Don't restock non-personal chests that didn't have loot modified 2023-08-30 19:23:56 +02:00
ModoX
7c0ef292be Core/Creature: Allow creature table to override npc- and unitflags to 0 (#29281) 2023-08-29 21:18:06 +02:00
ModoX
2d0311b7d9 Core/GameObjects: Fixed GAMEOBJECT_TYPE_NEW_FLAG_DROP casting impl from wrong object 2023-08-29 08:47:04 +02:00
ModoX
bb5eab4c36 Core/GameObjects: Added some checks to GAMEOBJECT_TYPE_NEW_FLAG and GAMEOBJECT_TYPE_NEW_FLAG_DROP to prevent exploits 2023-08-29 08:47:02 +02:00
Jeremy
72b9aace54 Core/Battlegrounds: Implemented BfA Warsong Gulch (#29247) 2023-08-29 08:38:10 +02:00
Shauren
43584b4d1d Core/Misc: Fixed doxygen docs being attached to wrong fields 2023-08-27 01:58:50 +02:00
Shauren
ed98146d31 Core/Spells: Allow cancelling spell missiles without cancelling the entire spell 2023-08-26 23:36:26 +02:00
Shauren
c9751eb737 Added changes missing from previous commit 2023-08-26 18:28:13 +02:00
Shauren
7b9493eec7 Core/Auras: Allow effects of SPELL_AURA_SCHOOL_ABSORB_OVERKILL to be prevented by setting absorb value to 0 in script 2023-08-26 15:37:57 +02:00
Jeremy
0ede6c1556 Core/Battlegrounds: Rework queues (#29200)
* No more copies of Battleground classes
* FreesSlotQueues now have as key the MapId instead of queue id
* Random queues can now popup already busy specific battelgrounds (queues are NOT merged)
* Removed Holiday handling, this should already be handled in BattlegroundMgr::IsBGWeekend
2023-08-26 14:03:42 +02:00
Golrag
6175467c3e Core/GameObject: Skip setting state of NewFlag, if new state is equivalent to old state 2023-08-24 16:15:32 +02:00
Golrag
5e61827814 Core/GameObject: Expose several NewFlag fields for future purposes 2023-08-24 16:15:32 +02:00
Golrag
28c5d71b28 Core/GameObject: Added additional checks for GAMEOBJECT_TYPE_NEW_FLAG and GAMEOBJECT_TYPE_NEW_FLAG_DROP for potential exploits / lag issues 2023-08-24 16:15:32 +02:00
Jeremy
1336370b45 Core/GameObject: Mark some pvp related gameobjects as active (#29249) 2023-08-24 11:48:09 +02:00
ModoX
b10b97b35b Core/AreaTrigger: Handle unit exit after OnRemove hook has been called 2023-08-24 09:09:45 +02:00
Shauren
f0a862e71b Core/Misc: Modernize comparison operators 2023-08-24 00:51:26 +02:00
Shauren
f4297aa3c6 Core/Misc: Add missing virtual destructors 2023-08-22 12:38:55 +02:00
Shauren
9e1b97900e Core/Auras: Minor optimization for Unit object creation with msvc (not allocating a list end sentinel node for all of the 500 lists stored in Unit for each aura type) 2023-08-18 18:23:29 +02:00
Shauren
982feb5082 DB/Pets: Removed invalid spells from creature_template_spell
Closes #29149
2023-08-16 20:04:20 +02:00
Jeremy
1ab7050cb7 Core/Scripts: Add ZoneScript hook for AreaTrigger creation/deletion (#29236) 2023-08-15 21:33:59 +02:00
Shauren
fefc719263 Core/Creatures: Updated totem slot assignment logic
* Implemented SUMMON_SLOT_ANY_TOTEM
* Fixed showing totems on player frames
* Fixed removing totems from player frames
* Fixed being able to summon unlimited windfury totems
2023-08-15 00:49:30 +02:00
Shauren
ac1c041944 Core/Spells: Damage and healing bonus calculation fixes
* Spells with SPELL_DAMAGE_CLASS_NONE are now allowed to benefit from spellmods
* Fixed SPELL_AURA_MOD_DAMAGE_DONE_VERSUS_AURASTATE and SPELL_AURA_MOD_HEALING_DONE_PCT_VERSUS_TARGET_HEALTH not working for players
2023-08-14 13:34:40 +02:00
ModoX
35e5da37bd Core/Object: Implemented helper method PlayObjectSound 2023-08-13 23:59:24 +02:00
Shauren
1cae07870b Core/Creatures: Clean up temporary summon duplicate level initialization 2023-08-10 00:19:33 +02:00
Shauren
01a09de319 Core/Creatures: Allow modifying TempSummon duration after summoning 2023-08-09 11:43:29 +02:00
Shauren
1dd4b38170 Core/Creatures: std::chrono-ify TempSummon 2023-08-09 11:37:17 +02:00
Shauren
98007f859b Core/Misc: Turn ChrSpecialization into enum class 2023-08-07 00:05:36 +02:00
Nyr
d2784d4c65 Core/Misc: Move TalentSpecialization together with other db2 enums and rename it to ChrSpecialization 2023-08-07 00:05:36 +02:00
Shauren
9cdf3530f4 Core/Scripts: Added damage and healing calculation hook to spell and aura scripts allowing to override base damage amount, flat value mod and percent value mod separately 2023-08-01 21:31:06 +02:00
Shauren
197d4369c8 Core/Spells: Removed old combo point code leftovers 2023-07-31 11:55:00 +02:00