Commit Graph

37267 Commits

Author SHA1 Message Date
Shauren
28f79765ca Core/Spells: Implemented target 62 TARGET_DEST_CASTER_GROUND (the same as target 125) 2021-12-30 20:00:42 +01:00
Shauren
7ef17f416c Core/Spells: Rename TARGET_UNIT_CONE_ENEMY_54 to TARGET_UNIT_CONE_180_DEG_ENEMY and add 180 degree fallback for this target type 2021-12-30 19:57:50 +01:00
Shauren
8e657a9b7c Core/Spells: Implemented target 105 TARGET_UNIT_CASTER_AND_PASSENGERS 2021-12-30 19:55:29 +01:00
Shauren
0ef0498d13 Core/Spells: Rename TARGET_UNIT_CONE_ENEMY_104 to TARGET_UNIT_CONE_CASTER_TO_DEST_ENEMY 2021-12-30 19:46:50 +01:00
Shauren
fbf2a2e531 Core/Spells: Allow targeting script hooks to work with TARGET_DEST_DYNOBJ_ENEMY, TARGET_DEST_DYNOBJ_ALLY, TARGET_DEST_DYNOBJ_NONE, TARGET_DEST_DEST
# Conflicts:
#	src/server/game/Spells/Spell.cpp
2021-12-30 19:40:19 +01:00
Ovahlord
2916a38ea6 Core/Packets: converted SMSG_QUERY_PLAYER_NAME_RESPONSE to packet class 2021-12-29 21:05:42 +01:00
Ovahlord
8202480a93 Core/Units: corrected calculations for dodge, parry and spell hit chances 2021-12-29 19:37:47 +01:00
Ovahlord
efc94b46f4 Core/Units: corrected melee miss chance calculation 2021-12-29 19:12:37 +01:00
jackpoz
48130896d8 Scripts/BlackrockSpire: Fix infinite loop in Gyth fight
Fix infinite loop in Gyth fight and double event caused by Rend Blackhand being respawned.
Please note this event is completely bugged and unfinished and contains for sure more bugs.
2021-12-28 23:36:16 +01:00
Ovahlord
b1acc6353d DB/Spells: Seals of Command will no longer proc on explicit unit targets when hitting enemies with Divine Storm 2021-12-28 21:28:09 +01:00
Giacomo Pozzoni
adde43e965 Core/AI: Fix crashes caused by charmed Creatures having null AI for 1 map update tick (#27434)
Implement using ScheduledChangeAI instead of nullptr to signal a required AI change
# Conflicts:
#	src/server/game/Entities/Unit/Unit.cpp
#	src/server/game/Entities/Unit/Unit.h
2021-12-27 22:25:11 +01: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
81813c1c0b Core/Player: replaced a world packet variable with its packet class version and removed a leftover from previous cleanups 2021-12-27 18:46:53 +01:00
Ovahlord
20fdb215db Core/Packets: converted SMSG_UPDATE_INSTANCE_ENCOUNTER_UNIT to packet class 2021-12-27 18:35:18 +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
abdada99a4 Core/Spells: add missing attribute to Soul Fragment to allow High Prophet Barim's soul fragments to move towards the Harbinger of Darkness 2021-12-27 00:01:34 +01:00
Ovahlord
ce73dec885 Core/Spells: corrected damage formulas for Judgement's triggered spells 2021-12-26 22:34:46 +01:00
Ovahlord
8596cf6be2 Core/Spells: renamed SPELL_ATTR5_CAN_CHANNEL_WHEN_MOVING to SPELL_ATTR5_ALLOW_ACTIONS_DURING_CHANNEL to match its leaked name 2021-12-26 22:09:27 +01:00
Ovahlord
9d4218f6d4 Core/Units: corrected armor damage reduction calculation 2021-12-26 22:08:57 +01:00
Ovahlord
76a77b5a6d Scripts/HoO: some minor refactors for Rajh 2021-12-26 10:43:24 +01:00
Shauren
fb428c9c4a Core/Spells: Implemented SPELL_ATTR1_CAST_WHEN_LEARNED
# Conflicts:
#	src/server/game/Miscellaneous/SharedDefines.h
#	src/server/game/Miscellaneous/enuminfo_SharedDefines.cpp
2021-12-26 09:51:44 +01:00
Ovahlord
80992f064a Core/Spells: converted most paladin spell scripts to new standard 2021-12-26 09:41:08 +01:00
Ovahlord
55c7504a04 Core/Battlegrounds: safeguard bg queue time helpers against deferencing invalid iterators 2021-12-25 15:46:09 +01:00
Ovahlord
387cdd6cec Core/Spells: converted Shield of the Righteous spell script and corrected the max bonus for Templar's verdict when using three charges of holy power 2021-12-25 13:59:59 +01:00
Shauren
e936255728 Core/Misc: Exclude boost 1.78 and newer from boost_1_73_process_windows_nopch hack
(cherry picked from commit a937767289)
2021-12-22 17:40:03 +01:00
Shauren
df2f390aab Dep/gSOAP: Upgrade to 2.8.117
(cherry picked from commit 172e5c3577)
2021-12-22 17:38:45 +01:00
Ovahlord
fe5f1951a0 buildfix 2021-12-21 15:40:39 +01:00
Ovahlord
19e274cb5d Core/Spells: corrected implementation of SPELL_AURA_FIXATE 2021-12-05 16:37:54 +01:00
Ovahlord
2829aa072c fixed build 2021-12-05 10:32:23 +01:00
Krudor
732f5623f3 Core/Spells: Removed a faulty aura handler 2021-12-02 13:46:33 +01:00
Ovahlord
a9336cc826 Scripts/FL: renamed container and updated comment for the recent change on Lord Rhyolith's balance change 2021-12-01 21:41:00 +01:00
Ovahlord
f97d66d37a Scripts/FL: Lord Rhyolith will now reduce his damage balance impact every 1 second instead of 500ms 2021-12-01 21:30:00 +01:00
Ovahlord
f7d790745b Scripts/TotFW: added a missing knockback spell for phase one and two for players that are getting too close 2021-11-29 14:57:44 +01:00
Ovahlord
ccf8cb94b4 buildfix 2021-11-28 16:38:42 +01:00
Ovahlord
31a4dd2929 Core/Spells: SPELL_AURA_MOD_POWER_REGEN and SPELL_AURA_MOD_POWER_REGEN_PERCENT will now correctly handle the regeneration modifier update fields for focus and energy power types instead of using the haste_regen field 2021-11-28 16:31:23 +01:00
Ovahlord
a8301ba5f6 Core/Units: fixed a crash when creatures are having their attack speed increased via aura 2021-11-28 15:11:23 +01:00
Ovahlord
d9d428e5f4 fixed a couple copy paste typos 2021-11-28 13:00:01 +01:00
joschiwald
e48eeab679 Core/Spells: Fixed SPELL_AURA_MOD_INCREASE_ENERGY_PERCENT 2021-11-28 12:40:15 +01:00
Lucas Nascimento
336ed5ce54 Core/Combat: Fixed combat after remove charm (#27248)
https://github.com/TrinityCore/TrinityCore/pull/27038#issuecomment-958784361
# Conflicts:
#	src/server/game/Combat/CombatManager.h
2021-11-28 12:21:59 +01:00
Shauren
34c2da7bd9 Core/Auras: Properly clean up partial charm applications
Ref #24876
2021-11-28 12:19:38 +01:00
Shauren
c56703e1bd Core/Vehicles: Add additional logging to track issue #24876 2021-11-28 12:18:35 +01:00
ariel-
af98e8516c Core/Auras: reworked multiplicative AuraEffects calculation 2021-11-28 12:14:05 +01:00
Shauren
b1f16bceb0 Core/Phasing: Fixed inverse phaseshift logic 2021-11-22 22:51:46 +01:00
Ovahlord
27d9726dc3 Core/Units: no longer send collision height change packets when a player has not been added to the world yet 2021-11-22 14:15:38 +01:00
Ovahlord
8f69d98ed9 Scripts/Firelands:
* make sure that Lord Rhyolith's feet always enter the correct seat
* Obsidian Armor will no longer affect the turn mechanic so turning Lord Rhyolith stays consistent
2021-11-19 19:50:10 +01:00
Ovahlord
47170c11c6 Core/Spells: fixed a typo in 3a2e3452e0 2021-11-17 18:44:40 +01:00
Ovahlord
3a2e3452e0 Core/Spells: implement TARGET_UNIT_CASTER_PASSENGERS (105)
closes #297
2021-11-17 17:47:18 +01:00
Ovahlord
373a296b8d Core/Units: removed deprecated fake attacker state update from the core 2021-11-17 17:18:05 +01:00