Commit Graph

6540 Commits

Author SHA1 Message Date
ModoX
78012dadf2 Core/Unit: Restore function of HandleKillPlayer after bf107e0581
* also fix build
2024-01-01 03:33:17 +01:00
Jeremy
bf107e0581 Core/Battleground: Changed HandleKillUnit hook to accept any Unit* as killer 2024-01-01 03:26:56 +01:00
ModoX
38a80d7566 Core/Player: Rename GetQuestSlotObjectiveData to GetQuestObjectiveData 2024-01-01 02:38:12 +01:00
Shauren
099ad4a0fd Core/Misc: Fixed a bunch of uninitialized class fields 2023-12-31 17:08:54 +01:00
ModoX
a5d2d6e465 Core/Conversation: Log error if conversation is started multiple times 2023-12-31 15:58:07 +01:00
Shauren
ee7b0e82fa Core/Quests: Removed slow queries from daily and weekly resets
Closes #29146
2023-12-31 00:42:19 +01:00
ModoX
7e061adffa Core/AreaTrigger: Fallback to CreateProperties script, if ScriptName of static areatrigger is not provided 2023-12-30 23:18:00 +01:00
Meji
37eb2e64a6 Core/AreaTriggers: Refactor (#29500)
* Moved IsServerside to custom flags
* Flags moved from areatrigger_template to areatrigger_create_properties
* New field to create custom CreateProperties (IsCustom)
* New field to reference custom areatriggers (IsAreatriggerCustom)
* Moved fields for shape data to areatrigger_create_properties
2023-12-30 17:14:09 +01:00
Shauren
4dce6ab228 Core/Quests: Implemented QUEST_OBJECTIVE_FLAG_2_QUEST_BOUND_ITEM that makes required items not be stored in inventory 2023-12-30 15:45:37 +01:00
Jeremy
1ef0c04520 Core/Battlegrounds: Clean up some Team/TeamId parameters to use enums instead of raw integer types (#29535)
* Fix criteria data type bg loss team score
2023-12-29 14:12:15 +01:00
Jeremy
42de312a79 Core/Spells: Clean up some gameobject types in EffectOpenLock (#29532) 2023-12-28 19:46:50 +01:00
Teleqraph
bfbda8dcce Core/Creatures: Refactor CreatureEliteType (#29525)
* Turn into enum class with official names
2023-12-28 19:11:54 +01:00
Shauren
308a34ab41 Core/Quests: Fixed accessing freed memory after .reload quest_template 2023-12-20 15:15:30 +01:00
Ovahlord
53ac8d3ef5 Core/Units: Allow self inflicted damage to bypass CREATURE_STATIC_FLAG_UNKILLABLE (#29502) 2023-12-19 18:21:45 +01:00
ModoX
ee95a5e00f Core/Vehicle: Only interrupt channels with SpellAuraInterruptFlags::Mount when entering a vehicle (#29430) 2023-12-15 10:18:30 +01:00
ModoX
9dd8647125 Core/Player: Added helpers to check quest objective status 2023-12-12 08:18:42 +01:00
Shauren
78bcc3f52a Core/Misc: Minor code modernization - kill std::bind 2023-12-08 20:27:41 +01:00
Shauren
6024b307e0 Core/Items: Fixed socket bonus checks (and reduce differences between branches) 2023-12-06 18:35:45 +01:00
Shauren
9022f23748 Core/Players: Learn parent skilllines if they are missing while learning child skills
Closes #29482
2023-12-04 19:42:12 +01:00
Shauren
7cafeb46b3 Core/Creatures: Don't require creature.modelid to be one of linked creature_template models 2023-11-26 00:20:13 +01:00
Meji
c1b36eec56 Core/Units: Update PlayHoverAnim state when flying or hovering (#29434) 2023-11-25 14:04:33 +01:00
Ovahlord
27019a62a4 Core/Spells: Implement spell queue (#29409) 2023-11-25 00:00:10 +01:00
Shauren
3a50bc50a2 Core/Auras: Fixed crash happening when a periodic aura tick triggers SPELL_AURA_SPLIT_DAMAGE_PCT
Closes #29450
2023-11-23 11:05:49 +01:00
Shauren
b888b1b09f Core/Calendar: Implement different timezone support for ingame calendar
Closes #8390
Closes #29427
2023-11-21 12:25:22 +01:00
Shauren
dfc757acc3 Core/Objects: Fixed SelectNearestPlayer 2023-11-13 19:01:11 +01:00
Meji
c05466fa0c Core/Creatures: Remove stand state when a creature attacks or dies (#29396) 2023-11-10 22:01:27 +01:00
Shauren
1eea1d11b1 Core: Update to 10.2.0 2023-11-09 13:33:26 +01:00
Shauren
e9b0d347a4 Core/Spells: Store BasePoints as float in SpellEffectInfo 2023-11-03 10:38:43 +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
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
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
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