Commit Graph

36451 Commits

Author SHA1 Message Date
Ovahlord
47ac0004c2 Core/Packets: converted SMSG_DESTROY_OBJECT to packet class 2020-08-23 23:09:34 +02:00
Ovahlord
c504068259 Scripts/BWD: Maloriak will now try to release Aberrations until he has released all of them instead of stopping after 6 attempts 2020-08-23 21:10:02 +02:00
jackpoz
5989ad860c Core/Movement: Fix RandomMovementGenerator for swimming creatures
Fix RandomMovementGenerator for swimming creatures not moving at all due to PATHFIND_FARFROMPOLY being handled as wrong path.
2020-08-23 20:38:03 +02:00
Shauren
4ea65b38bd Core/Spells: Fix refreshing exclusive auras that have different values in each effect
Closes #24592
2020-08-23 20:22:18 +02:00
Shauren
3dfa88f20e Core/Spells: Relaxed aura exclusivity check to allow casting spells that have other, non-aura effects even if aura will not be applied 2020-08-23 20:21:40 +02:00
Shauren
5d98550574 Core/Spells: Fixed refreshing stat buff auras that have been improved by talents 2020-08-23 20:20:18 +02:00
Shauren
0c08285932 Core/Spells Fixed scroll stacking check when not targeting self
* Reuse code that removes non-stackable auras at apply to check before casting the spell to keep reagents/cast item
2020-08-23 20:18:52 +02:00
FAQ
cc085443ac Core/Spells: Scrolls should not be consumed, when they fail to apply. 2020-08-23 20:15:30 +02:00
Ovahlord
e0f9548624 DB/Spells: the normal and instant cast DoT effect of Pyroblast will no longer stack with each other 2020-08-23 20:09:35 +02:00
Ovahlord
864ce72818 Scripts/TSC: fixed Corborus' Crystal Shard's not attacking anything 2020-08-23 18:56:08 +02:00
Shauren
476ce2107d Core/Networking: Initialize MPSCQueueIntrusive dummy node without undefined behavior 2020-08-23 17:48:16 +02:00
Shauren
a24e11cdd3 Core/Networking: Switch to intrusive variant of MPSC queue to halve the number of memory allocations for packet sending (#24659)
# Conflicts:
#	src/server/game/Server/WorldSocket.h
2020-08-23 17:47:57 +02:00
Shauren
44e0d6c0f9 Scripts/Spells: Replace RegisterAuraScript with RegisterSpellScript and remove it 2020-08-23 17:44:48 +02:00
Shauren
7bad7247da Core/Scripts: Unify RegisterSpellScript and RegisterAuraScript macros to do the same thing and implemented passing custom arguments to spell script classes 2020-08-23 17:42:31 +02:00
Shauren
1a7f437b6d Core/Util: Added another template utility - find_type_if
* Trinity::find_type_if - Find a type matching predicate in a given template parameter pack
2020-08-23 17:42:19 +02:00
Shauren
4362a1fff1 Core/Util: Added new utilities
* Trinity::new_from_tuple - same as std::make_from_tuple except allocates object using "new"
* Trinity::is_tuple - detects whether given type is a tuple specialization
* advstd::type_identity - C++20 std::type_identity

# Conflicts:
#	src/common/Utilities/Tuples.h
2020-08-23 17:42:08 +02:00
Ovahlord
1ddb3d2456 Fixed more warnings 2020-08-23 17:38:45 +02:00
robinsch
1aaa949fff Core/Unit: Fixed race condition when loot recipient is in different map 2020-08-23 17:36:12 +02:00
Ovahlord
359d6f3a9f Core/Spells: fixed a potential crash in proccing auras of pet / guardian summoners 2020-08-23 17:32:48 +02:00
Ovahlord
52cc952392 Core/Units: fixed virtual item slot check for parry chance calculation 2020-08-23 17:25:04 +02:00
Ovahlord
116f10104a Fixed a warning 2020-08-23 17:22:27 +02:00
Ovahlord
a657a21c4a Core/Units: backported hit, dodge, parry and crit chance updates from 335 and fixed logics in 4.x specific code 2020-08-23 17:14:34 +02:00
Ovahlord
ec1b73e6eb Core/Spells: reduce the scope of which controlled unit may proc owner's auras from controlled units to pets and guardians 2020-08-23 14:21:38 +02:00
Ovahlord
5be03870b5 Core/Spells:
* fixed Hunter Fervor talent
* fixed Hunter Killing Streak talent
* fixed Crouching Tiger, Hidden Chimera talent
* allow controlled units to proc the auras of their owner when dealing spell damage
2020-08-23 00:51:52 +02:00
Ovahlord
1507ca0179 Fixed build 2020-08-22 18:46:57 +02:00
Ovahlord
6d67af0607 DB: updated trainer tables for recent changes 2020-08-22 18:26:31 +02:00
Aokromes
34c7022378 Core/Creatures: Fix typo 2020-08-22 18:23:50 +02:00
Shauren
fa6f081037 Core/Creatures: Move gossip trainer assignment to creature_trainer table - same gossip can open different trainers depending on which creature it is assigned to 2020-08-22 18:22:57 +02:00
Ovahlord
52287e1f07 Core/SAI: ported set speed, weather and override light smart actions from 335 2020-08-22 18:16:03 +02:00
Ovahlord
0e61055ac3 Scripts/BWD: corrected Nefarian's respawn position after a wipe based on cyclic path point information 2020-08-22 16:19:03 +02:00
Ovahlord
ced7868646 DB/BWD: corrected Nefarian's flight type in movement template 2020-08-22 16:13:19 +02:00
Ovahlord
f1bbb7fa64 Scripts/BWD: the Poison Bombs in Omnotron Defense System encounter will now also fully fixate on their target 2020-08-09 21:15:59 +02:00
Ovahlord
0bf3444a80 Core/Packets: converted SMSG_CATEGORY_COOLDOWN to packet class and fixed packet structure 2020-08-09 20:51:06 +02:00
Ovahlord
12a1f5ce6e Scripts/DS: fixed a oversight in Concentration spell script that was causing Deathwing's focused limbs to get stuck in their flying anim tier state when the Concentration gets removed 2020-08-09 18:56:04 +02:00
Ovahlord
e01a81bc3e Scripts/TSC: 80d2cfbfc1 followup 2020-08-09 18:44:32 +02:00
Ovahlord
80d2cfbfc1 Scripts/TSC: updated Slabhide's scripting model to modern standard and corrected flight handlings in order to fix an issue that was causing it to glitch under the floor 2020-08-09 18:35:23 +02:00
Ovahlord
a2fa0c2ffa Core/Units: treat CREATURE_FLAG_EXTRA_NO_COMBAT as a pseudo passive react state. Units with that flag will no longer enter combat with potential targets unless they are being engaged by their opponent or explicitely commanded to do so
* apply no combat flag on every creature and their difficulty entries that have been flagged in creaturedifficulty.db2
2020-08-09 18:02:41 +02:00
Ovahlord
b36233b8f6 fixed build 2020-08-09 17:55:50 +02:00
Ovahlord
ddbe5d9dd2 Core/Spells: ported some edge case fixes for taunts 2020-08-09 17:45:17 +02:00
Ovahlord
1b46c95a9c Scripts/GB: updated Drahga's script to modern model and corrected several flaws accross the board 2020-08-09 17:37:52 +02:00
Ovahlord
d70beecea5 Scripts/GB: updated Erudax encounter
* updated all scripts to modern coding standards
* corrected timers accross the board
* corrected repeat behaivior for Enfeebling Blows
* dropped unnecessary data type accessors
* improved encounter frame and despawn behaivior for Faceless Corruptors
2020-08-09 16:13:06 +02:00
Ovahlord
aa31b0d16d Core/Movement: send SMSG_MOVE_UPDATE_TELEPORT for players only after receiving the ack opcode 2020-08-08 20:22:16 +02:00
Ovahlord
c9041a93a5 Core/Movement: reverted the spline segment length validation until he path generation generates proper segments 2020-08-07 23:52:05 +02:00
Ovahlord
0d5869403f Scripts/BoT: fixed Halfus' enslaved dragons not updating their victims 2020-08-07 23:17:08 +02:00
Ovahlord
f1d040fee5 Core/Spells: tempfix for checking for multiple single target spell effect immunities 2020-08-07 20:04:16 +02:00
Ovahlord
1e11a0f77a Core/Packets: backported a unknown field update from 335 branch and removed tempoary variable when reading RequesterGUID in RideTicket 2020-08-07 00:50:29 +02:00
Ovahlord
e1a678e529 Scripts/Naxxramas: cleaned up 'Frogger' event and use sniffed values for intervals, movement speeds and overall despawn behaivior 2020-08-06 17:38:19 +02:00
Gildor
4a611f5596 Scripts/Naxxramas: Frogger event improvements (#25202)
* Scripts/Naxxramas: Frogger event improvements
* Prevent Living Poison accumulation
* Now Living Poison cast Explode

* check for a nearby player

* move event to the frogger trigger's AI

* Initialize and removing unnecessary things

* applying suggestions

* remove unnecessary header

* Rename 9999_99_99_99_world.sql to 2020_08_05_00_world.sql
# Conflicts:
#	sql/updates/world/4.3.4/2020_08_05_00_world.sql
#	src/server/scripts/Northrend/Naxxramas/instance_naxxramas.cpp
2020-08-06 15:56:59 +02:00
Ovahlord
eb2559ae80 fixed build 2020-08-06 13:48:02 +02:00
Ovahlord
d45d4ed0de Core/Misc: apply missile canceling codestyle changes based on master branch feedback 2020-08-06 13:38:28 +02:00