Commit Graph

25795 Commits

Author SHA1 Message Date
Ovahlord
89fdfd5d7f Core/Spells: corrected Furor behaivior and fixed an exploit that was allowing druids to get full energy when turning into cat form 2020-08-28 15:51:29 +02:00
Warpten
2b2fc5fb8a Core/Spells: remove PrepareSpellScript and PrepareAuraScript macros and make Hooklist use emplace behaivior (#174) 2020-08-28 15:40:26 +02:00
Ovahlord
677990a1b8 Core/Spells: removed more unused parameters for 4.x since SPELL_AURA_MOD_CRIT_PERCENT_VERSUS is not used at all 2020-08-28 12:20:35 +02:00
Ovahlord
dccd460088 Core/Spells: corrected Shatter bonus logic and fixed another warning 2020-08-28 12:10:53 +02:00
Ovahlord
74b44c91a7 fixed warnings 2020-08-28 11:54:53 +02:00
Ovahlord
25c980c390 Core/Units: ported spell crit chance updates from 335 branch 2020-08-28 11:46:07 +02:00
Ovahlord
afba1ba347 Core/Quests: launch gossips on rewarding quests only when the corresponding quest flag is present 2020-08-27 23:22:28 +02:00
Ovahlord
30e787d5a4 Core/Player: update agility dodge coefficients 2020-08-27 21:41:21 +02:00
Ovahlord
4ab66b1462 Core/Units: added crit chance supression
According to blueposts and wikis, there is a supression to crit chances if the target is having a higher level than the attacker. Each level that the target is above the one of the attacker, the crit chance is reduced by 1%. Though this number is solely based on bluepost data so this needs extensive testing since fan made calculations point more towards 0.7%.
2020-08-27 17:00:00 +02:00
Ovahlord
6e257a5123 Core/Spells: Warrior's Deep Wounds periodic damage is now based on normalized weapon damage and will only use the mainhand weapon as reference 2020-08-25 15:18:44 +02:00
Roc13x
0d95ea24bc Core/Command: Make new access take effect immediately on GM level change 2020-08-24 23:49:47 +02:00
Roc13x
110f178527 Core/Player: HasItemCount and DestroyItemCount now count bank bags 2020-08-24 23:49:47 +02:00
Roc13x
c8d6fc99c0 Core/Player: Fix equipment sets not saving correctly
New sets were always saved to _equipmentSets[0], overwriting eachother
2020-08-24 23:49:47 +02:00
Roc13x
eec9ef54b6 Core/Instance: Prevent possible crash on boss minion despawn 2020-08-24 23:49:47 +02:00
Roc13x
e80375a7a9 Core/Account: Fix security level not updating in RBAC 2020-08-24 23:49:47 +02:00
Roc13x
31a04a1de1 Core/Guild: Implement guild master dethrone feature (#168) 2020-08-24 23:48:30 +02:00
Ovahlord
d8478b689c Core/Spells:
* fixed Glyph of Dazing Shield proc
* fixed Glyph of Colossus Smash
* fixed Glyph of Divinity
* updated Glyph of Heroic Throw to Cataclysm
2020-08-24 23:18:51 +02:00
Ovahlord
75a0e1c011 Core/Spells: updated Bloodworm's Blood Gorged behaivior to Cataclysm 2020-08-24 18:32:31 +02:00
Ovahlord
5f24181ebd Core/Combat: corrected threat amount sent in threat update packets
* for some reason blizzard sometimes sends 99 values instead of round 100ish values which made it look a bit weird
2020-08-24 02:04:54 +02:00
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
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
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
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