Commit Graph

2459 Commits

Author SHA1 Message Date
Shauren 7198c5223e Core/Creatures: Fixed memory leaks in creature formations
(cherry picked from commit 2e3920081f)
2024-07-08 13:13:06 +02:00
Shauren 23545f8182 Core/Units: Interrupt only spell in CURRENT_GENERIC_SPELL slot with damage taken InterruptFlags instead of all currently cast spells
(cherry picked from commit 7fdcae81d8)
2024-07-08 13:12:57 +02:00
Shauren 184d48cb65 Core/Spells: Implemented SPELL_ATTR9_CANNOT_KILL_TARGET
(cherry picked from commit b3bdb4efef)
2024-07-05 04:43:13 +02:00
Shauren 0885458cb3 Core/Spells: Implemented SPELL_ATTR9_IGNORE_CASTER_HEALING_MODIFIERS and SPELL_ATTR13_ALWAYS_ALLOW_NEGATIVE_HEALING_PERCENT_MODIFIERS
(cherry picked from commit 96bfc5f39b)
2024-07-05 04:42:52 +02:00
Shauren 315393f1ca Core/Spells: Implemented SPELL_ATTR9_ALLOW_CAST_WHILE_CHANNELING
(cherry picked from commit 3365e6a4b8)
2024-06-28 18:40:44 +02:00
Shauren e79216ab9e Core/Spells: Implemented SPELL_ATTR11_IGNORE_SPELLCAST_OVERRIDE_SHAPESHIFT_REQUIREMENTS
(cherry picked from commit cb335c3274)
2024-06-28 18:39:50 +02:00
Shauren a434917b3a Core/Spells: Spells cast through SPELL_AURA_OVERRIDE_ACTIONBAR_SPELLS_TRIGGERED aura should always be instant
(cherry picked from commit 4b4c52112d)
2024-06-28 18:39:42 +02:00
Ovahlord dc67de6b1b Core/Items: dropped artifact weapon implementation 2024-06-25 18:08:28 +02:00
Shauren bab83b91d9 Core/Movement: Allow setting position or object facing targets for jump movement
(cherry picked from commit ac73edc268)

# Conflicts:
#	src/server/scripts/Kalimdor/RagefireChasm/boss_lava_guard_gordoth.cpp
2024-06-23 23:48:49 +02:00
Shauren f52d9b9916 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
(cherry picked from commit c968dedfee)
2024-06-20 01:22:04 +02:00
Golrag c7374b620b Core/Players: Allow targeting a specific transport during teleports
(cherry picked from commit 5b130cfb42)
2024-06-20 00:53:56 +02:00
Ovahlord 618c5841ba Core/Units: updated spell crit damage bonus percentages for Cataclysm 2024-06-17 03:05:55 +02:00
Ovahlord 8d851e8576 Core/Spells: removed no longer used parameters from SpellEffectInfo::CalcValue and SpellEffectInfo::CalcBaseValue 2024-05-30 14:55:34 +02:00
Ovahlord 8dc00345bd Core/Spells: various spell scaling fixes and improvements
* removed redundant scaling multiplier code
* removed some dead code which is no longer relevant for classic
* scale healing spell power coefficients as well
* implemented mana cost scaling
2024-05-30 14:43:37 +02:00
Ovahlord 763e97577a Core/Units: subtract 10 intelligence when calculating base spellpower bonus values to match PaperDollFrame 2024-05-30 02:30:42 +02:00
Ovahlord 628b861c7c Core/Spells: initial work on updating base amount calculations and spell scaling for Cataclysm
* implemented the 'new' scaling fields which follow the same rules as they used to in build 15595
* implemented helper to retrieve spell scaling multipliers and use it to scale spell power coefficients
* restored die-sides handling
2024-05-30 02:21:20 +02:00
Shauren 27d1749e2f Core/Auras: Corrected implementation of dungeon encounter related interrupt flags
(cherry picked from commit e4e6eccdf5)
2024-05-28 17:12:18 +02:00
Shauren 89b0e5fa9b Core/Spells: Implemented SPELL_ATTR13_DO_NOT_ALLOW_DISABLE_MOVEMENT_INTERRUPT
(cherry picked from commit 48bc24697f)
2024-05-28 17:02:28 +02:00
Ovahlord cbc6aed437 Core/Auras: Implemented OnHeartbeat AuraScript hook and refactored an aurascript to use it as example (#29945)
* Updated Amalgam's Seventh Spine dummy aura script to use the new AuraScript hook

(cherry picked from commit 55ce5b150f)
2024-05-28 16:45:30 +02:00
Ovahlord 4de6799403 Core/Units: moved Vignette updating into Heartbeat handling
(cherry picked from commit 253f306a41)
2024-05-28 16:45:26 +02:00
Ovahlord 42a5176190 Core/Auras: implemented PROC_FLAG_HEARTBEAT and moved food/drink emote mechanic into heartbeat handling (#29943)
* also fixed an false assumption that only one of the food emotes can be played. They can in fact be both done at the same time.

(cherry picked from commit d60b4e5b19)
2024-05-28 16:45:22 +02:00
Ovahlord f7ea6f55dc Core/Units: moved cyclic spline synchronization mechanic heartbeat handling
(cherry picked from commit c2fedbb6cc)
2024-05-28 16:44:59 +02:00
ModoX 4a18194fc0 Core/Movement: Fixed data sent in cyclic spline related packets
(cherry picked from commit a28facb956)
2024-05-28 16:43:38 +02:00
Shauren 5c1021046a Core/Movement: Ensure land and takeoff animations even if gravity enabled/disabled state is not what spline generator expects
(cherry picked from commit be3ae90dc4)
2024-05-28 16:35:03 +02:00
Shauren 7c32484b79 Core/Pets: Removed overriding unit class for pets
(cherry picked from commit 2c702df4e3)
2024-05-28 16:31:56 +02:00
Meji 382eb5063f Core/Creatures: Changed the spawn health field in creature table to a percentage (#29801)
(cherry picked from commit def601b4ff)
2024-05-28 16:31:42 +02:00
Ovahlord a674f9262b Core/Misc: commented out unused parameters and variables in order to fix CI build for the time being until the affected features have been dropped 2024-05-24 17:13:31 +02:00
Shauren 9072664038 Core/Objects: Rename Object::m_isWorldObject and related functions to avoid conflicting with "WorldObject" class name
(cherry picked from commit 9402c66e84)
2024-03-25 20:22:13 +01:00
Shauren 6472446440 Core/Misc: Use our new unique_trackable_ptr for various classes exposed to scripts (not actually used anywhere currently)
(cherry picked from commit 4779fa5048)
2024-03-25 20:21:24 +01:00
Shauren 9a0414c79e Core/Objects: Implemented vignettes
(cherry picked from commit fccf6fb72b)
2024-03-25 20:12:21 +01:00
Ovahlord a8085016f2 Core/Units: updated armor reduction calculations for Cataclysm 2024-03-19 20:32:32 +01:00
Ovahlord 674a7c1a08 Core/Units: restored mod handling for Spirit 2024-03-14 05:33:31 +01:00
MaxtorCoder cfc9cc9ec2 Core/PacketIO: Update to 4.4.0.53627 (#29805)
* Core/PacketIO: Update to 4.4.0.53627

* Core/IO: Remove duplicate declaration of PetSpellDataID

* Core/IO: Assign STATUS_UNHANDLED to some azerite packets
2024-03-13 21:16:18 +01:00
Ovahlord d9ffc33724 Core/DataStores: duc-taped build 2024-03-10 02:39:59 +01:00
Ovahlord 512b4d15c0 Core/Units: fixed build 2024-03-09 21:50:49 +01:00
Shauren 45ee989c70 Core/vmaps: Removed vmap lookup functions duplicating functionality of each other 2024-03-07 00:23:52 +01:00
Shauren 1369b87084 Core/Creatures: Implemented CREATURE_STATIC_FLAG_2_IGNORE_SANCTUARY (ignore SPELL_EFFECT_SANCTUARY, used by Vanish) 2024-03-04 00:05:35 +01:00
Shauren c2e36dea6c Core/Creatures: Implemented serverside checks for UNIT_FLAG2_INTERACT_WHILE_HOSTILE and UNIT_FLAG3_ALLOW_INTERACTION_WHILE_IN_COMBAT
* Also stop sending npc flags for hostile creatures
2024-03-03 00:51:51 +01:00
Shauren 97d7ccd180 Core/Quests: Merged UpdateNearbyCreatureNpcFlags, UpdateVisibleGameobjectsOrSpellClicks and SendQuestGiverStatusMultiple on quest actions
* Fixes quest markers above NPC heads not disappearing when player stops seeing questgiver npc flag
2024-03-03 00:50:38 +01:00
Shauren f2ce5072d6 Core/Creatures: Implemented unsummoning and resummoning critter pets on flying mounts and teleports (and related static flags) 2024-03-02 15:06:33 +01:00
Shauren a814eb65b1 Core/Spells: Implemented pausing spell cooldowns 2024-03-01 00:23:09 +01:00
Shauren 0139ec41bb Core/Creatures: Allow toggling CREATURE_STATIC_FLAG_4_TREAT_AS_RAID_UNIT_FOR_HELPFUL_SPELLS 2024-02-29 18:09:10 +01:00
Ovahlord c541eda54d Core/Creatures: implemented most movement related static flags and migrated existing movement data into static flags (#29541)
* implemented CREATURE_STATIC_FLAG_AQUATIC - creatures cannot leave liquids
* implemented CREATURE_STATIC_FLAG_AMPHIBIOUS - creatures can enter and leave liquids but remain on the ocean floor when swimming is not enabled until engaged
* implemented CREATURE_STATIC_FLAG_FLOATING - creatures have their gravity on spawn / reset disabled
* implemented CREATURE_STATIC_FLAG_SESSILE - creatures are rooted in place
* implemented CREATURE_STATIC_FLAG_CAN_SWIM - creature can swim in liquids
* implemented CREATURE_STATIC_FLAG_3_CANNOT_SWIM - Amphibious creatures cannot toggle on swimming
* implemented CREATURE_STATIC_FLAG_3_CANNOT_TURN - Creatures cannot turn at all
* implemented CREATURE_STATIC_FLAG_4_PREVENT_SWIM - Amphibious creatures won't toggle on swimming until their victim starts leaving the ocean floor
* partially implemented CREATURE_STATIC_FLAG_3_CANNOT_PENETRATE_WATER
* deprecated CREATURE_FLAG_EXTRA_NO_MOVE_FLAGS_UPDATE as this flag was a hackfix to a wrong implementation that is now gone
2024-02-29 14:43:37 +01:00
Shauren 288966e796 Core/Movement: Fixed MoveRotate not updating orientation 2024-02-28 20:41:04 +01:00
Shauren deb24f3f53 Core/Units: Added helper function to clear boss emote frame and enable SMSG_CLEAR_BOSS_EMOTES 2024-02-27 16:13:23 +01:00
Shauren 0c76618b19 Core/Auras: Implemented SpellEffectAttributes::AuraPointsStack 2024-02-26 00:03:02 +01:00
Ovahlord 6c15fb00e5 Core/Units: Update facing spline movement immediately after launching (#29494) 2024-02-25 15:12:46 +01:00
Shauren a748fddfa4 Core/Creatures: Implemented CREATURE_STATIC_FLAG_4_NO_MELEE_APPROACH and fixed CREATURE_STATIC_FLAG_NO_MELEE_FLEE implementation (should cause fleeing from melee range) 2024-02-22 15:47:11 +01:00
Shauren c8bd6f5da3 Core/Spells: Fixed incorrect switch logic in Unit::SpellCritChanceDone 2024-02-21 13:16:55 +01:00
Shauren ed0b621d15 Core/Auras: Allow SPELL_AURA_MECHANIC_IMMUNITY_MASK to apply aoe/chain targeting immunity 2024-02-13 00:46:42 +01:00