Commit Graph

203 Commits

Author SHA1 Message Date
Teleqraph c2ef93fc7d Scripts/Spells: Implement Benediction, Divine Service, and Focused Mending (#29027) 2023-07-22 19:38:34 +02:00
Teleqraph 6a3c98ac31 Scripts/Priest: Implement Trail of Light (#29096) 2023-07-01 04:23:59 +02:00
Shauren c484530b0c Core/Spells: Added enum flag operators to TriggerCastFlags to prevent accidentally using CastSpellExtraArgs(bool) constructor when CastSpellExtraArgs(TriggerCastFlags) was intended 2023-06-09 00:33:35 +02:00
Teleqraph 7d15ec0de8 Scripts/Spells: Implement Empowered Renew (#29036) 2023-06-04 16:29:36 +02:00
Teleqraph cd10bf5052 Scripts/Spells: Implement Healing Chorus (#29038)
Co-authored-by: Shauren <shauren.trinity@gmail.com>
2023-06-04 00:40:33 +02:00
Shauren 622eed752b Scripts/Spells: Converted remaining spell scripts to use ValidateSpellEffect 2023-06-03 23:17:28 +02:00
Teleqraph 277497fdf1 Scripts/Spells: Implement Holy Mending (#29031) 2023-06-03 19:06:40 +02:00
Teleqraph 692c26a15e Scripts/Spells: Implement Say Your Prayers (#29028) 2023-05-31 19:10:38 +02:00
Shauren f8a6a9b017 Scripts/Spells: Added spell effect validation helper 2023-05-30 19:34:19 +02:00
Teleqraph 4fb5737e3d Scripts/Spells: Implement Painful Punishment (#28928) 2023-05-07 19:37:16 +02:00
Teleqraph 6ef501b278 Scripts/Spells: Implement Purge the Wicked (#28926) 2023-05-07 18:54:26 +02:00
Teleqraph b53de1eb4b Scripts/Spells: Implement Dark Reprimand (#28925)
Co-authored-by: Shauren <shauren.trinity@gmail.com>
2023-05-07 17:52:48 +02:00
Teleqraph 23f42e09ec Scripts/Spells: Update Halo (#28924)
* Update Halo's trigger spells to properly support both Halo for Shadow and Holy/Discipline specs. It also offers support during Shadow Covenant aura for Discipline since it uses SPELL_AURA_OVERRIDE_ACTIONBAR_SPELLS to override the spells cast.
2023-05-07 16:43:56 +02:00
Teleqraph 0eada1d708 Scripts/Spells Update Divine Star (#28923)
* update Divine Star's areatrigger to calculate its travel distance off from its effect 1 so that it always has support for its travel distance changes.
* update Divine Star's trigger spells to properly support both Divine Star for Shadow and Holy/Disc spec. It also offers support during Shadow Covenant aura for discipline priest.
2023-04-23 19:47:39 +02:00
Teleqraph a32584b920 Scripts/Spells: Update Sins of the Many values (#28922) 2023-04-17 20:40:22 +02:00
Shauren d791afae1d Core/Logging: Switch from fmt::sprintf to fmt::format (c++20 standard compatible api) 2023-01-08 21:16:53 +01:00
Shauren d8a4668c77 Core/Misc: Add missing Containers.h include where neccessary 2023-01-06 16:44:11 +01:00
Shauren 0f09fc355a Scripts/Spells: Fixed crash in spell_pri_atonement 2022-09-07 11:37:24 +02:00
Teleqraph 6b944b9e56 Scripts/Spells: Divine Star (Priest) fixed (#28112) 2022-08-02 22:25:07 +02:00
Teleqraph 22625e82ba Scripts/Spells: Priest - Power of the Dark Side fixed (#28118) 2022-08-02 21:45:40 +02:00
Teleqraph f20135696b Scripts/Spells: Priest - Sins of the Many fixed (#28122) 2022-08-02 21:17:05 +02:00
Teleqraph 7e02205693 Scripts/Spells: Fixed Halo (Priest talent) (#28113) 2022-07-16 16:27:20 +02:00
Shauren 7d6c7accdb Scripts/Spells: Update priest spells to modern standards 2022-03-08 15:47:20 +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
Teleqraph c0748d4285 Scripts/Spells: updated Penance (#27737) 2022-02-15 22:15: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 c69e003695 Scripts/Spells: Fixed Power Word: Shield (#27721) 2022-02-10 23:34:13 +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 03dd82b52d Scripts/Spells: Updated Power Word: Shield script
Closes #27630
2022-01-18 14:33:07 +01:00
My name is Mud 043d1cf254 Scripts/Spells: Fix priest Shadow Mend damage (#27525) 2022-01-10 00:28:50 +01:00
aquadeus 5750466259 Scripts/Spells: Fixed priest talent Masochism (#27420) 2021-12-19 11:41:33 +01:00
aquadeus 01ac538cd2 Scripts/Spells: Fix priest Mind Bomb (#27415) 2021-12-17 12:27:12 +01:00
Meji 1a84641549 Core/BattlePets: Added default cooldown to revive battle pets (#27383)
* Added SpellHistory function to retrieve remaining category cooldown
* Changed SpellHistory::ModifySpellCooldown to allow adjusting only regular spell cooldown without touching category
2021-12-12 18:35:15 +01:00
Shauren 9fc8c86e9a Scripts/Auras: Lookup aura scripts by their type, not name 2021-10-27 01:01:41 +02:00
Shauren 98aef67c11 Scripts/Spells: Fixed crash in spell_pri_prayer_of_mending 2021-10-07 19:55:25 +02:00
Shauren cbf1f2883a Core/Spells: Reduce number of CastSpell overloads to 1 2021-10-03 19:58:03 +02:00
ariel- 9fa95b4b57 Core/Spells: Fix periodic rolling adding bonuses twice
Calculation is now done in CalculateAmount

(cherry picked from commit 93eda20d5c)
2021-09-04 22:52:31 +02:00
Shauren 8a4e1119ac Core/Spells: Unify spell effect access api in both branches 2021-09-04 15:13:15 +02:00
ariel- 5e7a11f88d Core/Scripts: apply resilience on Vampiric Touch and Unstable Affliction dispel effect
- Spell with SPELL_ATTR4_FIXED_DAMAGE won't do it by itself to avoid applying resilience twice, but because those are triggered from a periodic aura, those apply resilience on tick, not saved to amount.
- This is one of the cases where you have to call Unit::SpellDamageBonusTaken directly

Closes #21393

(cherry picked from commit 3753ec5647)
2021-08-08 21:21:34 +02:00
ariel- 5fbddef85f Core/Spell: SpellValueOverrides encapsulation
- No sense to let scripts use SpellValueOverrides, we already have modifiers in CastSpellExtraArgs struct

(cherry picked from commit 3b01cccd7e)
2021-06-14 00:19:50 +02:00
Shauren 8a452c3d10 Scripts/Spells: Implemented discipline priest PvP talent Trinity 2021-04-21 23:14:02 +02:00
Matan Shukry dbc082a2b2 Scripts/Spells: Implemented Atonement
* Also renamed spell_priest_spirit_of_redemption to spell_pri_spirit_of_redemption
2021-04-21 23:14:02 +02:00
Matan Shukry 81eac82656 Core/Spells: Implement priest holy words + modify cooldown for a charge (#26270)
Co-authored-by: Shauren <shauren.trinity@gmail.com>
2021-04-19 23:54:13 +02:00
Matan Shukry 530631e0a7 Core/Auras: Implemented SPELL_AURA_SCHOOL_ABSORB_OVERKILL (#26269) 2021-04-17 22:42:34 +02:00
Treeston 9b141207d1 [3.3.5] CastSpell unclusterfucking (that's a word now) (#21123)
Core/Spell: The giant CastSpell unclusterfucking (that's a word now) of this generation.

- CastSpell now always takes three arguments - target, spellId, and a struct containing extra arguments
- This struct (CastSpellExtraArgs, see SpellDefines.h) serves as a conglomerate of every previous combination of the 20 billion different CastSpell overloads, all merged into one
  - It has some great utility constructors - check them out! All of these can be used to implicitly construct the ExtraArgs object.
- A gajillion refactors to make everything behave the way it always has

(cherry picked from commit d507a7e338)
2021-04-16 15:22:42 +02:00
Shauren 38ad6c2cf0 Scripts/Spells: Removed facing requirements from penance healing component 2021-04-12 22:34:10 +02:00
ariel- 794a3e4388 Core/Auras: fixed off by one error in counting SPELL_ATTR5_START_PERIODIC_AT_APPLY ticks
- Made SpellInfo::GetMaxTicks and AuraEffect::GetTotalTicks return the same number without mods (dumped arbitrary default return value of 6 and arbitrary 30 sec limit)
- They should be streamlined whenever SPELL_AURA_48 is implemented

(cherry picked from commit 7dff0e3246)
2021-03-15 20:17:31 +01:00
Matan Shukry b8f76334fe Scripts/Spells: Removed unused priest spell scripts (#26153) 2021-02-27 12:55:39 +01:00
Matan Shukry 19b733fefc Scripts/Spells: Fix Prayer of Mending (#26020) 2021-02-21 21:12:08 +01:00