Commit Graph

1408 Commits

Author SHA1 Message Date
offl
0b0532e96a DB/Quest: Convert & update support for 'Prison Break' (11587) to SAI
(cherry picked from commit dc4cb8f1d3)
2022-02-28 23:59:23 +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
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
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
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
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
Shauren
0a1acb9c05 Scripts/Spells: Replace RegisterAuraScript with RegisterSpellScript and remove it
(cherry picked from commit 7d4fbf706a)
2022-02-04 00:27:10 +01:00
Shauren
17e7f8497c Scripts/Spells: Convert remaining spell_generic scripts to simplified script registration using new additional constructor argument support
(cherry picked from commit 7a5a010d41)
2022-02-04 00:27:10 +01:00
Shauren
950db60435 Core/Pets: Updated pet summoning for latest client version (5 Call Pet spells and stable size 200) 2022-02-02 00:08:37 +01:00
Shauren
9147918363 Core/Pets: Fixed automatic resurrecting pets on battleground graveyards
Closes #25289

(cherry picked from commit 74a0d579ee)
2022-01-31 00:20:53 +01:00
Shauren
ca92686b44 Core/Pets: Pet management refactoring (#25191)
* Core/Pets: Pet management refactoring

* Preload basic pet data on character login with async query
* Load additional pet data (declined names/auras/spells/cooldowns) using async query after we are sure pet loading will succeed
* Remove all select queries related to pet stable/unstable
* Remove all silent pet deletions except explicit UI-triggered abandons
* Fixed displaying stable master content when current pet is not summoned
* Allow to stable/swap unsummoned current pet

Closes #3610
Closes #21266

(cherry picked from commit 5c1fc5e387)
2022-01-31 00:17:21 +01:00
Teleqraph
af0edf5afc Scripts/Spells: Moved Blessing of Faith script to spell_items (#27692) 2022-01-30 13:10:08 +01:00
Shauren
78283e3ef2 Scripts/Spells: Fixed Holy Shock visuals 2022-01-30 12:55:57 +01:00
Nyr
0d9b1072b5 Scripts/Spells: Updated Holy Shock spell script.
* renamed related enums.
* removed unnecessary rank dependency checks.
2022-01-30 12:55:57 +01:00
Teleqraph
72839e660e Scripts/Spells: Judgment (Holy) will now apply Rank 3 debuff if the paladin knows it (#27685) 2022-01-30 00:10:04 +01:00
Robingad
5b57722211 Scripts/Spells: Fix shaman Lava Surge proc (#27667)
Co-authored-by: Shauren <shauren.trinity@gmail.com>
2022-01-28 11:18:45 +01:00
Robingad
1696d73860 Scripts/Spells: Move shaman Lava Burst crit chance calculation to scripts and add Lava Burst Overload (#27676) 2022-01-27 23:23:37 +01:00
Robingad
3e725e1d25 Scripts/Spells: Fix shaman Earthquake (#27620)
Co-authored-by: Shauren <shauren.trinity@gmail.com>
2022-01-27 22:18:46 +01:00
Peter Keresztes Schmidt
2e3c612c80 Core/Unit: Make HandleEmoteCommand typesafe (#25249)
* Scripts/ScarletMonastery: Fix wrong emote during Headless Horseman encounter

* Scripts/HoR: Fix wrong emote during escape event

* Core/Unit: Make improve type safety of HandleEmoteCommand

Change argument type to the expected enum type Emote

* Scripts/CoS: Use SetUInt32Value to set UNIT_NPC_EMOTESTATE

UNIT_NPC_EMOTESTATE is no flag field

(cherry picked from commit 6c7837f947)
2022-01-26 21:46:51 +01:00
Rothend
6f10847512 Script/Quest: fix (More) Torch Catching (#24907)
* Script/Quest: fix (More) Torch Catching.

Closes #24893

Co-authored-by: Carbenium <carbenium@outlook.com>
(cherry picked from commit a375f15ae2)
2022-01-26 19:50:50 +01:00
Carbenium
82fce41852 Core/WorldObject: Replace non-std::chrono SummonGameObject overloads
Also fix intended despawn time of GOs used by the "Engineering a Disaster" quest

(cherry picked from commit 8642aaaf92)
2022-01-24 12:55:43 +01:00
Carbenium
310f996b1d Core/WorldObject: Partially std::chrono-ify SummonCreature overloads
TempSummon* SummonCreature(uint32 entry, float x, float y, float z, float o = 0, TempSummonType despawnType = TEMPSUMMON_MANUAL_DESPAWN, uint32 despawnTime = 0);
to
TempSummon* SummonCreature(uint32 entry, float x, float y, float z, float o = 0, TempSummonType despawnType = TEMPSUMMON_MANUAL_DESPAWN, Milliseconds despawnTime = 0s);

(cherry picked from commit 1131229ee9)
2022-01-24 11:55:32 +01:00
Carbenium
38695b0943 Scripts/World+Outland+Spells: Use std::chrono overload of Creature::DespawnOrUnsummon
(cherry picked from commit 5832790428)
2022-01-23 23:58:48 +01:00
Shauren
596bf2b772 Core/Misc: Replace boost::optional with std::optional part 2 2022-01-23 20:31:52 +01:00
Aqua Deus
0bbdfc6112 Scripts/Spells: Move spell_anchor_here to generic because is used by more than one boss (#27641) 2022-01-22 14:52:05 +01:00
Shauren
03dd82b52d Scripts/Spells: Updated Power Word: Shield script
Closes #27630
2022-01-18 14:33:07 +01:00
Rothend
f5967b8a87 Script/Spell: fix Midsummer's Juggling Torch (#24885)
* Script/Spell: fix Midsummer's Juggling Torch.

Closes #17446

* Remove unneeded GetPosition() call, thanks jackpoz for noticing!

* Rename 9999_99_99_99_world_midsummer_torch_juggling.sql to 2020_06_24_01_world.sql

Co-authored-by: Giacomo Pozzoni <giacomopoz@gmail.com>
(cherry picked from commit 5f35bf9e79)
2022-01-18 00:06:59 +01:00
Aqua Deus
d8efda4ff3 Scripts/Spells: Fix mage Flame On talent (#27622) 2022-01-17 23:36:12 +01:00
Aqua Deus
92335bf900 Scripts/Spells: Fix warlock chaos bolt damage (#27616) 2022-01-17 20:56:31 +01:00
Aqua Deus
d95a1e7eaf Scripts/Spells: Fix warlock immolate periodic (#27615) 2022-01-16 23:10:09 +01:00
Shauren
c5727921b9 Warning fix 2022-01-13 00:07:08 +01:00