Mykhailo Redko
da4d3d7782
Scripts/Halls of Lightning: Fix a crash caused by iterator invalidating in Ionar boss script ( #29963 )
...
(cherry picked from commit faf87b327d3eed6e1ea60f1ed21f6a9f7ac36734)
2026-05-31 22:46:45 +02:00
Gildor
1388d47e29
Scripts/Trial Of The Crusader: Fix application of spell Surge of Adrenaline (Icehowl) ( #28933 )
...
* Scripts/Trial Of The Crusader: Fix application of spell Surge of Adrenaline (Icehowl)
(cherry picked from commit 431a59eae1f4df429ca2ee982ffca0dc8a97d2c8)
2026-05-25 16:45:24 +02:00
Shauren
7ac98ef88a
Core/Spells: Implemented RadiusMin (targets must be between RadiusMin and RadiusMax)
2026-04-26 16:27:52 +02:00
Shauren
f02ac75007
Core/Spells: Add SpellRange structure to replace std::pair<float, float> in spell range checks
2026-04-26 16:27:52 +02:00
Shauren
16755f2987
Scripts/Azjol-Nerub: Fixed Anub'ar Assassin jump pos selection after 5423f36b4d
2026-04-26 16:27:52 +02:00
Shauren
5423f36b4d
Core/Misc: Apply random position selection improvements from ed2a08dc70 to WorldObject::GetRandomPoint and WorldObject::GetRandomNearPosition
2026-04-23 12:43:11 +02:00
Shauren
daae0381f0
Core/Misc: Pass TaskContext by reference
2026-04-14 19:39:32 +02:00
Shauren
325509b6c7
Core/Random: Rename roll_chance_x functions to roll_chance
2026-04-10 00:09:44 +02:00
Shauren
8225b5b71c
Core/Spells: Change spell effect value type to double
2026-04-08 18:40:58 +02:00
Shauren
0607798755
Core/Misc: Remove unneccessary semicolons
2026-03-04 20:21:15 +01:00
Shauren
44c0f51e65
Core/Scripts: Modernize InstanceScript::Load*Some*Data arrays to use std::span instead of requiring a dummy end markers inside the arrays
2026-02-15 19:19:16 +01:00
Shauren
1db1a0e57f
Core/Movement: Enable MotionMaster::MovePath for players
2026-01-05 14:18:45 +01:00
Shauren
a80e33a674
Core/Spells: Move periodic tick count calculation from SpellInfo to SpellEffectInfo
2026-01-03 12:18:49 +01:00
Shauren
ed599208ea
Core/Movement: Change MoveJump to use min/max height argument instead of vertical speed
2025-11-23 11:54:42 +01:00
Shauren
faab5afaf4
Scripts/Misc: Replace manual jumps with proper spells (or non-jump movement where there should be no jumps)
2025-11-23 00:19:43 +01:00
Shauren
71ebbc60cc
Core/Movement: Remove MotionMaster::MoveJump(x, y, z) overload
2025-11-18 00:32:06 +01:00
Shauren
c24dcf62ac
Core/Movement: Use std::span argument instead of std::vector in MoveSplineInit::MovebyPath to avoid having to construct temporary containers
2025-11-10 19:55:29 +01:00
Shauren
7c5edfcdda
Core/Position: Change Position<->G3D::Vector3 conversion functions to be lambdas
2025-11-09 21:30:32 +01:00
Shauren
c6e6e17b9a
Core/Misc: Remove large functions from headers
2025-10-29 19:40:58 +01:00
Shauren
0da653e9c1
Scripts/Spells: Fix all effect hooks attached to SPELL_EFFECT_SUMMON broken after moving handling of that effect to launch phase
2025-10-15 11:16:18 +02:00
Shauren
a8f01e07d1
Core/Entities: Merge duplicate functions calculating relative positions - remove CalculatePassengerPosition/CalculatePassengerOffset from TransportBase class
2025-10-14 13:11:41 +02:00
Shauren
3d8a75b0b5
Core/Misc: Reduce differences between branches
2025-10-04 15:05:17 +02:00
Shauren
ca70a5c1a0
Scripts/The Nexus: Updated dungeon encounter ids
2025-10-01 15:39:27 +02:00
Shauren
de80c713d0
Scripts/Spells: Refactor spell script internals to fix -Wcast-function-type-mismatch warning
2025-08-16 15:31:10 +02:00
Shauren
fbbcc31670
Core/Misc: Simplify LinkedListHead::isEmpty and rename to empty to fit standard container naming
2025-07-11 17:47:14 +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
36332d2463
Core/Misc: Remove a bunch of code from headers
2025-06-13 16:36:03 +02:00
Shauren
0f9a0accf1
Core/Misc: Kill AnyPlayerInObjectRangeCheck (duplicate of AnyUnitInObjectRangeCheck)
2025-06-08 01:07:44 +02:00
Shauren
a5ca817ff6
Core/Position: Remove Position implicit object slicing
2025-05-19 15:34:32 +02:00
Shauren
05eb63c8a2
Scripts/Misc: Update ScriptPCH content to include most commonly headers
2025-05-11 23:34:45 +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
e57b0296d6
Core/Spells: Merge Spell::SetSpellValue overloads
2025-04-03 13:48:52 +02:00
Shauren
0f5d634e38
Scripts: Remove unneccessary DoublePosition from AreaBoundary
2025-02-07 12:47:39 +01:00
Shauren
dbd761d20a
Core/Spells: Remove manual spell guid creation in scripts
2025-02-01 00:32:34 +01:00
Shauren
887fcbc02b
Scripts/Spells: Removed unneccessary hacks - reagent consumption by triggered spells fixed in 54a83b4b68
2025-01-01 20:32:23 +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
5e541de574
Scripts: Remove direct unit flag manipulations for UNIT_FLAG_IMMUNE_TO_PC, UNIT_FLAG_IMMUNE_TO_NPC and UNIT_FLAG_UNINTERACTIBLE
2024-12-29 12:59:38 +01:00
ModoX
6b96facee3
Core/AI: Remove default arguments for inter-script communication
2024-12-29 00:17:07 +01:00
Shauren
884662a75a
Core/Scripts: Added SpellEffectInfo argument to CalcDamage and CalcHealing spell script hooks
2024-12-21 00:40:08 +01:00
Jeremy
caccb06190
Core/Texts: Refactor Emote/Sound handling and add ConditionID for ChatTextBuilders ( #30343 )
2024-10-21 02:34:00 +02:00
Shauren
975e7cc072
Core/Spells: Refactor CastSpellExtraArgs
...
* Allow C++20 designated initializers
* Allow precise float values for SPELLVALUE_RADIUS_MOD, SPELLVALUE_CRIT_CHANCE and SPELLVALUE_DURATION_PCT
2024-09-12 21:57:16 +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
Ovahlord
11f32a2427
Core/Creatures: moved combat pulse into heartbeat handling and implemented CREATURE_STATIC_FLAG_2_FORCE_PARTY_MEMBERS_INTO_COMBAT ( #29946 )
2024-04-28 16:09:43 +02:00
Shauren
dad976beb4
Core/Movement: Migrate scripts using GetMotionMaster()->MoveSmoothPath to GetMotionMaster()->MovePath and kill it (they now have the same capabilities)
2024-04-25 00:42:16 +02:00
Shauren
e1f43900d1
Core/Movement: Store delay in WaypointNode as Milliseconds instead of raw integer and revert c5097114d1
2024-04-19 15:16:17 +02:00
Meji
def601b4ff
Core/Creatures: Changed the spawn health field in creature table to a percentage ( #29801 )
2024-03-30 20:21:28 +01:00
Jeremy
be11f42a16
Core/Battlegrounds: Move to scripts ( #29799 )
...
* Introduce new BattlegroundScript class for map/bg specific scripts
* Remove all sub, zone specific, battleground classes except Arena
* Move all bg zone scripts to new BattlegroundScripts class in script folder
* Remove ZoneScript from Battleground class
* Remove some unused hooks from Battleground
2024-03-28 19:29:22 +01:00
Shauren
94b78ebc8b
Core/Players: Slightly improve neutral player faction support
2024-03-24 17:19:10 +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