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
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
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
Ovahlord
4d8da1fcf3
CI/Cicle: sync config with trinity's master branch and no longer use the 4.3.4 branch name since we do work on our own master branch
2023-08-21 17:03:54 +02:00
Ovahlord
972239e25c
CI/CircleCI: use the correct branch in dockerhub images
2023-08-20 21:17:48 +02:00
Ovahlord
18e2a744bb
Misc: reduce differences in Docker and CircleCI configs between branches
2023-08-20 21:12:29 +02:00
Ovahlord
a4ffa701a5
Core/Spells: implement SPELL_ATTR0_CU_IS_TALENT
2023-08-19 22:39:23 +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
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
ab1b089b80
Dep/StormLib: fixed debug build
2023-08-19 10:13:37 +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
Ovahlord
96b1933a6c
Core/Spells: removed deprecated radius fix for the Lich Kings's Defile ability
2023-08-07 20:32:32 +02:00
Ovahlord
e1492bc0e9
Core/Spells: removed unnecessary spell attribute hack from Earth Shield and cleaned up its spell script a bit
2023-08-07 19:29:31 +02:00
Ovahlord
be53999f09
Core/Spells: restore a couple spell attribute assignments that went lost in 2bcc645cd3
2023-08-07 17:41:24 +02:00
Ovahlord
a550a08e3f
2bcc645cd3 followup
2023-08-06 12:59:55 +02:00
Ovahlord
2bcc645cd3
Core/Spells: ported radius entry indexing from master branch and dropped several now deprecated spell 'fixes' from spellMgr
2023-08-06 12:54:05 +02:00
Ovahlord
569d66d352
Core/Packets: validate more item values in transmogrification checks to match clientside behavior
2023-08-05 17:52:44 +02:00
Ovahlord
3b5edcdb3e
Core/Packets: added clientside item level check to reforge opcode handler to prevent packet spoofing
2023-08-04 22:19:27 +02:00
Ovahlord
941e3137cd
buildfix
2023-08-03 22:02:59 +02:00
Ovahlord
5bc189372b
CMake: fixed FindOpenSSL cmake macro
2023-08-01 10:20:00 +02:00
Ovahlord
909f12b929
DB: corrected a sql file name
2023-07-18 19:33:52 +02:00
Ovahlord
7743236911
nopch fix
2023-07-18 08:26:27 +02:00
Ovahlord
12a3e9e64c
Core/Spells: implement generic shop keeper greeting spells and use them for a couple Stormwind Vendors
2023-07-18 00:02:21 +02:00
Ovahlord
6c1c91b6b2
Core/DataStores: implement PlayerCondition.dbc
...
* additionally implemented a DB table for custom entries as many of these conditions are strictly server side
* use server side conditions for Stormwind's faction vendor as example usage
2023-07-17 14:53:30 +02:00
Ovahlord
4e397e76d0
Core/Spells: implement TARGET_DIR_SUMMON and use it to properly support TARGET_DEST_CASTER_SUMMON
...
This fixes positions for pet summons and gameobject summons such as Campfires
2023-07-17 01:23:56 +02:00
Ovahlord
7f5a407653
DB/Characters: applied a missing character db update to its base file
2023-07-16 22:05:21 +02:00
Ovahlord
228e3059c9
Core/Crypto: moved away from deprecated SHA1 methods in CalculateSHA1Hash
2023-07-16 22:02:13 +02:00
Ovahlord
ca37a71c3a
DB: added a missing change to 2023_07_11_00_world.sql
2023-07-16 21:40:28 +02:00
Ovahlord
a3c46b7249
Core/Misc: mark a couple ctors as noexcept to silence warnings
2023-07-16 15:54:24 +02:00
Ovahlord
53155526bf
Core/Quests: allow QUEST_SPECIAL_FLAGS_AUTO_PUSH_TO_PARTY to be set in quest_template_addon
2023-07-11 17:34:52 +02:00
Ovahlord
fb165cc83a
DB/Quests:
...
* removed all special flags 2 from DB as this flag has a different functionality in the future
* fixed startup errors related to recent quest flag updates
* dropped some dated and wrong smart scripts related to the quest flag updates
2023-07-11 17:13:06 +02:00
Ovahlord
a3dd0d75cf
Core/Quests: ported quest flag and visbility update changes from master branch
2023-07-11 15:21:09 +02:00
Ovahlord
833b77c05e
Core/Units: removed a deprecated pointer initialization for m_vehicleKit
2023-07-09 11:51:35 +02:00
Ovahlord
76a9918b0d
Core/Spells: check for valid SPELL_AURA_CONTROL_VEHICLE effects when using SummonPropertiesParamType::RideSpell
2023-07-09 11:51:09 +02:00
Ovahlord
b17585fc55
Scripts/Misc: fixed more GCC warnings
2023-07-08 22:24:51 +02:00
Ovahlord
51b54151e3
buildfix
2023-07-08 21:59:14 +02:00
Ovahlord
b489a905e1
Core/Misc: fixed another bunch of GCC warnings
2023-07-08 21:33:08 +02:00
Ovahlord
3de1f9a104
Core/BNetServer: fixed another GCC warning
2023-07-08 21:20:07 +02:00
Ovahlord
f7965ef27c
Scripts/ToldBarad: fixed some GCC warnings
2023-07-08 21:17:01 +02:00
Ovahlord
e7e4c79ef1
Tools:VMapExtractor: converted filenames and paths to strings
2023-07-08 21:11:02 +02:00
Ovahlord
3cfee9d3d0
Tools/MapExtractor: converted filenames and paths to strings
2023-07-08 20:42:55 +02:00
Ovahlord
5f808b5247
Core/Entities: modernized several pointers and arrays in Player, Unit and Creature classes
2023-07-08 17:55:25 +02:00
Ovahlord
eb3a3dc46f
Build/CI: set up GithubActions build config
2023-07-08 16:39:10 +02:00
Ovahlord
8ff62c1d40
Core/Addons: moved away from deprecated OpenSSL methods
2023-07-08 14:55:22 +02:00
Ovahlord
328dff8d77
Tools/ConnectionPatcher: remove unreferenced variable for commonAppData is only being used by windows binaries
2023-07-08 14:47:25 +02:00
Ovahlord
b4aa5a82c9
nopch fix
2023-07-08 00:10:55 +02:00
Ovahlord
d6801c5dc4
Core/Misc: fixed more deprecation warnings
2023-07-07 23:52:15 +02:00
Ovahlord
083fb2da32
Build: move MSCV warning C5054 to warning level 3
2023-07-07 23:44:27 +02:00
Ovahlord
208378713b
Core/Misc: fixed more warnings
2023-07-07 23:34:03 +02:00
Ovahlord
2fc86f70e2
Core/Warden: switched away from more deprecated openSSL methods
2023-07-07 23:25:36 +02:00
Ovahlord
c231bf34e5
Core/Spells: fixed more warnings and deprecations
2023-07-07 23:10:54 +02:00
Ovahlord
aaff7e2ced
Core/Units: fixed more deprecation warnings
2023-07-07 22:54:01 +02:00
Ovahlord
e12c3597f4
Core/Unit: fixed more deprecation warnings
2023-07-07 22:29:52 +02:00
Ovahlord
d924871a2a
Core/Misc: fixed a bunch of deprecation warnings
2023-07-07 22:14:22 +02:00
Ovahlord
63f85a613f
nopch fix
2023-07-07 21:51:14 +02:00
Ovahlord
cce47d52d0
CI/AppVeyor: build scripts as static
2023-07-07 21:50:32 +02:00
Ovahlord
a7b244253a
Crypto/SHA256: moved away from deprecated OpenSSL methods
2023-07-07 21:47:55 +02:00
Ovahlord
e8cfcd7016
Crypto/ARC4: use the correct cipher reference in ctors
2023-07-07 21:27:19 +02:00
Ovahlord
d20c2f2c34
Core/Crypto: switched away from deprecated openSSL functions in HmacHash
2023-07-07 21:23:58 +02:00
Ovahlord
1539875440
CI/AppVeyor: Upgrade image to latest master version
2023-07-07 21:13:33 +02:00
Ovahlord
6fe9ebbded
CMake: fixed GCC cmake settings file
2023-07-07 21:09:13 +02:00
Ovahlord
8ead2592b8
Revert "CircleCI: Switch to 20.04"
...
This reverts commit 26a3a05e29 .
2023-07-07 21:04:18 +02:00
Ovahlord
b579f956cb
Revert "CMake: reduce required cmake version to 3.16 to support older CircleCI images until openSSL 3 support has arrived"
...
This reverts commit 6a309a2e05 .
2023-07-07 21:02:12 +02:00
Ovahlord
2c94bf0a16
Core/Instances: fixed another deprecation warning
2023-07-05 14:42:09 +02:00
Ovahlord
f34534465a
Build: enable C++20 and updated all compiler requirements
...
* ported some header and cmake updates from master branch
2023-07-04 23:49:57 +02:00
Ovahlord
185c80dd96
nopch fix
2023-07-04 07:45:41 +02:00
Ovahlord
6a309a2e05
CMake: reduce required cmake version to 3.16 to support older CircleCI images until openSSL 3 support has arrived
2023-07-04 07:21:55 +02:00
Ovahlord
7c43726ef3
Core/Spells: allow negative effect values for SPELL_EFFECT_INEBRIATE in order to sober up the player
2023-07-01 18:00:01 +02:00
Ovahlord
82e27f72af
Core/Spells: Recuperate will now have its done ticks reset when being refreshed by Deadly Momentum to continue healing beyond its initial duration
2023-06-14 16:52:23 +02:00
Ovahlord
322743f5f7
Core/Spells:
...
* moved Shadowflame to spellscript
* fixed Bane of Havoc
* Backdraft will now fire on cast instead of on hit
2023-06-12 17:11:18 +02:00
Ovahlord
06d79464d3
Core/Spells: fixed rank 2 of Improved Searing pain having no effect
...
*the rank 2 spell does not have a 2nd spell effect containing the health threshold and since no glyph or talent is affecting this mechanic, we just use use the plain value instead of doing calculation shenanigans
2023-06-12 15:47:29 +02:00
Ovahlord
ebee887d61
Scripts/Firelands: removed a duplicate cast for Magma Trap Vulnerability as the heroic versions of Magma Trap Eruption take care of things already
2023-06-12 11:31:22 +02:00
Ovahlord
e87c7ae513
Core/Spells: allow players to absorb fire damage from environmental damage spell effects
2023-06-07 11:15:48 +02:00
Ovahlord
d4160ed9eb
Misc: removed some obsolete cmake target checks
2023-06-05 14:43:06 +02:00
Ovahlord
40ec92758c
Core/Packets: converted SMSG_EMOTE to packet class
2023-06-05 13:24:02 +02:00
Ovahlord
b5f2c6f4c5
Scripts/Stratholme: moved Timmy the Cruel's spawning to database since he is spawned by default since Cataclysm
...
*linked him to spawn groups while at it
2023-06-02 21:55:59 +02:00