Commit Graph

6505 Commits

Author SHA1 Message Date
Shauren
dc9361fcc2 Core/Spells: Named and implemented most of SpellAttr8 2023-10-22 18:39:59 +02:00
Shauren
4e87bd7942 Core/Spells: Named and implemented most of SpellAttr7 2023-10-21 14:49:42 +02:00
Shauren
4abcf7fb33 Core/Players: Fixed pvp flag being missing when logging in with war mode disabled but pvp enabled
Closes #29336
2023-10-19 18:32:16 +02:00
Shauren
7b6589c1ec Core/Misc: Fixed thread-unsafe access to list of objects that should be spawned in a cell
Closes #29372
2023-10-17 15:48:02 +02:00
Meji
10b06ff50f Core/Achievements: Fix CriteriaTypes related to areas and zones (#29367) 2023-10-15 16:42:17 +02:00
Shauren
0f7dd4eadf Core/Auras: Implemented SPELL_ATTR7_DISABLE_AURA_WHILE_DEAD (suppress aura applications while dead without removing the aura) 2023-10-15 13:52:11 +02:00
Shauren
dc661a34b1 Core/Auras: Registering a new owned aura will now search existing owned auras instead of applied auras to check for unstackable one
Closes #22234
2023-10-14 16:55:12 +02:00
Jeremy
52102a6395 Core/Objects: Added GameObject type parameter to FindGameObjectOptions (#29356) 2023-10-08 19:59:21 +02:00
Shauren
d2baaac9ec Core/Chat: Corrected chat channel flag implementations 2023-10-07 18:29:53 +02:00
Shauren
0ce96adb7a Core/Objects: Treat areas that have ParentAreaID filled but dont have IsSubzone flag as zones instead of areas 2023-10-06 20:22:14 +02:00
Jeremy
0aa61e9341 Core/GameObject: Update spawn conditions when new ControlZone event is triggered (#29349) 2023-10-04 12:50:44 +02:00
Jeremy
f96f041c3e Core/GameObject: Implement ControlZone gameobject type (#29320) 2023-10-03 15:55:24 +02:00
Shauren
9c0bfc7c8c Core/AreaTriggers: Add missing null checks for serverside areatriggers
Closes #29346
2023-10-02 00:48:09 +02:00
Shauren
c676d14772 Core/AreaTriggers: Implement missing functionality
* Scale curves are now taken into account when searching for units inside
* Implemented SpellModOp::Radius for areatrigger radius
* Implemented OverrideMoveCurve updatefields - overrides areatrigger position
* Implemented FacingCurve and AREATRIGGER_FLAG_HAS_ABSOLUTE_ORIENTATION
* Implemented ***Target fields for all shape types
* Fixed facing calculation for areatriggers with spline movement
2023-10-01 18:56:35 +02:00
Keramat Jokar
5b4b1892b4 Core/Players: Implement mastery and versatility in character_stats (#29342) 2023-09-30 16:41:03 +02:00
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