Kitzunu
f96d4c8670
Revert "Add (core\db): Support for Homebind Orientation ( #13389 )" ( #19257 )
...
* Revert "Add (core\db): Support for Homebind Orientation (#13389 )"
This reverts commit 2e6f6e26da .
Changes to be committed:
modified: src/server/database/Database/Implementation/CharacterDatabase.cpp
modified: src/server/game/DungeonFinding/LFGScripts.cpp
modified: src/server/game/Entities/Player/Player.cpp
modified: src/server/game/Entities/Player/Player.h
modified: src/server/game/Entities/Player/PlayerStorage.cpp
modified: src/server/game/Entities/Player/PlayerUpdates.cpp
modified: src/server/game/Handlers/CharacterHandler.cpp
modified: src/server/game/Handlers/MiscHandler.cpp
modified: src/server/game/Handlers/MovementHandler.cpp
modified: src/server/game/Maps/Map.cpp
modified: src/server/game/Spells/Spell.cpp
modified: src/server/scripts/Commands/cs_misc.cpp
modified: src/server/scripts/Commands/cs_tele.cpp
modified: src/server/scripts/Northrend/VaultOfArchavon/instance_vault_of_archavon.cpp
Untracked files:
data/sql/updates/pending_db_world/rev_1719945200692175000.sql
* Revert "Add (core\db): Support for Homebind Orientation (#13389 )"
* whoops
2024-07-02 22:02:15 +02:00
Jelle Meeus
ed38e6e550
fix(Scripts/Naxxramas): Gothik missing visuals at minions death ( #18666 )
...
* add sql rev
* enable NPC_TRIGGER
* add npc_gothik_trigger
* add rest of script
* spell info correction
* fix compile issue
* fix desummon call
* remove comment
* access gothik by GUID
* add missing function overrides
* add braces
* add missing trigger, adjust CGUID value
* fixup! add missing trigger, adjust CGUID value
* select skulls based on coordinates
style
invert remove
remove CGUID comment
fix remove_if check, use correct def
* JustSummoned: target same side with mapLOS
* select random initial target on the same side
* add REACT_AGGRESSIVE and increase CallForHelp radius
* refactor spellscript
* style
2024-06-29 15:12:12 -03:00
Jelle Meeus
75582eb34b
fix(Core/Spell): implement taunt DR CREATURE_FLAG_EXTRA_OBEYS_TAUNT_DIMINISHING_RETURNS ( #19128 )
...
* skip other effects in case of taunt DR
* set flags_extra creature_template
fe38b78c87
Co-authored-by: offl <offl@users.noreply.github.com >
* update query to only entries found in acore_world.creature_template
* add name as comment
* fix ci codestyle
---------
Co-authored-by: offl <offl@users.noreply.github.com >
2024-06-29 11:59:16 -03:00
avarishd
63c8c6480e
fix(Core/Spells): Eye of Grillok improvements ( #19148 )
...
* fix(Core/Spells): Eye of Grillok improvements
* my eyes
* discovery of RegisterSpellAndAuraScriptPair
* comment
2024-06-29 07:33:23 -03:00
Walter Pagani
77be5bb19d
fix(Spells/SpellInfoCorrections) Remove friendly mask on goblins ( #18912 )
...
Co-authored-by: Jelle Meeus <sogladev@gmail.com >
2024-06-29 00:28:29 -03:00
Jelle Meeus
29f376f9bc
fix(Core/Spells): Midsummer spinning visual interrupt on gossip ( #19211 )
...
* handle removal in periodic effect
* do removal with aurascript
* Revert "do removal with aurascript"
This reverts commit 383dd7b255e18d52f5fbecbfcb47ac08331ba626.
* Revert "handle removal in periodic effect"
This reverts commit ab6984e95613df3fa32d45489f607650c9700ff7.
* add AURA_INTERRUPT_FLAG_TALK to 45406
2024-06-28 13:41:47 -03:00
avarishd
5b2a088da0
fix(Core/Auras): Add SPELL_ATTR0_CU_ONLY_ONE_AREA_AURA ( #19209 )
...
https: //github.com/azerothcore/azerothcore-wotlk/pull/19208
Co-authored-by: Benjamin Jackson <38561765+heyitsbench@users.noreply.github.com >
2024-06-28 05:23:38 -03:00
Jelle Meeus
77d3eb52df
fix(Core/Spell): Bladestorm remove reset swing and allow meleeSwingSpell during ( #19093 )
...
* remove reset swing
* allow meleeswingspell on PLAYER_ALLOW_ONLY_ABILITY
2024-06-26 22:23:09 +02:00
Benjamin Jackson
af722d4e88
fix(Core/Spells): Partially revert spell cancel behavior change. ( #19101 )
...
Init.
2024-06-20 14:16:21 -03:00
avarishd
2cf95ca6cb
fix(Core/Spells): Don't send SMSG_CAST_FAILED for interrupted spells … ( #19082 )
...
fix(Core/Spells): Don't send SMSG_CAST_FAILED for interrupted spells after they were launched or channelling was started (this clears cooldown on client)
https: //github.com/TrinityCore/TrinityCore/commit/63bc405faeb7afcf99de6f7531e4ea59065165f4
Co-authored-by: Shauren <shauren.trinity@gmail.com >
2024-06-17 21:26:18 -03:00
Lyuboslav Kotsev
10892a519d
fix(core/spell): Presence of Mind should not apply cooldown mods on c… ( #17890 )
...
fix(core/spell): Presence of Mind should not apply cooldown mods on category spells.
Mage T4 set 4 set bonus puts cooldown reduction on Presence of Mind which should not be passed down to category spells,
because in case of infinity cooldown on Arcane Power it does not get reset when you lose the Presence of Mind aura and Arcane Power stays forever in cooldown
or more specifically for 1 month(infinity cooldown).
Closes https://github.com/azerothcore/azerothcore-wotlk/issues/17800
Patch 3.0.9 https://wowpedia.fandom.com/wiki/Patch_3.0.9
Co-authored-by: Kitzunu <24550914+Kitzunu@users.noreply.github.com >
2024-06-17 22:05:07 +02:00
Benjamin Jackson
d6d49a9e45
refactor(Core/ObjectMgr): Implement display probabilities. ( #19068 )
...
* Init.
Cherry-picked from TC commits 9d210476e5 and c488fb219a
Co-Authored-By: Traesh <9392905+traesh@users.noreply.github.com >
Co-Authored-By: Shauren <shauren.trinity@gmail.com >
* Add brute data.
Needs validation against what existed before, i.e. Classic change prevention.
* Add validation info for brute data.
* Remove incomplete data queries.
* Requested changes.
* Whitespace.
* Requested change.
Table name.
Co-authored-by: Kitzunu <24550914+Kitzunu@users.noreply.github.com >
* Requested change.
Table name.
Co-authored-by: Kitzunu <24550914+Kitzunu@users.noreply.github.com >
* Resolve the funny merge conflicts.
I wonder why git blame doesn't work on a file with 20k lines in it that's odd huh champ.
* Remove unused parameter.
* Remove uses of unused parameter.
* Use unused parameter.
Hopefully?
* I will cry.
* Sobbing endlessly.
* Remove comment.
* Adjust table structure query.
Remove length parameters and allow null for build value.
Co-authored-by: Kitzunu <24550914+Kitzunu@users.noreply.github.com >
* Adjust column datatype and add check constraint.
---------
Co-authored-by: Traesh <9392905+traesh@users.noreply.github.com >
Co-authored-by: Shauren <shauren.trinity@gmail.com >
Co-authored-by: Kitzunu <24550914+Kitzunu@users.noreply.github.com >
2024-06-16 18:12:16 +02:00
Andrew
78aaa136cc
fix(Scripts/BlackTemple): Fix Free Friend spell ( #19065 )
2024-06-15 13:43:30 -03:00
Andrew
4294525084
fix(Core/Spells): Dive Bomb should not share damage ( #18740 )
2024-04-14 08:30:16 -03:00
Andrew
22c8469d8c
fix(Core/Spells): Fix Anetheron sleep only targetting himself ( #18735 )
2024-04-13 17:14:07 +02:00
Anton Popovichenko
47f9d66874
feat(Core/Optimization): Create index for sSkillLineAbilityStore to speedup search by skillLine. ( #18622 )
...
* feat(Core/Optimization): Create index for sSkillLineAbilityStore to speedup search by skillLine.
* Remove whitespace.
2024-04-01 05:50:12 -03:00
skelUA
1a537236a8
fix(Core/Spell): Fix spell 35329 (Vibrant Blood) ( #18587 )
2024-03-20 05:01:57 -03:00
Mykhailo Redko
33f951d742
fix(Core/Spells): Fixed work of sobering spells and other improvements for drunk system ( #18390 )
...
* fix(Core/Spells): Fix sobering spells and possible uint8 overflow/underflow in SPELL_EFFECT_INEBRIATE handler.
* fix(Core/Spells): Improvements for SPELL_AURA_MOD_FAKE_INEBRIATE handling
2024-03-20 01:45:01 -03:00
Dan
42c41525de
fix(Scripts/TheEye): increase dagger proc chance and make sure mind control only targets players ( #18563 )
2024-03-16 17:28:40 -03:00
Andrew
3bcdc4d23e
fix(Core/Spells): Domination affect max 5 targets ( #18555 )
2024-03-15 08:20:51 +01:00
Walter Pagani
7a7ea27293
fix(SpellInfoCorrections) Raid buffs should ignore LoS ( #18518 )
2024-03-15 01:20:36 -03:00
Dan
1c8644b3bc
fix(Scripts/TheEye): make legendary TK dagger have 100% proc chance ( #18482 )
...
initial
2024-03-04 10:44:35 +01:00
Elmsroth
729a1ff539
fix(Crash/Quest/Spell) : The Boon of Remulos ( #18379 )
...
Fix the spell : https://www.wowhead.com/wotlk/spell=57678/emerald-acorn-effect
Used in quest : https://www.wowhead.com/wotlk/quest=13075/the-boon-of-remulos
The crashed was caused by a nullptr Excception. It also could be throuwn in another similar test that has also been fixed.
If the spell did not have a CastTimeEntry a nullptr Exception was not checked.
2024-02-22 22:40:26 -03:00
Nathan Handley
df33a57b78
feat(Core/Unit): New helper IsClass and script hook OnPlayerIsClass ( #18243 )
...
* Class Comparison Logic Encapsulation - Parity
* Add Context to IsClass
* Add Unit IsClass script hook
* Replace additional getClass with IsClass
* Update CanUseItem to replace getClass with IsClass
* Add separate context for pet vs ability
* Change Create to Init since not all referenced contexts are creation
* Align spacing in ClassContext
* Drop context on LFGManager max power
* Update IsClass context that wraps around Missle Barrage
* Rename context for swapping weapons
* Be more specific than CLASS_CONTEXT_TALENT
* Remove duplicate context
* Moved IsClass Hook to Player
* Removed unused parameter in virtual base function
* Added maybe_unused to IsClass virtual in order to compile
To match the override signature, the virtual base needs to include the parameter in question, so using [maybe_unused] to signal to the compiler to allow it
* Remove extra blank line
* Add ABILITY_REACTIVE context
* Add context for PET_CHARM
* Remove explicit nullopt check per review
* Code Readability - Change if to if else in pet
Due to the return pattern, this doesn't change functionality in any way
* Add OnPlayer to disambiguate
---------
Co-authored-by: NathanHandley <nathanhandley@protonmail.com >
2024-02-10 12:25:00 -03: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
3ster
000ec142a2
Check if triggered spell has cast time ( #18231 )
...
* Check if triggered spell has cast time
* Fix client crash upon manually cancelling finished spell
2024-02-03 11:52:34 +01:00
Kitzunu
69dc8804e6
feat(Core/Spell): Add helper for TriggeredCastFlag ( #18227 )
...
* feat(Core/Spell): Add helper for TriggeredCastFlag
* Lol
* fix build
2024-01-26 13:51:42 +01:00
Kitzunu
7a859da266
fix(Script/Spell): Vanish Purge behavior ( #18127 )
2024-01-07 12:03:53 -03:00
Alethrion
b2fcc1babf
fix(Core/Unit): Remove delay for Conflagrate aura state ( #18068 )
...
Removes ConflagrateAuraStateDelayEvent
Cherry-picked from: e27c385b48
Co-authored-by: Ariel Silva <ariel-@users.noreply.github.com >
2024-01-01 07:59:23 -03:00
Andrew
be4d90404b
feat(Core/Spells): Implement SPELL_ATTR0_CU_BYPASS_MECHANIC_IMMUNITY ( #18056 )
2023-12-25 03:58:29 -03:00
IntelligentQuantum
258e369ee5
chore(Core): remove useless includes ( #18036 )
2023-12-23 12:16:27 -03:00
Angelo Venturini
10c9a2729b
fix(Core/SAI/SSC): Allow Farthest target to set a min distance ( #17992 )
2023-12-11 19:57:44 -03:00
Angelo Venturini
36109628a9
fix(Core/Spells): Add ignore LOS to Tidal Wave ( #17979 )
2023-12-10 20:30:28 -03:00
Tristan 'Natrist' Cormier
ac676f87ab
chore(Core/Player): remove unused AnticheatSetSkipOnePacketForASH() function ( #17947 )
2023-12-09 01:09:52 +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
Kitzunu
5bfeabde81
chore(Core/Misc): rename spellInfo pointers ( #17914 )
...
* Rename all
2023-12-02 06:03:15 -03:00
Kitzunu
911f07c906
fix(Core/Spells): Haunted should not be right-clickable ( #17864 )
...
fix(Core/Spells): Haunted
https://github.com/azerothcore/azerothcore-wotlk/issues/16248
2023-11-26 17:50:32 +01:00
pedrohfm9
1850c974a4
fix(Core/Spells): Fix aura interruption flags for Scarlet Raven Priest Image for quest A Fall From Grace ( #17828 )
...
* Update src/server/game/Spells/SpellInfoCorrections.cpp
---------
Co-authored-by: Andrew <47818697+Nyeriah@users.noreply.github.com >
2023-11-23 07:29:45 -03:00
avarishd
d5f03f0ef4
fix(Core/Spells): Spotlight having a duration ( #17799 )
2023-11-20 08:38:59 +01:00
Andrew
d55b6753c9
feat(Core/Scripting): Implement Unit hooks to modify damage before ca… ( #17785 )
2023-11-18 23:36:59 -03:00
Winfidonarleyan
e90d7a2f92
chore(Core/Misc): sort includes ( #17776 )
...
* chore(Cleanup): sort includes
* fix build
* fix build again
2023-11-18 17:51:26 +01:00
Grimgravy
c6ae678382
fix(Scripts/Quest): Improve The Force of Neltharaku ( #17088 )
...
* fix(Scripts/quest): Improve The Force of Neltharaku
* update
2023-11-18 15:28:44 +01:00
Andrew
5a4fdc7de4
fix(Core/Spells): Banish should only be dispelled by Mass Dispel ( #17703 )
...
* fix(Core/Spells): Banish should only be dispelled by Mass Dispel
* Update Unit.cpp
* Update Unit.cpp
2023-11-14 16:27:37 +01:00
Christopher Galbraith
ae5bf57dba
fix(Core/Spell): Titan's Grip check if player has 2H and shield equipped ( #16984 )
...
* check if player has a 2H and shield equipped
* null check item2 for shield
* style whitespace
* removed unnecessary logic
* remove unnecessary brackets
---------
Co-authored-by: ChrisCGalbraith <chriscgalbraith@gmai.com >
2023-11-12 17:51:26 +01:00
Kitzunu
bbadc32bea
Revert Visibility Notifier changes ( #17682 )
...
* Revert "fix(Core/Grid): Implement missing GridUnload setting (#17569 )"
This reverts commit 79b39f9655 .
* Revert "fix(Core/Grid): Address bugs and performance issues introduced by visibility notifier implementation (#17480 )"
This reverts commit 60e27511c5 .
* Revert "fix(Core): GridCleanUpDelay Log (#17436 )"
This reverts commit 90b16ca065 .
* Revert "feat(Core/Grids): Implement visibility notifier (#15919 )"
This reverts commit 2779833768 .
2023-11-12 00:48:49 +01:00
KJack
896e7c5656
(Scripts/AI) ZG20: Improvements to Thekal (Tiger Boss) ( #17603 )
...
Co-authored-by: AG <43139552+AGandrup@users.noreply.github.com >
2023-11-11 08:13:43 +01:00
Ludwig
2e5d5f2dc7
fix(Events): fix commoner spawns, auras and equips for all events ( #17632 )
...
* fix(Core/Spells): Implement Gossip NPC Appearance spells
65511 Gossip NPC Appearance - Brewfest
65522 Gossip NPC Appearance - Winter Veil
65523 Gossip NPC Appearance - Default
65524 Gossip NPC Appearance - Lunar Festival
65525 Gossip NPC Appearance - Hallow's End
65526 Gossip NPC Appearance - Midsummer
65527 Gossip NPC Appearance - Spirit of Competition
65528 Gossip NPC Appearance - Pirates' Day
65529 Gossip NPC Appearance - Day of the Dead (DotD)
* fix(DB/SAI): fix commoner spawns and auras
* equip random mug on spell 65511 Gossip NPC Appearance - Brewfest
* check if creature before equipping brewfest mug
* minor optical fixes, DELETE first, then remove duplicate spawns
* fix two displayIDs in NPC Gossip Appearance spells
* Remove whitespace at the end of the lines
* remove commoner spawns for event 7 Harvest festival from game_event_creature
* fix harvest festival event id
* Update rev_1698785311231174200.sql
2023-11-10 20:26:49 +01:00
Ludwig
cb483d124f
fix(Script/Spell): fix AOE circle bug on Midsummer Torch Catching ( #17654 )
...
* fix(Spells/Midsummer): fix script for spell 46747 SPELL_FLING_TORCH_DUMMY
* SpellInfoCorrections: fix target of spell 46747 Fling torch
* DB: assign spell 46747 Fling torch to item 34833 Unlit Torches
* remove whitespaces at src/server/game/Spells/SpellInfoCorrections.cpp:4610
2023-11-09 00:19:57 +01:00
Benjamin Jackson
f898fa75cd
fix(Core/Spells): Correct spell scaling formula. ( #17649 )
...
* Replace old spell scaling with revised version.
Co-Authored-By: balakethelock <111737968+balakethelock@users.noreply.github.com >
* Remove a single-use variable.
* Use funky multiply operator.
More similar to original function, if a tad less readable IMO.
---------
Co-authored-by: balakethelock <111737968+balakethelock@users.noreply.github.com >
2023-11-08 08:44:05 +01:00
avarishd
8af077bc33
fix(DB/SAI): Naberius ( #17639 )
2023-11-08 08:01:24 +01:00