Kitzunu
10a79441b6
fix(Core/Spells): Logic misstake for spells that can be cast on dead … ( #20800 )
2024-12-01 11:11:33 +01:00
Kitzunu
5e4f6ac576
fix(Script/Commands): tele add should only check exact match ( #20785 )
...
* fix(Script/Commands): tele add should only check exact match
* closes https://github.com/azerothcore/azerothcore-wotlk/issues/20268
* better describe the variable
2024-11-30 20:06:26 -03: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
Jelle Meeus
6b5f50cdbe
fix(Core/Database): prevent crash due to special chars in branch name ( #20776 )
...
add prepared statements to escape special characters in branch name
2024-11-30 12:26:57 -03:00
sudlud
9d422136f6
fix(Core/LootMgr): add startup error for unsupported reference minCou… ( #20725 )
2024-11-30 11:31:02 +01:00
Andrew
2649ca2d65
feat(Core/Spells): Allow modifying MiscValues during cast ( #20731 )
2024-11-26 12:17:02 -03:00
sudlud
b2c04603f7
feat(Core/SmartAI): add startup error for non existent SmartAI entries ( #20694 )
2024-11-24 21:25:02 +01:00
Grimdhex
9874a47de5
refactor(Core): fix few static analysis ( #20566 )
...
* refactor(Core): fix few static analysis
* fix builds
* revert FacingInfo change and fix GraveYard ID use in a log
2024-11-24 17:02:32 -03:00
Andrew
c5876bff6f
fix(Scripts/ZulAman): Fix Amani Hatcher behaviour ( #20687 )
2024-11-24 07:56:18 -03:00
Andrew
0b771cbc92
fix(Core/Creature): Don't call reset if still in combat ( #20675 )
2024-11-23 10:57:26 +01:00
Jelle Meeus
4b03e97a63
fix(Core/Creature): Set RespawnTime before AI Reset ( #20684 )
...
fix(Core/Creature): Set RespawnTIme before AI Reset
2024-11-22 12:23:21 -03:00
Jelle Meeus
640f84e280
feat(Core/SmartAI): introduce new SMART_EVENT_IS_IN_MELEE_RANGE ( #20575 )
2024-11-20 06:36:17 -03:00
FingerKnoten
593ca4dae1
fix(Core/Player): properly update m_usedTalentCount ( #20232 )
2024-11-16 22:31:24 +01: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
Andrew
e1d0cf9a15
feat(Core/Instances): Implement SummonData ( #20582 )
2024-11-15 10:49:02 -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
Benjamin Jackson
53cd41b938
feat(Core/Scripting): Add hook during command security evaluation. ( #20564 )
2024-11-14 17:14:28 -03:00
silviu20092
87fbdb7967
feat(Core/Scripting): Add hook for applying weapon damage ( #20350 )
...
Add hook for applying weapon damage
2024-11-14 05:35:26 -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
Andrew
587762ca36
fix(Core/Instance): Save persistent data to DB on updates ( #20555 )
2024-11-14 00:01:22 -03:00
manstfu
21c5575d1a
fix(Core/Player): Nerfing Heirloom Weapons Damage ( #20357 )
...
Fixing heirloom damage
Co-authored-by: ariel- <ariel-@users.noreply.github.com >
2024-11-13 21:53:03 +01: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
e741a9a87f
feat(Core/Scripting): Implement SetInvincibility() to prevent creatur… ( #20508 )
2024-11-11 00:22:03 -03:00
Andrew
734bcb5d10
chore(Core/Creature): Fix typo ( #20510 )
2024-11-10 15:21:58 +01:00
Andrew
d73ebe2e38
fix(Core/SAI): Don't try to reposition Rooted inhabit type creatures ( #20504 )
2024-11-10 04:54:01 -03:00
Andrew
138a2ca974
refactor(Scripts/ZA): Update Zul'jin ( #20456 )
2024-11-08 21:05:30 -03:00
Anton Popovichenko
12a41df8bc
fix(Core/Unit): Fix crash during Judgement of Light/Wisdom proc ( #20467 )
2024-11-06 12:13:19 -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
Benjamin Jackson
3c6273a9dd
fix(Core/Unit): Only allow Judgement of Light/Wisdom to proc for targets friendly to caster. ( #20374 )
...
Init.
2024-11-03 21:39:26 -03:00
Grimdhex
08bfecdbea
fix(Core/Movement): remove unecessary reset() ( #20419 )
...
Co-authored-by: Ovahlord <18347559+ovahlord@users.noreply.github.com >
2024-11-03 17:36:48 -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
Grimdhex
0b031de2ea
fix(Core/Movement): fix a small memory leak in RandomMovementGenerator ( #20258 )
...
* fix(Core/Movement): memory leak and possible crash
Co-Authored-By: Ovahlord <18347559+ovahlord@users.noreply.github.com >
* .
* fix review
---------
Co-authored-by: Ovahlord <18347559+ovahlord@users.noreply.github.com >
2024-11-01 09:39:37 -03:00
Francesco Borzì
4dcaee1816
refactor(src/common|server): remove unused import (big part 2) ( #20388 )
2024-11-01 08:42:31 +01: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
sudlud
fb886865ad
fix(Core/BattlegroundAV): Add Hallow's End decorations to Alterac Valley ( #20317 )
2024-10-29 08:43:37 -03:00
Francesco Borzì
2317004417
refactor(src/server/database|shared): remove unused import ( #20316 )
2024-10-28 10:04:42 +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
Francesco Borzì
2c344fc127
refactor(src/server/game/*): remove unused imports (big part 2) ( #20311 )
2024-10-27 05:06:14 +01:00
Angelo Venturini
47c61b2576
fix(Core/BG): Fix double method call on removing a player ( #20156 )
2024-10-24 09:12:29 -03:00
@cgrahamseven
1c1a281eda
fix(Core/SAI): rooted check blocks vehicles from casting quest credit ( #20283 )
...
spell
The quest SteamTank Surprise has a SmartAI entry in the db that causes
the tank to cast the kill credit spell on the player when they
successfully destroy a plague wagon. Currently, this spell cast is being
blocked by the rooted check handler for SMART_ACTION_CAST. The change
proposes that this rooted check should not apply to vehicles.
Closes AzerothCore issue #20237
Co-authored-by: cgrahamseven <chris.graham@protonmail.com >
2024-10-24 06:57:52 -03:00
Grimdhex
261ca4408f
refactor(Core/Unit): cleanup header file - part 3 ( #20072 )
...
* refactor: cleanup unit header file - part3
* Update Unit.h
* Update Unit.h
* fnish to reorder the header file
* Update Unit.h
2024-10-23 12:54:03 -03:00
Dan Costinas
87aeaf10fd
fix(Core/SmartAI) : use explicit stack DS for ProcessAction instead of recursion ( #16739 )
...
* Use dequeue instead of recursion
* Remove to do comments
* Fix formatting
* Fix more formatting :(
* Use references instead of copies in the stack to correctly update event state
* formatting
* Revert FindLinkedEvent parameter name change and check for event type
* Fix event processing in SmartScript::UpdateTimer
* Use struct for defining SmartScriptFrame instead of tuple
* Fix emplace_back not working on default constructor on clang 15
* Fix const placement
2024-10-22 17:31:45 +02:00
Andrew
034ebb3cdd
Revert "fix(Core/Spells): SPELL_ATTR1_IMMUNITY_PURGES_EFFECT should not remov…" ( #20245 )
...
This reverts commit 572be7d69f .
2024-10-19 20:53:24 +02:00