Commit Graph

35 Commits

Author SHA1 Message Date
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
7c20119733 Scripts/Spells: Implement monk talent Mists of Life (#31030) 2025-06-06 18:16:32 +02:00
Aqua Deus
2d34fbd056 Scripts/Spells: Implement monk talent Burst of Life (#31031) 2025-06-06 16:11:20 +02:00
Aqua Deus
ab972a9e97 Scripts/Spells: Implement monk talent Song of Chi-ji (#30952) 2025-05-29 00:08:33 +02:00
Shauren
e57b0296d6 Core/Spells: Merge Spell::SetSpellValue overloads 2025-04-03 13:48:52 +02:00
Aqua Deus
bd8b439866 Scripts/Spells: Implement monk talent "Jade Walk" (#30593) 2025-01-13 13:53:17 +01:00
Aqua Deus
66e200da24 Scripts/Spells: Implement monk talent "Pressure Points" with Paralysis (#30594) 2025-01-13 13:47:51 +01:00
Aqua Deus
faf8efc25d Scripts/Spells: Implement monk talent "Save them all" (#30596) 2025-01-13 13:35:25 +01:00
Aqua Deus
b98d83ca53 Scripts/Spells: Fix Rising Sun Kick heal reduction on Windwalker spec (#30369) 2024-11-09 22:34:59 +01:00
Aqua Deus
dd6d478980 Scripts/Spells: Implemented Monk Tiger's Lust root/snare removal (#30370) 2024-10-24 22:31:21 +02: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
Shauren
0fb8765a66 Core/Items: Item bonus generation improvements
* Pass ItemContext to item creation wherever possible
* Support scaling item levels with m+ keystone levels (not used currently)
* Fixed item link validation when client sends it as default uninitialized bonus list with context only
* Support scaling items depending on current active season (seasons not implemented)
* Implemented content tuning redirection
2023-06-17 16:29:59 +02:00
Shauren
622eed752b Scripts/Spells: Converted remaining spell scripts to use ValidateSpellEffect 2023-06-03 23:17:28 +02:00
Naddley
b73330999f Scripts/Monk: Implement Power Strikes (#28794) 2023-01-29 20:40:39 +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
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
Shauren
8a4e1119ac Core/Spells: Unify spell effect access api in both branches 2021-09-04 15:13:15 +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
Matan Shukry
c99f93d53d Scripts/Spells: Implemented monk stagger (#26295) 2021-04-22 22:45:26 +02:00
Matan Shukry
7159de62b6 Scripts/Spells: Remove const from AuraEffect argument for AuraEffectProcFn 2021-02-13 14:08:16 +01: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
vincent-michael
5620eb9463 Update copyright note for 2019
auto happy = new year(2019);
2019-01-01 10:14:33 +01:00
vincent-michael
7d00ae4045 Update copyright note for 2018
auto happy = new year(2018);
2018-01-01 00:40:17 +01:00
joschiwald
0fcf6043b7 Core/Misc: Changed some SpellMgr::GetSpellInfo calls 2017-09-24 23:15:56 +02:00
Shauren
2200b4b0e1 Nopch fix 2017-05-24 21:30:43 +02:00
Shauren
c0eb6c3130 Core/Entities: Update updatefields to 7.2.0 2017-04-16 01:13:09 +02:00
vincent-michael
86b98686a9 Update copyright note for 2017
Happy new year
2017-01-01 16:23:13 +01:00
Shauren
a515b73738 Core/Spells: Fixed Glyph of Surging Mist 2016-06-26 19:52:41 +02:00
Kito
c5bad429e2 Scripts/Monk: Surging Mist
* When glyphed and in stance will cast AOE ally selection heal
* Else, cast normal heal on Explicit target
2016-06-23 22:01:24 +02:00
Shauren
65eb88c8a5 Core/Spells: Fixed monk spell Provoke
Initial PR submitted by @Infamous-devel

Closes #17384
2016-06-17 21:17:07 +02:00
Shauren
77d3dde36f nopch build fix 2016-04-28 18:01:04 +02:00
Shauren
4953ee20a5 Core/Spells: Fixed Crackling Jade Lightning, initial pull request by @Infamous-devel
Closes #17050
2016-04-27 18:17:03 +02:00