Commit Graph
12513 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
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 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
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
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
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
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 0bf3444a80 Core/Packets: converted SMSG_CATEGORY_COOLDOWN to packet class and fixed packet structure 2020-08-09 20:51:06 +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 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 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 d45d4ed0de Core/Misc: apply missile canceling codestyle changes based on master branch feedback 2020-08-06 13:38:28 +02:00
Roc13x ac6604fba7 Core/Creature: Refactor vendor item code (#167)
* Fix loading referenced vendor items
* Refactored vendor item storage
2020-08-06 01:43:39 +02:00
Ovahlord 3e66838874 Core/Movement: ensure that the wander distance of random movement is always at least 0.1 bathtub.... eeh yards 2020-08-05 18:53:33 +02:00
Ovahlord 2fad073f4c Core/Movement: added velocity argument to MoveCirclePath helper 2020-08-05 17:07:30 +02:00
Ovahlord eea7209142 Core/Movement: ported segment length validation and computePosition updates from master 2020-08-05 17:06:48 +02:00