Commit Graph
242 Commits
Author SHA1 Message Date
Ovahlord 4ccfe1ebed Core/Spells: fixed several special damage calculations for class spells and fixed a duplicate application of mastery 2025-06-09 11:08:43 +02:00
Ovahlord 6f39a57ad3 Scripts/Spells: fixed some end of file line endings 2025-06-08 15:19:21 +02:00
Ovahlord 5c9ecf27e9 Core/Spells: dropped spell_bonus_data table and use the dbc internal data to calculate ap and sp bonus values
* some spells have a special formula in their tooltips, which need manual scripting via the CalcDamage and CalcHealing hooks respectively
2025-06-08 15:16:17 +02:00
Ovahlord 373dd1b6ac Scripts/Spells: modernize spell script for Howling Blast 2025-06-08 12:22:03 +02:00
Ovahlord 4dd10462d0 Scripts/Spells: modernize aura script for Frost Fever and Blood Plague 2025-06-07 19:22:16 +02:00
Ovahlord e96245f323 Scripts/Spells: corrected spell script for Death Coil 2025-06-07 19:07:47 +02:00
Ovahlord 7e62a55074 Scripts/Spells: moved all scripts into their own respective namespaces 2023-12-08 19:57:27 +01:00
Ovahlord 6e5a63f165 Core/Spells: handle missing creature interrupt part of Silence, Strangulate and Arcane Torrent 2023-10-21 21:09:24 +02:00
Ovahlord b17585fc55 Scripts/Misc: fixed more GCC warnings 2023-07-08 22:24:51 +02:00
Ovahlord b489a905e1 Core/Misc: fixed another bunch of GCC warnings 2023-07-08 21:33:08 +02:00
Ovahlord 5101026143 Core/Spells: fixed Anti-Magic Zone absorb behavior and amount calculation 2023-01-18 17:28:26 +01:00
Ovahlord 5fd9b2f9c8 Core/Spells: Anti-Magic Shell will now only absorb a part of the received damage instead of everything 2023-01-18 16:59:41 +01:00
Ovahlord 953b67840a buildfix 2023-01-06 09:30:44 +01:00
Ovahlord 720d4041a8 Core/Spells: updated Death Gate spell script for gameobject casting to fix a crash 2023-01-06 08:22:50 +01:00
Ovahlord 1e4b062b1d buildfix 2022-10-02 19:31:03 +02:00
Ovahlord 78a6d84689 Core/Spells: fixed Dark Simulacrum 2022-10-02 17:59:06 +02:00
ariel- 1d3fbff332 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
2022-09-12 09:15:04 +02:00
Ovahlord 6b4056d8e8 Core/Spells: Will of the Necropolis will now reset the cooldown of Rune Tap instead of Blood Tap 2022-06-14 17:43:10 +02:00
Ovahlord 2161908280 Core/Spells: partially implement Dancing Rune Weapon and handle Blood DK t12 4p bonus 2022-01-05 23:43:43 +01:00
Ovahlord 032b1ed2cd Core/Spells: Blood Shield will now only proc while Blood Presence is active 2021-09-23 23:12:18 +02:00
Ovahlord cad75cdaf3 Core/Spells: fixed an logic mistake in Runic Empowerment's spell script that was preventing the first blood or death rune from ever getting activated 2021-09-23 03:10:42 +02:00
Ovahlord de82b464c8 Core/Spells: greatly simplify Runic Empowerment
Sniffs have shown that there is no energize spell being involved in the activation. Probably because the activate spell effect does not care about fully depleted runes so we now can slim it all down by alot
2021-09-11 14:10:53 +02:00
Ovahlord c6fd91cd1d Core/Spells: Runic Empowerment will now only select runes which have a base rune that can be activated 2021-09-11 12:33:23 +02:00
Ovahlord 7180345f32 Core/Spells: reworked Runic Empowerment's rune selection logic. Instead of just picking any random rune that's on cooldown, it will now only proc for a rune type that is fully depleted, which means that both runes of the same type must be on cooldown 2021-09-11 11:19:42 +02:00
Ovahlord a3a7a9b181 Core/Spells: Blood Shield will now only use effective healing for its shield calculation 2021-08-28 23:34:52 +02:00
Ovahlord e0d2e8e902 Core/Spells: send the correct error message when trying to cast Death Coil on a friendly non-undead target 2021-05-24 18:42:59 +02:00
Ovahlord 1de7cf80ba Core/Spells: reworked Runic Empowerment spell script 2021-05-24 18:38:11 +02:00
Ovahlord e17761777c Core/Spells: as of Patch 4.3.0 Death Strike will now heal the Death Knight whenever the ability hits or not 2021-04-20 22:29:02 +02:00
Ovahlord 754c138f89 Core/Spells: ported CastSpell unclusterfucking from 3.3.5 branch 2020-11-04 22:37:11 +01:00
Ovahlord 973d4a139a Core/Spells: fixed DK T12 dps 2p and 4p bonus effects 2020-10-01 22:20:29 +02:00
Warpten 2b2fc5fb8a Core/Spells: remove PrepareSpellScript and PrepareAuraScript macros and make Hooklist use emplace behaivior (#174) 2020-08-28 15:40:26 +02:00
Ovahlord 75a0e1c011 Core/Spells: updated Bloodworm's Blood Gorged behaivior to Cataclysm 2020-08-24 18:32:31 +02:00
Shauren 44e0d6c0f9 Scripts/Spells: Replace RegisterAuraScript with RegisterSpellScript and remove it 2020-08-23 17:44:48 +02:00
Ovahlord a31111ebbb Core/Spells: allow Rune Strike to be permanently used while in Blood Presence 2020-07-23 22:52:55 +02:00
Ovahlord 2ad3201067 Core/Spells: fixed Improved Blood Presence benefits not having any effect 2020-07-11 14:06:38 +02:00
Ovahlord ffc0fe829c Core/Spells: Death Grip will now use exact distances instead of comparing the melee distance between the caster and the target
closes #73
2020-05-09 15:10:19 +02:00
Ovahlord d30c811d9e Core/Creatures: reworked tempoary summon creation
* all stats and values will now be set before summons are getting added to map
* cleaned up summon spell effect handler to reduce duplicade code
* summoner guids will no longer be set for every minion and correctly handle assigning creator guids instead. These values will serve as fallback guid if there is no summoner guid
* friendly tempsummons will now inherit the guild data of their player and pass them on to further allied summons. This fixes guild specific visuals for creatures such as Guild Battle Standards and Guild Heralds.

Todo: check for regressions
2020-04-22 00:20:18 +02:00
Ovahlord ded981ac59 Core/Spells: fixed all remaining T11 bonus effects for all classes 2020-03-25 20:47:45 +01:00
Aokromes d6d3f06f06 New year 2020-01-04 18:32:38 +01:00
funjoker 6c56916b29 Misc: Update copyright information
Happy new year
2020-01-01 18:47:28 +01:00
Ovahlord d7b6182b4c Core/Spells: remove a unneeded substract operator for improved blood presence that was increasing the crit chance instead of removing it 2019-12-16 23:02:23 +01:00
Ovahlord 53d2ecf123 Core/Auras: removed obsolete crit chance member 2019-11-09 01:11:46 +01:00
Ovahlord 15f09fb82b Core/Misc: fixed warnings and building connection patcher with boost versions below 1.61 2019-11-06 00:51:04 +01:00
Ovahlord 9b68e2a93a Core/Spells:
* Festering Strike will now increase the duration of Frost Fever and Blood Plague up to 6 seconds
* Diseases will now properly benefit from their mastery bonus
2019-11-04 02:59:42 +01:00
Ovahlord 1ea13572cf Core: fixed several warnings accross the board 2019-10-04 03:40:43 +02:00
Ovahlord c3518933ba Core/Spells: Chill of the Grave will now grant Runic Power in all cases and will now again grant Runic Power for each target hit by Howling Blast 2019-08-30 13:09:08 +02:00
Ovahlord 94e21bab21 Core/Spells: reworked handling for Death Knight's improved presence talents.
*todo: validate if improved presences are suposed to activate after learning or on next presence switching
2019-08-25 13:33:53 +02:00
Ovahlord 1b0e6ca130 Core/Spells: fixed a potential crash in Will of the Necropolis aurascript 2019-08-18 21:13:37 +02:00
Ovahlord cfc1c81ec1 Core/Spells: updated Scourge Strike to Cataclysm 2019-08-16 21:58:02 +02:00
Ovahlord 3ee81cf90b Core/Spells: removed debug messages from last commit 2019-08-16 01:41:07 +02:00