Commit Graph

227 Commits

Author SHA1 Message Date
Shauren
f46a042d98 Scripts/Spells: Implemented several enhancement shaman resource related talents - Maelstrom Weapon, Overflowing Maelstrom, Stormweaver, Thorim's Invocation 2025-01-05 00:19:43 +01:00
Aqua Deus
58668b4de1 Scripts/Spells: Implement shaman talent Arctic Snowstorm (#30178) 2024-09-12 16:24:49 +02:00
Shauren
1dd4b38170 Core/Creatures: std::chrono-ify TempSummon 2023-08-09 11:37:17 +02:00
Shauren
98007f859b Core/Misc: Turn ChrSpecialization into enum class 2023-08-07 00:05:36 +02:00
Nyr
d2784d4c65 Core/Misc: Move TalentSpecialization together with other db2 enums and rename it to ChrSpecialization 2023-08-07 00:05:36 +02:00
Shauren
46b67ec205 Core/Scripts: Fixed unsafe function pointer type casting in spell scripts 2023-07-27 19:37:57 +02:00
Shauren
2e7e49b749 Scripts/Spells: Removed unneccessary PrepareSpellScript and PrepareAuraScript uses 2023-07-24 10:48:50 +02:00
Aqua Deus
430012f4b5 Scripts/Spells: Updated lava burst script, rank 2 not needed anymore (#29120) 2023-07-04 13:34:39 +02:00
Aqua Deus
083ef35acc Scripts/Spells: Implement Deeply Rooted Elements (#29111)
Co-authored-by: Shauren <shauren.trinity@gmail.com>
2023-06-30 19:34:58 +02:00
ModoX
a983db9457 Scripts/Shaman: Fixed double dipping of Ascendance (Restoration) initial heal 2023-06-28 01:29:25 +02:00
Aqua Deus
27005299dc Scripts/Shaman: Implemented Ascendance (Restoration) (#29097)
Co-authored-by: ModoX <moardox@gmail.com>
2023-06-27 23:25:19 +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
a03455acbb Core/AreaTriggers: Add Spell* argument to AreaTriggerAI::OnCreate script 2023-06-24 20:10:14 +02:00
Shauren
f8a6a9b017 Scripts/Spells: Added spell effect validation helper 2023-05-30 19:34:19 +02:00
Teleqraph
1b3f93aa0f Core/Spells: Unify Bloodlust spells for all classes (#28927)
Co-authored-by: ModoX <moardox@gmail.com>
2023-04-17 06:51:37 +02:00
Shauren
db85044267 Scripts/Spells: Fixed crash in spell_sha_mastery_elemental_overload
Closes #28748
2023-01-14 12:45:35 +01:00
Shauren
d8a4668c77 Core/Misc: Add missing Containers.h include where neccessary 2023-01-06 16:44:11 +01:00
Aqua Deus
8abfda5fb0 Scripts/Spells: Fix loop for proc on "Earthen Rage" (#28093) 2022-07-10 19:10:15 +02:00
Shauren
dda375b986 Core/Spells: Rename SpellAttr2 to use official attribute names
* Corrected implementation of SPELL_ATTR1_ALLOW_WHILE_STEALTHED
* Implemented SPELL_ATTR2_RETAIN_ITEM_CAST
* Implemented SPELL_ATTR2_ALLOW_WHILE_INVISIBLE
* Implemented SPELL_ATTR0_PROC_FAILURE_BURNS_CHARGE
* Implemented SPELL_ATTR2_PROC_COOLDOWN_ON_FAILURE
* Implemented SPELL_ATTR2_NO_TARGET_PER_SECOND_COSTS
* Implemented SPELL_ATTR2_DO_NOT_REPORT_SPELL_FAILURE
* Implemented SPELL_ATTR1_REQUIRE_ALL_TARGETS
* Implemented SPELL_ATTR2_CHAIN_FROM_CASTER
* Implemented SPELL_ATTR2_NO_ACTIVE_PETS
* Implemented SPELL_ATTR2_ENCHANT_OWN_ITEM_ONLY
2022-04-28 18:31:26 +02:00
Shauren
ad4f4bfab7 Core/Misc: Minor game include cleanup 2022-02-13 00:49:10 +01:00
Aqua Deus
e64e6f4963 Scripts/Spells: Fixed Icefury talent proc and frost shock energize (#27699) 2022-02-07 12:41:41 +01:00
Aqua Deus
d5bb799f27 Scripts/Spells: Fix shaman Undulation talent (#27695)
Co-authored-by: Modox <moardox@gmail.com>
Co-authored-by: Shauren <shauren.trinity@gmail.com>
2022-02-07 00:20:01 +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
Robingad
5b57722211 Scripts/Spells: Fix shaman Lava Surge proc (#27667)
Co-authored-by: Shauren <shauren.trinity@gmail.com>
2022-01-28 11:18:45 +01:00
Robingad
1696d73860 Scripts/Spells: Move shaman Lava Burst crit chance calculation to scripts and add Lava Burst Overload (#27676) 2022-01-27 23:23:37 +01:00
Robingad
3e725e1d25 Scripts/Spells: Fix shaman Earthquake (#27620)
Co-authored-by: Shauren <shauren.trinity@gmail.com>
2022-01-27 22:18:46 +01:00
Robingad
bd19e22513 Scripts/Spells: Fix shaman Mastery: Elemental Overload + Stormkeeper and Unlimited Power talents (#27561)
Co-authored-by: Shauren <shauren.trinity@gmail.com>
2022-01-12 12:48:43 +01:00
My name is Mud
861d572f9c Scripts/Spells: Fix shaman talent Spirit Wolf (#27478) 2022-01-09 19:06:48 +01:00
Shauren
6df3cb0995 Scripts/Spells: Corrected script registrations for shaman spells to match db2 data 2022-01-09 14:59:35 +01:00
Shauren
b042919daf Scripts/Spells: Updated Windfury Weapon script 2022-01-09 14:42:55 +01:00
Shauren
60539d2e24 Scripts/Spells: Changed shaman Healing Stream Totem target selection to use Trinity::SelectRandomInjuredTargets 2022-01-09 13:44:43 +01:00
Shauren
4d3439b024 Scripts/Spells: Fixed shaman Healing Rain target limit 2022-01-09 13:43:45 +01:00
Shauren
30f232d5db Scripts/Spells: Fixed shaman Healing Rain not doing anything 2022-01-09 12:45:32 +01:00
Shauren
c0f976d23d Core/Spells: Added helper function to select random injured healing spell targets 2022-01-03 13:07:30 +01:00
Shauren
70f1eaac48 Core/Spells: Rename TARGET_UNIT_CONE_ENEMY_104 to TARGET_UNIT_CONE_CASTER_TO_DEST_ENEMY 2021-12-29 00:12:07 +01:00
aquadeus
108eeea327 Scripts/Spells: Fix shaman talent Nature's Guardian proc (#27482) 2021-12-28 21:18:50 +01:00
aquadeus
f230af918b Scripts/Spells: Fix shaman talent Downpour (#27477) 2021-12-26 21:46:07 +01:00
aquadeus
fed9d73f66 Scripts/Spells Fix shaman talent Aftershock (#27469) 2021-12-26 20:13:41 +01:00
Shauren
e6ba1fbd53 Scripts/Spells: Fixed Lightning Bolt Overload, Chain Lightning Overload, Elemental Blast and Elemental Blast Overload energize effects 2021-12-25 22:45:23 +01:00
aquadeus
47d8b17e9f Scripts/Spells: Fix chain lightning energize (elemental) (#27468)
Co-authored-by: Shauren <shauren.trinity@gmail.com>
2021-12-25 22:15:11 +01:00
aquadeus
c95b1784df Scripts/Spells: Fixed lightning bolt energize (elemental) (#27467)
Co-authored-by: Shauren <shauren.trinity@gmail.com>
2021-12-25 21:55:23 +01:00
aquadeus
b01d85e966 Scripts/Spells: Convert shaman spell scripts to new script registration syntax (#27457) 2021-12-25 12:49:32 +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
Shauren
9fc8c86e9a Scripts/Auras: Lookup aura scripts by their type, not name 2021-10-27 01:01:41 +02:00
ModoX
b1c0d069e1 Scripts/Spells: Implemented Wind Rush Totem (#26985) 2021-10-03 20:36:06 +02:00
Shauren
cbf1f2883a Core/Spells: Reduce number of CastSpell overloads to 1 2021-10-03 19:58:03 +02:00
Shauren
3af9be830d Core/Spells: Removed CastSpellExtraArgs constructors accepting ObjectGuid, they would become ambiguous with future changes 2021-10-03 14:58:35 +02:00
ariel-
9fa95b4b57 Core/Spells: Fix periodic rolling adding bonuses twice
Calculation is now done in CalculateAmount

(cherry picked from commit 93eda20d5c)
2021-09-04 22:52:31 +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 3b01cccd7e)
2021-06-14 00:19:50 +02:00
Matan Shukry
81eac82656 Core/Spells: Implement priest holy words + modify cooldown for a charge (#26270)
Co-authored-by: Shauren <shauren.trinity@gmail.com>
2021-04-19 23:54:13 +02:00