Commit Graph
2494 Commits
Author SHA1 Message Date
ModoX 26fc144191 Core/AreaTriggers: Handle exit areatrigger on player map change (#31077) 2025-09-03 21:45:38 +02:00
BandyscTC ac9d659ad8 Core/Units: Don't change hover anim for vehicle passengers (#31144) 2025-07-19 18:01:48 +02:00
Shauren 5de252ae84 Core/Misc: Move large functions out of header files 2025-07-13 13:40:31 +02:00
Shauren cbb532e4be Core/Groups: Use iterators instead of raw LinkedListElement to interact with group members 2025-07-11 17:40:34 +02:00
Shauren 9ad1ab6c57 Core/Spells: Replace MAX_SPELL_EFFECTS loop limits with correct upper bound depending on how many effects the spell has v2 2025-06-03 10:36:41 +02:00
Shauren 1027c42352 Core/PacketIO: Replace static_asserts with concepts and add them to PacketUtilities as well 2025-05-23 15:20:57 +02:00
Shauren 357a6b6397 Core/PacketIO: Migration to PacketUtilities bit/string operations part 2 2025-05-21 18:45:37 +02:00
ModoX c40b6e0b3f Core/AreaTrigger: Implement AreaTriggerActionSetFlag::DontDespawnWithCreator (#30832) 2025-05-10 18:49:25 +02:00
Shauren 255082782c Core/Players: Implemented item level based armor damage reduction diminishing for pvp 2025-04-28 10:36:47 +02:00
Shauren 2e79d3524f Core/Spells: Rename confusing SpellState enum values
* SPELL_STATE_CASTING -> SPELL_STATE_CHANNELING (was used for "channel in progress")
* SPELL_STATE_DELAYED -> SPELL_STATE_LAUNCHED
2025-04-20 15:41:58 +02:00
Shauren 3d045edd52 Core/Units: Fixed offhand melee damage
Closes #30809
2025-04-01 18:53:41 +02:00
Shauren 4c605ce621 Core/Auras: Fixed SPELLVALUE_AURA_STACK adding incorrect number of stacks on aura refresh 2025-03-22 20:20:18 +01:00
Shauren e233079d2d Core/Units: Refactor GetCastSpellInfo to return values via return value and hide internal lookup state tracker 2025-02-24 14:33:56 +01:00
Shauren fc54ae79a9 Core/Auras: Ensure aura target of SPELL_AURA_TRIGGER_SPELL_ON_POWER_PCT has required power type
Closes #30669
2025-02-05 20:35:13 +01:00
Shauren 9201c0f035 Core/Misc: Reduce code differences between branches 2025-02-05 20:20:17 +01:00
ModoX 46251b5655 Core/Vehicle: Added RideSpellID field to override npc_spellclick_spells (#30198) 2025-02-02 00:42:51 +01:00
Shauren ace6342aea Core/Spells: Refactor SpellHistory ModifyCoooldowns and ResetCooldowns callbacks to use CooldownEntry argument instead of internal iterator 2025-01-30 18:27:38 +01:00
Shauren 107ca37c68 Core/Auras: Fixed SPELL_ATTR1_IMMUNITY_TO_HOSTILE_AND_FRIENDLY_EFFECTS logic - no longer incorrectly unapplies all auras for immunities that don't use it 2025-01-27 15:30:29 +01:00
Shauren 97f58a59f1 Core/Auras: Make iteration over Aura::GetAuraEffects safe by automatically skipping nullptr elements 2025-01-09 13:23:48 +01:00
Shauren 151a50d2aa Core/Spells: Split TRIGGERED_IGNORE_POWER_AND_REAGENT_COST into separate POWER and REAGENT flags 2024-12-31 20:14:01 +01:00
Shauren d38941c19b Core/Units: Fill CurrentAreaID updatefield 2024-12-30 10:17:53 +01:00
Meji 0b16756172 Core/Units: Added helper methods to cancel mount/shapeshift auras (#30477) 2024-12-29 00:44:05 +01:00
Ovahlord aefcd2fac7 Core/Units: moved melee attack rage generation into Unit::AttackerStateUpdate and send the generated rage in combat log packet instead of power update packets
(cherry picked from commit b179a7246d0383a6e0517107844611fa676b71c8)
2024-12-27 12:04:05 +01:00
Shauren 884662a75a Core/Scripts: Added SpellEffectInfo argument to CalcDamage and CalcHealing spell script hooks 2024-12-21 00:40:08 +01:00
Shauren 6dd5fb9d88 Core/Auras: Implemented mount equipment 2024-11-19 21:40:49 +01:00
Shauren 4e551741cf Core/Misc: Fix some GCC warnings 2024-11-12 16:39:24 +01:00
Aqua Deus 11f6576f04 Core/Auras: Reimplement SPELL_AURA_MOD_ARMOR_PENETRATION_PCT, it is back from the dead (#30410) 2024-11-08 12:15:27 +01:00
Jeremy 214580d345 Core/Units: only set spellClickHandled to true when spell cast was succesful (#30388) 2024-10-31 08:28:17 +01:00
Shauren 68db469ee1 Core/PacketIO: Updated SMSG_UPDATE_OBJECT for 11.0.5 2024-10-30 14:41:27 +01:00
Shauren 963eb6b80c Core/Objects: Fixup SMSG_UPDATE_OBJECT related refactors
* Object::BuildValuesUpdateWithFlag is actually unused
* Restore UF::UpdateFieldFlag::Owner for players (self packet)
2024-10-29 00:48:21 +01:00
Shauren 067fa31d15 Core/PacketIO: Move writing data sizes in SMSG_UPDATE_OBJECT to shared functions instead of spreading it in all overrides 2024-10-25 15:36:11 +02:00
Traesh c7a073140c Core/Auras: Implemented SPELL_AURA_ADV_FLYING 2024-10-12 17:10:50 +02:00
ShaurenandTraesh 6e0b146f1d Core/Auras: Implemented adv flying speed mod auras
Co-authored-by: Traesh <[email protected]>
2024-10-10 16:19:33 +02:00
Jason Dove d93ca90d49 Core/Units: Fix melee attack victim level calculation (#30329) 2024-10-08 17:43:52 +02:00
Shauren 43c7965d6b Core/Movement: Store adv flying speeds instead of hardcoding them in SMSG_UPDATE_OBJECT and enable packets modifying them 2024-10-07 16:08:13 +02:00
Traesh edf61ad8e5 Core/PacketIO: Enable CAN_ADV_FLY opcodes 2024-09-29 18:03:22 +02:00
Shauren 723e638a84 Core/Spells: Protect against stack overflows in spell override handling 2024-09-22 13:17:08 +02:00
Ovahlord f26c942053 Core/Auras: fixed a possible underflow when checking required powers for SPELL_AURA_TRIGGER_SPELL_ON_POWER_AMOUNT and SPELL_AURA_TRIGGER_SPELL_ON_POWER_PCT 2024-09-21 22:23:42 +02:00
Shauren 010550da22 Core/Auras: Implemented SPELL_AURA_MOVE_SET_CANT_SWIM and related new opcodes 2024-09-07 00:58:37 +02:00
Shauren cdca59ca4d Core/Players: Fixed nested spell overrides (priest Mind Spike) 2024-09-01 11:34:11 +02:00
Jeremy 66abfd1c53 Spells/Auras: Implement SPELL_AURA_ACT_AS_CONTROL_ZONE (#30083) 2024-08-05 01:51:29 +02:00
Shauren df51150381 Core/DataStores: Updated to 11.0.0 2024-08-02 14:40:12 +02:00
Shauren e59eef5432 Core/PacketIO: Updated to 11.0.0 2024-08-02 13:25:41 +02:00
Shauren d82a018b5b Core/Auras: Defined and implemented new aura state 2024-07-19 19:21:03 +02:00
Shauren 16bfbe1a3a Core/Creatures: Allow adding summons to CreatureGroup (only adding, no formation movement of linked aggro yet) 2024-07-11 15:24:02 +02:00
Shauren 2e3920081f Core/Creatures: Fixed memory leaks in creature formations 2024-07-08 11:23:41 +02:00
Shauren 7fdcae81d8 Core/Units: Interrupt only spell in CURRENT_GENERIC_SPELL slot with damage taken InterruptFlags instead of all currently cast spells 2024-07-07 15:54:48 +02:00
Shauren b3bdb4efef Core/Spells: Implemented SPELL_ATTR9_CANNOT_KILL_TARGET 2024-07-03 14:35:01 +02:00
Shauren 96bfc5f39b Core/Spells: Implemented SPELL_ATTR9_IGNORE_CASTER_HEALING_MODIFIERS and SPELL_ATTR13_ALWAYS_ALLOW_NEGATIVE_HEALING_PERCENT_MODIFIERS 2024-07-01 00:05:09 +02:00
Shauren 3365e6a4b8 Core/Spells: Implemented SPELL_ATTR9_ALLOW_CAST_WHILE_CHANNELING 2024-06-28 16:19:14 +02:00