Commit Graph

34699 Commits

Author SHA1 Message Date
Ovahlord
7163355bde Scripts/Deadmines: delay Glubtok's Firewall Platter movement a bit to make sure it will get called properly 2019-05-05 16:39:50 +02:00
Ovahlord
9d977ce558 Scripts/MG: delay the patroulling event a bit to make sure that the Shattered Sun Sentry will correctly call all his movement hooks 2019-05-05 16:38:33 +02:00
Ovahlord
be297daf8f DB: fixed a typo 2019-05-05 01:58:43 +02:00
Ovahlord
517813c895 DB/Auras: change bleeding damage increase aura stack rules to SPELL_GROUP_STACK_RULE_EXCLUSIVE_HIGHEST 2019-05-05 01:56:54 +02:00
Ovahlord
1e3d9c5fff fixed build 2019-05-05 00:44:46 +02:00
Ovahlord
69907a6d6d * Core/Object: Range check vol. 2 (#23226) (ported commit: 78070163dc)
* Core/Object: Fix all missing parts for #23062
2019-05-05 00:34:40 +02:00
jackpoz
950eff5fda Core/LFG: Remove dungeon cooldown when completing random dungeons 2019-05-05 00:26:13 +02:00
Ovahlord
9dce3e4250 Scripts/BWD: do not allow Magmaw to aggro targets unless he's being attacked by the players 2019-05-05 00:23:47 +02:00
Ovahlord
2021057bd0 DB: added a missing scriptname to last commit 2019-05-05 00:13:19 +02:00
Ovahlord
57e78f3bc5 Core/Spells: fixed Atonement talent 2019-05-05 00:11:37 +02:00
Ovahlord
efdf540372 DB: fixed a startup error caused by last commit 2019-05-04 23:35:37 +02:00
Ovahlord
4a3ef30d91 Core/Spells:
* fixed Revealing Strike damage bonus
* convert Envenom to spellscript
2019-05-04 23:14:48 +02:00
Ovahlord
7fe99b1a43 Core/Spells: fixed Empowered Touch talent 2019-05-03 23:55:19 +02:00
Ovahlord
235ba1bc46 DB/Creatures: added waypoints and formation data to Garr world boss 2019-05-03 04:13:56 +02:00
Ovahlord
43099bff34 DB/Spells: added missing Body and Soul proc entry 2019-05-02 20:51:36 +02:00
Ovahlord
1ed5a11b79 Core/Spells:
* updated Concussion Blow spellscript and use proper calculation for damage values
* fixed Eviscerate and Ferocious Bite damage bonus calculation
* converted Warrior's Shockwave and Victory Rush damage bonus to spellscript and calculate values properly
* fixed Death and Decay threat generation amount
2019-05-02 03:26:31 +02:00
Ovahlord
ad9419467d Scripts/Uldum: some cleanup for the Uldum Intro event 2019-05-01 22:45:55 +02:00
Ovahlord
9c1b87c32f Core/Spells: removed attack power bonus from hunter pet's Growl ability 2019-05-01 22:41:14 +02:00
Ovahlord
6f7bbe4c06 Scripts/Uldum: initial work on Uldum intro 2019-05-01 20:07:48 +02:00
Ovahlord
c1cc8ff43b DB/Uldum: added some missing spawns and fixed some random movement and movement values for Uldum creatures 2019-04-29 19:56:26 +02:00
Shauren
28da58ea8b Core/Misc: Fixed -Wcast-function-type warning 2019-04-29 08:45:26 +02:00
jackpoz
4da12422eb Core/MMaps: Revert PATHFIND_INCOMPLETE handling change in ChaseMovementGenerator in 386b5a6fd9 since the current hp reset code in Creature::Update() will reset the hp of bosses as soon as CanNotReachTarget() is true. In case of boss mechanics like Abub'Rekhan at Naxx where the boss throws the player in the air, a PATHFIND_INCOMPLETE path is returned.
The code in Creature::Update() should be modified to wait a few seconds before resetting the hp. PATHFIND_NOPATH / PATHFIND_INCOMPLETE don't really mean that the Creature can't attack the player anyway either.

# Conflicts:
#	src/server/game/Movement/MovementGenerators/ChaseMovementGenerator.cpp
2019-04-29 08:44:37 +02:00
Ovahlord
378bf76277 DB: fixed a typo in sql from last commit 2019-04-29 08:18:04 +02:00
Ovahlord
eefa94a5fe Core/Creatures: refactored sparring handling and added all data for 85% health sparring 2019-04-28 23:18:48 +02:00
Ovahlord
018bbfc13d DB/MH: improved damage handling for Baron Geddon's event 2019-04-28 22:43:25 +02:00
Ovahlord
ab5be76899 Scripts/MH: fixed remaining parts for quest 'Return of Baron Geddon' 2019-04-28 21:47:46 +02:00
Ovahlord
aa3c3fea2a DB/MH: corrected SAI for Invoked Flame Spirit 2019-04-28 18:51:03 +02:00
Ovahlord
bfb8dc2263 DB: renamed sql from last commit 2019-04-28 12:10:33 +02:00
Ovahlord
45d3af0d8a DB/MH: added pathing for Grove of Aessina 2019-04-28 00:55:13 +02:00
Ovahlord
d97f0df58c DB/MH: added many waypoints for creatures in the Flamewake 2019-04-27 22:32:08 +02:00
Ovahlord
cdc9cc2b49 DB/MH: scripted combat with Baron Geddon 2019-04-27 21:28:32 +02:00
Ovahlord
ded495d545 DB/MH: merged Mount Hyjal changes from 434 branch 2019-04-27 21:27:46 +02:00
Ovahlord
cd55e1742b fixed build² 2019-04-27 21:17:02 +02:00
jackpoz
66f2bd91bb Shared/Metric: Fix a rare memory leak
Fix a memory leak in Metric happening only when enabling/disabling Metric from configs at runtime, leaking the metric added between last SendBatch() call and the ScheduleSend() call in the same function. The only way to reproduce this is to actually freeze the thread calling SendBatch(), disable metric, reload config, unfreeze the thread.
2019-04-27 21:10:05 +02:00
jackpoz
a730e17a37 Core/Commands: Fix .cheat god command letting you die
Fix .cheat god command still letting you die with Area Aura like Slime near Thaddius, broken since 777b287dff

# Conflicts:
#	src/server/game/Entities/Unit/Unit.cpp
2019-04-27 21:09:46 +02:00
jackpoz
0020ea9f92 Core/Maps: Fix crash caused by setActive(false) called after DespawnOrUnsummon()
Fix crash caused by WorldObject::setActive(false) called after WorldObject::DespawnOrUnsummon() happening because the WorldObject would be set as not active but then Map::RemoveFromActiveHelper() would not be called because of not being in world anymore.
Whenever setActive() gets desync'd with what Map actually contains a rare crash would happen since Map only reads a few values of the active WorldObject, making it hard to reproduce. If this happens again some ASSERT calls should be added (or a check in Map::RemoveFromMap() could be added about if the WorldObject is in Map::m_activeNonPlayers container).
2019-04-27 21:08:52 +02:00
Ovahlord
1681889fdd Fixed build 2019-04-27 21:05:48 +02:00
Ovahlord
5258dc74d1 Core/Spells: do not allow root auras to bypass the root movement data for creatures when getting removed 2019-04-27 20:10:03 +02:00
Ovahlord
1c7a520095 Revert "Core/SmartAI: Remove duplicate OnReset() call"
This reverts commit 73345b0d7f.
2019-04-27 17:38:06 +02:00
Ovahlord
3d08987773 Core/Creatures: reduced a difference between 434 and 335 2019-04-27 17:36:41 +02:00
Ovahlord
528427bf5f DB/GB: added more waypoints and formation data to Grim Batol creatures 2019-04-27 15:22:15 +02:00
Killyana
22e34861bd Core: Restore reset in EscortAI::InitializeAI (#23197)
Closes  #23008
2019-04-26 18:59:11 +02:00
Ovahlord
d9c809d828 Core/SAI: more cherrypick followups 2019-04-26 18:58:58 +02:00
Treeston
1f15fe5096 oops, now it builds (and a bonus refactor that annoyed me)
# Conflicts:
#	src/server/game/AI/SmartScripts/SmartAI.cpp
#	src/server/game/AI/SmartScripts/SmartAI.h
#	src/server/game/AI/SmartScripts/SmartScript.cpp
#	src/server/game/AI/SmartScripts/SmartScript.h
2019-04-26 18:56:31 +02:00
Ovahlord
28b33663e7 Core/SAI: cherry pick followup 2019-04-26 18:52:38 +02:00
Treeston
99a2c24116 Scripts/SmartAI: Forward invoker to invoked action list actions. Also JustAppeared -> InitializeAI.
# Conflicts:
#	src/server/game/AI/SmartScripts/SmartScript.h
2019-04-26 18:51:19 +02:00
Treeston
7c025ee803 Core/AI: EscortAI init logic moved from JustAppeared to InitializeAI. There are no escort NPCs using compatibility mode anymore, so this is equivalent.
As a result, inheriting scripts calling Start in on-create hooks (like JustSummoned) will now work properly again.

Tagging #20310.

# Conflicts:
#	src/server/game/AI/ScriptedAI/ScriptedEscortAI.h
2019-04-26 18:49:47 +02:00
sirikfoll
73345b0d7f Core/SmartAI: Remove duplicate OnReset() call
It is already called for every creature in SmartAI::InitializeAI(), removing the one from SmartAI::JustAppeared to keep as much as possible of the old behavior, because JustAppeared is called on the next tick after InitializeAI

Closes #20881
Closes #20771
2019-04-26 18:46:55 +02:00
Ovahlord
e5d59d5f98 Core/Object: Range check (#23179) (ported commit: 32e1de39a2) 2019-04-26 18:41:31 +02:00
jackpoz
738aa92782 Core/Spells: Adjust range checks to GameObject targets 2019-04-26 18:01:19 +02:00