Commit Graph

2754 Commits

Author SHA1 Message Date
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
bb67a42791 Core/Spells: Fixed spells that scale value with master not being affected by SpellModOp::Points and SpellModOp::PointsIndex spellmods 2025-03-21 00:07:16 +01:00
Shauren
438d0c3089 Core/Units: Define new 11.1.0 movement flags 2025-02-25 18:24:54 +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 b179a7246d)
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
4f7079f471 Core: Updated to 11.0.7 2024-12-18 22:50:33 +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
Shauren
6e0b146f1d Core/Auras: Implemented adv flying speed mod auras
Co-authored-by: Traesh <nicolas.queniro@gmail.com>
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
ModoX
1b4c324fe1 Core/Unit: Allow UNIT_FLAG2_FEIGN_DEATH and UNIT_FLAG3_FAKE_DEAD setting in db
* seems to become quite common in 11.x to be used w/o auras; example being Kirin Tor Conjuror 212718
2024-08-31 19:13:43 +02:00
Shauren
df1ec76d54 Core: Updated to 11.0.2 2024-08-16 00:03:22 +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
Shauren
cb335c3274 Core/Spells: Implemented SPELL_ATTR11_IGNORE_SPELLCAST_OVERRIDE_SHAPESHIFT_REQUIREMENTS 2024-06-27 00:25:03 +02:00
Shauren
4b4c52112d Core/Spells: Spells cast through SPELL_AURA_OVERRIDE_ACTIONBAR_SPELLS_TRIGGERED aura should always be instant 2024-06-26 15:17:46 +02:00
Shauren
24096f6b66 Core/Spells: Implemented SPELL_ATTR9_AUTOCAST_OFF_BY_DEFAULT 2024-06-24 12:26:14 +02:00
Shauren
ac73edc268 Core/Movement: Allow setting position or object facing targets for jump movement 2024-06-21 15:35:12 +02:00
Shauren
c968dedfee Core/Spells: Fixed implementation of SPELL_ATTR1_IMMUNITY_TO_HOSTILE_AND_FRIENDLY_EFFECTS and removed banish special cases that were neccessary because that attribute wasn't correctly supported 2024-06-19 20:14:53 +02:00