Commit Graph
173 Commits
Author SHA1 Message Date
Nyr bfad2b7027 Core/Spells: corrected Ids of triggered spells inDemon Soul's spell script (#289) 2021-08-28 15:07:51 +02:00
Ovahlord 8011d2de29 Core/Spells: ported resistance and immunity updates from 3.3.5 branch 2021-06-12 14:10:44 +02:00
Ovahlord ed8cc640f0 Core/Spells: Pandemic will now proc on targets at or below 25% health only 2021-05-23 15:16:42 +02:00
Ovahlord ab482d2d4f Core/Spells: fixed Pandemic talent 2021-05-23 14:27:34 +02:00
Ovahlord 47d984d538 Core/Spells: converted some missing spell scripts that sneaked through the first iteration 2021-05-23 13:48:51 +02:00
Ovahlord d47141ba98 Core/Spells: updated most warlock spell scripts to new scripting model 2021-05-23 13:46:18 +02:00
Ovahlord 254b4eb011 Core/Spells: Drain Life's healing effect will no longer benefit from Soul Siphon and updated Soul Siphon's bonus check to Cataclysm 2021-05-23 12:59:39 +02:00
Ovahlord 754c138f89 Core/Spells: ported CastSpell unclusterfucking from 3.3.5 branch 2020-11-04 22:37:11 +01: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
Ovahlord 5be03870b5 Core/Spells:
* fixed Hunter Fervor talent
* fixed Hunter Killing Streak talent
* fixed Crouching Tiger, Hidden Chimera talent
* allow controlled units to proc the auras of their owner when dealing spell damage
2020-08-23 00:51:52 +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
Treeston ec04d3b2cd [3.3.5] Combat/Threat rewrite - prep & refactor (#19966)
* Combat/Threat rewrite (PR #19930) prep work. Mostly refactors, and a compatibility layer on ThreatManager/HostileReference that allows scripts to be changed already.
2020-07-22 13:43:23 +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
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 846d4f3472 Core/Spells:
* fixed Jinx talent
* Shadow Trance is now consumed uppon casting Shadow Bolt
2019-12-16 21:39:34 +01:00
Ovahlord 0dd5fdafbd Core/Spells:
* corrected crit chance bonus for Last Word Talent
* fixed Improved Searing Pain talent
* removed hackfix for Improved Mind Blast
* moved Incerate damage bonus hack into proper spell script
* updated and fixed Afterpath proc
* fixed Shadow and Fame proc
* updated Backdraft proc
* fixed Burning Embers talent
* fixed Empowered Imp talent
* fixed Fire and Brimstone damage bonus for Incenerate and Chaos Bolt
* updated several spell scripts to new model
2019-12-08 20:23:51 +01:00
Ovahlord 7371f305ae Core/Spells: added missing handling for Seed of Corruption detonation when surpassing the needed damage threshold to explode 2019-11-04 01:00:17 +01:00
Ovahlord 1ea13572cf Core: fixed several warnings accross the board 2019-10-04 03:40:43 +02:00
Ovahlord 911eeb0b63 Core/Spells: updated Shadow Ward aurascript to new model and assigned it to correct spell id 2019-08-13 19:28:35 +02:00
Ovahlord a4c2aec677 Core/Spells: Conflagrate will no longer take spell bonus values into account since it's inside their amount value now 2019-06-20 20:16:16 +02:00
Ovahlord 4626c426b9 Core/Spells: fixed remaining Soulburn mechanics 2019-04-18 22:37:07 +02:00
Ovahlord 76c22f5be0 Core/Spells: removed a unneeded spell enum validation from Drain Life spell script 2019-04-01 04:09:30 +02:00
Ovahlord 2620e02b7d Core/Spells: initial work on Soulburn Mechanics
* todo: finish Soulburn: Seed of Corruption mechanic
2019-03-31 11:12:24 +02:00
Ovahlord bc468d8449 Core/Spells: removed a deprecated load override from Soul Harvest script 2019-03-22 01:44:23 +01:00
Ovahlord e75a1a8dfb Core/Spells: updated Seed of Corruption to Cataclysm and fixed aoe damage effect when killing a unit with it 2019-03-22 01:42:28 +01:00
Ovahlord 65ce8409a3 Core/Spells: Harvest Soul will now use GetTickNumber instead of a own variable 2019-03-22 01:29:43 +01:00
Ovahlord e5ce4f5fea Core/Spells: Soul Harvest will now properly generate Soul Shards 2019-03-22 00:00:36 +01:00
Ovahlord 54382d7926 Core/Spells: Drain Soul will no longer generate Soul Shards during channeling
* fixed the damage bonus when Drain Soul is used on a target below 25% health
2019-01-19 12:38:10 +01:00
Ovahlord 771f21a171 Core/Spells: Drain Soul will now only have a 25% chance to generate a soul shard while channeling 2019-01-17 23:02:39 +01:00
Ovahlord 26dea3b71a Core/Spells: fixed damage formular for Conflagrate and updated spellscript to new model 2018-07-10 23:20:38 +02:00
Ovahlord 37e4b3492c Fixed build after recent header cleanup 2018-03-28 14:58:59 +02:00
Ovahlord 2cfdd3cbe0 Merge branch '4.3.4' of https://gitlab.com/trinitycore/TrinityCore_434 into 4.3.4
# Conflicts:
#	src/server/game/AI/CoreAI/PetAI.cpp
#	src/server/game/Battlegrounds/Battleground.cpp
#	src/server/game/Battlegrounds/Zones/BattlegroundTP.cpp
#	src/server/game/DungeonFinding/LFGMgr.h
#	src/server/game/DungeonFinding/LFGQueue.h
#	src/server/game/Entities/Creature/Creature.h
#	src/server/game/Entities/Pet/Pet.cpp
#	src/server/game/Entities/Player/Player.cpp
#	src/server/game/Entities/Player/Player.h
#	src/server/game/Entities/Unit/Unit.h
#	src/server/game/Globals/ObjectMgr.h
#	src/server/game/Groups/Group.cpp
#	src/server/game/Groups/Group.h
#	src/server/game/Guilds/Guild.cpp
#	src/server/game/Guilds/Guild.h
#	src/server/game/Handlers/GuildHandler.cpp
#	src/server/game/Handlers/LFGHandler.cpp
#	src/server/game/Handlers/MiscHandler.cpp
#	src/server/game/Handlers/NPCHandler.cpp
#	src/server/game/Instances/InstanceScript.cpp
#	src/server/game/Maps/Map.cpp
#	src/server/game/Maps/Map.h
#	src/server/game/Maps/ZoneScript.cpp
#	src/server/game/Server/WorldSession.cpp
#	src/server/game/Spells/SpellEffects.cpp
#	src/server/game/Weather/Weather.cpp
#	src/server/game/Weather/WeatherMgr.cpp
#	src/server/scripts/Commands/cs_reload.cpp
#	src/server/scripts/EasternKingdoms/Deadmines/boss_mr_smite.cpp
#	src/server/scripts/EasternKingdoms/Deadmines/deadmines.h
#	src/server/scripts/EasternKingdoms/ShadowfangKeep/instance_shadowfang_keep.cpp
#	src/server/scripts/EasternKingdoms/ShadowfangKeep/shadowfang_keep.cpp
#	src/server/scripts/EasternKingdoms/ShadowfangKeep/shadowfang_keep.h
#	src/server/scripts/EasternKingdoms/eastern_kingdoms_script_loader.cpp
#	src/server/scripts/Kalimdor/VortexPinnacle/vortex_pinnacle.h
#	src/server/scripts/Spells/spell_dk.cpp
#	src/server/scripts/Spells/spell_druid.cpp
#	src/server/scripts/Spells/spell_generic.cpp
#	src/server/scripts/Spells/spell_hunter.cpp
#	src/server/scripts/Spells/spell_mage.cpp
#	src/server/scripts/Spells/spell_pet.cpp
#	src/server/scripts/Spells/spell_shaman.cpp
#	src/server/scripts/Spells/spell_warrior.cpp
2018-03-28 12:35:52 +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
Ovahlord 5ef1a67a27 Core/Spells: fix Fel Armor healing effect 2018-03-17 18:55:06 +01:00
Ovahlord 7602eb73f3 Core/Spells: improve codestyle of recent spell fixes 2018-03-17 17:00:19 +01:00
Ovahlord e294044787 Core/Spells: Drain Soul will now properly grant Soul Shards while channeling.
* moved Soul Shard handling to aurascript
2018-03-17 13:15:22 +01:00
Ovahlord a46736ba4c Core/Spells: fixed Drain Life healing
* implement Soul Siphon bonus heal effect for Drain Life
* implement Drain Life bonus healing from Death's Embrace
2018-03-17 12:49:50 +01:00
Ovalord e8bc3c5391 Core/Spells: merged DBC spell coefficient reading (commit: 1826437c094966ae339a154844df8587b2122888) 2018-02-25 20:12:22 +01:00
Ovalord 8a274f0329 Core/Spells: merged level penalty removal 2018-01-27 12:59:32 +01:00
Aokromes 7be6304306 Core/Spells: Removed outdated mechanic (spell downranking coef penalty) 2018-01-27 12:28:42 +01:00
Aokromes 4bd0525edd Update copyright note for 2018 2018-01-01 01:06:19 +01:00
ariel- a7a024d1d6 Core/Auras: reset periodic aura timers by default. Except when aura comes from triggered spell 2017-05-03 23:51:47 +01:00
ariel- 51f26dfe51 Core/Spells: Implementation of QAston proc system 2017-05-03 20:08:08 +01:00
Aokromes 719a317a67 Update copyright note for 2017 2017-01-02 07:26:38 +01:00
Aokromes 74cb8608c3 compile fix 2016-07-20 14:16:33 +02:00
Aokromes 11636faadf Core: define CREATURE_FAMILY_NONE to avoid magic numbers in code 2016-07-20 12:49:38 +02:00
Aokromes 3f0c7f6b2f Core/Spells: Renamed EnsureSpellInfo to AssertSpellInfo to minimize differences between branches 2016-07-19 12:02:52 +02:00
ariel- d04d14e34d Update copyright note for 2016 2016-01-11 23:27:45 -03:00