Commit Graph
156 Commits
Author SHA1 Message Date
Ovahlord 96975fcd6b Core/Spells: fixed combo points damage calculation
* added GameTable class to simplify access to game table values
2025-06-07 11:40:18 +02:00
Ovahlord 7e62a55074 Scripts/Spells: moved all scripts into their own respective namespaces 2023-12-08 19:57:27 +01:00
Ovahlord 5c13baf230 Core/Misc: removed unused includes and removed unit include from vehicle.h 2023-10-10 03:01:05 +02:00
Ovahlord 82e27f72af Core/Spells: Recuperate will now have its done ticks reset when being refreshed by Deadly Momentum to continue healing beyond its initial duration 2023-06-14 16:52:23 +02:00
Ovahlord 198e05d108 Core/Spells: modernized most remaining Rogue Spell scripts and dropped deprecated spell script for Nerves of Steel 2023-02-20 18:42:36 +01:00
Ovahlord d4c2ade137 Core/Spells:
* fixed Venomous Wounds
* dropped deprecated spell script for Glyph of Backstab
* Serrated Blades will now roll over a pending tick of Rupture when it gets refreshed
2023-02-20 18:25:49 +01:00
Shauren 0ca955897f Core/Spells: Remove all hardcoded restrictions for pick pocket spell effect and rely only on presence of pickpocket loot in db 2022-10-04 12:42:10 +02:00
ariel- dc46f0621b Core/Spells: remove 'Vanish Purge' hack, the spell is present on DB and is copy of one in vanilla DBC
Thanks to killerwife for the heads-up
2022-09-12 09:15:10 +02:00
AG 58cc1d7f3f Core/Spells: handle night elf racial bonus for Shadowmeld and no longer allow Pounce and Ravage being casted while using Shadowmeld (#348) 2022-04-13 20:42:29 +02:00
Ovahlord 78896a132f Core/Spells: ported proc flag updates from master branch 2022-02-22 21:19:09 +01:00
Ovahlord ab405f6935 Core/Spells: Gouge will now have a chance of not being canceled by bleeding effects when having learned Sanguinary Vein
closes #263
2021-06-12 14:42:15 +02:00
lingxDEV eef9796dd3 Core/Spells: Preparation will now reset the cooldown of Shadowstep (#266)
closes #265
2021-06-12 14:08:51 +02:00
Ovahlord f91c30868f Core/Spells: 6c0cf9580b followup and improved readability of the code
superceeds #223
2021-01-19 14:18:48 +01:00
Ovahlord 6c0cf9580b Core/Spells: block Bandit's Guile procs when the rogue has reached deep insight 2021-01-18 23:57:19 +01:00
Ovahlord 8204a3e93d Core/Spells: Bandit's Guile will now require a certain amount of successful procs before gaining the Insight buffs
closes #221
2021-01-18 19:01:48 +01:00
Ovahlord 754c138f89 Core/Spells: ported CastSpell unclusterfucking from 3.3.5 branch 2020-11-04 22:37:11 +01:00
Ovahlord 6594fb650d Core/Spells: fixed Relentless Strikes talent 2020-09-27 17:21:37 +02:00
Ovahlord d2790a4c32 Core/Spells: cleaned up and updated Envenom spell script to Cataclysm
* fixed the spell script not changing the dealt damage at all
2020-09-23 20:48:45 +02:00
Ovahlord b2bddb2921 Core/Spells: fixed an issue that was preventing Bandit's Guile's Deep Insight not getting removed when switching combat targets 2020-09-11 21:42:14 +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
Shauren 44e0d6c0f9 Scripts/Spells: Replace RegisterAuraScript with RegisterSpellScript and remove it 2020-08-23 17:44:48 +02:00
Treeston 942c3a77da Core: Combat/threat system rewrite (PR #19930)
- PvE combat is now always mutual. UNIT_FLAG_IN_COMBAT is backed by actual references to the units we're in combat with.
- PvP combat is now also tracked, and almost always mutual; spells like Vanish and Feign Death can break this rule. That means we can easily determine a list of players we're fighting.
- By extension, IsInCombatWith now has sensible behavior when invoked on nonplayers.
- Threat and combat systems are no longer the same.
  - They still have an enforced relationship (threat implies combat - clearing combat clears threat)...
  - ...but we can have combat without threat. A creature (with threat list) isn't considered to be engaged until it has an entry on its threat list...
  - ...which means we can now faithfully replicate retail engage behavior. Combat on projectile launch - engagement start on projectile impact. Yay for progress!
- AI method refactor, as already ported in 6113b9d - `JustEngagedWith`, `JustEnteredCombat` and `JustExitedCombat`.
- Vehicle threat is now properly pooled on the main vehicle body (fixes #16542).
- Various edge case bug fixes for threat redirects (Misdirection "cancelling" Vigilance and similar).
- Target re-selection is now significantly faster.
- Fixed a ton of other smaller edge case bugs, probably.

Closes #7951 and #19998.
2020-07-22 16:49:37 +02:00
Warpten 0af44ccc01 Core/Spells: implement DoT clipping
* Core/Spells: Implementation of DoT clipping.
* Core/Utilities: Backport "EnumFlags v3.0" from master.
* Core/Spells: Switch AURA_REMOVE_MODE to a flag set.
2020-06-04 18:16:03 +02:00
Ovahlord 183ac5fd7b Core/Spells: added missing Serrated Blades register and simplified Improved Serpent String handling 2020-02-05 13:41:09 +01:00
Ovahlord c5bfcb9517 Core/Spells: move Serrated Blades handling into Eviscerate spell script and corrected Rupture duration reset behaivior
* added proc entry to remove Shadowstep damage bonus
2020-02-05 09:54:04 +01:00
Ovahlord 8ed081b6e7 Core/Spells: make Travis happy 2020-02-04 22:59:53 +01:00
Ovahlord 318e58aa42 Core/Spells:
* fixed Combat Potency talent
* fixed Restless Blades talent
* corrected Blade Twisting spell range
* fixed Bandit's Guile
* fixed startup errors
2020-02-04 22:17:55 +01:00
Ovahlord 5501cafca2 Core/Spells: added missing object return for spell_rog_murderous_intent 2020-02-04 19:50:05 +01:00
Ovahlord a30baa9acd Core/Spells: fixed Improved Expose Armor and Murderous Intent 2020-02-04 19:44:12 +01:00
Ovahlord c0ef41897d Core/Spells:
* fixed Deadly Momentum talent
* fixed Blackjack talent
* updated Ruthlessness proc entry
* added proc entry to Cold Blood to remove the effect uppon triggering the proc
* fixed Master Poisoner
2020-02-04 18:02:25 +01:00
Ovahlord fcb79fee07 Core/Datastores: updated DBC structure names to generated member format 2020-01-25 12:36:32 +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 4a3ef30d91 Core/Spells:
* fixed Revealing Strike damage bonus
* convert Envenom to spellscript
2019-05-04 23:14:48 +02:00
Ovahlord 1ed5a11b79 Core/Spells:
* updated Concussion Blow spellscript and use proper calculation for damage values
* fixed Eviscerate and Ferocious Bite damage bonus calculation
* converted Warrior's Shockwave and Victory Rush damage bonus to spellscript and calculate values properly
* fixed Death and Decay threat generation amount
2019-05-02 03:26:31 +02:00
Ovahlord 289855dbab Core/Spells:
* updated Ferocious Bite formular to Cataclysm and moved damage bonus handling to SpellScript
* moved Eviscerate damage bonus handling to SpellScript
2019-02-10 02:59:33 +01:00
Ovahlord 88b33c3645 Core/Spells: reverted Energetic Recovery spellscript part since the talent aura handles this already. 2018-11-01 04:40:10 +01:00
Ovahlord 02e37d7556 Core/Spells: fixed Energetic Recovery talent 2018-11-01 01:01:58 +01:00
Ovahlord f32976f1d7 Core/Spells: removed a unused caster check 2018-11-01 00:38:15 +01:00
Ovahlord 93beed2bae Core/Spells: fixed Glyph of Hemorrhage
*updated and fixed Honor Among Thieves
2018-11-01 00:29:46 +01:00
Ovahlord 36be801c73 Core/Spells: improved aurascript for Main Gauche attack checks 2018-07-08 20:26:18 +02:00
Ovahlord 4c5805aed7 Core/Spells: fixed Main Gauche mastery 2018-06-26 23:13:27 +02:00
Ovahlord f1de64ee18 Core/Spells: fixed and updated Bladeflurry proc 2018-06-23 18:30:28 +02:00
Ovahlord e37cf502c6 DB/Spells: updated and added some attackpower and spellpower coefficients for multiple classes 2018-06-16 18:04:12 +02:00
ariel- 5ff847159c Core: header cleanup, split realmlist, boost compatibility, cotire, remove stormlib/zlib and stormlib/bzip2 and instead use dep sources 2018-03-28 04:41:59 -03:00
Aokromes 4bd0525edd Update copyright note for 2018 2018-01-01 01:06:19 +01:00
Aokromes 719a317a67 Update copyright note for 2017 2017-01-02 07:26:38 +01:00
Aokromes a1fdfe9259 Typo fix, fix compile 2016-09-04 15:03:40 +02:00
Aokromes ed41de566f Core/Scripts: Implement Glyph of Backstab 2016-09-04 11:34:09 +02:00
Aokromes ed8b9fe1c4 Scripts/Misc: Add missing override 2016-07-25 15:49:08 +02:00