Commit Graph

36794 Commits

Author SHA1 Message Date
Shauren
fbffbbbe14 Dep: Switch to boost process instead of old standalone version 2021-02-19 15:21:15 +01:00
Ovahlord
0299fa4fe1 Core/Misc: replace boost::optional with std::optional 2021-02-19 14:07:43 +01:00
Ovahlord
44de269fca fixed build errors caused by recent cherry picks 2021-02-19 13:31:04 +01:00
Shauren
ef25a19326 Core/Units: Allow mind controlling non-controllable vehicles (for example players that become vehicle during boss encounters or creatures that only are vehicles to show non standard power type)
Closes #24562
2021-02-19 13:15:08 +01:00
Matan Shukry
73efb99005 Core/Conditions: CONDITION_NEAR_CREATURE will exclude personal spawns that aren't the target's owner (#26102)
# Conflicts:
#	src/server/game/Grids/Notifiers/GridNotifiers.h
2021-02-19 13:04:08 +01:00
Matan Shukry
abae5e4596 Core/Spells: Implemented summoning a personal gameobject effect (#25917)
# Conflicts:
#	src/server/game/Entities/GameObject/GameObject.cpp
#	src/server/game/Entities/GameObject/GameObject.h
#	src/server/game/Miscellaneous/SharedDefines.h
#	src/server/game/Spells/SpellInfo.cpp
2021-02-19 13:01:10 +01:00
Ovahlord
63f2dcd05e Core/Spells: dropped Fingers of Frost charge drop spell script and use the new proc attribute instead. 2021-02-19 12:56:01 +01:00
Shauren
c667fe3028 Core/Auras: Do not warn about nonexisting proc spells when spell id is 0 and aura is a dummy 2021-02-19 12:52:24 +01:00
Shauren
bb450b82ef Core/Auras: Implemented new spell proc attribute PROC_ATTR_USE_STACKS_FOR_CHARGES to drop stacks instead of charges 2021-02-19 12:51:56 +01:00
Ovahlord
116a9864d8 DB/Misc: removed all query field hacks from creature_template based on bruteforce data 2021-02-16 17:09:46 +01:00
Ovahlord
c3e9861723 Core/Movement: implement creature movement info table to override movement speeds based on movement IDs
thx to @xvwyh for providing initial table data for the most common entries
2021-02-16 16:56:10 +01:00
Ovahlord
c20838ceaa Core/Movement: allow waypoints to have orientation values of 0 2021-02-05 11:16:45 +01:00
Ovahlord
ebc037e1eb DB/LCT: added missing waypoints for Oathsworn Tamer and updated Oathsworn Captain's waypoints to smooth waypoints 2021-02-01 18:31:29 +01:00
Ovahlord
cc25457fe8 Core/Units: send AI reactions uppon entering combat instead of attacking an enemy 2021-01-31 14:08:58 +01:00
Ovahlord
1e1ebf16bd Scripts/HoO: scripted Sun-Touched Servants 2021-01-29 21:27:31 +01:00
Ovahlord
3ac05d1b33 DB/Texts: removed unused texts from Siamat 2021-01-28 10:52:01 +01:00
Ovahlord
0bb7e3a385 Scripts/LCT: reworked Siamat encounter
* Modernized code all across the board
* Wailing Winds are now much closer to retail behavior
* Minions of Siamat are no longer chasing players and properly transform into clouds when possible instead of abruptly interrupting all actions
* Fixed an edge in which Siamat absorbed clouds but did not get his Gathered Storms effect
* Dropped all hacks
2021-01-26 23:19:02 +01:00
Ovahlord
9e50267eae Scripts/LCT: fixed Siamat's availability check 2021-01-26 18:13:11 +01:00
Ovahlord
b9736c8bbf Core/Loot: fixed displaying random suffix enchantments in loot windows 2021-01-26 05:42:54 +01:00
Ovahlord
c7540fc930 Core/Misc: corrected some oversights in recent commits 2021-01-26 05:37:10 +01:00
Ovahlord
928aeccd59 Core/Items: ported random enchantment updates from master branch 2021-01-24 14:36:07 +01:00
Ovahlord
9687131c65 Core/Movement: waypoint movement will now respect the currentwaypoint field in the creature table 2021-01-24 10:18:29 +01:00
Ovahlord
45e1dd7376 Core/PathFinding: re-added a accidentally dropped path length limit sanitizer 2021-01-24 10:18:29 +01:00
Ovahlord
6e7d916cf9 Misc: dropped travis builds from the repository
* there is no point in supporting greed
2021-01-22 19:32:54 +01:00
Ovahlord
71fe0ed943 Core/PathFinding: calculate pathing with 0.5f steps and convert them to blizzlike splines later in the process to get more precise results 2021-01-22 18:34:09 +01:00
Ovahlord
f91c30868f Core/Spells: 6c0cf9580b followup and improved readability of the code
superceeds #223
2021-01-19 14:18:48 +01:00
Ovahlord
6c0cf9580b Core/Spells: block Bandit's Guile procs when the rogue has reached deep insight 2021-01-18 23:57:19 +01:00
Ovahlord
890d6cd669 DB/LCT: added missing waypoints and formations to the two trash packs 2021-01-18 19:59:02 +01:00
Ovahlord
8204a3e93d Core/Spells: Bandit's Guile will now require a certain amount of successful procs before gaining the Insight buffs
closes #221
2021-01-18 19:01:48 +01:00
Ovahlord
38b4485e09 Scripts/LCT: reworked High Prophet Barim encounter
* modernized code style
* corrected behaivior of Blaze of the Heaven
* improved Plague of Age's spread reliability so it wont target already infected players
2021-01-18 18:15:41 +01:00
Ovahlord
ef4e3c675b Scripted/ZG: Ohgan is no longer on a spiritless diet and kills Chained Spirits again 2021-01-18 09:14:58 +01:00
Ovahlord
c0d6b4a04c DB/Creatures: block movement flag updates for Commander Ulthok to fix his movement visuals when standing in his puddle 2021-01-17 22:05:02 +01:00
Ovahlord
a15256f47a DB/Creatures: added two smooth waypoint pathings to Tol'Barad as example to how to use the system properly 2021-01-16 15:44:02 +01:00
xvwyh
4d95bcc068 Core/Spells: Correct swapped TARGET_UNIT_NEARBY_ALLY and TARGET_UNIT_NEARBY_PARTY 2021-01-15 18:27:22 +01:00
Shauren
69fb775c2d Core/Spells: Defined new spell attributes 2021-01-15 18:23:09 +01:00
Ovahlord
b7aafc8d01 fixed warnings 2021-01-15 16:23:09 +01:00
Ovahlord
dfab041648 Core/Movement: initialize stalled member in CyclicMovementGenerator's 2nd ctor overload 2021-01-15 16:01:18 +01:00
Ovahlord
b294c61ea5 DB: corrected the naming of two sql files 2021-01-15 12:20:15 +01:00
Ovahlord
7f04fb8137 Core/Movement: added a missing pointer check 2021-01-15 12:10:50 +01:00
Ovahlord
4420d35bfe Core/Players: correct packet content of SMSG_RESYNC_RUNES and send converted runes that have been converted previously since the effect handler for SPELL_AURA_CONVERT_RUNE only sends it when converting an unconverted rune
closes #214
2021-01-15 12:10:49 +01:00
Ovahlord
d5f9b8c26f Core/Movement: implement smooth waypoints
* delays can now be negative to support sniffed transition times from one waypoint path to another
* early transitions will now pick up the ongoing spline destination and start calculating their path from that point on
* waypoints may now use db side spline pathings in a new db table to support special spline shapes are not generated by normal pathfinding (e.g. scripted flight paths)
* current waypoints will still the work the way they did before for legacy and custom support
2021-01-15 12:10:49 +01:00
Ovah
4a158fdf22 Core/Spells: Ancestral Vigor will now stack it's health bonus values up to 10% of their target's maximum health
closes #212
2021-01-13 05:54:54 +01:00
Giacomo Pozzoni
5e3b57bae7 Core/Unit: Fix movement hiccups in water
* Core/Unit: Allow to define Units which can enter water but cannot swim

Allow to define Units which can enter water but cannot swim, i.e. crabs walking at the bottom of a sea.

* Add UNIT_FLAG_SWIMMING to creatures when entering combat

* Fix charmed creatures not entering water

* Always allow Creatures controlled by players to enter water

* Add swimming flag when possessing a unit and remove it properly at the end, even if the creature engaged combat before and after.
When adding/removing UNIT_FLAG_SWIMMING manually calling Creature::RefreshSwimmingFlag(true) might be required.
2021-01-11 12:33:54 +01:00
Ovahlord
6ba851e809 Core/Maps: corrected spawn mask check when spawning spawn groups
closes #209
2021-01-11 08:52:33 +01:00
Ovahlord
18cfca291b Core/Packets: converted SMSG_REQUEST_CEMETERY_LIST_RESPONSE and SMSG_RAID_GROUP_ONLY to packet class 2021-01-10 17:09:16 +01:00
Ovahlord
f9f69bb0fe Core/Packets: converted SMSG_RAID_INSTANCE_MESSAGE, SMSG_PENDING_RAID_LOCK, SMSG_INSTANCE_SAVE_CREATED and SMSG_TRANSFER_ABORTED to packet class 2021-01-10 11:55:10 +01:00
Shauren
0e09bdc6c5 Core/PacketIO: Add missing ByteBuffer operator overload 2021-01-10 09:44:55 +01:00
Ovahlord
45d5f647b5 Core/Packets: converted SMSG_UPDATE_LAST_INSTANCE, SMSG_UPDATE_INSTANCE_OWNERSHIP and SMSG_INSTANCE_INFO to packet class 2021-01-10 09:40:17 +01:00
Ovahlord
e6273c403c nopch fix round three 2021-01-09 17:41:37 +01:00
Ovahlord
c6ddca8fb3 nopch build fixes #2 2021-01-09 17:13:26 +01:00