Commit Graph

15461 Commits

Author SHA1 Message Date
Shauren
f4e4e62aea Core/Conditions: Allow battleground maps to use CONDITION_INSTANCE_INFO 2023-11-05 20:49:05 +01:00
Shauren
4628622b1b Core/Auras: Fixed SPELL_AURA_CHARGE_RECOVERY_AFFECTED_BY_HASTE_REGEN affecting unrelated spells 2023-11-04 15:08:50 +01:00
Shauren
e9b0d347a4 Core/Spells: Store BasePoints as float in SpellEffectInfo 2023-11-03 10:38:43 +01:00
Shauren
31da896eb2 Core/Spells: Prevent duplicating trait configs for Generic type 2023-11-02 20:05:29 +01:00
Shauren
20b0ad736c Core/Gossip: Rename and document text id field in SMSG_GOSSIP_MESSAGE to include classic differences 2023-11-01 23:43:12 +01:00
Shauren
32c537c24f Build fix 2023-10-31 21:22:51 +01:00
Shauren
9894f6b802 Core/Random: Changed random functions returning doubles to return floats
* They were all cast to float at use anyway
* Improves roll_chance_f performance (rand32() is now called internally by uniform_real_distribution once instead of twice)
2023-10-31 20:20:00 +01:00
Shauren
a0fdac0ecc Core/Auras: Update mount capability aura after all login loading is done 2023-10-30 14:02:26 +01:00
Meji
b8ce70d528 Core/SAI: Moved event_flags for difficulties to new field Difficulties (#29377) 2023-10-30 09:53:52 +01:00
Jeremy
79e69f3634 Core/Group: Fix possible crash (#29400) 2023-10-30 00:03:37 +01:00
Shauren
73e0b3e77c Core/Creatures: Taxi improvements
* Fixed flight master minimap icon
* Fixed crash on Argus
* Implemented teleport taxi nodes

Closes #29389
2023-10-28 22:13:59 +02:00
Shauren
64a14f13ac Core/Players: Don't update mount capability while loading from db - auras are loaded before all known spell sources are processed
Closes #29391
2023-10-27 20:10:20 +02:00
Shauren
858c393d07 Core/Spells: Make SpellEffectInfo not copyable 2023-10-26 15:52:22 +02:00
Shauren
2eceab3963 Add missing override 2023-10-24 10:51:00 +02:00
Shauren
930a08fe03 Core/Spells: SpellAttr8 fixups - use creator instead of owner for SPELL_ATTR8_ONLY_TARGET_IF_SAME_CREATOR and removed cast time requirement for channelled spell predicted healing 2023-10-24 10:38:27 +02:00
Shauren
973b5f404f Core/DataStores: Don't send hotfix ids in SMSG_AVAILABLE_HOTFIXES that don't have a hotfix blob for client locale
Closes #29378
2023-10-23 18:15:01 +02:00
Shauren
dc9361fcc2 Core/Spells: Named and implemented most of SpellAttr8 2023-10-22 18:39:59 +02:00
Teleqraph
9eceff2bc2 Core/Map: Implement several difficulty getters (#29370)
Co-authored-by: ModoX <moardox@gmail.com>
2023-10-22 11:24:48 +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
a3702cc526 Core/Misc: Remove incorrect (and unused) equality operator overloads from LinkedListHead::Iterator class 2023-10-18 20:21:32 +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
Shauren
da0ba86694 Core/MMaps: Implemented a way to enable/disable certain terrain types for movement on the entire map 2023-10-16 11:57:24 +02:00
Meji
71bac3bc2d Core/Achievements: Fix CriteriaTypes related to GameEvents (#29368) 2023-10-15 21:26:28 +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
funjoker
17c69368a3 Dep/Boost: Drop windows boost hacks (#29358) 2023-10-13 21:10:01 +02:00
Meji
9f68215bb6 Core/Misc: Use DB2Manager::IsInArea for area-related criterias and conditions (#29359) 2023-10-13 21:09:02 +02:00
ModoX
2406400811 Core/AreaTrigger: Fixed a bug where polygon shaped areatriggers decreased in height for selection depending on at lifetime 2023-10-13 01:48:37 +02:00
Jeremy
32af4bf8fa Core/Battlegrounds: Rework Eye of the Storm (#29351) 2023-10-12 22:52:43 +02:00
Shauren
ab2b5f6858 Core/PacketIO: Fixed structure of SMSG_ITEM_PUSH_RESULT 2023-10-09 18:36:14 +02:00
Naddley
99220af493 Scripts/Mardum: Implement Quest: "Eye On the Prize" (#29352) 2023-10-09 01:11:25 +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
Shauren
e161874695 Core/Realms: Replaced hardcoded realm category list with Cfg_Categories.db2 2023-10-05 23:57:25 +02:00
Naddley
7719feb762 Core/DB2: Add Mardum map to be split by faction (#29353) 2023-10-05 23:14:02 +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
b7c945b3b6 Core/Achievements: Fix mistake in loading criteria with start events (#29348) 2023-10-04 00:12:23 +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
Rochet2
2037749ddd Core/Misc: Fix log format string (#29343) 2023-09-30 17:46:17 +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
69317c2594 Core/Spells: Defined and implemented more spell effect attributes - AlwaysAoeLineOfSight, IsHarmful, PlayersOnly, EnforceLineOfSightToChainTargets 2023-09-28 00:45:31 +02:00
Shauren
abeb62a18f Core/Misc: Fixed copypaste mistake in error log 2023-09-27 18:38:36 +02:00