Commit Graph

26416 Commits

Author SHA1 Message Date
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
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
Ovahlord
7840a8f529 Core/Spells: implemented SpellAuraInterruptFlags2::AbandonVehicle and removed unused definitions which have not been used in Cataclysm yet 2021-11-17 17:02:06 +01:00
Ovahlord
6dedecfeac Core/Spells: implement SpellAuraInterruptFlags2::ChangeSpec 2021-11-17 16:54:11 +01:00
Seyden
4c870d1e88 Core/Auras: Implement SpellAuraInterruptFlags2::Ground and SpellAuraInterruptFlags2::Swimming (#27193)
# Conflicts:
#	src/server/game/Entities/Unit/Unit.cpp
2021-11-17 16:30:51 +01:00
Ovahlord
631b499414 Core/Movement: updated collision height packet handling to ack handling 2021-11-16 07:11:00 +01:00
Ovahlord
4b56a7b9a3 Core/Movement: converted SMSG_MOVE_SET_CAN_TRANSITION_BETWEEN_SWIM_AND_FLY and SMSG_MOVE_UNSET_CAN_TRANSITION_BETWEEN_SWIM_AND_FLY to new ack handling 2021-11-12 19:29:00 +01:00
Ovahlord
2c70d98449 warning fix² 2021-11-11 17:59:45 +01:00
Ovahlord
c220644db1 warning fix 2021-11-10 16:56:54 +01:00
Ovahlord
5ca475a764 Core/Movement: split SetCanFly for player and creature class and handle their part accordingly 2021-11-10 13:53:14 +01:00
Ovahlord
fbc1b8565a fixed build 2021-11-10 13:33:17 +01:00
Ovahlord
a689446e56 Core/Units: disarmed another overzealous assert 2021-11-10 13:30:46 +01:00
Ovahlord
a743473eac fixed build 2021-11-10 13:17:29 +01:00