Commit Graph

6539 Commits

Author SHA1 Message Date
ForesterDev
513eb0acb9 Scripts/ICC: update Icecrown Citadel scripts to new model (#25439)
(cherry picked from commit 54b9bb75e4)
2022-02-27 00:28:25 +01:00
ForesterDev
25bca7bef3 Scripts/ICC: update Gunship Battle scripts to new model (#25438)
(cherry picked from commit 2e1a6aefd0)
2022-02-27 00:28:25 +01:00
Giacomo Pozzoni
d02ee9de37 Script/Commands: Add ".pdump copy" command (#25455)
* Script/Commands: Add ".pdump copy" command

Syntax: .pdump copy $playerNameOrGUID $account [$newname] [$newguid]
Copy character with name/guid $playerNameOrGUID into character list of $account with $newname, with first free or $newguid guid.

* Add missing return

* Restore eof check

* Fix sql

* Use forward declaration header

Co-authored-by: Shauren <shauren.trinity@gmail.com>

* Remove buffer when reading a line

* Rename sql files

Co-authored-by: Shauren <shauren.trinity@gmail.com>
(cherry picked from commit 6215da0d64)
2022-02-27 00:28:25 +01:00
Aqua Deus
8fe7748f30 Scripts/Spells: Delete obsolete druid spell scripts (#27813) 2022-02-26 23:12:28 +01:00
Teleqraph
f9753cb3dc Scripts/Spells: Fixed Rapture (#27800)
Trigger PW:S after cast to move it after EFFECT_1

Co-authored-by: Shauren <shauren.trinity@gmail.com>
2022-02-26 23:09:14 +01:00
Ovah
d7736ef732 Scripts/Antorus: updated Garothi Worldbreaker initialization for dynamic spawn handling (#27817) 2022-02-21 20:03:53 +01:00
Traesh
543a7b79c3 Core/Maps: Add Map::DoOnPlayers helper function (#25233) 2022-02-16 23:54:26 +01:00
Aqua Deus
e14f7582cb Scripts/Spells: Convert rogue spell scripts to new script registration syntax (#27752) 2022-02-15 23:52:51 +01:00
Teleqraph
c0748d4285 Scripts/Spells: updated Penance (#27737) 2022-02-15 22:15:29 +01:00
Aqua Deus
e0790d8107 Scripts/Spells: Fix monk roll (#27736)
Co-authored-by: Shauren <shauren.trinity@gmail.com>
2022-02-14 23:29:32 +01:00
Teleqraph
a6dd3a1946 Scripts/Spells: Fixed Cold Snap (#27734) 2022-02-14 12:02:29 +01:00
Aqua Deus
580e1e5d85 Scripts/Spells: Fix priest talent Power Word: Solace (#27732) 2022-02-14 00:14:59 +01:00
Aqua Deus
61e96a7e14 Scripts/Spells: Fix priest talent Twist of Fate (#27730)
Co-authored-by: Shauren <shauren.trinity@gmail.com>
2022-02-13 22:15:33 +01:00
Teleqraph
0a923c7bf1 Scripts/Spells: Fixed Infusion of Light (#27723) 2022-02-13 19:00:59 +01:00
Shauren
439b027d48 Core/Misc: Cleanup unused includes 2022-02-13 15:07:00 +01:00
Shauren
ad4f4bfab7 Core/Misc: Minor game include cleanup 2022-02-13 00:49:10 +01:00
Shauren
56275a7db3 Core/Misc: script PCH tuning 2022-02-12 00:17:08 +01:00
Shauren
d057e057d3 Core/Misc: Optimize ChatCommand includes (include only where neccessary) 2022-02-11 21:57:45 +01:00
Shauren
cbcd149ce5 Core/Misc: Explicitly include required headers instead of relying on them to be included by other headers 2022-02-11 14:33:35 +01:00
Teleqraph
5b02c53fc5 Scripts/Spells: Fixed mage Blizzard (#27722)
* we do not have a dummy periodic aura to obtain our period, so we're setting 1s as it always ticks once per second.
* haste doesn't affect Blizzard: https://us.forums.blizzard.com/en/wow/t/starfall-damage-doesn%E2%80%99t-scale-with-haste-why/854619
2022-02-11 00:12:40 +01:00
Teleqraph
c69e003695 Scripts/Spells: Fixed Power Word: Shield (#27721) 2022-02-10 23:34:13 +01:00
Shauren
d16f5ab777 Scripts/Spells: Fixed holy paladin talent Awakening 2022-02-10 22:58:56 +01:00
Shauren
02979daf76 Core/Auras: Proc flag updates
* Rename to official names
* Corrected logic selecting flags for each spell cast - determine them by attributes instead of DmgClass
* Implemented new proc flags (PROC_FLAG_CAST_ENDED, PROC_FLAG_LOOTED)
2022-02-10 21:11:07 +01:00
Teleqraph
9e7f465fc2 Scripts/Spells: Fixed Divine Purpose (#27719)
Co-authored-by: Shauren <shauren.trinity@gmail.com>
2022-02-10 15:58:00 +01:00
Shauren
68a662ae04 Core/Spells: Add type safety to proc related functions - using enum arguments instead of plain integers 2022-02-10 12:25:27 +01:00
Meji
27cba3f523 Core/Scripts: Added script hook to execute actions after completing an achievement (#27718) 2022-02-08 23:23:05 +01:00
Shauren
8e2d1e328e Core/Spells: Pass cast item level to triggered spells
* Fixes value on trinkets like Ignition Mage's Fuse
2022-02-08 21:36:31 +01:00
Seyden
79c6054369 Core/Objects: Use player as summoner for personal clones (#27716)
* This allows clones to properly inherit phases
2022-02-08 00:03:02 +01:00
Teleqraph
ef61f39018 Scripts/Spells: Fixed Art of War (#27712) 2022-02-07 20:00:51 +01:00
Aqua Deus
7192da410d Scripts/Spells: Fix mage Comet Storm (#27710) 2022-02-07 16:49:18 +01:00
Aqua Deus
e64e6f4963 Scripts/Spells: Fixed Icefury talent proc and frost shock energize (#27699) 2022-02-07 12:41:41 +01:00
Aqua Deus
d5bb799f27 Scripts/Spells: Fix shaman Undulation talent (#27695)
Co-authored-by: Modox <moardox@gmail.com>
Co-authored-by: Shauren <shauren.trinity@gmail.com>
2022-02-07 00:20:01 +01:00
Teleqraph
f3e908dc99 Scripts/Spells: Fixed paladin's Light's Hammer (#27693)
Co-authored-by: Shauren <shauren.trinity@gmail.com>
2022-02-06 21:36:50 +01:00
Teleqraph
3fa4c04919 Scripts/Spells: Implemented Ashen Hallow script (#27682) 2022-02-06 16:19:25 +01:00
Treeston
2aa9d9a67a Scripts/Commands: Correct some unexpected behavior in .level
(cherry picked from commit d2f51569d1)
2022-02-06 01:15:37 +01:00
ForesterDev
51622e6642 Scripts/ICC: update Deathbringer Saurfang scripts to new model (#25435)
(cherry picked from commit d52acf1b72)
2022-02-06 00:22:36 +01:00
Shauren
111a80bbbf Scripts/Trial of the Champion: "Refactor" encounter state management to use InstanceScript::Get/SetBossState so people attempting to fix this instance don't feel compelled to change EVERY SINGLE BOSS FILE when fixing one of them
(cherry picked from commit d704b89163)
2022-02-06 00:14:57 +01:00
offl
2b515f97a6 DB/Quest: Convert & update support for 'A Slow Death' to SAI
Closes #25399

Based on dr-j's script

(cherry picked from commit 29b39ae606)
2022-02-06 00:05:16 +01:00
offl
7090fe5c18 DB/Quest: Convert & update support for 'Escape from Firewing Point!' to SAI
Closes #25358

Based on dr-j's script

(cherry picked from commit 2ff8da2acd)
2022-02-05 23:48:27 +01:00
offl
196ff25a6b DB/Quest: Convert & update support for 'The Caverns of Time' to SAI
(cherry picked from commit d89c84263d)
2022-02-05 23:46:43 +01:00
offl
bb468708e6 DB/Quest: Convert & update Homing Robot chickens to SAI
Closes #25239

(cherry picked from commit 8c303e4f97)
2022-02-05 23:45:58 +01:00
Treeston
378691aaa2 [3.3.5] Core/ChatCommands: Show error messages from argument parsers (PR #25443)
(cherry picked from commit 75f9e7396e)
2022-02-05 23:42:15 +01:00
Treeston
7d0586812a Core/Misc: Fix some static analysis warnings exposed after 6b8f3d0.
(cherry picked from commit 59be657ca2)
2022-02-05 23:05:14 +01:00
jackpoz
0441f3ea5e Core/LFG: Restore ".lfg queue" command argument handling
(cherry picked from commit a46c835ed1)
2022-02-05 22:59:46 +01:00
ForesterDev
97a5c29e8a Scripts/ICC: update Deathbringer Lord Marrowgar scripts to new model (#25436)
(cherry picked from commit 1c41c5285a)
2022-02-05 22:58:23 +01:00
ForesterDev
8422442ed0 Scripts/ICC: update Blood Queen Lana'thel scripts to new model (#25434)
(cherry picked from commit def58965e8)
2022-02-05 22:56:12 +01:00
Maks Szokalski
bc04acb726 Add "On" to some gossip methods in AI (#25415)
* Add "On" to some methods

* Update npc_innkeeper.cpp

* Update zone_borean_tundra.cpp

(cherry picked from commit 41188eb535)
2022-02-05 22:18:19 +01:00
Treeston
013c9b2cb7 Core/ChatCommands: make ExactSequence more readable
(cherry picked from commit feaaa595ca)
2022-02-05 21:29:53 +01:00
Peter Keresztes Schmidt
bdd4ccbd78 Core/ChatCommands: Drop PlayerIdentifier's cast operators which could return nullptr (PR #25431)
(cherry picked from commit 8985fc4046)
2022-02-05 21:25:23 +01:00
Peter Keresztes Schmidt
fd41de7ce3 Scripts/Commands: Convert argument parsing of lfg commands to new system (PR #25430)
(cherry picked from commit 0769d77269)
2022-02-05 20:59:38 +01:00