Commit Graph
176 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 7e62a55074 Scripts/Spells: moved all scripts into their own respective namespaces 2023-12-08 19:57:27 +01:00
Ovahlord ef3632109d Core/Spells: ported SpellModOp definitions from master branch 2022-09-17 11:56:54 +02:00
Ovahlord 4f9c640161 Core/Spells:
- Glyph of Aimed Shot will now only proc on critical hits with Aimed Shot
- fixed Glyph of the Dazzled Prey
2021-12-27 20:15:36 +01:00
Ovahlord 90b267764e Core/Spells: Focus Fire can no longer be used when no pet is active or if the pet has no application of Frenzy available 2021-12-27 15:31:06 +01:00
Ovahlord c7892087fe Core/Spells: fixed Serpent Spread talent 2021-12-27 13:46:05 +01:00
Ovahlord 6ae778b867 Core/Spells:
* converted all remaining Hunter spell scripts to new standard
* moved several proc checks to db
* updated several spell script mechanics to me more efficient and corrected some mechanics
2021-12-27 13:07:15 +01:00
Ovahlord 949f92e0a1 Core/AI: ported charm updates from 335 2021-09-16 16:48:07 +02:00
Ovahlord 109f696183 Core/Spells: Kill Command will now require the caster's pet to have a attacking target
closes #248
2021-04-16 21:00:39 +02:00
Ovahlord a52bc1798c Core/Spells: fixed Hunter's Sic 'Em talent 2021-03-08 20:26:22 +01: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
Ovahlord 405569dbff Core/Spells:
* fixed Kill Command
* fixed Improved Kill Command crit chance bonus
* fixed Frenzy not triggering Focus Fire's visual effect correctly

closes #78
2020-07-17 16:21: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
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 1faacb5e39 Core/Spells: fixed an issue that was causing Focus Fire not granting focus to the caster's pet when Focus Fire was already active 2019-12-09 21:06:51 +01:00
Ovahlord e4f0ef308c Core/Spells: fixed Focus Fire and updated Invigoration spell script to new model and corrected a logic mistake in it 2019-12-09 19:47:47 +01:00
Ovahlord b9188738dc Core/Spells: updated T.N.T aurascript to new model and added missing proc entry 2019-12-01 22:54:39 +01:00
Ovahlord e696acae1c Core/Spells: fixed Cobra Shot generating less focus than intended 2019-09-25 17:09:03 +02:00
Ovahlord 33d2276c3d Core/Spells: improved spell script for Glyph of Kill Shot in order to fix an issue that was not resetting the cooldown when the target of Kill Shot was not killed 2019-09-08 18:45:18 +02:00
Ovahlord ee1a9d4a9c Core/Spells: fixed Marked for Death talent
closes #47
2019-03-31 05:35:19 +02:00
Ovahlord 5bb02f9972 Core/Spells: corrected a enum typo in Camouflage spell script 2019-03-31 05:12:52 +02:00
Ovahlord c81774ed53 Core/Spells:
* fixed a typo in Trap Launcher that was causing the triggered effect not getting removed
* fixed Glyph of Kill Shot
* fixed Camouflage
closes #46
2019-03-31 04:26:38 +02:00
Ovahlord c2911cc813 Core/Spells: fixed Trap Launcher 2019-01-11 21:49:27 +01:00
Ovahlord 1cdbcade12 Core/Spells: dropped an unused declaration 2018-06-22 20:19:26 +02:00
Ovahlord 2d70df1ff6 Core/Spells: added more taming failure result handlings to Tame Beast script 2018-06-22 17:43:52 +02:00
Ovahlord 9a95a945bb Core/Spells: implement opcode handling for SMSG_PET_TAME_FAILURE and updated Tame Beast checks for now pet slot system 2018-06-22 17:40:40 +02:00
Ovahlord 428694f42f Core/Spells: Steady Shot and Cobra Shot will now always generate focus regardless of the hit outcome 2018-06-16 16:53:12 +02:00
Ovahlord c5d26ec7d4 Core/Spells: fixed Lock and Load proc 2018-05-26 16:28:56 +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
Ovalord b7c15093a6 Core/Pets: merged funjoker's new Pet Slot system
* fixed packets and handling for stable master
* fixed Control Pet / Demon handling
* corrected wrong trainer spell for the Control spells
* Added base support for Assist behaivior
* corrected action bar layout
* Hunter Pets will now have the same level as their tamer (patch 4.1 change)
* corrected health stats for pets
2018-01-07 02:00:31 +01:00
Ovalord b2945a5c58 Merge branch 'ShatteredWorld' of https://gitlab.com/Ovahlord/TrinityCore_434 into 4.3.4 2018-01-06 16:21:32 +01:00
Aokromes 4bd0525edd Update copyright note for 2018 2018-01-01 01:06:19 +01:00
Ovalord 6e580ad477 DB/Spells: removed focus spell casts for steady shot and cobra shot from spell_linked_spell 2017-12-22 23:47:55 +01:00
Ovalord 7248c00f59 Core/Spells:
*fixed Careful Aim talent
*fixed Concussive Barrage range to allow it to get applied
*fixed Termination talent
*fixed Piercing Shots talent
*fixed Master Marksman talent
*fixed Bombardment talent
2017-12-22 23:30:45 +01:00
Ovah 6eca9fb6ff Core/Spells: fixed Improved Serpent Sting 2017-12-08 13:33:05 +00:00
Ovah 340b0e080d Core/Spells: fixed hunter Wild Quiver mastery 2017-11-30 13:00:57 +00:00
Ovah a43072e169 Core/Spells: properly fixed Steady Shot focus gain and fixed Improved Steady Shot 2017-11-08 23:56:57 +00:00
Aokromes 1a5c0f5c3b Core/Grids: Ported cmangos/mangos-wotlk@ea99457
(cherry picked from commit 9299e9b)
2017-06-19 20:20:26 +02:00
Aokromes 719a317a67 Update copyright note for 2017 2017-01-02 07:26:38 +01:00
Aokromes 6edf08c764 revert this 2016-10-24 19:21:49 +02:00
ariel- 0edf0c5ff6 Core/Scripts: updated Lock and Load script with new hooks, DamageInfo might be null, so check for that too 2016-10-22 10:53:58 +02:00