Commit Graph
36513 Commits
Author SHA1 Message Date
Ovahlord 62a96c8f30 Core/AI: SortByDistance will now sort the referenced list instead of a copy of it. This fixes MinDistance and MaxDistance target selection 2020-08-30 00:15:35 +02:00
Ovahlord 94ad82b4e1 Core/Spells: fixed several miss chance calculations in melee and spell hit result calculations 2020-08-30 00:14:42 +02:00
Ovahlord 27bbba32aa Core/Spells:
* fixed Protector of the Innocent talent
* fixed Tower of Radiance talent
* fixed Blessed Life talent
* fixed Gift of the Earthmother Rejuvenation instant heal effect
2020-08-29 21:33:16 +02:00
Giacomo Pozzoni 6a8ecc3ee3 Core/Misc: Fix issues reported by static analysis (#25351)
* Core/Misc: Fix issues reported by static analysis

* Core/Vmaps: Code cleanup after e777161888
# Conflicts:
#	src/common/Collision/DynamicTree.cpp
#	src/server/game/Entities/Object/Object.cpp
#	src/server/game/World/World.cpp
2020-08-29 13:49:21 +02:00
Ovahlord 85018f9421 Core/Spells: fixed name clash between local variables and class member corpseTarget 2020-08-29 13:15:43 +02:00
Ovahlord b85168975f fixed a warning 2020-08-29 11:43:24 +02:00
kvipka e6e20bd574 Scripts/InstanceScript: Fix an issue where LoadAllGrids would load creatures before TeamInInstance was properly set (PR #25340)
# Conflicts:
#	src/server/scripts/Northrend/IcecrownCitadel/instance_icecrown_citadel.cpp
2020-08-29 00:48:20 +02:00
Shauren bdb6705911 Core/Misc: Use "proper" type for respawn info map key 2020-08-29 00:47:28 +02:00
Ovahlord bb5e8a11b7 Core/Creatures: initialize LeaderGUID in FormationInfo struct 2020-08-29 00:45:16 +02:00
Ovahlord 9d345f0d87 Core/Creatures: creature groups no longer unnecessarily throw their data on the heap and formations now support inversing angles when waypoint Ids are 0 2020-08-28 23:02:05 +02:00
Ovahlord 5e4bbca6cc DB/Spells: added missing internal proc cooldown for Chill of the Grave to avoid additional granting runic power when hitting multiple targets with a single attack 2020-08-28 18:38:31 +02:00
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 b3dc12fe6a DB/Spells: Arcane Potency's crit chance bonus will now get consumed by any affected damaging or healing spell instead of a selected group of spells only 2020-08-28 11:41:25 +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
funjoker f729891536 SQL: Typo 2020-08-26 23:40:05 +02:00
funjoker 8c2fcd7c62 DB: Correct some gossips with sniff data (4) 2020-08-26 23:36:00 +02:00
funjoker 851f46c4d1 DB: Correct some gossips with sniff data (3) 2020-08-26 22:58:59 +02:00
funjoker c90b08b591 DB: Correct some gossips with sniff data (2) 2020-08-25 22:49:52 +02:00
funjoker 2da34796f6 DB: Correct some gossips with sniff data 2020-08-25 20:11:40 +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
funjoker 41c817c871 DB/Gossip: Add and update some gossip_menu_options (10) 2020-08-25 13:45:49 +02:00
funjoker a578cc70c4 DB/Gossip: Add and update some gossip_menu_options (9) 2020-08-25 13:36:46 +02:00
funjoker 3109755236 DB/Gossip: Add and update some gossip_menu_options (8) 2020-08-25 13:26:26 +02:00
funjoker 630b3d1378 DB/Gossip: Add and update some gossip_menu_options (7) 2020-08-25 13:20:06 +02:00
funjoker d99c4520c1 DB/Gossip: Add and update some gossip_menu_options (6) 2020-08-25 13:14:19 +02:00
funjoker bd790f7c11 DB/Gossip: Add and update some gossip_menu_options (5) 2020-08-25 12:55:18 +02:00
funjoker cd79a11b9d DB/Gossip: Add and update some gossip_menu_options (4) 2020-08-25 12:51:04 +02:00
funjoker cc5914eefa DB/Gossip: Add and update some gossip_menu_options (3) 2020-08-25 02:49:48 +02:00
funjoker b328061190 DB/Gossip: Add and update some gossip_menu_options (2) 2020-08-25 02:33:53 +02:00
funjoker c04c382f00 DB/Gossip: Add and update some gossip_menu_options (1) 2020-08-25 02:18:42 +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
funjoker e8668c5666 DB: Verify some gossip_menu_options (8) 2020-08-24 22:13:27 +02:00
funjoker 8a7b29e76e Revert "DB/Trainer: Add missing spell"
This reverts commit 061756d2a0.
2020-08-24 22:04:30 +02:00
funjoker 25e7a52e99 DB: Verify some gossip_menu_options (7) 2020-08-24 22:02:54 +02:00
funjoker 03833151aa DB: Verify some gossip_menu_options (6) 2020-08-24 21:55:04 +02:00
funjoker 061756d2a0 DB/Trainer: Add missing spell 2020-08-24 21:47:58 +02:00
funjoker 2f738c41f2 DB: Update some gossip_menu (2) 2020-08-24 21:40:05 +02:00