Commit Graph

741 Commits

Author SHA1 Message Date
Exitare
98ceb1c067 fix(Core/PlayerScript) Align player script function names (#21020)
Co-authored-by: sudlud <sudlud@users.noreply.github.com>
2025-02-16 14:59:41 +01:00
Mykhailo Redko
c96ff8a6dc fix(Core/Spells): Chain heal shoudln't jump to other players who are at full hp. (#21387) 2025-02-15 22:47:22 +01:00
Jelle Meeus
b8b38e1e7e fix(Core/Spells): Hand of Protection no longer removes Nalorak's Mangle (#21413) 2025-02-15 17:22:59 +01:00
Takenbacon
ee69a569c4 fix(Core/Grids): Grid improvements (#20955) 2025-02-14 22:11:27 +01:00
Anton Popovichenko
2982b64430 fix(Core/Spell): Reset insignia spell target when it is deleted. (#21437) 2025-02-14 21:58:30 +01:00
manstfu
478a076589 fix(Script/ICC): Make Sindragosa Tail Smash - ignore LOS(#20935) 2025-02-06 11:58:28 +01:00
Kitzunu
47c5ff904f refactor(Core/Disables): Convert from Namespace to Class Structure (#21109) 2025-02-01 22:48:52 +01:00
blinkysc
9c214f0de0 fix(Scripts/MagisterTerrace/DB) Vexallus Boss Complete Overhaul (#21266) 2025-01-31 17:22:25 +01:00
daobashun
9db9c42cb0 fix(Scripts/ScarletMonastery): improvement ScarletMonastery (#17558)
Co-authored-by: Kitzunu <24550914+Kitzunu@users.noreply.github.com>
2025-01-19 12:42:18 +01:00
iThorgrim
90566589b0 feat(Scripting/Spell): Add new hooks for Spell (OnSpellCast, OnSpellPrepare, OnSpellCancel) (#21149) 2025-01-18 12:26:39 -03:00
Jelle Meeus
fa9718b737 fix(Core/Spells): Remove level scaling from Booming Voice (#21054) 2025-01-01 20:24:39 -03:00
Saqra1
af9f416751 fix(Core/Spells): Initial threat for periodic effects (#21045)
Co-authored-by: tarwyn <tarwyn@thesilvercircle.org>
2024-12-26 18:25:08 +01:00
Jelle Meeus
f011cbb602 refactor(Core/Unit): Add naming for all ShapeshiftFlags (#20989) 2024-12-22 08:56:54 +01:00
Takenbacon
e9c86737fb refactor(Core/Random): Remove unused map based RNG (#20939)
Remove unused map based RNG
2024-12-18 13:48:06 +01:00
Jelle Meeus
993bdcb84e feat(Core/Player): implement Spell Queue (#20797) 2024-12-12 11:59:52 +01:00
Jelle Meeus
00eeb0051a fix(Core/SpellAuraEffects): use caster's level to scale amount to break crowd control auras (#20153) 2024-12-06 12:19:03 +01:00
Kitzunu
ed008a8780 refactor(Core/Spells): Add helpers for HasAuraType (#20802) 2024-12-01 08:50:59 -03:00
Kitzunu
10a79441b6 fix(Core/Spells): Logic misstake for spells that can be cast on dead … (#20800) 2024-12-01 11:11:33 +01:00
Riley S.
e9137d4d4d fix(Core/Spells): Resolve invalid spell casts on dead players when the cast is valid. (#20712)
* Initial fix for #20509

* small revert

* Two way visibility between ghosts.

* clean up temporary changes.

* clean up debug code.

* small typo

* revert .gitignore

* fix codestyle

* Add missing flag, resolve issue where cast was failing while alive.

* Update SpellInfo.cpp

Co-authored-by: Kitzunu <24550914+Kitzunu@users.noreply.github.com>

---------

Co-authored-by: Kitzunu <24550914+Kitzunu@users.noreply.github.com>
2024-11-30 20:18:32 +01:00
Andrew
afc81098f2 fix(Scripts/ZulAman): Fix Vortex not following players and also spell… (#20780)
* fix(Scripts/ZulAman): Fix Vortex not following players and also spell missing

* Update boss_zuljin.cpp
2024-11-30 12:28:19 -03:00
Andrew
2649ca2d65 feat(Core/Spells): Allow modifying MiscValues during cast (#20731) 2024-11-26 12:17:02 -03:00
Jelle Meeus
28696e4ff8 fix(Core/Spells): implicit target selection for chain spells that should ignore crowd controlled targets (#20068)
replace free to move with ownerGUID check with crowd control check
2024-11-16 09:30:53 -03:00
Jelle Meeus
9f58216383 fix(Core/Spell): EffectQuestComplete, set quest to rewarded instead of complete (#20358)
set quest to rewarded instead of complete when targetted by SPELL_EFFECT_QUEST_COMPLETE

Prevents people from ending up with strange quests in their quest logs.

https://github.com/TrinityCore/TrinityCore/commit/6d62f852acf3e1a3ee57cde2442832280aee814

Co-authored-by: SnapperRy <snapperryen@gmail.com>
2024-11-15 03:47:41 -03:00
Andrew
7746287ee1 fix(Core/Spells): Fix Lay on Hands healing bypassing Cyclone (#20552)
* fix(Core/Spells): Fix Lay on Hands healing bypassing Cyclone

* and mana as well
2024-11-14 03:37:23 -03:00
Francesco Borzì
a9f0f371e5 refactor(src/server/game): optimise imports (#20541) 2024-11-13 11:37:20 +01:00
Jelle Meeus
cc03798123 fix(Core/Spells): Jump Speed Calculations (#20479)
Core/Spell: Jump Speed Calculations

0197a2f990

Co-authored-by: DanVS <33371360+DanVS@users.noreply.github.com>
2024-11-12 12:16:41 -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
138a2ca974 refactor(Scripts/ZA): Update Zul'jin (#20456) 2024-11-08 21:05:30 -03:00
avarishd
fa4dc2cd47 fix(Core/Spells): 'Black Qiraji Battle Tank' being removed on map change/teleport (#20455)
fix(Core/Spells): Black Qiraji Battle Tank being removed on map change/teleport
2024-11-06 01:26:40 -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
Benjamin Jackson
1bff305ad4 fix(Core/Spells): Adjust logic for removing/applying auras related to areas. (#20299)
* Init.

* Use apply instead of variable.
2024-11-03 21:39:56 -03:00
Jelle Meeus
fb551c703c fix(Spells/SpellScript): fix CI, rename the log for Validate (#20418) 2024-11-02 21:09:56 +01:00
Andrew
7a2b86425f fix(Core/Spells): Fix Gurtogg Bloodboil applying Acid Wound to himself (#20394) 2024-11-01 14:09:13 -03:00
Francesco Borzì
c06cadfe75 refactor(src/common|server): remove unused import (big part 1) (#20377)
* refactor(src/common|server): remove unused import (big part 1)

* chore: fix build

* chore: fix build

* chore: fix build

* chore: fix build

* chore: attempt to fix damn linkin error
2024-10-31 21:46:11 +01:00
Francesco Borzì
2ce2c8cf3a refactor(src/server/game/*): remove unused imports (big part 3) (#20315) 2024-10-27 13:10:28 +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
Rorschach91
91a5c49943 Fix(DB/Script): Phase change for DK starter area Eye of Acherus and npcs. (#20170)
* fix(Script/Mother Shahraz) Increase min teleport range and add new teleport points.

This fix increase minimum teleport range for Fatal Attraction and It adds 5 new teleport points if the boss is near the platform.

* Update boss_mother_shahraz.cpp

* fix(DB/Creature): Phase change for DK starter area npcs.

This fix change the phases when some npcs can be viewed.

* Update dk_phases_fix

* Update dk_phases_fix

* Create DK_NPC_Phases_Fix.sql

* Delete data/sql/updates/pending_db_world/dk_phases_fix

* Update DK_NPC_Phases_Fix.sql

* Update DK_NPC_Phases_Fix.sql

* Update DK_NPC_Phases_Fix.sql

* Update DK_NPC_Phases_Fix.sql

* Update SpellInfoCorrections.cpp

Eye of Acherus in Phase 2

* Update SpellInfoCorrections.cpp

Eye of Acherus ApplySpellFix removed (Eye of Acherus is in phase 2 now).

* Update DK_NPC_Phases_Fix.sql

Adding Npcs inside Acherus in phase 2.
2024-10-13 20:53:09 +02:00
Jelle Meeus
e0f08bbfb6 fix(Core/Spells): supress caster procs for Siphon Life heal (#20175)
supress caster procs for Siphon Life heal
2024-10-12 13:05:44 +02:00
Angelo Venturini
fede17f782 fix(Core/Spells): Fix crash (#20179)
Co-authored-by: Ariel Silva <ariel-@users.noreply.github.com>
2024-10-11 08:15:02 -03:00
Benjamin Jackson
c3ee737c80 fix(Core/SpellInfoCorrections): Add Arcane Missiles spell info correction. (#20165)
Init.

Co-authored-by: Ernesto Gonzalez <80600689+ernesto-glz@users.noreply.github.com>
2024-10-11 11:51:29 +02:00
Jelle Meeus
859a42a41e fix(Core/Vehicles): feat vehicle seat addon, vehicle enter/exit positions (#20082)
* implement initial vehicle_seat_addon

Co-authored-by: Ovah <dreadkiller@gmx.de>

* add more vehicle_seat_addon data

* make exiting passenger visible

fixes "immediate despawn" of travelers mammoth

* style, update comments

* remove hacked pos relocate

* remove sending MSG_MOVE_ROOT/UNROOT on Ack

* set and unset UNIT_NPC_FLAG_PLAYER_VEHICLE on init/entry

* ulduar demolisher: remove flag correction and no longer needed usableseat

* fixup! implement initial vehicle_seat_addon

* fixup! fixup! implement initial vehicle_seat_addon

* re-add AddPassenger Flame Leviathan hack

was commented by mistake

* Update rev_1725993194571320983.sql

add missing ticks

---------

Co-authored-by: Ovah <dreadkiller@gmx.de>
2024-10-11 07:08:14 +02:00
Benjamin Jackson
cc5c582b4d fix(Core/Spell): Include damaging spells for starting combat. (#20154)
Init.
2024-10-07 08:55:28 -03: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
ee870ff3b3 fix(Core/Spells): Restricted aura application prevention when immune to banish effects (e.g cyclone) (#20060) 2024-10-01 11:47:44 +02:00
Francesco Borzì
484e19d21b refactor(src/server/game/Spells): remove unused imports (#20092) 2024-10-01 08:05:15 +02:00
Jelle Meeus
6e4a9bbb14 fix(Core/Unit): fix Dual Wield for more creatures, CREATURE_FLAG_EXTRA_USE_OFFHAND_ATTACK, creature disarm damage (#20015)
* enable CREATURE_FLAG_EXTRA_USE_OFFHAND_ATTACK

* sql set CREATURE_FLAG_EXTRA_USE_OFFHAND

* use new HasOffHandWeaponForAttack instead of haveOffhandWeapon

no longer requires m_CanDualwield set to use Offhand attack
requires non-disarmed weapon in Offhand OR creature_flag_extra enabled

Co-authored-by: Ovah <dreadkiller@gmx.de>
Co-authored-by: Warlockbugs <warlockbugs@outlook.com>

* Make shapeshift forms which dont override attack speed use weapon damage

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

* SetEquipmentSlots turning off damage update when using template default

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

* Setup DualWield & Damage On Equipment Updates, implement Set and GetVirtualItem

Co-authored-by: Yatzii <47720837+Yatzii93@users.noreply.github.com>

* creature disarm damage

set disarm to reduce minmax damage by 50% instead of setting to 0

Co-authored-by: Warlockbugs <warlockbugs@outlook.com>

---------

Co-authored-by: Ovah <dreadkiller@gmx.de>
Co-authored-by: Warlockbugs <warlockbugs@outlook.com>
Co-authored-by: killerwife <killerwife@gmail.com>
Co-authored-by: Yatzii <47720837+Yatzii93@users.noreply.github.com>
2024-09-25 16:53:39 +02:00
Walter Pagani
891bcd8e00 refactor(SQL/Quest) Rescuing the Rescuers ID 11244 (#20030)
* refactor(SQL/Quest) Rescuing the Rescuers ID 11244

* fix range and max targets

* Texts are added and the smart_script list is modified

Co-authored-by: DEV Seaferer <91832265+edgardavid94@users.noreply.github.com>

---------

Co-authored-by: DEV Seaferer <91832265+edgardavid94@users.noreply.github.com>
2024-09-25 10:36:56 +02:00
Andrew
dea3d44b46 fix(Core/Spells): Prevent aura application if the target is immune (#20031) 2024-09-24 15:17:22 -03:00
Andrew
78cc255f43 fix(Core/Spells): Fix Fatal Attraction procing multiple times for eac… (#20014)
fix(Core/Spells): Fix Fatal Attraction procing multiple times for each player nearby
2024-09-22 14:52:19 -03:00