Commit Graph
5893 Commits
Author SHA1 Message Date
Gildor 4a775c01e9 Core/Scripts - The Eye: Fix Kael'thas Sunstrider Mind Control, limit MaxAffectedTargets to 3 (#22828)
Closes: #22826
(cherry picked from commit 0ee8a77dce32a5bc057bd4c8caa309be6963e7bf)
2021-11-16 00:07:15 +01:00
Keader b37023891e Scripts/Utgarde Keep: Fixed Ingvar evade in phase 2 (one more time)
Closes #21264
ScheduleEvents need happens after remove ImmuneToPc, or it will cause evade.

(cherry picked from commit f1a1acdc89a6521fddca98cc8ef8d6e7ed0b9495)
2021-11-15 22:37:04 +01:00
Keader 77ed0f2399 Scripts/ToC: Fixed Twin Valkyr stucking in progress and added hover
Closes: #22755
Update: #20961
(cherry picked from commit 4c6f0eaa8d2b680c98ba125b5c90748f31928eda)
2021-11-15 22:36:16 +01:00
Rochet2 afac2b1742 Add rotation to .gob info (#22723)
* Add rotation to .gob info

- Add rotation (yaw, pitch, roll) to .gob info command
- Replace LANG_SPAWNINFO_DISTANCEFROMPLAYER with LANG_SPAWNINFO_ROTATION
- Fix description of .distance to describe the command arguments (the more you know..)
- Fix .gob info guid targetting nearest gameobject instead of finding with given guid
- Reorder the info data slightly
- Print location and rotation data regardless of object found in world
- Add error messages for when object is not found by guid or entry

(cherry picked from commit 257ae44a20ed40469dd821845de8e27c0af838c7)
2021-11-15 21:49:37 +01:00
Treeston c977087d58 Core/Misc: Partial merge of 3.3.5-dbedit:
- Added SmartEnum.h for enum iteration, stringification, and more, courtesy of krabicezpapundeklu/smart_enum
- Moved a bunch of enums in SharedDefines.h to the new system
- Miscellaneous utility methods ported

Core/Util: Redesign SmartEnum to properly work for large
 enums (>64 entries) and play nice with IDEs (PR #22768)

(cherry picked from commit 338e8ba0fea8b4b15120c96fff15a6c4b1a52593)
(cherry picked from commit f7ca0877a3736000a6e3b4ed09ac5f08b4d8e3f0)
(cherry picked from commit 207093475a177e9fd29696e80fdd06a11324782d)
(cherry picked from commit ee68cf33921944fd3f8c188044906998cf10ff2a)
(cherry picked from commit c16d461e16f0704bb11040faff30953d33ba2188)
(cherry picked from commit f6b0d99e2c0bc22b44d6f3cfdae50cbba7d51de8)
(cherry picked from commit bc1f456125c1b6c90617a514152d69c40ce64886)
2021-11-15 21:34:03 +01:00
Keader fea450d9de Scripts/Ulduar: Fixed Sanctum Sentry accumulating events after wipes
(cherry picked from commit 266a9c3d41d238f5176942ffdfc5c4adfe7e564a)
2021-11-15 18:29:20 +01:00
Aokromes a560800f9d Script/Misc: Change some placeholders to proper texts
(cherry picked from commit 3ea3ed348aca3f5aad1509575a0b73a84ad1ea10)
2021-11-15 17:51:05 +01:00
Killyana a0bac8c53a DB/GameObject: Sacred Fire of Life
(cherry picked from commit 2dc28bc3a7c673707dee23ebbe725cc32d6a163d)
2021-11-15 14:17:57 +01:00
Trond B. Krokli b63fe46e0e Scripts/Blackrock Depths: npc_grimstone Event_Timer improvements (#22663)
High Justice Grimstone's movement script timers improvement in Ring of the Law.

case 6 & case 7 modifications:
- Event_Timer = 5000; // originally 0

Closes #20499 (High Justice Grimstone issue)

(cherry picked from commit 48eba61e90e3958613ceca05bb6a550fce8816ad)
2021-11-15 14:01:49 +01:00
Killyana 07bba72fe7 DB/Gossip: Update Vaelastrasz gossip menu with the correct ID
(cherry picked from commit d10e42c049b56937fee442d04e38232b6fd66e4c)
2021-11-15 01:41:29 +01:00
Keader fe4da71f1d Scripts/Illidari Council: Changed urand to SelectRandomContainerElement
(cherry picked from commit 6cb754ca4e6b8201650c14f8a5dcc87368142152)
2021-11-15 00:15:39 +01:00
Keader f69c8c2e60 Scripts/Black Temple: Fixed a crash on Illidari Council (#22652)
Ty Sirikfoll :)

(cherry picked from commit 9a443306fbd5b06e9e0d0bfce0cf5164be4c6d3e)
2021-11-15 00:15:16 +01:00
ForesterDev e58d737a93 Core/Commands: fix .appear command provide wrong undermap position (#22624)
(cherry picked from commit 1e99f98327189c00e9e5e552d332120f12d38f03)
2021-11-14 20:52:50 +01:00
ForesterDev 4e66353854 Core/Commands: Fix quest remove error message (#22623)
(cherry picked from commit 82a1448705257db0b3edcffdc9a65008224bc371)
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 d24b46139600c74f5e200d9ab1592d7128245113)
2021-11-12 00:16:30 +01:00
Keader 2fc55314eb Scripts/Ulduar: XT002 Crash fix
Closes: #22545
(cherry picked from commit 1fe8fe30debbd17082b3178fc56795ca02faa6b6)
2021-11-12 00:16:29 +01:00
Killyana c8538bcc67 Creature/Script: Wyrmrest Defender
Closes #22500

(cherry picked from commit a3c20cea2d096eb3274eaac4c6f154e440f98b2e)
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 af3449e06463b3425df2ce67195fa55492af4151)
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 013d50f169dd5d42529845c107022da344ba1c7e)
2021-11-11 20:28:20 +01:00
Shauren 9f2ccf9924 Core/Commands: Fixed crash in .go commands
Closes #22498

(cherry picked from commit b27a76969a2fdbf2e390f28478b9b8ccdb48e2bd)
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 001dd32b5cf6939886b895cb7186df82433dae48)
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 868f810e11524401175b45190c2e4d947fc28cff)
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 72f061f083f652da5ee2caf25cefcb577136dc32)
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 c8f830ff2b735fb45bf16f4421396709661939f6)
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 2e4358f726354d3954047eb63d4390ce39247335)
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 acdf2388029bbe95aac363cbfba2b7043abced93)
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 5b0f4009df4cde413c92c73467ca9a63e79a772b)
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 003cc56d70c9b07f4484cb82484091ab4013895a)
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 97ade1321b6d18393202a1448f2b042fc1ff0546)
2021-11-08 23:18:32 +01:00
ShaurenandSeyden 732a8ee261 Core/Movement: Corrected values sent in knockback packet when speedXY < 0
Co-authored-by: Seyden <[email protected]>
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 8f60d48ea96b4677576127ece8007be9c8862a23)
2021-10-27 00:00:14 +02:00
Killyana 8412035c17 Creature/Script: Fix Highlord Darion Mograine waypoint speed
Closes #21290

(cherry picked from commit ddd779fef55f14e2229d1b64e9eb48a02e6f3f7a)
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 3c5b1f025846d1bf9d441ba1a58c26aa574cac62)
2021-10-26 23:57:58 +02:00
Aokromes 3621482e44 kill some whitespaces
(cherry picked from commit cc49b7bb3024c6eb36d9bbbe7b151d7ae9ba91b7)
2021-10-26 23:55:38 +02:00
Treeston f91faa161c Core/ChatCommands: Implement achievement link parsing
(cherry picked from commit a4c666dc3d75d0c77fdeb52a6d2cd21100ba4588)
2021-10-25 15:06:41 +02:00
Treeston 33c8df9cf1 Scripts/Commands: Rewrite .account commands to new model
(cherry picked from commit c59388783a6009301548dae2c29e2a29c71aadf7)
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 66a87c4642d25f27ca24254cfeb0a0c4b21036b1)
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 5843724debc3642434c055e5cf6f29a1eaf65358)
2021-10-23 22:31:27 +02:00
Keader bb599a9521 Scripts/Ulduar: Algalon the Observer fixes (#22320)
(cherry picked from commit ca7ee982db4d25c464acf6daadc150d58dafa016)
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 8e4f6777a28ac7b5d59ff1ff852e5184d877ff96)
2021-10-23 19:53:19 +02:00
Treeston 82ecd32d9c Scripts/Commands: New command ".go instance". Goes to an instance.
(cherry picked from commit 6a0870a9993f5a1016439644d4a9ab3fd89277e5)
2021-10-23 19:08:53 +02:00
Keader 2342361746 Scripts/Misc: Removed more UpdateEntry on InstanceScripts
(cherry picked from commit c78f454c0ee74000ab7f77463e8b44ff7480fdec)
2021-10-23 16:14:01 +02:00
Keader 5612a05f3f Scripts/ICC: Removed not needed entrys added in last commit
(cherry picked from commit 7ab8a8b70b6bce42574d6dc9f92156b071ee402f)
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: b4a1887c4d8df5a7729ed5c4126f6a7655a02127

(cherry picked from commit 92f260c5f9ffbd21c561f16c9ce9e52cbee289b8)
2021-10-23 16:12:28 +02:00
Treeston dd239e8b0f Scripts/Commands: .npc info now includes react state info
(cherry picked from commit 2c030ed5e7dc809e384415716789e0a663352d16)
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