Shauren
2e7e49b749
Scripts/Spells: Removed unneccessary PrepareSpellScript and PrepareAuraScript uses
2023-07-24 10:48:50 +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
Shauren
07d6eb3a57
Scripts/Spells: Fixed remaining spells with SPELL_ATTR3_CAN_PROC_FROM_PROCS attribute
2023-06-27 22:22:16 +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
Meji
06d0b16f15
Core/Creatures: Move creature difficulty specific data from creature_template table to creature_template_difficulty ( #28931 )
2023-05-29 00:01:23 +02:00
Shauren
092119058b
Scripts/Spells: Added proc requirements to a few auras that have SPELL_ATTR3_CAN_PROC_FROM_PROCS attribute
2023-05-24 22:10:04 +02:00
Jeremy
f8f1c3b4f0
Core/Areas: Update AreaFlags from EnumeratedStings values ( #29008 )
2023-05-19 20:11:31 +02:00
Shauren
9740219850
Scripts/Spells: Added proc requirements to a few auras that have SPELL_ATTR3_CAN_PROC_FROM_PROCS attribute
2023-05-02 17:19:51 +02:00
Shauren
fe38437e67
Scripts/Spells: Added proc requirements to a few auras that have SPELL_ATTR3_CAN_PROC_FROM_PROCS attribute
2023-04-23 23:50:34 +02:00
Shauren
6ba619d26e
Scripts/Spells: Added proc requirements to a few auras that have SPELL_ATTR3_CAN_PROC_FROM_PROCS attribute
2023-04-16 23:32:45 +02:00
Shauren
d0d9520aa9
Scripts/Spells: Added proc requirements to a few auras that have SPELL_ATTR3_CAN_PROC_FROM_PROCS attribute
2023-04-09 15:59:18 +02:00
Shauren
a265672e54
Scripts/Spells: Added proc requirements to a few auras that have SPELL_ATTR3_CAN_PROC_FROM_PROCS attribute
2023-04-08 23:56:06 +02:00
Shauren
122d41eb06
Scripts/Spells: Added proc requirements to a few auras that have SPELL_ATTR3_CAN_PROC_FROM_PROCS attribute
2023-04-04 23:57:57 +02:00
Shauren
d791afae1d
Core/Logging: Switch from fmt::sprintf to fmt::format (c++20 standard compatible api)
2023-01-08 21:16:53 +01:00
offl
b160ba2061
Scripts/Spells: Great/Fish/Gigantic/Small/Bountiful Feast ( #28114 )
...
(cherry picked from commit 9a9edb4dfe60f574b33c705c79fca29e278e2384)
2022-09-05 21:04:38 +02:00
offl
496eba4e8d
Scripts/Spells: Correctly implement Murmur's Touch & Dire Brew ( #28058 )
...
(cherry picked from commit f0d2418e5f2dabfae97a481fde52bc20ba93c72e)
2022-09-05 19:37:13 +02:00
offl
6fb332d935
Scripts/Spells: Get rid of several DB spell scripts ( #28048 )
...
(cherry picked from commit 3808e614d9760a2588fec0c1b0b4c30feda36dcc)
2022-09-05 19:26:59 +02:00
offl
e526cad015
Scripts/Items: BOTM Blackrock Lager & Springtime Stout & Metok's Bubble Bock & Binary Brew ( #27891 )
...
(cherry picked from commit c02b829788cb274a68b125aee4dab35b9a56a2b8)
2022-06-10 14:30:55 +02:00
offl
c0388b1f06
Scripts/Spells: Remove unneeded scripts
...
(cherry picked from commit cb15c9111068f60ed28394cc056c15863ad83813)
2022-03-26 15:33:58 +01:00
offl
68df48acaa
Scripts/Items: Fix Goblin Bomb Dispenser ( #27749 )
...
Closes #26523
(cherry picked from commit 2cb970c66387137c3593184a0d392afb153cf56d)
2022-03-26 14:13:43 +01:00
offl
83b4c8cd37
Scripts/Spells: Small cleanup for gen/item spell scripts ( #27311 )
...
(cherry picked from commit ef4c878d260c0e01a6ab2f4391af46c261d04785)
2022-03-23 00:06:37 +01:00
offl
4281049e0c
Scripts/Misc: Migrate world event scripts to separate files 2 ( #27309 )
...
(cherry picked from commit eb812bf3d510d9c6712448c4bb35983c91f97b4c)
2022-03-23 00:03:14 +01:00
offl
d013a8251f
Scripts/Misc: Replace some of AddItem / CreateItem with spells ( #27160 )
...
(cherry picked from commit ed38206031f25fec73282044293238c9573a89d9)
2022-03-21 00:12:30 +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
Mikhail Redko
f258d2443f
Scripts/Spells: Implement effect "Party Time" & Add Rejuvenation when eating Deviate Fish ( #25802 )
...
* Scripts/Spells: Implement effect "Party Time" & Add Rejuvenation when eating Deviate Fish
* Rename XXXX_XX_XX_XX_world.sql to 2021_01_06_08_world.sql
Co-authored-by: Giacomo Pozzoni <[email protected] >
(cherry picked from commit a9db8a9b9a2f40ade5038c68321f0e9f4f566dcf)
2022-03-05 22:19:26 +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
Shauren
439b027d48
Core/Misc: Cleanup unused includes
2022-02-13 15:07:00 +01:00
Shauren
02979daf76
Core/Auras: Proc flag updates
...
* Rename to official names
* Corrected logic selecting flags for each spell cast - determine them by attributes instead of DmgClass
* Implemented new proc flags (PROC_FLAG_CAST_ENDED, PROC_FLAG_LOOTED)
2022-02-10 21:11:07 +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
Shauren
0a1acb9c05
Scripts/Spells: Replace RegisterAuraScript with RegisterSpellScript and remove it
...
(cherry picked from commit 7d4fbf706ae19481468901ccd65c497fcabe56bf)
2022-02-04 00:27:10 +01:00
Teleqraph
af0edf5afc
Scripts/Spells: Moved Blessing of Faith script to spell_items ( #27692 )
2022-01-30 13:10:08 +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
Eridium
2b27278516
Spell/Script: Egg Nog ( #24007 )
...
Closes #23996
(cherry picked from commit b60786a91610d2c841b4d61c360a2cdd97a49118)
2021-12-19 15:48:29 +01:00
Sorikoff
66f5275d26
Scripts/Spells: Runic Healing Injector ( #23690 )
...
* Scripts/Spells: Runic Healing Injector
* Rename 9999_99_99_99_world.sql to 2019_08_08_00_world.sql
(cherry picked from commit 382f563571d39f9ec02a0df899dbdaaf1745af83)
2021-12-18 19:15:11 +01:00
Sorikoff
a947a0e85e
Scripts/Spells: Brittle Armor & Mercurial Shield ( #23576 )
...
(cherry picked from commit a64d7df6623d90c529fab76dc6b41e2db5a3abd4)
2021-12-15 00:17:32 +01:00
ForesterDev
27886c7f5d
Core/Player: add helper methods GetNativeGender/SetNativeGender/SetGender ( #23520 )
...
* Core/Player: add helper methods GetNativeGender/SetNativeGender/SetGender and fix some cases, where we should get player gender, instead of modified by display gender
* fix merge
* Add virtual methods for Unit class
(cherry picked from commit b47bb59e2a3e42aff3793517ef94f51678b54905)
2021-12-13 00:42:20 +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 5c09ff51f7015b775def8d5cc1f678eaef37200f)
2021-12-13 00:42:20 +01:00
Sorikoff
b8d675eba7
Scripts/Spells: Dimensional Ripper - Everlook ( #23547 )
...
(cherry picked from commit 5c09ff51f7015b775def8d5cc1f678eaef37200f)
2021-12-13 00:42:20 +01:00
ccrs
cadbf42ea4
Misc: some corrections after recent merges
...
(cherry picked from commit 626a24822b3c6a5d5b9a4b29861ecf393fd9288b)
2021-12-13 00:42:18 +01:00
Sorikoff
996b7c1f0e
Scripts/Spells: Ultrasafe Transporter: Toshley's Station ( #23537 )
...
* Scripts/Spells: Ultrasafe Transporter: Toshley's Station
* Rename 9999_99_99_99_world.sql to 2019_06_29_01_world.sql
(cherry picked from commit 33b4ad5a89cae0d3d527b58e1a438772450d7e32)
2021-12-13 00:42:18 +01:00
Sorikoff
ea4c1ae7d0
Scripts/Spells: Dimensional Ripper - Area 52 ( #23505 )
...
* Scripts/Spells: Dimensional Ripper - Area 52
* Rename 9999_99_99_99_world.sql to 2019_06_28_00_world.sql
(cherry picked from commit 63f548921c268cc9f30af68bf9b41c80df0492ac)
2021-12-13 00:42:18 +01:00
jackpoz
7fc359559f
Core/Misc: Fix static analysis issues reported by Coverity
...
(cherry picked from commit a0bd68cf465517786d16bcb145ed3fc8bc5b5b98)
2021-12-05 22:44:38 +01:00
Sorikoff
575bcc8c82
Scripts: Minor improvements to recently migrated scripts ( #23189 )
...
Ref: 2cfaeb14004cfbb5500855472ad89ab9238df13d
(cherry picked from commit 90d4254a875de7ea4e6aaed7a39effb6b2a73abf)
2021-12-02 00:37:00 +01:00
Sorikoff
d72e809ecf
Scripts/Spells: Migrate Some Scripted Spells to Scripts ( #23185 )
...
* Migrate spells to scripts
* Simplify code
* I need to sleep
* Update chapter1.cpp
* Use actual damage
* No need in null check here
(cherry picked from commit 2cfaeb14004cfbb5500855472ad89ab9238df13d)
2021-11-30 22:30:53 +01:00
DanVS
bc34fd2f65
[3.3.5] Scripts/Spells: handle auras on unequipping scripted items ( #21643 )
...
Ref: #20415
(cherry picked from commit c2f16579888bb7973c1d32ad9efe6058acafb8d6)
2021-09-23 20:55:30 +02:00
Shauren
8a4e1119ac
Core/Spells: Unify spell effect access api in both branches
2021-09-04 15:13:15 +02:00
Shauren
3af33b9ff9
Warning fixes
2021-08-28 20:24:21 +02:00
Shauren
3dd75a49b1
Core/Spells: Removed SpellEffIndex effIndex argument from spell effect handlers, it was commented out in almost every handler
2021-08-28 19:51:29 +02:00
ariel-
5fbddef85f
Core/Spell: SpellValueOverrides encapsulation
...
- No sense to let scripts use SpellValueOverrides, we already have modifiers in CastSpellExtraArgs struct
(cherry picked from commit 3b01cccd7eafaff9f3b8236a544e4fa46818926c)
2021-06-14 00:19:50 +02:00