Shauren
605e5f94c0
Core/Creatures: Moved autoattack handling from scripts to game
2024-01-08 22:23:12 +01:00
ModoX
3f6f683ce4
Core/Waypoints: Drop waypoint_scripts table ( #29437 )
2023-11-24 21:08:00 +01:00
ModoX
0e2f041728
Core/InstanceScript: Refactored door types to reflect its behavior ( #29406 )
2023-11-06 00:11:42 +01:00
Shauren
2e7e49b749
Scripts/Spells: Removed unneccessary PrepareSpellScript and PrepareAuraScript uses
2023-07-24 10:48:50 +02:00
ModoX
89e09dc44e
Core/AI: Drop script_waypoints and move data to waypoint_data ( #28879 )
2023-04-10 04:04:33 +02:00
Shauren
3df16c12b7
Core/Scripts: Move EvadeReason outside of CreatureAI class
2023-01-19 21:23:06 +01:00
Shauren
d8a4668c77
Core/Misc: Add missing Containers.h include where neccessary
2023-01-06 16:44:11 +01:00
Shauren
46e0056196
Scripts/Instances: Add dungeon encounter data
2022-10-04 00:19:38 +02:00
Shauren
8cadc10dd5
Scripts: Fixed missing boss count initialization in The Slave Pens and The Botanica as well as incorrect map id assignment to Auchenai Crypts spawn groups
...
Closes #28278
(cherry picked from commit 01f0f83139 )
2022-09-30 20:17:18 +02:00
Shauren
a953fb9a34
Nopch build fix
...
(cherry picked from commit 9fcc820016 )
2022-09-30 20:11:10 +02:00
Shauren
7e6c133a57
DB/Mana-Tombs: Migrate linked_respawn to spawn groups
...
(cherry picked from commit 4af8548206 )
2022-09-30 18:04:23 +02:00
offl
496eba4e8d
Scripts/Spells: Correctly implement Murmur's Touch & Dire Brew ( #28058 )
...
(cherry picked from commit f0d2418e5f )
2022-09-05 19:37:13 +02:00
Shauren
b47185cabf
Core/Misc: Rename AddXXXFlag updatefield functions to SetXXXFlag
2022-03-27 18:14:47 +02:00
offl
050f55b62f
Core/AI: OnSpellCast, OnSpellFailed, OnSpellStart hooks ( #27704 )
...
(cherry picked from commit 3dca705acc )
2022-03-26 15:15:46 +01:00
offl
df841dc9f2
Scripts/SL: Update Grandmaster Vorpil ( #27765 )
...
Closes #23801
(cherry picked from commit a19c9660b4 )
2022-03-26 14:49:55 +01:00
offl
4004eb8b46
Scripts/Crypts: Rework Exarch Maladaar ( #27313 )
...
(cherry picked from commit 35b55b3f21 )
2022-03-23 23:59:41 +01:00
Giacomo Pozzoni
71c2f0af46
Core/AI: Add DamageEffectType and SpellInfo parameters to UnitAI::DamageTaken ( #26787 )
...
* Core/AI: Add DamageEffectType and SpellInfo parameters to UnitAI::DamageTaken
* Update scripts
(cherry picked from commit 0800ab20a8 )
2022-03-12 14:45:04 +01:00
offl
fd82c69597
Scripts/MT: Update scripts to new register model ( #26679 )
...
(cherry picked from commit 661e7cca00 )
2022-03-11 15:48:13 +01:00
offl
e141bd384d
Scripts/SH: Update scripts to new register model ( #26678 )
...
(cherry picked from commit db1ec411cc )
2022-03-11 15:47:57 +01:00
offl
ea5823151a
Scripts/SL: Update scripts to new register model ( #26677 )
...
(cherry picked from commit 4bca9c990d )
2022-03-11 15:47:43 +01:00
offl
0408693646
Scripts/Spells: Add comments with id & name of spells part 3
...
(cherry picked from commit 03c727326d )
2022-03-10 23:52:03 +01:00
offl
f2777596a0
Scripts/Spells: Add comments with id & name of spells part 1
...
(cherry picked from commit 80a4b7f1e2 )
2022-03-10 22:41:12 +01:00
offl
f930508e83
DB/Instance/Auchenai Crypts: Complete overhaul part 1
...
(cherry picked from commit 60ded4ea47 )
2022-02-28 14:42:00 +01:00
offl
7bac14995c
DB/Gameobject: Add correct door to Sethekk Halls
...
(cherry picked from commit 3ce1a5b3ac )
2022-02-27 20:08:41 +01:00
Traesh
543a7b79c3
Core/Maps: Add Map::DoOnPlayers helper function ( #25233 )
2022-02-16 23:54:26 +01:00
Shauren
439b027d48
Core/Misc: Cleanup unused includes
2022-02-13 15:07:00 +01:00
Carbenium
3bba8d50b1
Core/WorldObject: Remove non-std::chrono SummonCreature overload
...
Remove
TempSummon* SummonCreature(uint32 entry, Position const& pos, TempSummonType despawnType = TEMPSUMMON_MANUAL_DESPAWN, uint32 despawnTime = 0, uint32 vehId = 0, uint32 spellId = 0);
(cherry picked from commit a41f599be7 )
2022-01-24 12:39:59 +01:00
Carbenium
310f996b1d
Core/WorldObject: Partially std::chrono-ify SummonCreature overloads
...
TempSummon* SummonCreature(uint32 entry, float x, float y, float z, float o = 0, TempSummonType despawnType = TEMPSUMMON_MANUAL_DESPAWN, uint32 despawnTime = 0);
to
TempSummon* SummonCreature(uint32 entry, float x, float y, float z, float o = 0, TempSummonType despawnType = TEMPSUMMON_MANUAL_DESPAWN, Milliseconds despawnTime = 0s);
(cherry picked from commit 1131229ee9 )
2022-01-24 11:55:32 +01:00
Shauren
e0256154b6
Scripts/Mana Tombs: Fix Pandemonious Dark Shell event delay
...
(cherry picked from commit 7e5cf40d4c )
2022-01-23 15:47:38 +01:00
Peter Keresztes Schmidt
5c3b3d2225
Scripts/Auchindoun: Use std::chrono::duration overloads of EventMap ( #25023 )
...
Contributes to #25012
(cherry picked from commit 4ad80434a2 )
2022-01-23 15:47:16 +01:00
Killyana
81d6cde257
Script: Remove npc_avatar_of_martyred converted to SAI
...
Ref 5924e038d6
(cherry picked from commit 75bc0f6771 )
2022-01-06 23:17:10 +01:00
Killyana
fa47977c4a
Creature/Scripts: Remove deprecated scripts
...
Ref bd609caf09
(cherry picked from commit 8b5549c0f1 )
2022-01-06 22:32:24 +01:00
Peter Keresztes Schmidt
c4098897a8
game/AI: Convert SelectAggroTarget to enum class ( #24818 )
...
* game/AI: Convert SelectAggroTarget to enum class
* game/AI: Rename SelectAggroTarget to SelectTargetMethod
(cherry picked from commit 418c3b1fd5 )
2022-01-06 21:53:27 +01:00
Shauren
5d02739b98
Scripts: Fix rbac permission for skipping default boss sequencing check
...
(cherry picked from commit e660c8bc19 )
2021-12-20 21:40:47 +01:00
Wyrserth
3efc2caf96
Script/SethekkHalls: fix gossip text and quest event for NPC Lakka in Sethekk Halls.
...
(cherry picked from commit b8d86bba99 )
2021-12-16 22:58:41 +01:00
ccrs
4e6c59dca7
Core/Unit: rename several getters to follow codestyle
...
uint8 GetLevel()
uint8 GetLevelForTarget(WorldObject const* /*target*/)
void SetLevel(uint8 lvl)
uint8 GetRace()
uint32 GetRaceMask()
uint8 GetClass()
uint32 GetClassMask()
uint8 GetGender()
(cherry picked from commit 5c09ff51f7 )
2021-12-13 00:42:20 +01:00
Giacomo Pozzoni
5f545f5402
3.3.5 gameobject summoner ( #23289 )
...
* Scripts/Misc: Change IsSummonedBy(Unit*) to IsSummonedBy(WorldObject*)
* Scripts/Misc: Fix build
* Core/TempSummons: Rename GetSummoner() to GetSummonerUnit()
* Core/TempSummons: Add support to TempSummons::GetSummoner() to return GameObject too
* Fix build
* Core/TempSummons: Allow GameObject to be owner of TempSummon
* Core/TempSummons: Add support to SAI for GameObject owner of TempSummon
* Scripts/Misc: Fix no-pch build
* Core/TempSummons: Implement PR comments
(cherry picked from commit 797fba98e9 )
2021-12-07 00:02:03 +01:00
DanVS
28cb2af1c5
Core/Scripts: Unify Chrono Literals ( #22420 )
...
* Unify Chrono Literals
* Retire IN_MILLISECONDS
* Build fix
* Build fix (sequel)
* Retire urand()
* Edge cases
* Build
* Whitespaces
* More edge cases
* Additional cases
(cherry picked from commit 5b0f4009df )
2021-11-09 00:26:59 +01:00
Treeston
e4e8c1c59c
Core/AI: Clean up charm AI handling, we now have two unique_ptr instead of a crapton of booleans
...
(cherry picked from commit 042f5515e4 )
2021-10-22 23:47:51 +02:00
ccrs
426f9f2f92
Core/Movement: MotionMaster reimplementation ( #21888 )
...
Internal structure and handling changes, nothing behavioural (or thats the intention at least).
(cherry picked from commit 982643cd96 )
2021-09-28 00:15:13 +02:00
Treeston
bce43de7f3
Core/AI: Some more refactoring prep for #19930 . CreatureAI::EnterCombat is now called CreatureAI::JustEngagedWith. There's also two new methods on UnitAI, though they're never invoked right now.
...
(cherry picked from commit 6113b9dec2 )
2021-04-16 20:22:13 +02:00
Treeston
9b141207d1
[3.3.5] CastSpell unclusterfucking (that's a word now) ( #21123 )
...
Core/Spell: The giant CastSpell unclusterfucking (that's a word now) of this generation.
- CastSpell now always takes three arguments - target, spellId, and a struct containing extra arguments
- This struct (CastSpellExtraArgs, see SpellDefines.h) serves as a conglomerate of every previous combination of the 20 billion different CastSpell overloads, all merged into one
- It has some great utility constructors - check them out! All of these can be used to implicitly construct the ExtraArgs object.
- A gajillion refactors to make everything behave the way it always has
(cherry picked from commit d507a7e338 )
2021-04-16 15:22:42 +02:00
Matan Shukry
7159de62b6
Scripts/Spells: Remove const from AuraEffect argument for AuraEffectProcFn
2021-02-13 14:08:16 +01:00
Shauren
b231903932
Core/Misc: Port all the refactors sneaked in master to 3.3.5 include cleanup port
2020-09-04 13:38:24 +02:00
Treeston
06a1271a50
Core/Misc: random refactors
...
(cherry picked from commit 37dff2b7a1 )
2020-08-23 17:47:41 +02:00
Treeston
88a61fa9d6
Scripts/Auchindoun: Fix a super edge case crash bug with GM far teleports during Blackheart's charm phase. Follow-up to d80d7c6.
...
(cherry picked from commit 165bc02889 )
2020-08-23 14:47:29 +02:00
ccrs
97585597f0
Core/Movement: waypoint movement ( #20121 )
...
Following the work done in #19361 this is the cleanup and improvement of the related logic of waypoint management.
Ref 28050f3 #18020
(taking the good parts and ignoring the incomplete work)
(cherry picked from commit 7fff83d675 )
2020-08-23 00:45:46 +02:00
Treeston
e51960ea45
Core/PlayerAI: Some adjustments:
...
- Add a 2 second delay before the AI begins using spells. This should provide opportunity for counterplay before that rogue activates cloak and goes on an unstoppable rampage among your healers. (Sorry, guys.)
- Stopped the AI from attacking invalid targets under some conditions. It should now properly leash back and follow the charmer if we try to select an invalid target.
- Stopped the AI from constantly re-creating the follow movement generator (and thus spamming movesplines).
(cherry picked from commit 331e463de8 )
2020-08-20 00:11:18 +02:00
Treeston
2c92e09230
Scripts/Auchindoun: Last one, hopefully. Remove reliance on large grid searchers by integrating with instance script.
...
(cherry picked from commit d80d7c6685 )
2020-08-20 00:08:04 +02:00
Treeston
6599dab1e1
Scripts/Auchindoun: Blackheart the Inciter fully fixed now. I had way too much fun with this one.
...
Two points of note:
1) Spawning 5 invisible triggers with 5 distinct factions which then MC one target each? Biggest. Hack. Ever. Best part? It's blizzlike.
2) For over ten years, I thought it was spelled "Auchinodoun". It's not. It's spelled "Auchindoun". TIL.
(cherry picked from commit 04dc47e7e2 )
2020-08-19 23:50:31 +02:00