Commit graph

61 commits

Author SHA1 Message Date
blinkysc
4bdb6789be
fix(Core/Spells): Judgement of Wisdom should restore 2% base mana per proc (#25020)
Co-authored-by: blinkysc <blinkysc@users.noreply.github.com>
2026-03-07 07:35:58 -03:00
blinkysc
077bd9f869
fix(Core/Scripts): Fix Seal of Command cleave for Crusader Strike and ShoR (#25002) 2026-03-05 23:08:34 -06:00
blinkysc
5ccd9cd92c
fix(DB/Spell): Fix Seal of Command not proccing from HotR and ShoR (#24986)
Co-authored-by: blinkysc <blinkysc@users.noreply.github.com>
2026-03-04 02:05:11 -03:00
blinkysc
17322e189d
fix(Core/Spells): Fix Seal of Vengeance using own stack for damage (#24985)
Co-authored-by: blinkysc <blinkysc@users.noreply.github.com>
2026-03-04 01:53:15 -03:00
blinkysc
bd99687040
fix(Core/Scripts): Fix Judgement and Judgements of the Just seal interactions (#24953)
Co-authored-by: blinkysc <blinkysc@users.noreply.github.com>
2026-03-01 11:46:32 -06:00
blinkysc
5273146cb6
fix(Core/Spells): Restrict Beacon of Light proc to intended heals (#24921)
Co-authored-by: blinkysc <blinkysc@users.noreply.github.com>
2026-02-27 11:39:42 -06:00
blinkysc
22dd44f4d1
fix(Core/Scripts): Remove duplicate spell scripts causing double-firing (#24905)
Co-authored-by: blinkysc <blinkysc@users.noreply.github.com>
2026-02-26 16:36:23 -06:00
blinkysc
0fb5b2dfe3
fix(Core/Spells): Fix Beacon of Light healing attribution (#24836)
Co-authored-by: blinkysc <blinkysc@users.noreply.github.com>
2026-02-23 21:47:03 -03:00
blinkysc
7fadeb1141
fix(Core/Spells): Beacon of Light no longer copies target healing modifiers (#24796)
Co-authored-by: blinkysc <blinkysc@users.noreply.github.com>
2026-02-22 11:06:47 -06:00
blinkysc
07e9cef70f
fix(Scripts/Spells): Remove duplicate Sacred Shield script with wrong caster attribution (#24791)
Co-authored-by: blinkysc <blinkysc@users.noreply.github.com>
2026-02-21 13:42:27 -03:00
blinkysc
b01e202244
fix(Core/Spells): Fix Avenging Wrath not greying out Divine Protection/Shield (#24778)
Co-authored-by: blinkysc <blinkysc@users.noreply.github.com>
2026-02-20 18:48:23 -06:00
blinkysc
5e1fd50776
fix(Core/Scripts): Prevent Judgement of Light from triggering Beacon of Light (#24781)
Co-authored-by: blinkysc <blinkysc@users.noreply.github.com>
2026-02-20 18:48:08 -06:00
blinkysc
88a6048890
fix(Core/Spells): Use base mana cost for Illumination and Thrill of the Hunt (#24776)
Co-authored-by: blinkysc <blinkysc@users.noreply.github.com>
2026-02-20 11:04:41 -06:00
blinkysc
4599f26ae9
refactor(Core/Spells): QAston proc system (#24233)
Co-authored-by: blinkysc <blinkysc@users.noreply.github.com>
Co-authored-by: QAston <qaston@gmail.com>
Co-authored-by: joschiwald <joschiwald@online.de>
Co-authored-by: ariel- <ariel-@users.noreply.github.com>
Co-authored-by: Kitzunu <24550914+Kitzunu@users.noreply.github.com>
Co-authored-by: blinkysc <your-github-email@example.com>
Co-authored-by: Tereneckla <Tereneckla@users.noreply.github.com>
Co-authored-by: Andrew <47818697+Nyeriah@users.noreply.github.com>
2026-02-18 08:31:53 -03:00
Blaiseum
966c522c1d
fix(Scripts/Spells): apply healing modifiers on paladin Lay On Hands (#23861) 2025-11-29 02:51:44 -03:00
Tereneckla
2f7f9bd72f
fix(Core/Spells): Implement TrinityCore spell_group and spell_group_stack_rules (#23346)
Co-authored-by: treeston <treeston.mmoc@gmail.com>
Co-authored-by: Trisjdc <trisjdc@gmail.com>
Co-authored-by: QAston <none@none>
Co-authored-by: ariel- <ariel-@users.noreply.github.com>
Co-authored-by: Shauren <shauren.trinity@gmail.com>
Co-authored-by: Jelle Meeus <sogladev@gmail.com>
2025-11-28 16:01:25 -03:00
Francesco Borzì
50b36e842a
fix(docs/license): use GPLv2 as MaNGOS-based project (#23655) 2025-11-14 08:44:25 -03:00
Benjamin Jackson
60296dd934
fix(Scripts/Paladin): Add cast check to Hand of Protection for casting spell on non-self targets. (#22077)
Hand of Protection no longer can be used if the caster it's stunned or confused.
2025-05-10 18:38:46 +01:00
Tereneckla
d8bc1d1797
fix(Script/Spell) exclude original target from glyph of holy light (#22002)
Glyph of Holy Light no longer applies (10%) to the target
2025-04-30 02:17:45 +01:00
Kitzunu
bff594c4f5
feat(Unit/Misc): HasAnyAuras() HasAllAuras() HasAuras() (#21040) 2024-12-26 05:51:54 -03:00
Benjamin Jackson
1edac37ac3
refactor(Core): Make more use of helpers. (#19835)
* Init.

* Reword.

* Update codestyle script.

Co-Authored-By: Kitzunu <24550914+Kitzunu@users.noreply.github.com>

* Add gameobject type ID check, reorder checks.

* Add helper/codestyle check for unit type.

* `IsUnit()` -> `IsCreature()`

* Add `IsUnit()` method.

* Use type mask.

https: //github.com/TrinityCore/TrinityCore/commit/cc71da35b5dc74abf71f8691161525a23d870bb5
Co-Authored-By: Giacomo Pozzoni <giacomopoz@gmail.com>
Co-Authored-By: Ovahlord <18347559+Ovahlord@users.noreply.github.com>

* Replace instances of `isType` with `IsUnit`.

---------

Co-authored-by: Kitzunu <24550914+Kitzunu@users.noreply.github.com>
Co-authored-by: Giacomo Pozzoni <giacomopoz@gmail.com>
Co-authored-by: Ovahlord <18347559+Ovahlord@users.noreply.github.com>
2024-09-03 14:41:31 -03:00
Grimdhex
643362d697
refactor(Core/Object): adds consistency in the use of type object check (#19671) 2024-08-25 09:57:37 -03:00
Grimdhex
61f3a631c3
fix(Server): remove double blank lines at the end of several files (#19735) 2024-08-25 07:21:14 -03:00
Benjamin Jackson
8ea13ca778
fix(Scripts/Spells): Implement damage scaling based off DoT stack count for Seal of Vengeance and Corruption. (#19073)
* Init.

* Whoops.

* Move comment.

Someone should fix this darn CI.

* Logic adjustment.

* Revert logic adjustment.

This reverts commit ee09ee55df47c9a66ecf536be58a4a040f384b72.

* Requested changes?
2024-06-19 00:45:02 +02:00
Nathan Handley
425a490a7b
feat(Core/Unit): New helper HasActivePowerType and script hook OnPlayerHasActivePowerType (#18293)
* Create HasActivePower for script intercept

* Replace relevant player-related getPowerType() comparators with HasActivePowerType

* Change OnPlayerHasActivePowerType to regular bool instead of optional

---------

Co-authored-by: NathanHandley <nathanhandley@protonmail.com>
2024-02-09 06:27:02 -03:00
IntelligentQuantum
016bb86d3b
refactor(Scripts): remove useless includes (#18004) 2023-12-22 18:41:28 +01:00
Winfidonarleyan
eb1ecc38a5
feat(Core/Scripting): move all script objects to separated files (#17860)
* feat(Core/Scripts): move all script objects to separated files

* Apply 5bfeabde81

* try gcc build

* again
2023-12-02 21:13:20 +01:00
avarishd
0679789120
fix(Core/Spells): T5 Holy Paladin 2 set (#17566)
* fix(Core/Spells): T5 Holy Paladin 2 set

* thanks notepad (don't ask)
2023-10-29 23:36:27 +01:00
Dan
c7324f3066
fix(Scripts/Paladin): ensure Judgements of the Just procs Seal of Vengeance/Corruption (#17470)
* initial

* no spaces

* add enum
2023-10-19 12:19:59 -03:00
Tereneckla
edaf38c6c3
refactor(Scripts/Spells): Check for existence of AD debuff instead of adding a custom cooldown to heal (#17265)
* Update spell_paladin.cpp

* whitespace
2023-09-15 20:30:15 -03:00
Kitzunu
4870b14b1f
refactor(Core/Object): getLevel() -> GetLevel() (#14122)
* refactor(Core/Object): getLevel() -> GetLevel()

* fix build and sneak some doxygen in

* codeSTLE

* codestyle
2022-12-31 17:39:23 +01:00
Angelo Venturini
ad4ce0895f
fix: Qaston revert (#13320)
* Revert "fix(Core/QAston): fixed shields oneshotting (#13271)"

This reverts commit e05f61d1b3.

* Revert "fix(Core): Crash (#13292)"

This reverts commit a818bcf3e2.

* Revert "fix: Crash (#13241)"

This reverts commit be423a91b5.

* delete sql

* Revert "refactor(Core/Spells): Implement QAston Proc System (#11079)"

This reverts commit cbd3fd0967.

* add sql revert

* fix sql

* remove update from world.updates
2022-10-05 21:53:20 +02:00
Angelo Venturini
be423a91b5
fix: Crash (#13241) 2022-10-03 16:14:43 -03:00
IntelligentQuantum
cbd3fd0967
refactor(Core/Spells): Implement QAston Proc System (#11079)
* .

* sql

* .

* .

* 1

* 2

* 3

* 4

* 5

* 6

* 7

* 8

* 9

* 10

* 11

* 12

* 13

* 14

* 15

* Update spell_item.cpp

* Update Unit.cpp

* 16

* 17

* 18

* 19

* 20

* 21

* Update Unit.cpp

* REVERT UltraNIX Commit

* 22

* 23

* .

* .

* .

* warrior

* warlock

* shaman rogue priest paladin mage

* spell item

* hunter

* druid

* dk

* war

* error style

* Update rev_1647677899565690722.sql

* Update rev_1647677899565690722.sql

* Update rev_1647677899565690722.sql

* .

* DOND DEL ME WAD DO DO

* error 2

* .

* .

* .

* FIX

* Update SpellInfoCorrections.cpp

* Update SpellInfoCorrections.cpp

* .

* ja genau

* Update .gitignore

* .

* .

* .,

* .

* .

* .

* .

* Update Unit.cpp
2022-10-02 19:39:34 +02:00
天鹿
14d933eddc
fix(Scripts/Paladin): infusion of light proc (#11935)
* Update spell_paladin.cpp

* Update spell_paladin.cpp

* Update spell_paladin.cpp

* Update spell_paladin.cpp
2022-06-04 09:33:50 -03:00
Kitzunu
455899dc75
fix(Core/Misc): Change const to be after type name (#10591) 2022-02-14 16:05:45 -03:00
Kargatum
f62664c987
refactor(Core/Misc): headers cleanup (#9259) 2021-11-22 17:24:39 +07:00
Nefertumm
61c7488698
fix(Core/Spells): possible crashes within class spells (#9168) 2021-11-21 11:41:51 -03:00
Kitzunu
a5a29652d3
refactor(Scripts/Spells): convert spell_paladin into new system #9058 (#9061) 2021-11-09 11:45:11 +01:00
Skjalf
1e57b6fb99
fix(Core/Spells): add several missing null checks for the DamageInfo struct to fix a crash (#8322) 2021-10-10 16:07:14 +02:00
UltraNix
66809383d1
fix(Core/Spells): add several missing null checks for the DamageInfo struct to fix a crash - Part II. (#8376) 2021-10-10 15:56:42 +02:00
Kargatum
52aa0e9966
feat(License): add new headers information about license (#7941)
Co-authored-by: Francesco Borzì <borzifrancesco@gmail.com>
2021-09-30 13:40:52 +07:00
Francesco Borzì
3b752dd796
refactor(Scripts/Spells): code cleanup (part 9) (#6946) 2021-07-22 01:12:28 +02:00
UltraNix
a61bdc7b3d
fix(Scripts/Spells): Seal of Command cannot be casted on dead targets (#6186)
- Closes #5517
- Closes https://github.com/chromiecraft/chromiecraft/issues/476
2021-06-09 17:56:45 +02:00
Kitzunu
897a02bb75
refactor(Core/Misc): acore to Acore (#6043) 2021-05-31 14:21:54 +02:00
UltraNix
44babc3c3a
fix(Core/Pooling): Fixed less and less objects from pools being spawned the longer the server is running (#5572) 2021-05-08 12:39:09 -06:00
Francesco Borzì
f6a17164be
fix(Core/License): issue with old files license (#4762) 2021-03-17 09:46:01 -06:00
Kitzunu
28f1dc5c0c
refactor(Core): replace NULL with nullptr (#4593) 2021-03-02 01:34:20 +01:00
Kitzunu
dbc0ff6554
refactor(Core): sort #includes alphabetically (#4579) 2021-02-24 22:34:42 +01:00
Kitzunu
0d52b4ca4a
feat(Core/Spell): Implement ValidateSpellInfo (#4323)
* feat(Core/Spell): Implement ValidateSpellInfo

* cherry-pick from 2b5d7eef3a & a0a158b5b8

* sLog->outError

* cleanup

* convert to ValidateSpellInfo

* fix error log

* improve sLog->outError

* remove non related spells stuff from Validate

* remove the last

* build

* build x2
2021-02-01 18:57:25 +01:00