Commit Graph
34607 Commits
Author SHA1 Message Date
Treeston 3b635a8a12 Scripts/AzjolNerub: Clean up Hadronox to hopefully avoid any further evade issues. Tag #20310.
(cherry picked from commit fe3b4de1cd2a0924674c34d439f682c95d3a784a)
2021-06-20 20:17:59 +02:00
Killyana 6a0a4a62db DB: Add a missing action_param to the previous commit
Gobs always requires respawn time with the action 41, otherwise they will never respawn

(cherry picked from commit 9f59fb54fc16e06f81a1e99df4076c939bdb3339)
2021-06-20 19:18:23 +02:00
Killyana 3ee39ce5b7 SAI/Quest: Sabotage
Closes #20881

(cherry picked from commit c9811a48c4ee98be9971664c1c5de446aa9337db)
2021-06-20 19:17:40 +02:00
Teppic1 ab1e533f3f DB/Loot: Reference template 24064 corrections
Closes #21385

(cherry picked from commit 75b975b4e8a26e9edcc3825b4c27837bf947aefc)
2021-06-20 19:05:44 +02:00
ccrs cecb91ad3d Core/Movement: fe1ba18905 followup
ref https://github.com/TrinityCore/TrinityCore/commit/fe1ba1890540283b8d330fe98b96770fe372ba8d#r27507316

plus I noticed a logic error on speedchange call

(cherry picked from commit 28c6db0807a604b0178abe24daa0e4eb21f560fb)
2021-06-20 01:34:48 +02:00
ariel- a342b86403 Core/Scripts: fix Tenacity Aurascript (target is null on UpdatePeriodic)
- also aura amount increases with stack so we lose spellid info, calculate it from basepoints directly
- aura should be SPELL_AURA_MOD_HEALING_PCT instead of SPELL_AURA_MOD_HEALING_DONE_PERCENT (ie taken instead of done, confusing names)

(cherry picked from commit bc2a4c816d6dc893b9b0c8d5bf0a15fe085506c5)
2021-06-20 01:15:00 +02:00
ariel- 15810eb579 Core/Unit: kill unused parameter from SpellxxxBonusTaken
(cherry picked from commit c7095375c37c3812d14fbc865b95c8442b8712cf)
2021-06-20 01:09:20 +02:00
ariel- 23a88fae6f Core/Scripts: remove Tenacity hack, implemented with proper aura
(cherry picked from commit 404240fb6820ab997b65740b234305c4c654c543)
2021-06-20 00:55:53 +02:00
Wilcalaf e9833447ed Archaedas should properly start now when clicking on the altar. (#21401)
(cherry picked from commit 0c1aaac219545b3dacf930ce0dd956bd5d7c4b40)
2021-06-20 00:30:33 +02:00
ariel- bc6b0c5197 Core/Unit: corrected calculation for SPELL_AURA_MOD_DAMAGE_TAKEN/SPELL_AURA_MOD_HEALING auras
- Spell bonus calculation and penalty was done twice, but it's simply flat +SP, which should be taken into account before other bonuses
- Fixed missing code from SpellDamageBonusDone/SpellHealingBonusDone and killed multiplication by stack amount twice for default coefficient spells (already multiplied on level penalty)

(cherry picked from commit 4d14f613f3d0dc579e2ca4b8dead65ac6e43965d)
2021-06-20 00:28:50 +02:00
ariel- 18780206bc Core/Spells: Do not apply SpellModOp::CritChance to spells that can't crit 2021-06-19 23:55:03 +02:00
ariel- 3582bacc4a Core/Spells: add log on load about improper use of attribute PROC_ATTR_REQ_SPELLMOD
(cherry picked from commit dfa861593ea3adf06a52cbddbe9e60131dcfe626)
2021-06-19 23:34:15 +02:00
ariel- 13be704cb4 Core/Spells: implement SPELLVALUE_CRIT_CHANCE
(cherry picked from commit 546a605bd0cd0e828def81e26697f1c116a3f1b7)
2021-06-19 23:33:44 +02:00
ariel- 85e5509e91 Core/Spells: calculate crit chance only for spells that do damage/healing
Refs #18813

(cherry picked from commit 52873a7072ceb1f88d9caeefdda6084e6bb1d4af)
2021-06-19 23:33:38 +02:00
Treeston fbc7e7d5cc Scripts/CoT4: Stratholme Residents should no longer rudely interrupt Arthas by punching him in the face while he's giving a righteous sermon on his reasons for wiping them all out.
(cherry picked from commit bf3973dc611935b13045c55e64f484352b6530bd)
2021-06-19 23:33:38 +02:00
Treeston f4cc76063f 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.

(cherry picked from commit e4e6e2209c8ad6cc534460a4ec9f6da469761d15)
2021-06-19 23:33:38 +02:00
Treeston 3c172ba17c Scripts/AzjolNerub: Hadronox is a big spider mommy, and needs more room to pet her spider pets properly. Hopefully this'll reduce the number of evades happening during the encounter. Tag #20310.
(cherry picked from commit b243a7929bac02509594f5f25da476cfcea3d64a)
2021-06-19 23:33:38 +02:00
Treeston 65172db460 DB/Quest: fix Territorial Trespass SmartScript to use proper target type (tag #20310)
(cherry picked from commit 92a8f652036d99b0b28407a879d956d554a1905a)
2021-06-19 23:33:38 +02:00
Treeston 6d79b329ac Core/Movement: WaypointMovementGenerator cleanup
(cherry picked from commit fe1ba1890540283b8d330fe98b96770fe372ba8d)
2021-06-19 23:33:38 +02:00
Treeston 88c1739e3e Core/Movement: Creatures' idle movement generator can no longer override player mover control.
Tagging #20310, partial fix.

(cherry picked from commit d02f481d9ac8e1d1a7716368f609d53a5add0960)
2021-06-19 23:33:38 +02:00
ariel- a24af55d13 Core/Scripts: implemented Combined Toxins proc only from poisons
(cherry picked from commit 477878630e1bb2811d9be97189f0c819377b7840)
2021-06-19 23:33:38 +02:00
ariel- c21dc3c1b7 Core/Auras: fix periodic ticks proc after previous commit
(cherry picked from commit 9d0e90829cb6e6da8bab2a0bf2834834998c5708)
2021-06-19 23:33:38 +02:00
ariel- 91fa279bdf Core/Spells: require phasemask set for periodic damage procflag
Closes #21379

(cherry picked from commit b42ade918a7c68c6916450cf2eac1fc0ad4d78de)
2021-06-19 23:33:38 +02:00
jackpoz cb0672081e Core/Player: Add some asserts
Assert PlayerInfo for race/class pair in a few Player functions

(cherry picked from commit 3576a38f6c107d6b17795d84fcb4f87809917299)
2021-06-19 23:33:38 +02:00
jackpoz e63c5f7b0c Scripting/Obsidian Sanctum: Fix crash
Fix crash caused by calling Reset() in constructor (which is not allowed)

(cherry picked from commit 5aba5c7afff4289b6b90311f66e6939791b89ee4)
2021-06-19 23:33:38 +02:00
Killyana 0b5bd43f34 DB/SAI: Mire Hydra
(cherry picked from commit 201b0b372035a9cf704e7ed891fce3a00059b525)
2021-06-19 23:33:38 +02:00
Killyana f2c36b8634 DB: Fix some DB errors
Ref https://github.com/TrinityCore/TrinityCore/commit/3acd9a7c4f7f4372b27f0e1a15c18b00435c9a03

(cherry picked from commit e4817aa822e1b24e72bc8db34858d429f6b8b5aa)
2021-06-19 23:33:38 +02:00
jackpoz 66f7e57990 Shared/Database: Improve dead-lock error handling
Improve dead-lock error handling in async transactions by retrying the transaction for up to 60 seconds instead of just 5 times

(cherry picked from commit 54b0b8f5ead41f936b12e97d1b4fbacd9b89ab53)
2021-06-19 23:33:38 +02:00
Killyana c72fe6a972 DB/Creature: Arcatraz Sentinel
Updates #21156

(cherry picked from commit 6952d0a5ea440fb6cff28a31fab8aa13bf198623)
2021-06-19 23:33:37 +02:00
Treeston e8754cbdaf Scripts/Instance: Transition Gnomeregan to boss states (instance spawn group prep)
(cherry picked from commit a4fc32dd867aa4e3eba762a890cc845604e82043)
2021-06-19 23:33:37 +02:00
Keader 299f22e3fc Scripts/Icecrown Citadel: Fixed Sindragosa spawn after grid unload
ty sirikfoll :)

(cherry picked from commit 2994abeae6f8abac7d535d5f966135235db8d64d)
2021-06-19 23:33:37 +02:00
Treeston ef710273d0 Game/AI: InvalidAIException internal cleanup
(cherry picked from commit b456915f9a565d570a0f5732d32935b7082312f5)
2021-06-19 23:33:34 +02:00
ariel- 3485cb38ed Core/Spells: remove 'Vanish Purge' hack, the spell is present on DB and is copy of one in vanilla DBC
Thanks to killerwife for the heads-up

(cherry picked from commit 303efcf0e4ee9ce3cfe308a3d6aa2aece1aa39da)
2021-06-19 23:33:25 +02:00
Killyana a22ffcc18a DB: Fix the previous commit
(cherry picked from commit b4c16971cb6ab912606df2a27774d7ef10c4c6bc)
2021-06-19 23:33:25 +02:00
Killyana 328f6f4873 DB/Creature: Remove Tamed Sporebat spawns, summoned as pets by other npcs
(cherry picked from commit 3acd9a7c4f7f4372b27f0e1a15c18b00435c9a03)
2021-06-19 23:33:25 +02:00
ZenoX92 91f1c0b89c DB/Gossip: Zorbin Fandazzle
Closes #21369

(cherry picked from commit 23dd63da981c92e489bd6f2b53cb0ba777f84dbb)
2021-06-19 23:33:25 +02:00
ZenoX92 4be4e542cd DB/Quest: Zapped Giants
Closes #21370

(cherry picked from commit fa1db68fec8d7663cf6ad69f9d1d7c915a656a08)
2021-06-19 23:33:25 +02:00
ZenoX92 b3e9cd3a14 DB/Quest: Weapons of Spirit
Closes #21371

(cherry picked from commit 58bb542e50d7987ea7312643ef4a4d46ba0376c7)
2021-06-19 23:33:25 +02:00
ZenoX92 09559d51de DB/Misc: Feralas Quest Emotes (Horde)
Closes #21372

(cherry picked from commit c60eef9cda62232791ce0b652c6566ece8796cae)
2021-06-19 23:33:24 +02:00
ZenoX92 61b31f657a DB/Quest: Tran'rek (breadcrumb quest)
Closes #21373

(cherry picked from commit c705b02a0cdad40bf796e485d56ce7a5f8891e39)
2021-06-19 23:33:24 +02:00
Teppic1 2bc1f0593b DB/Loot: Set up correct rare drops for Shadowfang Keep exclusive items
Closes #21382

(cherry picked from commit 65237ecea73d46203ca31dd2bf41133e5b00533c)
2021-06-19 23:33:24 +02:00
Teppic1 014a77938d DB/Loot: Reference template 24062 corrections
Closes #21368

(cherry picked from commit 3aee76b2d66a9dff6d86c204d38bef97d00d222b)
2021-06-19 23:33:24 +02:00
Teppic1 2d08f4ce76 DB/Loot: Dun Morogh - Coldridge Valley loot tables redone
Closes #21364

(cherry picked from commit b17a084ecdefb84093b0a01df4c2fb6d37a6953d)
2021-06-19 23:33:24 +02:00
Teppic1 51a4b60353 DB/Loot: Reference template 24060 corrections
Closes #21363

(cherry picked from commit c49003ac8b64ca1ca27ee83b7bcd820c75a246b6)
2021-06-19 23:33:24 +02:00
Keader 9b7f3bff9f Core/Scripts: Fixed tabs issues introduced in 5bef3e426aea37b0e7555f146037c58e7be6352d
(cherry picked from commit 31ad6358fb9088583142d108d2649d0c94b43358)
2021-06-19 23:33:24 +02:00
Keader ad5b0fa9cd Core/Scripts: Fixed possible crashs related with JustDied
(cherry picked from commit 5bef3e426aea37b0e7555f146037c58e7be6352d)
2021-06-19 23:33:24 +02:00
ariel- 4ae29e38ee Core/Scripts: fix non-functional Celestial Planetarium Access GO
- Client only sends CMSG_GAMEOBJ_REPORT_USE for this one

Closes #19982

(cherry picked from commit b490d3f5ad6ccdfd103c8f756d2912f05b1741a0)
2021-06-19 23:33:24 +02:00
sirikfoll 9573987775 Scripts/Magisters Terrace: Removed not allowed ENSURE_AI call from constructor
Closes #20727

(cherry picked from commit cfaa4e6caf8f26eb850a714994b533a77e92a92f)
2021-06-19 23:33:24 +02:00
sirikfoll e2c72cc02e Scripts/Sunwell Plateau: Fixed and improved spell "Curse of Boundless Agony" target selection (Boss Kalecgos)
(cherry picked from commit 14b6e3bbb36e4b5ec5212ed2a3bf5eb0012e095f)
2021-06-19 23:33:24 +02:00
ariel- 8c379e920c Core/Spells: fix logic error causing near teleports to drop combat for players
Closes #21362

(cherry picked from commit 65709e1c3081c97442792695cbc0f0826015d625)
2021-06-19 23:33:24 +02:00