Commit Graph
27236 Commits
Author SHA1 Message Date
Shauren 8acfadc779 Core/Objects: Treat areas that have ParentAreaID filled but dont have IsSubzone flag as zones instead of areas 2023-10-09 21:05:00 +02:00
Traesh 4e67618e5f Core/Spells: Fix CheckLocation for multi-level zone/area 2023-10-09 20:55:55 +02:00
Jeremy f8aa09f253 Core/Areas: Update AreaFlags from EnumeratedStings values 2023-10-09 20:41:30 +02:00
funjoker 4b31ee061c Scripts/Gilneas: Fix typo 2023-09-20 20:52:28 +02:00
Ovahlord 8ae604df69 Core/Spells: fixed proc of No'Kaled, the Elements of Death 2023-09-20 19:18:36 +02:00
funjoker 7608d21cbb Buildfix 2 2023-09-16 22:20:33 +02:00
funjoker 5ffa513be8 Core: Fix mistakes introduced in df32b341a5 2023-09-16 21:55:24 +02:00
funjoker d45deb5fbc Buildfix 2023-09-16 21:54:58 +02:00
funjoker df32b341a5 DB/Creatures: Port master model system
Fixes incorrect displayid for creatures, due to probability
2023-09-15 23:52:51 +02:00
Shauren 4a28f34563 Core/Misc: Silence compile warning in boost::process with version 1.83
(cherry picked from commit d8c98579d4a2c4191e42c2542901274ffe53083c)
2023-09-14 13:33:34 +02:00
funjoker 499720d38c Scripts: Fix quest Gasping for Breath 2023-09-12 21:11:44 +02:00
Ovahlord 58302441a2 Core/Creatures: implement CREATURE_STATIC_FLAG_DESPAWN_INSTANTLY 2023-08-27 19:52:09 +02:00
Ovahlord 5f2dbdd63c Core/Creatures: implement CREATURE_STATIC_FLAG_4_CANNOT_DAZE 2023-08-27 19:39:11 +02:00
Ovahlord aa459e53af Core/Creatures: apply CREATURE_STATIC_FLAG_5_240_DEGREE_BACK_ARC for parries and blocks as well 2023-08-27 19:14:56 +02:00
Ovahlord d1e59764da Core/Creatures: implement CREATURE_STATIC_FLAG_4_NO_BIRTH_ANIM 2023-08-27 18:35:02 +02:00
Ovahlord 94a37eeaa0 Core/Spells: implement CREATURE_STATIC_FLAG_5_240_DEGREE_BACK_ARC 2023-08-27 18:24:41 +02:00
Ovahlord 71ecd754ce build fix 2023-08-27 17:46:22 +02:00
Shauren 7acc26f09f Core/Creatures: Implemented unkillable flag (prevent health from going below 1) 2023-08-27 17:44:24 +02:00
Ovahlord 577bdd5ff4 Core/Creatures: implement CREATURE_STATIC_FLAG_NO_LOOT 2023-08-27 17:41:50 +02:00
Ovahlord ff575bcef0 Core/Creatures: ported all existing static flag implementations from master branch 2023-08-27 17:16:18 +02:00
Ovahlord 393b4d0dc6 Core/Creatures: implement static flag fields for creatures and ported their values from MoP 2023-08-27 16:14:18 +02:00
Shauren 5d35b9556f Core/Units: Fixed possible use after free in ThreatManager 2023-08-27 01:44:08 +02:00
Ovahlord f3a09fd934 Core/Movement: allow PATHFIND_SHORTCUT to be used for chasing units that have pathfinding disabled 2023-08-26 13:01:14 +02:00
Ovahlord 9fa5f65e5b Scripts/VP: reworked Altairus' up- and downwind spell script 2023-08-25 13:02:43 +02:00
Ovahlord 070db638a5 Core/Objects: converted a bunch of macros to constexpr 2023-08-25 12:25:23 +02:00
Ovahlord 41cb5dc8db buildfix 2023-08-25 12:24:53 +02:00
Ovahlord 72fd054bd7 Core/Maps: removed a unused leftover method from previous cherrypicks 2023-08-25 12:07:19 +02:00
Ovahlord 4a8d96b8d5 Core/World: modernized a couple arrays 2023-08-25 12:05:20 +02:00
Ovahlord 852f0cbc52 Core/Misc: fixed a couple warnings reported by file analysis 2023-08-25 11:53:53 +02:00
Ovahlord 5a62d6c570 Core/Movement: fixed edge cases in which hovering units were considered far from poly during path generation, resulting in incomplete paths getting returned 2023-08-24 21:35:05 +02:00
Ovahlord ff3beb0e92 Core/Movement: added some overloads to PathGenerator::CalculatePath 2023-08-24 20:51:15 +02:00
Ovahlord a9751de67c Core/Movement: allow hovering units to return PATHFIND_INCOMPLETE as their destination is always set off 2023-08-24 20:45:18 +02:00
Ovahlord 4e469f7fe0 Scripts/VP: removed SetHover script call from Altairus' script to avoid a duplicate application of the hover offset
*set the anim tier in database
2023-08-24 20:36:58 +02:00
Ovahlord a1e0459859 Core/Movement: kill some dead code from chase movement generator 2023-08-24 20:19:10 +02:00
Ovahlord 0840143137 Core/Movement: reworked chase movement
* the destination prediction is now much more reliable
* the movement generator will now more frequently check for valid positions to match retail behavior
* the catch-up mechanic will now adapt its speed to the target's one when being close enough to hit it
* temporarily disabled backwards movement when being too close to a target to avoid some edge cases that need additional research
* fixed the pathfinding reaching behavior so that they no longer follow you to unreachable obstacles and return home when they can't reach you anymore

closes #345
closes #260
2023-08-24 20:16:41 +02:00
Shauren 0b5ac91a0c Core/Misc: Add missing virtual destructors 2023-08-22 14:28:04 +02:00
Ovahlord a4ffa701a5 Core/Spells: implement SPELL_ATTR0_CU_IS_TALENT 2023-08-19 22:39:23 +02:00
Shauren ca034f4dbf Core/Auras: Convert most rules from Aura::CanBeSaved to a custom spell attribute 2023-08-19 22:26:12 +02:00
Ovahlord 86a06a5a5d Core/Spells: use already stored spell scaling values for coefficient calculation instead of accessing dbc data every single time 2023-08-19 18:50:56 +02:00
Shauren a1bf752e4b Core/Players: Don't remove unlearned spells from action bars 2023-08-19 18:20:20 +02:00
Shauren 1df15cf79e Core/Spells: Damage and healing bonus calculation fixes
* Spells with SPELL_DAMAGE_CLASS_NONE are now allowed to benefit from spellmods
2023-08-19 18:02:57 +02:00
Shauren 7264a541a9 Core/Misc: Replace std::abort with our ABORT macro
* libmysql is not a well behaved library on windows, it installs its own SIGABRT handler every time a new connection is opened, overriding our own

(cherry picked from commit 09dea76fb5ede974d6765d40985b033db3fba6a3)
2023-08-19 17:56:19 +02:00
Ovahlord 770f9e11db Core/Movement: sync spline code with master branch 2023-08-19 15:04:34 +02:00
Ovahlord dfa6f7a709 Core/Movement: fixed up logic in previously added random movement minumum wander distance check and prevent the random movement generator from launching too short splines 2023-08-19 14:51:31 +02:00
Ovahlord e9fecb39d8 Core/Movement: random movement now requires a minimum wander distance of 0.1 yards 2023-08-19 14:33:01 +02:00
Ovahlord 6ec7c6e757 Core/Datastores: fixed loading SpellCastingRequirements.dbc 2023-08-14 08:39:47 +02:00
Ovahlord a57e27e6d3 Core/Spells: implement reputation requirements for spells (mostly used in guild spells such as Guild Page) 2023-08-13 11:48:20 +02:00
Ovahlord e936684e78 Core/Spells: converted FacingCasterFlags of spell casting requirements to enumflag 2023-08-13 11:38:09 +02:00
Ovahlord 21c9d52d6f Core/Datastores: load all fields of SpellCastingRequirements.dbc 2023-08-13 11:36:06 +02:00
Shauren bfd31d59c2 Core/MMaps: Fixed pathing for objects that have terrain swaps active 2023-08-08 00:21:48 +02:00