Commit Graph

217 Commits

Author SHA1 Message Date
Aqua Deus
fc7fc434e3 Scripts/Spells: Implement proc of dk talent Suppression (#30243) 2026-02-05 20:52:35 +01:00
Meji
1085b3f433 Core/AreaTriggers: Implement AreaTriggerActionSetFlag::DontRunOnLeaveWhenExpiring (#31276) 2025-09-22 21:56:04 +02:00
Aqua Deus
9c89fc957c Scripts/Spells: Delete death knight spell scripts removed in patch 11.2 (#31227) 2025-08-31 15:28:39 +02:00
Shauren
de80c713d0 Scripts/Spells: Refactor spell script internals to fix -Wcast-function-type-mismatch warning 2025-08-16 15:31:10 +02:00
Aqua Deus
675f9da415 Scripts/Spells: Implement death knight talent Crimson Scourge (#30966) 2025-05-27 21:17:22 +02:00
Shauren
ac79cbbad3 Scripts/Spells: Fixed Improved Death Strike value calculation for blood specialization 2025-05-20 13:11:53 +02:00
Aqua Deus
64e0a1b55a Scripts/Spells: Implement death knight talent Voracious (#30960) 2025-05-20 12:49:15 +02:00
Aqua Deus
4be26bcadd Scripts/Spells: Implement death knight talent Blooddrinker (#30956) 2025-05-20 10:42:48 +02:00
Aqua Deus
49dda145a6 Scripts/Spells: Implement death knight talent Sanguine Ground (#30955) 2025-05-18 11:44:04 +02:00
Aqua Deus
4e9f344d50 Scripts/Spells: Remove outdated parts of death knight spell scripts (#30237) 2025-01-12 23:33:42 +01:00
Aqua Deus
c8869403ab Scripts/Spells: Fix death knight talent Brittle (#30231) 2025-01-11 22:48:12 +01:00
Aqua Deus
b32ba71045 Scripts/Spells: Fix dk talent Ice Prison (#30233) 2025-01-07 21:33:42 +01:00
Aqua Deus
9b005760f9 Scripts/Spells: Fix dk talent Cleaving Strikes (#30238) 2024-11-24 20:25:39 +01:00
Aqua Deus
9b78546db2 Scripts/Spells: Implement death knight talent Soul Reaper (#30236)
Co-authored-by: Shauren <shauren.trinity@gmail.com>
2024-11-17 19:54:29 +01:00
Aqua Deus
f8de112619 Scripts/Spells: Fix dk talent Subduing Grasp (#30242) 2024-11-17 15:40:59 +01:00
Aqua Deus
6f79163fcb Scripts/Spells: Fix proc of Frost Fever (#30250) 2024-11-17 14:14:41 +01:00
Aqua Deus
4cd8531b41 Scripts/Spells: Implemented death knight Heartbreaker talent (#30371) 2024-10-24 23:01:58 +02:00
Aqua Deus
f7ae3b2e7a Scripts/Spells: Fix dk talent Icy Talons (#30232)
Co-authored-by: Shauren <shauren.trinity@gmail.com>
2024-10-12 20:45:06 +02:00
Aqua Deus
f5dfc0e4cd Scripts/Spells: Fix Anti-Magic shell amount with Anti-Magic Barrier talent (#30234) 2024-09-28 17:50:07 +02:00
Naddley
7f6afa67f3 Scripts/Spells: Implement Bone Shield application by Marrowrend and Death's Caress (#30163) 2024-09-08 14:09:15 +02:00
Shauren
a33864ce2d Scripts/Spells: Implemented Dark Simulacrum and its related attribute SPELL_ATTR9_ALLOW_DARK_SIMULACRUM 2024-06-27 12:58:44 +02:00
Aqua Deus
24539e8d27 Scripts/Spells: Fix DK talent Permafrost (#29759) 2024-02-27 18:49:09 +01:00
Aqua Deus
1567c34a3e Scripts/Spells: Implement Unholy Ground and drop outdated Tightened Grasp talent (#29465) 2023-12-08 02:12:59 +01:00
Aqua Deus
36aac83ea3 Scripts/Spells: Implement Blinding Sleet (#29478) 2023-12-08 01:47:19 +01:00
Aqua Deus
e90fee78df Scripts/Spells: Update Anti-Magic Shell script to include versatility (#29468) 2023-11-29 23:09:12 +01:00
Shauren
2e7e49b749 Scripts/Spells: Removed unneccessary PrepareSpellScript and PrepareAuraScript uses 2023-07-24 10:48:50 +02:00
Shauren
07d6eb3a57 Scripts/Spells: Fixed remaining spells with SPELL_ATTR3_CAN_PROC_FROM_PROCS attribute 2023-06-27 22:22:16 +02:00
Aqua Deus
3d0831e80a Scripts/DK: Fix Death Pact heal absorb amount (#29100) 2023-06-27 20:29:18 +02:00
Naddley
ad0007783b Scripts/DK: Fix Festering Strike (#29084) 2023-06-20 22:35:24 +02:00
Shauren
f8a6a9b017 Scripts/Spells: Added spell effect validation helper 2023-05-30 19:34:19 +02:00
Shauren
c8ebf077c7 Scripts/Spells: Added proc requirements to a few auras that have SPELL_ATTR3_CAN_PROC_FROM_PROCS attribute 2023-04-19 23:56:59 +02:00
Ovahlord
58cd4e58f7 Scripts/DK: Implemented Howling Blast (#28761) 2023-01-26 18:38:10 +01:00
Ovah
3be76db592 Scripts/DK: Fixed Rime talent (#28333) 2022-10-07 20:56:46 +02:00
Kargatum
373ed8f46b Core: whitespace cleanup, reduce double blank line to single (#25795)
* Core/Misc: fix double empty line

* worldserver.conf

(cherry picked from commit a32b6b8ac4)
2022-03-05 20:07:57 +01:00
Shauren
439b027d48 Core/Misc: Cleanup unused includes 2022-02-13 15:07:00 +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
ccrs
4e6c59dca7 Core/Unit: rename several getters to follow codestyle
uint8 GetLevel()
        uint8 GetLevelForTarget(WorldObject const* /*target*/)
        void SetLevel(uint8 lvl)
        uint8 GetRace()
        uint32 GetRaceMask()
        uint8 GetClass()
        uint32 GetClassMask()
        uint8 GetGender()

(cherry picked from commit 5c09ff51f7)
2021-12-13 00:42:20 +01:00
Sorikoff
d72e809ecf Scripts/Spells: Migrate Some Scripted Spells to Scripts (#23185)
* Migrate spells to scripts

* Simplify code

* I need to sleep

* Update chapter1.cpp

* Use actual damage

* No need in null check here

(cherry picked from commit 2cfaeb1400)
2021-11-30 22:30:53 +01:00
Shauren
8a4e1119ac Core/Spells: Unify spell effect access api in both branches 2021-09-04 15:13:15 +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
ariel-
fccf1a8c62 Core/Auras: removed caster dependency from core
- Decoupled Unit logic: split of spell critical chance into done (caster bonuses) and taken (target bonuses), this allows to precalculate caster bonuses on aura apply and then check victim's auras on damage/healing calc
- Made static a bunch of methods (they no longer have this pointer because they are now called from periodic handlers which may or may not have an active caster in world)
- Simplified all AuraEffect bonuses into AuraEffect::_amount, no more duplicated code
- Critical chance and whether or not caster is player owned unit (for resilience calcs) is now saved one level upper, on Aura itself (it's impossible as of 3.3.5 to have different effects with different critical chances)
- Minor cleanup of SPELL_DAMAGE_CLASS_NONE and Arcane Potency (#18813) crit handling

Closes #19876

(cherry picked from commit cb9e72e521)
2021-06-13 00:59:13 +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
Matan Shukry
0c73895826 Scripts/Spells: corrections to Death Knight spell Blood Mastery (#26082) 2021-03-15 22:53:30 +01:00
Matan Shukry
c0f3452286 Scripts/Spells Refactored dh & dh spells to use the new macros (#26200) 2021-03-05 22:23:56 +01:00
Matan Shukry
8665323876 Scripts/Spells: Removed unused dk spell scripts (#26154) 2021-02-27 20:23:37 +01:00
Matan Shukry
7159de62b6 Scripts/Spells: Remove const from AuraEffect argument for AuraEffectProcFn 2021-02-13 14:08:16 +01:00
Shauren
b82a3a557a Core/DataStores: Updated db2 structures to 9.0.2
* Includes support for new character customization
2020-12-08 18:16:47 +01:00
Shauren
1c52d5fff7 Core/Misc: Replace NULL with nullptr 2020-08-14 17:06:03 +02:00
Shauren
c7306439e7 Core/Spells: Implement using different difficulty data from all spell related db2s, not just SpellEffect and SpellPower 2020-06-12 01:29:18 +02:00
Aokromes
b0bf1275ee New Year 2020-01-02 06:44:10 +01:00