Shauren
982feb5082
DB/Pets: Removed invalid spells from creature_template_spell
...
Closes #29149
2023-08-16 20:04:20 +02:00
Shauren
f18233822d
Core/Misc: Fixed minor formatting mistakes
2023-08-16 18:17:09 +02:00
Jeremy
1ab7050cb7
Core/Scripts: Add ZoneScript hook for AreaTrigger creation/deletion ( #29236 )
2023-08-15 21:33:59 +02:00
Shauren
fefc719263
Core/Creatures: Updated totem slot assignment logic
...
* Implemented SUMMON_SLOT_ANY_TOTEM
* Fixed showing totems on player frames
* Fixed removing totems from player frames
* Fixed being able to summon unlimited windfury totems
2023-08-15 00:49:30 +02:00
Shauren
ac1c041944
Core/Spells: Damage and healing bonus calculation fixes
...
* Spells with SPELL_DAMAGE_CLASS_NONE are now allowed to benefit from spellmods
* Fixed SPELL_AURA_MOD_DAMAGE_DONE_VERSUS_AURASTATE and SPELL_AURA_MOD_HEALING_DONE_PCT_VERSUS_TARGET_HEALTH not working for players
2023-08-14 13:34:40 +02:00
ModoX
0c9e46629c
Core/Spells: Summons with no special title and duration -1ms should use TEMPSUMMON_MANUAL_DESPAWN
2023-08-14 00:48:21 +02:00
ModoX
35e5da37bd
Core/Object: Implemented helper method PlayObjectSound
2023-08-13 23:59:24 +02:00
Shauren
c2d8c64d36
Core/Spells: Validate spellmod array size at startup
2023-08-13 23:47:42 +02:00
Shauren
b8f3bb8cba
Core/Spells: Updated default SpellPhaseMask that is generated for procs that do not have entry in spell_proc table
2023-08-12 18:28:50 +02:00
Shauren
0d8221d558
Core/Spells: Handle summon effect on spell launch instead of hit
2023-08-10 00:20:20 +02:00
Shauren
1cae07870b
Core/Creatures: Clean up temporary summon duplicate level initialization
2023-08-10 00:19:33 +02:00
Shauren
f812adfabc
GCC build fix
2023-08-10 00:17:40 +02:00
Shauren
01a09de319
Core/Creatures: Allow modifying TempSummon duration after summoning
2023-08-09 11:43:29 +02:00
Shauren
1dd4b38170
Core/Creatures: std::chrono-ify TempSummon
2023-08-09 11:37:17 +02:00
Shauren
e0ab6330c1
Core/Auras: Treat auras with more than 1 active stack as using stacks too (max stack could have been changed from 0 to something else using spell mods)
2023-08-09 00:11:29 +02:00
Shauren
86725ed926
Core/MMaps: Fixed pathing for objects that have terrain swaps active
2023-08-08 00:08:10 +02:00
Shauren
98007f859b
Core/Misc: Turn ChrSpecialization into enum class
2023-08-07 00:05:36 +02:00
Nyr
d2784d4c65
Core/Misc: Move TalentSpecialization together with other db2 enums and rename it to ChrSpecialization
2023-08-07 00:05:36 +02:00
Shauren
054723241e
Core/Misc: Reduce number of player spec hardcoded checks
2023-08-07 00:05:36 +02:00
Shauren
a3a31a9a6f
Core/Spells: Fixed spells with SPELL_ATTR12_START_COOLDOWN_ON_CAST_START failing to cast because of their own cooldown
2023-08-06 13:53:02 +02:00
Shauren
5aaaf3f916
Core/Auras: Default procs with PROC_FLAG_2_CAST_SUCCESSFUL to CAST spell phase
2023-08-06 00:49:31 +02:00
Shauren
9f1cc2e679
Scripts/Spells: Improved compiler error reporting with wrong spell script function signatures
2023-08-05 14:27:05 +02:00
Shauren
17a77d6630
Core/Spells: Fix copypaste mistake (doesn't really change anything)
2023-08-04 10:52:55 +02:00
Shauren
9cdf3530f4
Core/Scripts: Added damage and healing calculation hook to spell and aura scripts allowing to override base damage amount, flat value mod and percent value mod separately
2023-08-01 21:31:06 +02:00
Shauren
197d4369c8
Core/Spells: Removed old combo point code leftovers
2023-07-31 11:55:00 +02:00
Shauren
9e68fd1458
Core/Spells: Fixed spell duration scaling with combo points
2023-07-31 00:11:05 +02:00
Jeremy
f5461a1161
Battlegrounds/Buffs: Rework using areatriggers ( #29171 )
...
* Rework GameObject trap handling for buffs (removed radius hack)
* Add script for Old AreaTriggers
* Add script for new AreaTriggers
* Spawn AreaTriggers in Arathi Basin
2023-07-30 19:49:12 +02:00
Shauren
845f61e0a9
Core/GameObjects: Added stringid to gameobjects
2023-07-30 13:55:34 +02:00
Shauren
1acaed2af4
Core/Objects: Switch to using designated initializers instead of chaining functions for FindCreatureOptions
2023-07-29 23:46:31 +02:00
Seyden
799d63ce2c
Core/Auras: Remove incorrect implementation of SPELL_ATTR8_DONT_RESET_PERIODIC_TIMER (this attribute does something else) ( #29195 )
2023-07-28 23:23:38 +02:00
Shauren
1af6533c0f
codestyle fix
2023-07-27 22:27:59 +02:00
Shauren
46b67ec205
Core/Scripts: Fixed unsafe function pointer type casting in spell scripts
2023-07-27 19:37:57 +02:00
Jeremy
3cfc27f5ca
Core/GameObject: Implement GAMEOBJECT_TYPE_NEW_FLAG_DROP ( #28021 )
2023-07-24 17:27:28 +02:00
Traesh
ea134c0eae
Core/AI: Implemented OnHealthDepleted hook ( #29134 )
2023-07-24 14:31:03 +02:00
Shauren
228c56f3c5
Scripts/Spells: Modernize spell script internals a bit - this makes Prepare macros unneccessary
2023-07-24 00:27:25 +02:00
Krudor
d3bc5ebf16
Core/Units: Fixed knockback angle calculation for players ( #29165 )
2023-07-21 20:51:03 +02:00
ModoX
4e7508db7b
Core/AreaTriggers: Teleport to current instance entrance when entering instances via areatrigger entity ( #29115 )
2023-07-21 18:55:20 +02:00
ModoX
f28b4eed3d
Core/Condition: Implemented condition CONDITION_PRIVATE_OBJECT ( #29136 )
2023-07-21 17:54:27 +02:00
Shauren
40cdf0750d
Core/Units: Fixed crash (previously was a memory leak) when vehicle creatures are deleted without ever being added to world
...
Closes #29166
2023-07-21 00:19:48 +02:00
Shauren
0b1281e73f
Core/Misc: Updated more enums for 10.1.5
2023-07-21 00:11:43 +02:00
Aqua Deus
6a760de79b
Core/Auras: Implement SPELL_AURA_MOD_DAMAGE_PERCENT_DONE_BY_TARGET_AURA_MECHANIC ( #29162 )
2023-07-20 20:17:38 +02:00
Teleqraph
88ff97c1f9
Core/Units: Added helper functions to modify UNIT_FLAG_UNINTERACTIBLE ( #29159 )
...
Co-authored-by: Shauren <shauren.trinity@gmail.com >
2023-07-20 19:09:27 +02:00
Meji
3aa264d0c7
Core/Scripts: Fix EventScript assert for GameObject::SetDestructibleState ( #29131 )
...
Closes #29167
2023-07-20 17:11:56 +02:00
Teleqraph
53f9abec14
Core/Unit: Added helper functions to modify UNIT_FLAG2_CANNOT_TURN ( #29160 )
2023-07-20 12:20:15 +02:00
Meji
889e88ab80
Core/Spells: Fixed target radius logic in spell effects for TargetB ( #29158 )
2023-07-20 10:10:18 +02:00
Aqua Deus
87f350b1c1
Core/Auras: Implement SPELL_AURA_IGNORE_SPELL_COOLDOWN ( #29157 )
2023-07-19 23:03:26 +02:00
Shauren
19db88fd1b
Core/PacketIO: Fixed structure of SMSG_GOSSIP_MESSAGE and SMSG_QUEST_GIVER_QUEST_LIST_MESSAGE
...
Closes #29161
Closes #29163
2023-07-19 20:58:27 +02:00
Shauren
d949f86e28
Scripts/Spells: Allow using templated spell script with multiple template arguments in RegisterSpellScriptWithArgs
...
* Also fixed some script conversion issues
2023-07-19 13:44:18 +02:00
Traesh
5be076b240
Core/AreaTriggers: Handle AREATRIGGER_FLAG_HAS_DYNAMIC_SHAPE for disks ( #29156 )
2023-07-18 18:42:57 +02:00
Shauren
dfbf09f4b9
GCC build fix
2023-07-17 20:32:07 +02:00