Shauren
d785a48475
Core/Grids: Modernize TypeContainer with variadic template
...
(cherry picked from commit 401502ea3c )
2025-01-09 20:53:02 +01:00
Shauren
e3108547fd
Scripts/Spells: Removed unneccessary hacks - reagent consumption by triggered spells fixed in 54a83b4b68
2025-01-01 21:07:12 +01:00
Shauren
eaf412c1bb
Core/Spells: Split TRIGGERED_IGNORE_POWER_AND_REAGENT_COST into separate POWER and REAGENT flags
...
(cherry picked from commit 151a50d2aa )
# Conflicts:
# src/server/game/Spells/Spell.cpp
# src/server/scripts/Spells/spell_druid.cpp
# src/server/scripts/Spells/spell_priest.cpp
# src/server/scripts/Spells/spell_warlock.cpp
2025-01-01 21:00:25 +01:00
Shauren
03c575b614
Scripts: Remove direct unit flag manipulations for UNIT_FLAG_IMMUNE_TO_PC, UNIT_FLAG_IMMUNE_TO_NPC and UNIT_FLAG_UNINTERACTIBLE
...
(cherry picked from commit 5e541de574 )
# Conflicts:
# src/server/scripts/DragonIsles/AzureVault/boss_leymor.cpp
# src/server/scripts/ExilesReach/zone_exiles_reach.cpp
# src/server/scripts/KhazAlgar/IsleOfDorn/zone_isle_of_dorn.cpp
# src/server/scripts/Pandaria/zone_the_wandering_isle.cpp
# src/server/scripts/Zandalar/KingsRest/boss_golden_serpent.cpp
2024-12-29 22:35:56 +01:00
ModoX
74f9ad8c2e
Core/AI: Remove default arguments for inter-script communication
...
(cherry picked from commit 6b96facee3 )
2024-12-29 12:17:25 +01:00
Shauren
cb29e42e3a
Core/Scripts: Added SpellEffectInfo argument to CalcDamage and CalcHealing spell script hooks
...
(cherry picked from commit 884662a75a )
# Conflicts:
# src/server/scripts/Shadowlands/Torghast/spell_torghast.cpp
# src/server/scripts/Spells/spell_azerite.cpp
# src/server/scripts/Spells/spell_evoker.cpp
# src/server/scripts/Spells/spell_priest.cpp
# src/server/scripts/Spells/spell_rogue.cpp
# src/server/scripts/Spells/spell_warlock.cpp
2024-12-21 17:41:47 +01:00
Shauren
0d65725551
Core/Movement: Migrate scripts using GetMotionMaster()->MoveSmoothPath to GetMotionMaster()->MovePath and kill it (they now have the same capabilities)
...
(cherry picked from commit dad976beb4 )
# Conflicts:
# src/server/scripts/BrokenIsles/zone_orderhall_warrior.cpp
2024-05-28 16:44:37 +02: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
7751d278b1
Scripts: Removed unused global variables
2024-02-24 13:44:20 +01:00
Malcrom
ac7e718511
Scripts/Durotar: Implemented Vol'jins Visions ( #29553 )
...
* on quest More Than Expected rewarded
* on quest An Ancient Enemy rewarded
2024-01-17 16:55:57 +01:00
Shauren
605e5f94c0
Core/Creatures: Moved autoattack handling from scripts to game
2024-01-08 22:23:12 +01:00
ModoX
12186ef857
Core/Waypoints: Refactor to split data into path and node related info in db ( #29506 )
2024-01-05 17:56:19 +01:00
Malcrom
e2e2357b00
Scripts/Durotar: Implemented several Darkspear Training Grounds quests ( #29507 )
...
* The Basics: Hitting things
* Proving Pit
* added start quest for monks
* also fixed Zuni spawn
* also fixed cosmetics for Tiki Targets
* also fixed questchains of all classes up to Darkspear Hold
2024-01-01 03:37:52 +01:00
Ovahlord
4a61675191
Scripts/Halls of Origination: modernized creature accessing via data type
2023-12-25 18:06:44 +01:00
Ovahlord
01b1216058
Scripts/Halls of Origination: implemented Lift of the Maker's console to allow players to control the elevator to reach the 2nd floor after defeating Anraphet or Earthrager Ptah
2023-12-25 17:52:05 +01:00
Ovahlord
5c6040feba
Scripts/Halls of Origination: modernized scripting models to current standard
...
* dropped a deprecated hack spellscript from Anraphet
2023-12-25 17:16:03 +01:00
Ovahlord
75300c90b6
Scripts/Halls of Origination: updated boss state and npc enums to current standard
2023-12-25 17:02:56 +01:00
Ovahlord
44921878f1
Scripts/Vortex Pinnacle: implemented Slipstreams and shortcuts
2023-12-24 05:41:44 +01:00
Ovahlord
32df6ee550
Scripts/Vortex Pinnacle: added base instance script and definitions
2023-12-22 14:53:52 +01:00
Ovahlord
12f6ac21d9
Scripts/Well of Eternity: fixed a typo in the instance script class name
2023-12-22 12:09:42 +01:00
Ovahlord
9ece48a55c
Scripts/Hour of Twilight: assign the correct scriptname to the instance
2023-12-22 11:35:28 +01:00
Ovahlord
c336a6b53a
Scripts/Misc: added base instance scripts and definitions for all 4.3 Cataclysm dungeons
2023-12-22 11:28:05 +01:00
Ovahlord
575a37a703
Scripts/Dragon Soul: added base instance script and definitions
2023-12-22 10:18:17 +01:00
Ovahlord
16b7c3cca9
Scripts/Misc: added instance scripts and base definitions for all Cataclysm 4.0 raids
2023-12-22 08:40:11 +01:00
Ovahlord
30759beac7
Scripts/LCT: implement Lockmaw encounter
2023-11-07 16:17:55 +01:00
Ovahlord
b606af8c4a
Scripts/LCT: use the correct difficulty check to enable General Husam's heroic mechanics for Timewalking difficulty as well
2023-11-07 16:17:55 +01:00
Ovahlord
a6c9e44c55
Scripts/LCT: gave General Husam's enums unique names to reduce linking time
2023-11-07 16:17:55 +01:00
Ovahlord
394940e0c5
Scripts/LCT: fixed spell validation for General Husam's Bad Intentions script effect
2023-11-06 16:53:45 +01:00
Ovahlord
24dab9326d
Scripts/LCT: implement General Husam encounter ( #29414 )
2023-11-06 11:51:37 +01:00
ModoX
0e2f041728
Core/InstanceScript: Refactored door types to reflect its behavior ( #29406 )
2023-11-06 00:11:42 +01:00
Shauren
9894f6b802
Core/Random: Changed random functions returning doubles to return floats
...
* They were all cast to float at use anyway
* Improves roll_chance_f performance (rand32() is now called internally by uniform_real_distribution once instead of twice)
2023-10-31 20:20:00 +01:00
Shauren
fb4f7b0c4c
Scripts/Dire Maul: Added dungeon encounter ids
2023-09-18 22:09:31 +02:00
Shauren
1f2ae69226
Scripts/Stratholme: Added dungeon encounter ids
2023-09-18 19:25:30 +02:00
Shauren
7a4cbddb2c
Scripts/Zul'farrak: Added dungeon encounter ids
2023-09-17 23:37:15 +02:00
Shauren
03d6dd8539
Scripts/Uldaman: Added dungeon encounter ids
2023-09-17 22:01:07 +02:00
Shauren
83c0b901e5
Scripts/Razorfen Kraul: Added dungeon encounter ids
2023-09-17 20:23:33 +02:00
Shauren
1ef9b29486
Scripts/Wailing Caverns: Added dungeon encounter ids
2023-09-17 18:52:02 +02:00
Shauren
1dd4b38170
Core/Creatures: std::chrono-ify TempSummon
2023-08-09 11:37:17 +02:00
Shauren
8594fcfe8a
Scripts/Spells: Converted some damage calculating scripts to use new hooks as examples
2023-08-02 00:12:16 +02:00
Shauren
2e7e49b749
Scripts/Spells: Removed unneccessary PrepareSpellScript and PrepareAuraScript uses
2023-07-24 10:48:50 +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
889e88ab80
Core/Spells: Fixed target radius logic in spell effects for TargetB ( #29158 )
2023-07-20 10:10:18 +02:00
Ovahlord
252da139ad
Scripts/Halls of Origination: fixed a deprecation warning
2023-07-11 20:11:44 +02:00
Shauren
c484530b0c
Core/Spells: Added enum flag operators to TriggerCastFlags to prevent accidentally using CastSpellExtraArgs(bool) constructor when CastSpellExtraArgs(TriggerCastFlags) was intended
2023-06-09 00:33:35 +02:00
Shauren
622eed752b
Scripts/Spells: Converted remaining spell scripts to use ValidateSpellEffect
2023-06-03 23:17:28 +02:00
Shauren
f8a6a9b017
Scripts/Spells: Added spell effect validation helper
2023-05-30 19:34:19 +02:00
ModoX
89e09dc44e
Core/AI: Drop script_waypoints and move data to waypoint_data ( #28879 )
2023-04-10 04:04:33 +02:00
ModoX
356c98579b
Core/SAI: Drop waypoints table and move existing rows to waypoint_data table ( #28834 )
2023-04-08 01:33:05 +02:00
ModoX
36044a9470
Core/Creature: Added possibility to give creatures multiple gossip menu ids and control them via conditions ( #28159 )
2023-04-05 23:49:46 +02:00
Shauren
0956873613
Core/Creatures: Allow overriding default gossip menu id
2023-03-12 00:13:49 +01:00