offl
94840f791c
DB/GameObject: Update Toy Train Set
...
(cherry picked from commit fd9d04062c129049a134768ec15d09402c3fa95a)
2022-03-14 23:51:23 +01:00
Gildor
20c8698bc4
Scripts/World: improve Training Dummy script ( #26778 )
...
(cherry picked from commit c7ae9d761a3c9a7523d4bd195979f294f8c9e7cd)
2022-03-12 14:45:19 +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 0800ab20a8039620fd271a43c173c008af68c22a)
2022-03-12 14:45:04 +01:00
jackpoz
d0fe16b787
Core/Misc: Fix issues reported by static analysis
...
(cherry picked from commit 33dace231c5a169375523ffa89a2cc3fa48737bd)
2022-03-11 11:48:18 +01:00
offl
0408693646
Scripts/Spells: Add comments with id & name of spells part 3
...
(cherry picked from commit 03c727326dce5d990fd453f42a92300dbd68dc0e)
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 80a4b7f1e2f4baae40f08e87cb8cda0a1db833b9)
2022-03-10 22:41:12 +01:00
offl
38476e51e7
DB/GameObject: Matrix Punchograph
...
Closes #25881
(cherry picked from commit e5518b53fa37fbcf401db635d95099b474a916d0)
2022-03-06 19:41:58 +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 a32b6b8ac4c81128a56b282f20837fb085bdd9e7)
2022-03-05 20:07:57 +01:00
offl
3a4ce889ea
DB/Creature: Properly apply CREATURE_FLAG_EXTRA_NO_SKILLGAIN
...
Closes #25674
(cherry picked from commit cc98f68ac7fa06c134463903c5c887a7ad2f72a5)
2022-03-05 00:55:29 +01:00
offl
39e9983205
DB/Creature: Convert & update support for Tonk Mine to SAI
...
(cherry picked from commit ed8bf7f0e2e67ca1eb65ffa05518fe29df526642)
2022-03-01 00:00:39 +01:00
offl
c883c0ee1f
DB/Quest: Update support for 'Merciful Freedom' (11676)
...
(cherry picked from commit 05fa1a46b36f81c177a503f7f5de14eb34830208)
2022-02-28 23:59:55 +01:00
offl
0b0532e96a
DB/Quest: Convert & update support for 'Prison Break' (11587) to SAI
...
(cherry picked from commit dc4cb8f1d3895316c6ecc7a47c392a6da7a9f948)
2022-02-28 23:59:23 +01:00
offl
c267c015ed
DB/Quest: Convert & update support for 'The Spider God' & 'Hive in the Tower' to SAI
...
(cherry picked from commit e5fd5cc031b13b802939590a755eef29f276f44f)
2022-02-28 23:50:42 +01:00
Shauren
439b027d48
Core/Misc: Cleanup unused includes
2022-02-13 15:07:00 +01:00
Meji
27cba3f523
Core/Scripts: Added script hook to execute actions after completing an achievement ( #27718 )
2022-02-08 23:23:05 +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 41188eb535e445b73909659980257da2939e4be4)
2022-02-05 22:18:19 +01:00
offl
fc2f582d4f
DB/Quest: Convert & update support for 'Ebon Blade Prisoners' to SAI
...
Closes #24672
(cherry picked from commit 6611b7145746d5bc18541f7f3a4b641739877740)
2022-02-04 00:27:12 +01:00
Ovahlord
785b6f294f
Scripts/World: updated Training Dummy script to modern model and removed pointless GameTime shenanigans
...
(cherry picked from commit 9bf57958e36721fa301f62c4a5c6bd88c58edc28)
2022-01-26 14:37:31 +01:00
Giacomo Pozzoni
61bf51874d
Core/Misc: Fix static analysis issues ( #25178 )
...
(cherry picked from commit 7cf122fc2a604bae77d0b935536c41ec9203e62d)
2022-01-24 20:21:25 +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 8642aaaf9268364454b409db7eb62f31210e6d6c)
2022-01-24 12:55:43 +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 a41f599be72ccc88b13c1cf725f20cee4a5335d7)
2022-01-24 12:39:59 +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 92a02a5c8750913f596d7e3b58bf8439cb770c28)
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 1131229ee9c43704b11187f0b11c327db92018b6)
2022-01-24 11:55:32 +01:00
Carbenium
38695b0943
Scripts/World+Outland+Spells: Use std::chrono overload of Creature::DespawnOrUnsummon
...
(cherry picked from commit 5832790428b124876ba48eacaf47806fd10a3c47)
2022-01-23 23:58:48 +01:00
Peter Keresztes Schmidt
54d3110ca7
Scripts/World+Pet: Use std::chrono::duration overloads of EventMap ( #25017 )
...
Contributes to #25012
(cherry picked from commit 0072fa922db1642d720c545ccc2ac095c140f0ca)
2022-01-23 16:02:35 +01:00
Peter Keresztes Schmidt
1e1679a1f7
Core/DataStores: Port refactors from Update DBC field names to generated ones ( #24999 )
...
(cherry picked from commit c92950b3e1f6366d85d707365a8ad2caddafeecc)
2022-01-23 00:06:16 +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 418c3b1fd50664aad035bd975a65281e82ba2dea)
2022-01-06 21:53:27 +01:00
ForesterDev
3171cd3fa9
Core/AI: refactor SpellHit and SpellHitTarget. ( #24691 )
...
* Core/AI: refactor SpellHit and SpellHitTarget.
- now caster/target is WorldObject instead of Unit
- remove SpellHitByGameObject / SpellHitTargetGameObject (handled by SpellHit / SpellHitTarget)
- rename parameters in scripts according parent methods
* Restore logic in Algalon script
* Changed check for REMORSELESS_WINTER hit to avoid dublicate call, because it has TARGET_UNIT_CASTER for effects 0/1 and TARGET_GAMEOBJECT_SRC_AREA for effect 2
* Fix build after merge
(cherry picked from commit e3b232fe0e5c21a87d3fe71813e9d750259823f1)
2022-01-06 20:46:25 +01:00
offl
688c12fa5b
DB/Quest: Convert & update support for 'Cuergo's Gold' to SAI
...
Closes #24675
(cherry picked from commit 0e7cabd7f10eaa9ffad20f9fcd03fca8cb88fa68)
2022-01-06 19:13:39 +01:00
offl
164dcc4deb
DB/Quest: Convert & update support for 'Prisoners of Wyrmskull' to SAI
...
Closes #24650
(cherry picked from commit 2008cb7dd33411a381911c6b64e4ebf96fa8c39f)
2022-01-06 18:53:52 +01:00
offl
f3e262a056
DB/GameObject: Convert & update support for Shrine of the Eagle / Falcon / Hawk to SAI
...
Closes #24647
(cherry picked from commit 0cfd63fd26312c8abb475cf36fcd164e65fc3eec)
2022-01-06 18:53:11 +01:00
offl
fbcfb505f4
DB/Creature: Convert Sayge to SAI
...
Closes #24663
(cherry picked from commit 626aeb5817a42efc026e3623a65362eef355abb1)
2022-01-06 18:52:14 +01:00
offl
3f8b488071
DB/GameObject: Convert & update support for Tablet of Madness
...
Closes #24670
(cherry picked from commit 9c1c34a79420b2513ee0009fcd84726c3ff95bfe)
2022-01-06 16:22:42 +01:00
Killyana
876d9f52ec
DB/GameObject: Convert & update support for Jump-a-tron 4000 to DB script
...
Closes #24668
(cherry picked from commit 6b9a14ca940a2104a89cfadf07978a2759acb47a)
2022-01-06 16:06:40 +01:00
offl
6eb7ed4490
DB/GameObject: Convert & update support for Fel & Bash'ir crystalforges
...
Closes #24643
(cherry picked from commit c3e4420a2b8584f97e49d7ae9a5b2f3140d50984)
2022-01-06 15:59:18 +01:00
offl
f32f812e29
DB/Quest: Becoming a Spellfire Tailor
...
Closes #24522
(cherry picked from commit 9638f0ad0b70084f06bf3b6a9d9e49f00830772e)
2022-01-01 23:22:09 +01:00
zartech22
c57c26d7fb
Add realm ID for actions based ip logging ( #24453 )
...
* Update SQL queries to insert realm id
* Insert the realm id when logging actions based on IP
* Adding the SQL update file
* Update 9999_99_99_99_auth.sql
* Update auth structure
Co-authored-by: Giacomo Pozzoni <[email protected] >
(cherry picked from commit 56f20d69a6ab23a9818f77fd4e2df541a7c30f0e)
2022-01-01 19:38:40 +01:00
jackpoz
95de1db5fc
Scripts/Guards: Fix spell cast spam after killing npc_air_force_bots guards
...
(cherry picked from commit 0844ad2ff00fef9fe90633eea3df8afc8a58e6d1)
2022-01-01 01:02:17 +01:00
jackpoz
ecdc387df2
Core/Misc: Remove whitespace at the end of lines
...
(cherry picked from commit caae3886d24adf0a5fc95454bb1c45477057bde4)
2022-01-01 01:00:26 +01:00
Lewis Brumby
756ec4e43c
Update action_ip_logger.cpp ( #24371 )
...
(cherry picked from commit b48c50ba23fc9c12b8e9d6a7d0c5d65ffd4b9a59)
2021-12-31 19:05:27 +01:00
Rushor
862b0ad651
Scripts/Gameobject: Move Orb of Command script to SAI. ( #24189 )
...
* Scripts/Gameobject: Move Orb of Command script to SAI.
* Scripts/Gameobject: Move Orb of Command script to SAI.
* Rename 2020_12_23_00_world.sql to 2020_02_28_03_world.sql
Co-authored-by: Giacomo Pozzoni <[email protected] >
(cherry picked from commit 0583445c05f92baf3ceb07aa842acb1d47804912)
2021-12-22 14:40:38 +01:00
schell244
460549799e
Scripts/World: Hourly Bell sound, further improvements ( #24147 )
...
* Improvements for hourly bell sound
* TC codestyle
* added missing breaks and improve codestyle
(cherry picked from commit baa87c43bae9df507427b3fe2d86ba25f059fdef)
2021-12-21 18:32:22 +01:00
Rushor
2326eac4f9
Scripts/Gameobject: Journal of Jandice Barov- Convert script to SAI. ( #24157 )
...
* Scripts/Gameobject: Journal of Jandice Barov- Convert script to SAI. (Thanks to Sunwell)
* Scripts/Gameobject: Journal of Jandice Barov - Update script and move go spawn to bossscript
* Update boss_jandice_barov.cpp
Co-authored-by: Eridium <[email protected] >
(cherry picked from commit f0bf447cd14315f1fe0bdab7d051691113525762)
2021-12-21 16:33:47 +01:00
Rushor
41b10f4bb8
Scripts/Gameobject: Remove deprecated script for Cat Figurine ( #24150 )
...
Scripts/Gameobject: Remove deprecated script for Cat Figurine
(cherry picked from commit 596b2d1ed70205e6f68f626d7363f5c197f7c81d)
2021-12-21 16:27:45 +01:00
Ovah
a91be4995b
Core/Vehicles: implement vehicle seat addon table to specify seat ori… ( #24112 )
...
* Core/Vehicles: implement vehicle seat addon table to specify seat orientation offsets and exit positions in form of offsets or absolute positions
* converted Traveler's Tundra Mammoth to seat addon table data
* first follow batch
* whoopsie
* Core/Vehicles: go from local copies to pointers
* Update and rename 2020_99_99_99_world.sql to 2020_02_08_01_world.sql
Co-authored-by: Giacomo Pozzoni <[email protected] >
(cherry picked from commit 98d6c501d7c1a7a632c6ff8b1d46c7d0d4ae5b37)
2021-12-21 15:32:49 +01:00
schell244
eae7379417
Core/Scripting: fixed hourly bell sounds ( #24127 )
...
* fixed hourly bell sounds
* use switch and moved variable
* fix typo
(cherry picked from commit f87a4543ad886eb119a02f65ba4423fd4f208ec6)
2021-12-21 15:21:57 +01:00
Sorikoff
d37547e769
Scripts/Borean Tundra: Plug the Sinkholes ( #24085 )
...
* Scripts/Borean Tundra: Plug the Sinkholes
* Scripts/Borean Tundra: Improve SQL
* Scripts/Borean Tundra: Remove item script
* Rename 9999_99_99_99_world.sql to 2020_01_26_03_world.sql
Co-authored-by: Giacomo Pozzoni <[email protected] >
(cherry picked from commit 552a638e3110bedea1b2e80a7a4a2a71401d9c17)
2021-12-20 23:47:37 +01:00
Giacomo Pozzoni
493fe066f6
Core/Misc: Handle timezones for hour-specific events specifieds in worldserver.conf ( #23540 )
...
* Core/Misc: Handle timezones for hour-specific events specifieds in worldserver.conf
* Handle Respawn.RestartQuietTime too
* Handle XP.Boost.Daymask too
* Core/Misc: Code cleanup
* Core/Misc: Code cleanup
* Update Util.cpp
* Update boosted_xp.cpp
(cherry picked from commit aeddd417c460c43d885cb89ceaa6e051c44b1d27)
2021-12-16 22:35:44 +01:00
Wyrserth
96bca1fe2b
Script/BoreanTundra: move Pile of Fake Furs' script (related to quest Unfit for Death) from ItemScript to SpellScript.
...
Closes #21890 .
(cherry picked from commit e7cf24d2630058128e556b7d5bbb36f4a810695f)
2021-12-16 21:20:39 +01:00
Treeston
2799cdc522
Scripts/World: Rewrite air force trigger bots script, add hostility check along the way. Closes #23307 .
...
(cherry picked from commit 0ae2afe307595463df8f4a16fdd1ee9740a11c9e)
2021-12-15 00:17:32 +01:00