Commit Graph

5882 Commits

Author SHA1 Message Date
Keader
f69c8c2e60 Scripts/Black Temple: Fixed a crash on Illidari Council (#22652)
Ty Sirikfoll :)

(cherry picked from commit 9a443306fb)
2021-11-15 00:15:16 +01:00
ForesterDev
e58d737a93 Core/Commands: fix .appear command provide wrong undermap position (#22624)
(cherry picked from commit 1e99f98327)
2021-11-14 20:52:50 +01:00
ForesterDev
4e66353854 Core/Commands: Fix quest remove error message (#22623)
(cherry picked from commit 82a1448705)
2021-11-14 20:52:18 +01:00
Trond B. Krokli
eb42538d6e Scripts/Sunken Temple: normalize Atal'alarion despawn timer (#22546)
* Atal'Alarion will now despawn as a regular Elite mob
  (5 minutes unlooted or 2.5 minutes when fully looted)
  instead of 7200 (ms) (7.2 seconds) before this change.

Closes #22531

(cherry picked from commit d24b461396)
2021-11-12 00:16:30 +01:00
Keader
2fc55314eb Scripts/Ulduar: XT002 Crash fix
Closes: #22545
(cherry picked from commit 1fe8fe30de)
2021-11-12 00:16:29 +01:00
Killyana
c8538bcc67 Creature/Script: Wyrmrest Defender
Closes #22500

(cherry picked from commit a3c20cea2d)
2021-11-12 00:16:26 +01:00
jackpoz
c4cb1748ca Scripts/BlackrockSpire: Fix infinite loop in Gyth fight
Fix infinite loop in Gyth fight and double event caused by Rend Blackhand being respawned.
Please note this event is completely bugged and unfinished and contains for sure more bugs.

(cherry picked from commit af3449e064)
2021-11-11 21:40:03 +01:00
Trond B. Krokli
67b98348be Scripts/Quest: Defending Wyrmrest Temple (#22513)
- use DB gossip instead of `#define` (deprecated)

Updates #22500

(cherry picked from commit 013d50f169)
2021-11-11 20:28:20 +01:00
Shauren
9f2ccf9924 Core/Commands: Fixed crash in .go commands
Closes #22498

(cherry picked from commit b27a76969a)
2021-11-10 00:34:17 +01:00
Sarah Alexander
973f9174e7 Scripts/MoltenCore: Implement Garr's Firesworn Separation Anxiety mec… (#22477)
- The previous (wrong) spell ID used mana, so it was never cast because Firesworns aren't mana users

(cherry picked from commit 001dd32b5c)
2021-11-10 00:18:22 +01:00
Killyana
910a00bb1e DB/Quest: Hah...You're Not So Big Now!
Closes #22478

(cherry picked from commit 868f810e11)
2021-11-10 00:03:41 +01:00
Shauren
f2456ff319 Scripts/Areatriggers: Fixed all areatrigger scripts triggering both on enter and exit instead of only on enter 2021-11-10 00:01:50 +01:00
Sarah Alexander
938c7e518c Scripts/TempleOfAhnQiraj: Despawn Skeram's images on death and fix an edge case where images would not spawn if he was casting during transition (#22474)
(cherry picked from commit 72f061f083)
2021-11-09 23:42:31 +01:00
Sarah Alexander
ed1bde7031 Scripts/TempleOfAhnQiraj: Implement Battleguard Sartura's skip-preven… (#22475)
* Scripts/TempleOfAhnQiraj: Implement Battleguard Sartura's skip-prevention area trigger

* Sartura engages players if they try to skip her by walking past down the tunnel
* Clean up the instance script a bit

(cherry picked from commit c8f830ff2b)
2021-11-09 23:42:31 +01:00
ccrs
d6f9b3b555 Scripts/ICC: update Unchained Magic target selection
because we all love retri paladins and hate healers, right?, right?

(cherry picked from commit 2e4358f726)
2021-11-09 23:42:29 +01:00
Sarah Alexander
8abf9ef1ff Scripts/UBRS: Open General Drakkisath's gates once he is defeated (#22462)
Closes #15769

(cherry picked from commit acdf238802)
2021-11-09 23:10:51 +01:00
DanVS
28cb2af1c5 Core/Scripts: Unify Chrono Literals (#22420)
* Unify Chrono Literals

* Retire IN_MILLISECONDS

* Build fix

* Build fix (sequel)

* Retire urand()

* Edge cases

* Build

* Whitespaces

* More edge cases

* Additional cases

(cherry picked from commit 5b0f4009df)
2021-11-09 00:26:59 +01:00
Treeston
7c062db94b Core/Player: Clean up duel related code. Fix a check for abusive client behavior, sanitize pointer usage, code style. Closes #22374.
(cherry picked from commit 003cc56d70)
2021-11-08 23:49:15 +01:00
Treeston
5ed891a0f0 Scripts/Commands: Add .debug dummy. It does nothing, which means you can make it do anything.
(cherry picked from commit 97ade1321b)
2021-11-08 23:18:32 +01:00
Shauren
732a8ee261 Core/Movement: Corrected values sent in knockback packet when speedXY < 0
Co-authored-by: Seyden <saiifii@live.de>
2021-11-06 23:17:43 +01:00
ModoX
faa182cb3b Scripts/Mechagnomes: Added areatrigger teleporter from Mechagon City to Stormwind (#27237) 2021-11-05 22:51:30 +01:00
Shauren
9fc8c86e9a Scripts/Auras: Lookup aura scripts by their type, not name 2021-10-27 01:01:41 +02:00
Seyden
62e444e4b0 Scripts/Spells: Implement Demon Hunter Havoc talent "First Blood" (#27176) 2021-10-27 00:46:57 +02:00
Full-Stack Developer
175f210e91 Scripts/VoA: Update events to use std::chrono (PR #22415)
(cherry picked from commit 8f60d48ea9)
2021-10-27 00:00:14 +02:00
Killyana
8412035c17 Creature/Script: Fix Highlord Darion Mograine waypoint speed
Closes #21290

(cherry picked from commit ddd779fef5)
2021-10-26 23:59:00 +02:00
Full-Stack Developer
e520b45270 Scripts/VoA: Archavon no longer leaps in melee range (PR #22414)
(cherry picked from commit 3c5b1f0258)
2021-10-26 23:57:58 +02:00
Aokromes
3621482e44 kill some whitespaces
(cherry picked from commit cc49b7bb30)
2021-10-26 23:55:38 +02:00
Treeston
f91faa161c Core/ChatCommands: Implement achievement link parsing
(cherry picked from commit a4c666dc3d)
2021-10-25 15:06:41 +02:00
Treeston
33c8df9cf1 Scripts/Commands: Rewrite .account commands to new model
(cherry picked from commit c59388783a)
2021-10-25 14:16:49 +02:00
Treeston
0c681b6509 Scripts/Commands: New argument parsing methodology (PR #22363)
- Detect the arguments accepted by the command handler
- Tokenize out those arguments automatically and feed them to the handler
- Unmatched rest of the string can be accepted by trailing char const* or CommandArgs*

(cherry picked from commit 66a87c4642)
2021-10-25 00:03:23 +02:00
Treeston
f1ecb976ec Core/RBAC: Simplification part 1. Nobody needs different permissions for each type of .go command.
(cherry picked from commit 5843724deb)
2021-10-23 22:31:27 +02:00
Keader
bb599a9521 Scripts/Ulduar: Algalon the Observer fixes (#22320)
(cherry picked from commit ca7ee982db)
2021-10-23 21:58:25 +02:00
Treeston
af8b4853da Scripts/Commands: Cleanup and trinity_string for .go instance. Hi shauren.
(cherry picked from commit 8e4f6777a2)
2021-10-23 19:53:19 +02:00
Treeston
82ecd32d9c Scripts/Commands: New command ".go instance". Goes to an instance.
(cherry picked from commit 6a0870a999)
2021-10-23 19:08:53 +02:00
Keader
2342361746 Scripts/Misc: Removed more UpdateEntry on InstanceScripts
(cherry picked from commit c78f454c0e)
2021-10-23 16:14:01 +02:00
Keader
5612a05f3f Scripts/ICC: Removed not needed entrys added in last commit
(cherry picked from commit 7ab8a8b70b)
2021-10-23 16:12:52 +02:00
Keader
a1ec8ff54b Scripts/ICC: Fixed Deathbringer after Delay zone script's OnCreatureCreate
Also removed some UpdateEntry hacks
Followup: b4a1887c4d

(cherry picked from commit 92f260c5f9)
2021-10-23 16:12:28 +02:00
Treeston
dd239e8b0f Scripts/Commands: .npc info now includes react state info
(cherry picked from commit 2c030ed5e7)
2021-10-23 14:33:21 +02:00
ModoX
437fb2aaba Core/CreatureTexts: Added new field SoundPlayType to enable usage of ObjectSounds within creature_text (#27136)
* Also adjusted Vigilant Quoram texts to use ObjectSounds
2021-10-23 13:10:32 +02:00
Treeston
392a644dc8 Core/Threat: Threat system adjustments:
* Online states are now re-evaluated before victim update instead of continuously. Closes #22226. Tagging #21501.
* Victim update now happens every 1s as opposed to every server tick unless current target goes away.
* Suppressed threat is no longer re-established until the victim gains additional threat (by hitting the target, for instance).
* Assistance threat is now split between non-controlled units threatened by target, as opposed to all units threatened by target.

(cherry picked from commit 5cea572a9a)
2021-10-23 02:14:04 +02:00
PolarCookie
9dd2748618 DB: Naxxanar and Voltarus teleporters
Closes #22311

(cherry picked from commit 151ed6f684)
2021-10-23 02:14:04 +02:00
Keader
0feb1592bf Scripts/Uduar: XT002 Rework (#21566)
Closes #21489

(cherry picked from commit 81a6e2e510)
2021-10-23 02:14:02 +02:00
Keader
37c9553372 Scripts/Black Temple: Fixed some issues on Illidan
(cherry picked from commit 0ebb315d6c)
2021-10-23 00:22:53 +02:00
Treeston
a5989dcee9 Core/Unit: Store charmer and charmed pointers on Unit directly, no more map lookups for Unit::GetCharmer and Unit::GetCharmed
(cherry picked from commit d4ef2529e9)
2021-10-23 00:11:44 +02:00
Treeston
e4e8c1c59c Core/AI: Clean up charm AI handling, we now have two unique_ptr instead of a crapton of booleans
(cherry picked from commit 042f5515e4)
2021-10-22 23:47:51 +02:00
ZenoX92
eb241db187 DB/Quest: Move the Sunken Treasure to SAI
Closes #22290

(cherry picked from commit 42fec4a698)
2021-10-22 21:50:04 +02:00
DanVS
1195e2cf1a Scripts/Scarlet Enclave: Death Comes From On High
(cherry picked from commit afc25d22ef)
2021-10-22 21:38:42 +02:00
Treeston
5d48e8db7d Core/AI: Remove unnecessary parameter from DoZoneInCombat after eb1972f
(cherry picked from commit c00a2efb21)
2021-10-22 13:29:34 +02:00
Seyden
8f097e4425 Core/Scripts: Implement script name reloading
* Authored by Seyden
* Co-authored by Naios
* We thank Shauren for your helpful feedback
2021-10-22 12:52:37 +02:00
Treeston
6a5edf0472 Core/AI: Some cleanup to DoZoneInCombat and Malygos' AI that I found while working out #22226.
(cherry picked from commit eb1972f21d)
2021-10-22 00:48:20 +02:00