Commit Graph

18001 Commits

Author SHA1 Message Date
Keader
77ed0f2399 Scripts/ToC: Fixed Twin Valkyr stucking in progress and added hover
Closes: #22755
Update: #20961
(cherry picked from commit 4c6f0eaa8d)
2021-11-15 22:36:16 +01:00
Treeston
1015f30704 Core/AI: Add some checks to catch if the AI changes mid-update for players. Tag #22731 #22629.
(cherry picked from commit d8fee3c46b)
2021-11-15 22:20:17 +01:00
PolarCookie
1232f1d06e Core/Creatures: Changed creatures to become tagged by player doing any action that causes creature aggro (apart from distance) (#22759)
* This was introduced in patch 3.0.8

(cherry picked from commit f2df802c50)
2021-11-15 22:16:04 +01:00
PolarCookie
87486cecff Core/Spells: fix issues with delayed spells and auras (#22382)
* Core/Spells: fix issues with delayed spells and auras

* Make Travis Happy

(cherry picked from commit a0999744ef)
2021-11-15 22:13:17 +01:00
DanVS
0585032c90 Core/Entities: Handle partial state change for pets (#22014)
* handle partial state change

* range-based for loop

* fixes

* readability

* break

(cherry picked from commit ae22fd6d74)
2021-11-15 22:10:18 +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 257ae44a20)
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 338e8ba0fe)
(cherry picked from commit f7ca0877a3)
(cherry picked from commit 207093475a)
(cherry picked from commit ee68cf3392)
(cherry picked from commit c16d461e16)
(cherry picked from commit f6b0d99e2c)
(cherry picked from commit bc1f456125)
2021-11-15 21:34:03 +01:00
ccrs
df2f6ad219 Core/Shared: add BattlefieldBattleId definitions
Also rename BG_TEAMS_COUNT and BattlegroundTeamId

(cherry picked from commit 7417cbc655)
2021-11-15 18:52:02 +01:00
Keader
fea450d9de Scripts/Ulduar: Fixed Sanctum Sentry accumulating events after wipes
(cherry picked from commit 266a9c3d41)
2021-11-15 18:29:20 +01:00
Aokromes
a560800f9d Script/Misc: Change some placeholders to proper texts
(cherry picked from commit 3ea3ed348a)
2021-11-15 17:51:05 +01:00
Aokromes
c84d9f5aa9 Core/Spells: Hallowed Wand - Bat custome must be positive
closes #22684

(cherry picked from commit d6d2c4efb9)
2021-11-15 14:41:50 +01:00
Killyana
a0bac8c53a DB/GameObject: Sacred Fire of Life
(cherry picked from commit 2dc28bc3a7)
2021-11-15 14:17:57 +01:00
ccrs
248101b458 Core/Movement: remove undefined method
(cherry picked from commit c8836b6eb4)
2021-11-15 14:15:14 +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 48eba61e90)
2021-11-15 14:01:49 +01:00
Killyana
07bba72fe7 DB/Gossip: Update Vaelastrasz gossip menu with the correct ID
(cherry picked from commit d10e42c049)
2021-11-15 01:41:29 +01:00
Keader
fe4da71f1d Scripts/Illidari Council: Changed urand to SelectRandomContainerElement
(cherry picked from commit 6cb754ca4e)
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 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
Shauren
85a23f2ad1 Core/Creatures: Defined new npc flags 2021-11-14 20:31:43 +01:00
DanVS
5db7d25700 Core/Movement: Properly calculate the first Catmull-Rom spline point (#22582)
(cherry picked from commit 5e8b934472)
2021-11-13 19:52:55 +01:00
Shauren
14b8d7d839 Core/PacketIO: Implemented splash screen opcodes 2021-11-12 21:53:40 +01:00
Treeston
792914fb51 Core/Movement: Add some extra assertions to MotionMaster to catch issues like #22444 earlier in the future.
(cherry picked from commit ead439fbd6)
2021-11-12 00:16:30 +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
HelloKitty
80d920dab5 Fix issue in Creature::UpdateEntry and CMSG_GOSSIP_SELECT_OPTION (#22469)
Address #22467 making it so that script doesn't look like it was reload
and thus causing gossip to fail once after update.

(cherry picked from commit d5888a5f8f)
2021-11-11 21:39:29 +01:00
Lighto
e79cb1da2c Wintergrasp Fix Collision Wall work: Open / Close collision wall when battle started/ended (#22342)
* Open / Close collision wall when battle started/ended

(cherry picked from commit c4e561ee13)
2021-11-11 21:38:36 +01:00
Shauren
ebf8f46aed Core/Movement: Define new spline flag name 2021-11-11 21:38:05 +01:00
DanVS
8ff0572ee3 Core/Movement: Speed Limit for Spline (#22494)
* Limited speed

(cherry picked from commit 0dd3f0497d)
2021-11-11 21:36:08 +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
Kelno
f5c6ad9621 Core/Movement: Fixed MotionMaster::MoveChase default parameters (PR #22426)
(cherry picked from commit 7baf5b2452)
2021-11-11 20:00:41 +01:00
Shauren
cc0b2d941a Core/Misc: Corrected wrong log format message 2021-11-11 14:46:58 +01:00
Shauren
c6a9727841 Core/Quests: Corrected wrong quest startup errors 2021-11-11 14:46:34 +01:00
Shauren
4a8dbfc33f Core/DataStores: Removed map 0 MapDifficulty hack - data now exists 2021-11-11 14:27:48 +01:00
Shauren
ef4e307a49 Core/Misc: Don't log errors about npc_text probability if broadcast text was removed because it did not exist during loading 2021-11-11 14:10:32 +01:00
Shauren
bd2d8875a1 Core/PacketIO: Rename new 9.1.5 opcodes 2021-11-11 12:36:01 +01:00
Shauren
5c5f3d5376 Core/PacketIO: Fixed SMSG_QUERY_GAME_OBJECT_RESPONSE structure 2021-11-11 01:59:25 +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
jackpoz
d6ce2fa8b8 Core/SAI: Add maxSize parameter to SMART_TARGET_CREATURE_DISTANCE, SMART_TARGET_GAMEOBJECT_DISTANCE, SMART_TARGET_CREATURE_RANGE and SMART_TARGET_GAMEOBJECT_RANGE
(cherry picked from commit 46368188ce)
2021-11-10 00:12:08 +01:00
jackpoz
4fabfa0903 Core/SAI: Add a 4th target parameter to SAI
(cherry picked from commit 7634a57f64)
2021-11-10 00:11:52 +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
jackpoz
0dccffc6a0 Core/Movement: Add additional assert
Add additional assert to FlightPathMovementGenerator

(cherry picked from commit 2a06923879)
2021-11-09 23:14:28 +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