offl
b4b4d55a4e
Scripts/SFK: Update Apothecary Hummel to new register model ( #26685 )
...
(cherry picked from commit 60761136e7 )
2022-03-11 16:24:10 +01:00
offl
833331c12e
Scripts/ZG: Update scripts to new register model (1/5) ( #26684 )
...
(cherry picked from commit 3d19a71ef2 )
2022-03-11 16:18:45 +01:00
jackpoz
f0d8df8909
Scripts/UBRS: Fix crash
...
Fix crash triggered during Dragonspire Hall event caused by having more than 5 mobs near a rune.
Crash added in 7c19fb8d0e
Fix #26589
(cherry picked from commit e9a8cea018 )
2022-03-11 01:48:32 +01:00
offl
4bdf5261e6
Scripts/Misc: Remove few more evil flags
...
Ref #25764
(cherry picked from commit 180f495c70 )
2022-03-11 01:41:20 +01:00
offl
656487a3bb
Scripts/Zone: Update Blasted Lands scripts to new register model ( #26570 )
...
(cherry picked from commit dadc67c883 )
2022-03-11 01:04:48 +01:00
offl
012444ba80
Scripts/Spells: Add comments with id & name of spells part 4
...
(cherry picked from commit e7e4786606 )
2022-03-10 23:53:31 +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
cec9718d22
Scripts/Spells: Add comments with id & name of spells part 2
...
(cherry picked from commit 0e804c95ac )
2022-03-10 23:13:25 +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
3532a88084
Scripts/Alterac: Update remaining scripts to new model ( #26469 )
...
Co-authored-by: offl <offl@users.noreply.github.com >
(cherry picked from commit 9f188d70fe )
2022-03-09 12:33:13 +01:00
offl
cd7eeea024
Scripts/BRS: Update scripts to new model (3/3) ( #26418 )
...
Co-authored-by: offl <offl@users.noreply.github.com >
(cherry picked from commit 3b863f6a20 )
2022-03-08 22:37:10 +01:00
offl
128f989c3f
Scripts/BRS: Update scripts to new model (2/3) ( #26417 )
...
Co-authored-by: offl <offl@users.noreply.github.com >
(cherry picked from commit 0fc3a05d3c )
2022-03-08 22:36:56 +01:00
offl
843b8116bc
Scripts/BRS: Update scripts to new model (1/3) ( #26416 )
...
Co-authored-by: offl <offl@users.noreply.github.com >
(cherry picked from commit 747333149d )
2022-03-08 22:35:23 +01:00
offl
581a573c09
Scripts/Misc: Let core take care of Feign Death related flags
...
(cherry picked from commit 62594c62f6 )
2022-03-07 20:25:57 +01:00
Shauren
fc456f7512
Core/Units: Renamed unknown unit flag (UNIT_FLAG_UNK_29 -> UNIT_FLAG_PREVENT_EMOTES_FROM_CHAT_TEXT)
...
(cherry picked from commit a34519bded )
2022-03-06 23:58:00 +01:00
offl
ca76786faf
Core/Scripts: Move some speed values & UNIT_FLAG_NOT_SELECTABLE to DB
...
(cherry picked from commit 3cb70ee62a )
2022-03-06 20:01:06 +01:00
offl
8e9e15629f
Core/Scripts: Verify & migrate spell school immunities to DB
...
Some already are stored in DB. Looks like they all are still valid for master
(cherry picked from commit 1ed79d7a2e )
2022-03-06 16:30:51 +01:00
Giacomo Pozzoni
a66b968f91
Core/Misc: Fix static analysis issues ( #25924 )
...
* Core/Misc: Fix static analysis issues
* Fix infinite loop in ".debug send opcode"
Fix using uninitialized memory in ".debug send opcode"
(cherry picked from commit 661f554b9e )
2022-03-06 01:35:01 +01:00
offl
1d09bd112a
DB/Creature: Remove UNIT_FLAG_STUNNED in more cases
...
Ref #25764
(cherry picked from commit 7b79adf5b1 )
2022-03-06 00:05:49 +01:00
Kargatum
373ed8f46b
Core: whitespace cleanup, reduce double blank line to single ( #25795 )
...
* Core/Misc: fix double empty line
* worldserver.conf
(cherry picked from commit a32b6b8ac4 )
2022-03-05 20:07:57 +01:00
Keader
2e2f93b94f
Scripts/ScarletMonastery: Decrease boss number
...
Headless Horseman do not use BossAI anymore (since it can be done multiple times)
(cherry picked from commit 3c201b7554 )
2022-02-28 23:38:49 +01:00
Keader
8d841679fc
Scripts/ScarletMonastery: Headless Horseman Rewrite ( #25614 )
...
(cherry picked from commit a93abcf803 )
2022-02-28 23:38:36 +01:00
Shauren
439b027d48
Core/Misc: Cleanup unused includes
2022-02-13 15:07:00 +01:00
Shauren
8e2d1e328e
Core/Spells: Pass cast item level to triggered spells
...
* Fixes value on trinkets like Ignition Mage's Fuse
2022-02-08 21:36:31 +01:00
offl
bb468708e6
DB/Quest: Convert & update Homing Robot chickens to SAI
...
Closes #25239
(cherry picked from commit 8c303e4f97 )
2022-02-05 23:45:58 +01:00
Maks Szokalski
bc04acb726
Add "On" to some gossip methods in AI ( #25415 )
...
* Add "On" to some methods
* Update npc_innkeeper.cpp
* Update zone_borean_tundra.cpp
(cherry picked from commit 41188eb535 )
2022-02-05 22:18:19 +01:00
NoName
ee620856ad
Core/Movement: Corrected Animation Tier handling (PR #24875 )
...
Co-authored-by: Warpten <vertozor@gmail.com >
Co-authored-by: Ovahlord <dreadkiller@gmx.de >
Co-authored-by: Carbenium <carbenium@outlook.com >
(cherry picked from commit dad187615d )
2022-02-05 15:40:31 +01:00
Shauren
0a1acb9c05
Scripts/Spells: Replace RegisterAuraScript with RegisterSpellScript and remove it
...
(cherry picked from commit 7d4fbf706a )
2022-02-04 00:27:10 +01:00
Peter Keresztes Schmidt
2e3c612c80
Core/Unit: Make HandleEmoteCommand typesafe ( #25249 )
...
* Scripts/ScarletMonastery: Fix wrong emote during Headless Horseman encounter
* Scripts/HoR: Fix wrong emote during escape event
* Core/Unit: Make improve type safety of HandleEmoteCommand
Change argument type to the expected enum type Emote
* Scripts/CoS: Use SetUInt32Value to set UNIT_NPC_EMOTESTATE
UNIT_NPC_EMOTESTATE is no flag field
(cherry picked from commit 6c7837f947 )
2022-01-26 21:46:51 +01:00
Aokromes
e538d42f12
Script/Quest: The Light of Dawn ( #25243 )
...
remove incorrect check, source:
https://www.wowhead.com/spell=53606/the-light-of-dawn
Flags
Can be used while dead
https://www.wowhead.com/quest=12801/the-light-of-dawn#comments:id=1495830
https://www.wowhead.com/quest=12801/the-light-of-dawn#comments:id=374127
(cherry picked from commit 681c738c61 )
2022-01-26 20:44:35 +01:00
Jinnaix
169b0296e1
Scripts/BlackwingLair: Suppression Device Room (PR #25199 )
...
Co-authored-by: offl <11556157+offl@users.noreply.github.com >
Co-authored-by: Giacomo Pozzoni <giacomopoz@gmail.com >
Co-authored-by: Treeston <treeston.mmoc@gmail.com >
(cherry picked from commit de56ed8736 )
2022-01-26 18:51:07 +01:00
Giacomo Pozzoni
864d775280
Core/Misc: Fix static analysis issues ( #25194 )
...
(cherry picked from commit 07fd84b679 )
2022-01-26 14:06:40 +01:00
Peter Keresztes Schmidt
0c65abe7a0
Scripts/MoltenCore: Update Golemagg encounter to current coding standards ( #25183 )
...
* Scripts/MoltenCore: Update Golemagg to current coding standards
* no functional changes
* Scripts/MoltenCore: Update Core Ranger to current coding standards
* no functional changes
(cherry picked from commit c88234727b )
2022-01-24 21:54:10 +01:00
Carbenium
18e5e1ef43
Scripts/AV: Update Vanndar's script to use TaskScheduler
...
* No functional changes
(cherry picked from commit 799d5376d8 )
2022-01-24 21:35:52 +01:00
Carbenium
8809d54ca2
Core/Common: Merge TimeTrackerSmall with TimeTracker
...
(cherry picked from commit 228696bf80 )
2022-01-24 21:34:36 +01:00
Carbenium
35e0002df3
Core/Common: Add a std::chrono interface to TimeTrackerSmall
...
New methods:
TimeTrackerSmall(Milliseconds expiry);
void Update(Milliseconds diff);
void Reset(Milliseconds expiry)
Milliseconds GetExpiry() const
Removed methods:
int32 GetExpiry() const
Also add basic unit tests.
Core/Scripts: Use std::chrono interface of TimeTrackerSmall
(cherry picked from commit e55516348d )
2022-01-24 21:25:47 +01:00
Giacomo Pozzoni
61bf51874d
Core/Misc: Fix static analysis issues ( #25178 )
...
(cherry picked from commit 7cf122fc2a )
2022-01-24 20:21:25 +01:00
Jinnaix
ab7680157b
Scripts/BlackrockSpire: Fix encage event of Pyroguard encounter ( #25177 )
...
(cherry picked from commit e3aa87641f )
2022-01-24 15:05:20 +01:00
Carbenium
b3f2ff97ff
Core/CreatureAI: std::chrono-ify DoSummon* methods
...
(cherry picked from commit 1245833cdd )
2022-01-24 13:11:13 +01:00
Carbenium
82fce41852
Core/WorldObject: Replace non-std::chrono SummonGameObject overloads
...
Also fix intended despawn time of GOs used by the "Engineering a Disaster" quest
(cherry picked from commit 8642aaaf92 )
2022-01-24 12:55:43 +01:00
Carbenium
217c2d9ef3
Core/WorldObject: Replace non-std::chrono SummonTrigger overloads
...
(cherry picked from commit 3620b47c41 )
2022-01-24 12:47:56 +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
03e4c0d7bf
Core/Creature: Remove non-std::chrono overload of DespawnOrUnsummon
...
(cherry picked from commit 480dee3125 )
2022-01-24 12:21:26 +01:00
Carbenium
eeffb310de
Core/EventProcessor: std::chrono-ify CalculateTime
...
uint64 CalculateTime(uint64 t_offset) has been replaced with Milliseconds CalculateTime(Milliseconds t_offset).
Also add the std::chrono-ified overload void AddEvent(BasicEvent*, Milliseconds, bool)
(cherry picked from commit 92a02a5c87 )
2022-01-24 12:00:35 +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
Carbenium
58e1c091a2
Scripts/EasternKingdoms: Use std::chrono overload of Creature::DespawnOrUnsummon
...
(cherry picked from commit d1a39a2ebf )
2022-01-23 23:53:20 +01:00
Carbenium
e660b870e9
Core/ScriptedAI: std::chrono-ify DoSpawnCreature
...
(cherry picked from commit f5076112cb )
2022-01-23 23:33:04 +01:00
Carbenium
5f296fb7c7
Core/InstanceScript: std::chrono-ify DoRespawnGameObject
...
(cherry picked from commit d7ff8c272a )
2022-01-23 23:09:27 +01:00
Peter Keresztes Schmidt
44ea32ace4
Build: Enable -Wimplicit-fallthrough on clang ( #25056 )
...
* Misc: Use [[fallthrough]] attribute instead of comment to mark intentional fallthroughs
Related: #25006
* Misc: Add some missing breaks (no-ops) to satisfy clang
Related: #25006
Closes #25055
* Build: Enable -Wimplicit-fallthrough on clang
Closes #25006
2022-01-23 22:16:15 +01:00
Shauren
8417c7d815
Scripts/Zul'aman: Use std::chrono::duration overloads of EventMap
2022-01-23 16:39:31 +01:00