Commit Graph

380 Commits

Author SHA1 Message Date
Takenbacon
f31643c72c feat(Core/Unit): Optimize AuraEffectList container (#22584) 2025-07-29 09:10:13 -03:00
Jelle Meeus
24d1a4808f fix(Scripts/Spells): Death and Decay not breaking Hungering Cold (#22573) 2025-07-27 00:12:49 -03:00
Jelle Meeus
e28ea50766 fix(Scripts/Spells): killing with Victory Rush grants Victory Rush (#22514) 2025-07-20 11:11:59 -03:00
Jelle Meeus
53e1cd553b fix(Scripts/Spells): Update Death Knight Ebon Gargoyle auras and damage, and Ghoul auras (#22398)
Co-authored-by: Tereneckla <Tereneckla@pm.me>
2025-07-20 08:10:47 +02:00
Paul
38cb6ace25 fix(Core/Spells): Fixed explosive shot ammo consumption (#21501)
Co-authored-by: pavel_k <pavel_k@mail.com>
Co-authored-by: Jelle Meeus <sogladev@gmail.com>
2025-07-15 09:05:56 +02:00
Benjamin Jackson
dba7f694ed fix(Scripts/Spells): Don't proc Misdirection from Mend Pet's heal effect. (#22293) 2025-07-03 16:41:52 +01:00
Christian M
563ef5d7d9 fix(Scripts/Spells): Death Knight Bone shield charges now have a 2 second delay between uses. (#22340) 2025-06-29 16:02:09 -03:00
Jelle Meeus
3b13fe6207 fix(Scripts/Spells): add script to GM spell CooldownAll (#22383) 2025-06-29 13:28:21 +02:00
Tereneckla
86f460c0ca fix(Scripts/Spell): snapshot %dmg and crit when spreading or refreshing diseases with pestilence (#22306) 2025-06-22 11:38:09 +02:00
Andrew
d94fbb1609 fix(Scripts/ZulDrak): Fix Ghymer not being healed by storm clouds (#22302) 2025-06-18 10:47:10 -03:00
avarishd
080e9e05da fix(Scripts/Items): Bloodsail Admiral's hat should despawn parrot on … (#22327) 2025-06-16 17:39:03 +02:00
Benjamin Jackson
c5cb54c2ea fix(Scripts/ScarletEnclave): Improve Might of Mograine aura behavior. (#22320) 2025-06-15 22:47:46 +02:00
Benjamin Jackson
b73bdb3adc chore(Core): Remove unused and inaccurate comment headers for various script-related files. (#22263) 2025-06-05 15:49:20 -03:00
Benjamin Jackson
db18d5b035 refactor(Core): Use database tables for Shaman totems and Druid shapeshift forms. (#22104)
Co-authored-by: DoctorKraft <25483209+doctorkraft@users.noreply.github.com>
Co-authored-by: Shauren <shauren.trinity@gmail.com>
Co-authored-by: ForesterDev <11771800+ForesterDev@users.noreply.github.com>
2025-05-27 14:40:57 +01: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
Benjamin Jackson
52799d76f6 refactor(Core): Add definition file for area table entries. (#22054) 2025-05-09 15:48:02 +02: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
Anton Popovichenko
c66972b900 fix(Core/Scripts): Fix heap-use-after-free in Fingers of Frost proc handler (#21943) 2025-04-17 09:27:49 +02:00
Jelle Meeus
094c15a323 fix(Core/Spells): implement SPELL_ATTR7_TREAT_AS_NPC_AOE (#21787)
Co-authored-by: Shauren <shauren.trinity@gmail.com>
2025-03-28 11:18:40 +01:00
Jelle Meeus
6535a75121 fix(Scripts/Spells): add warrior heroic strike daze bonus damage (#21650) 2025-03-17 11:04:31 +01:00
vrachv
0ff1a9756c fix(Core/Spell) Removed Prey on the Weak triggering on dead targets (#21611) 2025-02-25 23:52:23 +01:00
Paul
3fcccf2a2e fix(Core/Spells): Fixed misdirection triggering from mend pet (#21526)
Co-authored-by: pavel_k <pavel_k@mail.com>
2025-02-21 19:50:33 -03:00
Jelle Meeus
79ba56ed3d fix(Scripts/Spell): Priest shadowfiend attack and Shadowfiend Death proc (#20987)
Co-authored-by: killerwife <killerwife@gmail.com>
Co-authored-by: Grimdhex <176165533+Grimdhex@users.noreply.github.com>
2025-02-19 07:50:44 -03:00
Jelle Meeus
92ef042f33 fix(Scripts/Spells): Warrior IntimidationShout (#20969) 2025-02-16 23:19:50 +01:00
demetrzz
fe206c7138 fix(Scripts/Spells): Corrected shaman 8/8 T2 set bonus damage proc (#21432)
Co-authored-by: pavel_k <pavel_k@mail.com>
2025-02-15 12:02:27 +01:00
Andrew
be422f2f2a fix(Scripts/Spells): Fix Isle of Queldanas Orb of Translocation (#21325) 2025-02-05 07:43:39 +01:00
Jelle Meeus
a1cf6a7ceb fix(Scripts/ZulAman): Zul'Jin reduce procs of Energy Storm Aura (#21169) 2025-01-14 22:09:07 -03:00
Andrew
fb3749718e fix(Scripts/Spells): Move Curse of Mending (7098 & 39647) to spell sc… (#21117) 2025-01-09 20:15:50 +01:00
Jelle Meeus
638b8ea621 fix(Scripts/Spells): Death Knight Army of the Dead auras (#19795) 2024-12-28 14:23:14 +01:00
Kitzunu
bff594c4f5 feat(Unit/Misc): HasAnyAuras() HasAllAuras() HasAuras() (#21040) 2024-12-26 05:51:54 -03:00
Andrew
68d69c3596 fix(Scripts/Spells): Fix Aether Ray behaviour for quest Wrangle Aethe… (#20972)
fix(Scripts/Spells): Fix Aether Ray behaviour for quest Wrangle Aether Rays
2024-12-19 05:35:39 -03:00
Kitzunu
ed008a8780 refactor(Core/Spells): Add helpers for HasAuraType (#20802) 2024-12-01 08:50:59 -03:00
Jelle Meeus
047a21d31a fix(Scripts/ZulAman): Halazzi Phases (#20650) 2024-11-20 09:08:21 -03:00
avarishd
3ae3b08b85 fix(Scripts/Item): Multiphase Goggles not showing disturbances on minimap (#20446)
* fix(Scripts/Item): Multiphase Goggles not showing disturbances on mimimap

* Apply suggestions from code review
2024-11-19 12:11:34 -03:00
Andrew
5252e6cf5b fix(Scripts/Spells): Spell school reflectors should have failure chan… (#20560)
fix(Scripts/Spells): Spell school reflectors should have failure chance at higher levels
2024-11-14 16:03:35 -03:00
Jelle Meeus
3565e4a9eb feat(Core/WorldState): improved WorldState scripting (#20141)
* implement world state script

based on
0b87ca9d9e

Co-authored-by: killerwife <killerwife@gmail.com>

* refactor to use onleave and onenter instead of spell_area

allows players to right click remove adal's buff

* add MapMgr.h

* refactor: use condition enum instead of uint32, prefix WORLD_STATE where needed

* remove lock from WorldState::Update

sWorldState->Update() is only called from World::Update

* remove unsafe SmartAI action of setWorldState

---------

Co-authored-by: killerwife <killerwife@gmail.com>
2024-11-12 12:15:27 -03:00
Andrew
91b8cc29cf fix(Scripts/Spells): Limit Cyclone (39594) to 4 targets (#20506) 2024-11-10 14:54:33 -03:00
avarishd
705b8ab50e fix(Scripts/Item): Obsidian Armor & Frostfire Regalia Set (#20453) 2024-11-06 01:28:53 -03:00
avarishd
1c22cdcab2 fix(Core/Spells): Luffa removing bleeds over level 60 (#20411)
* fix(Core/Spells): Luffa

* Update spell_item.cpp

* Update spell_item.cpp

* Update spell_item.cpp
2024-11-04 21:09:10 +01:00
Francesco Borzì
cb7e28df05 refactor(src/server/game/*): remove unused imports (big part 1) (#20310) 2024-10-27 10:25:40 +01:00
Benjamin Jackson
4ad9d68f42 chore(Core): Correct typo of Suppress. (#20229)
* Init.

* Adjust spacing.
2024-10-17 22:09:53 +02:00
Jelle Meeus
9a1f27121a fix(Core/Unit): Flight Form riding crop, vehicle speed auras (#20079)
* vehicle aura stacking

Rename flight speed related auras
Co-authored-by: Laise <fenrisse@gmail.com>

* rename to better match existing flight auras
2024-10-01 21:39:42 +02:00
Andrew
98ae32e1da fix(Scripts/Spells): Remove immunity application from Preparation buff (#20042) 2024-09-25 12:00:57 -03:00
Grimgravy
511235cca3 fix(Scripts/Quest): Fires Over Skettis (#19567)
* fix(Scripts/Quest): Fires Over Skettis

* Update spell_item.cpp

---------
2024-09-23 14:05:11 +02:00
Kitzunu
386aea03ee chore(Core/Misc): Some cleanup (#19970)
* remove weird blanks

* update if

* ) ) to ))

* missed some ) )

* now switch

* .
2024-09-21 19:34:31 +02:00
Jelle Meeus
188b864d79 fix(DB/ArgentTournament): Stabled Campaign Warhorse missing error message (#19926)
* fix lance requirement error msg

* ;
2024-09-21 18:48:04 +02: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
221dbd3fdb chore(Apps/Codestyle): add new codestyle checks for pointers and range loops (#19841)
* chore(Apps/Codestyle): add new codestyle checks for pointers and range loops

* revert a typo
2024-09-03 13:02:38 -03:00
Kitzunu
9af86553c5 chore(Core/Misc): update floor and ceil to std (#19837) 2024-09-03 08:01:00 -03:00
Kitzunu
de2bcbdabf refactor(Core/Misc): Acore::StringFormat to fmt format (#19838)
refactor(Core/Utilities): Acore::StringFormat to fmt format

* closes https://github.com/azerothcore/azerothcore-wotlk/issues/10356
2024-09-03 07:59:37 -03:00