Commit Graph

2729 Commits

Author SHA1 Message Date
Efymer aa9a39e07f feat(Core/debug): Add commad to debug lfg (#6638)
* feat(Core/debug): Add commad to debug lfg

* Update LFGMgr.h

* Update rev_1624914323095978900.sql

* Code review fixes

Co-authored-by: Kitzunu <24550914+Kitzunu@users.noreply.github.com>
2021-09-14 17:08:49 +02:00
Viste a9796af174 fix(Core/Misc): bunch of crashfixes (#7307) 2021-09-14 14:38:56 +02:00
UltraNix 7406a01ac3 fix(Core/Spells): several improvements to cooldowns (#7559)
- Reworked spell category cooldowns.
- Implemented category cooldowns for pets.
- Properly shows pet spell cooldowns in player's UI.
- Corrected pet spell cooldowns with infinity duration.
- Do not add/remove infinity spell cooldown on aura apply/remove if casted by item.
- Closes #5263
2021-09-13 20:57:48 +02:00
UltraNix 15b346163d fix(Scripts/BRD): Mobs in Manufactory should attack on Golem Lord Arg… (#7794)
- Closes #3077
2021-09-13 16:09:40 +02:00
IntelligentQuantum bb343b482e fix(Scripts/DB): Quest OOX 09 - 17 - 2FE (#7792) 2021-09-13 16:06:49 +02:00
CrazyJDev adab416f29 fix(Scripts/Ulduar): Hodir boss fight issue (#5897)
Co-authored-by: Silker <61223313+Si1ker@users.noreply.github.com>
2021-09-13 00:12:29 +02:00
IntelligentQuantum e6143a1efd feat(Core/Commands): Gear (#7717) 2021-09-12 12:19:14 +02:00
UltraNix dd0b964a2a fix(Scripts/Spells): Unlit Torches cannot be used too far away from the bonfire (#7644)
- Closes #6551
2021-09-01 15:50:42 +02:00
Asthalor 33b3ea2fe4 fix(Script/BD): fix skill needed and more for Quest The Spectral Chalice (#7519) 2021-08-31 12:02:17 +02:00
lineagedr ae8a78d90a feat(Core/Gameobject): add a range check for gameobjects (#7521) 2021-08-31 10:34:43 +02:00
Kitzunu 6978d62482 refactor(Script/Command): modify mount & dismount (#7413)
* refactor(Script/Command): modify mount

* oopsies

* Update rev_1629233438552386300.sql

* codestyle

* Update src/server/scripts/Commands/cs_modify.cpp

Co-authored-by: Stefano Borzì <stefanoborzi32@gmail.com>

* Update src/server/scripts/Commands/cs_modify.cpp

Co-authored-by: Stefano Borzì <stefanoborzi32@gmail.com>

* Update src/server/scripts/Commands/cs_modify.cpp

Co-authored-by: Stefano Borzì <stefanoborzi32@gmail.com>

* some improvements

* When using .dismount also update speed to 100%

* remove atoul

* Update cs_modify.cpp

* test

Co-authored-by: Kargatum <dowlandtop@yandex.com>

* Update cs_modify.cpp

* fix tyop

Co-authored-by: Stefano Borzì <stefanoborzi32@gmail.com>
Co-authored-by: Kargatum <dowlandtop@yandex.com>
2021-08-29 10:45:43 +02:00
UltraNix 45218224b4 fix(Core/Spells): show Execute/Slam misses/dodges/parries in combat log (#7494)
- Closes #7428.
2021-08-26 11:45:22 +02:00
UltraNix a8c0a2cc89 fix(Core/Movement): (#7008)
- Get zone/area IDs from vmap data in the liquid update
- Add new method Map::getFullVMapDataForPosition to get area info and liquid info in a single vmap lookup
- Adjust GetZoneId/GetAreaId on WorldObject to always return these cached fields.
- Clean up liquid state handling on Unit and Player
- Implemented getting area id from gameobject spawns.
- Removed old core related to getting movement flags dependent on environment.
- Movement flags are now processed more precisely and dynamically.

Original source: TrinityCore.

- Closes #5086
- Updates #2208.
2021-08-25 12:41:20 +02:00
EPTIC 015f8802a8 fix(Script/Creature): move Shadow Hunter Vosh'gajin script to SAI (#7421) 2021-08-25 10:58:13 +02:00
UltraNix ec71301bf7 fix(Scripts/Spell): Volley should trigger pet attack in defensive mode (#7453)
- Closes #7340
2021-08-25 01:13:15 +02:00
UltraNix 1b7d3708a6 fix(Core/Loot): (#7452)
- Players that did not participate in killing dungeon boss are not eligible to get loot.
- Players that are too far away from the looted object are not eligible to get loot.
- Players that released spirit and were outside the dungeon when the loot has been released are eligible to get loot.
- Players that have pending bind are not eligible to get loot.
- Properly get loot recipient for some chests in dungeons.
- All above fixes should work in any loot mode (group loot, master loot, etc.)
- Closes #2104.
2021-08-24 23:48:22 +02:00
Kitzunu 62058ffbea fix(Script/Spells): Anti-Magic Zone amount calc (#7438)
* cherry-pick commit (https://github.com/TrinityCore/TrinityCore/commit/bea682f95c374d914f47925448fff6b8c9d3fcb4)

Co-authored-by: Lucas Nascimento <keader.android@gmail.com>
2021-08-24 16:52:54 +02:00
Petric 56a2f6d976 fix(Core/Crash): reload page GetSession check to avoid crash (#7451) 2021-08-22 16:40:40 +02:00
EPTIC 690187cb3f fix(DB/Creature): Gizrul the Slavener (#7414) 2021-08-22 13:43:54 +02:00
EPTIC 4cc00f5488 fix(DB/Creature): correct script for Quartermaster Zigris (#7404) 2021-08-21 00:43:04 +02:00
lineagedr 32e149e342 [Core/Spells]: Fixed stormstrike and lava lash consuing flurry. (#7397)
* [Core/Spells]: Fixed stormstrike and lava lash consuing flurry.

* Update

Co-authored-by: Stefano Borzì <stefanoborzi32@gmail.com>
2021-08-20 19:40:16 +02:00
lineagedr 8f39bc101c [Core/Spells]: Fix glyph of arcane shot not refunding mana. (#7395)
* [Core/Spells]: Fix glyph of arcane shot not refunding mana.

* chore: add newline at the end of file

* Update rev_1629141434760979400.sql

* Update spell_hunter.cpp

* Update rev_1629141434760979400.sql

* Update spell_hunter.cpp

* Update data/sql/updates/pending_db_world/rev_1629141434760979400.sql

Co-authored-by: Kitzunu <24550914+Kitzunu@users.noreply.github.com>
2021-08-20 19:18:25 +02:00
Zenslash 28a7646414 fix(Scripts/BWL): drakes in Blackwing Lair can't attack (#7303)
Closes #7246
2021-08-16 10:43:30 +02:00
UltraNix 261d5c62cd fix(Core/Collision): typo in VMap BIH generation. (#7066)
* Core/Collision: Fix typo in VMap BIH generation.

Fixed #5768.

* Bump vmap and mmap versions.

* chore: update data version in the bash installer
2021-08-08 12:21:29 +02:00
Francesco Borzì 0dfab5d69b refactor(Scripts/Northrend): code cleanup (part 11) (#7103) 2021-08-07 17:48:57 +02:00
Andrius Peleckas a81a619758 fix(Scripts/DB): Ahn'kahet rewrite (#3449) 2021-08-07 16:10:32 +02:00
UltraNix 5831c336df fix(Scripts/Spells): Windfury Weapon should not consume Flurry stacks. (#7151)
* fix(Scripts/Spells): Windfury Weapon should not consume Flurry stacks.

Fixed #6234

* Update src/server/scripts/Spells/spell_shaman.cpp
2021-08-07 00:28:07 +02:00
UltraNix be4377f540 fix(Scripts/Items): Goblin Bomb Dispenser (#7190)
- Closes #6609
2021-08-06 16:27:18 +02:00
Francesco Borzì 7bddd69c95 refactor(Scripts/Kalimdor): code cleanup (part 10) (#7065)
* refactor(Scripts/Kalimdor): code cleanup (part 10)

* chore(Core/zone_mulgore): delete file

* chore(Core/zone_teldrassil): remove file

* chore(Core/kalimdor_script_loader): remove mulgore and teldrassil zone

Co-authored-by: Stefano Borzì <stefanoborzi32@gmail.com>
2021-08-06 15:45:17 +02:00
KiK0 31e41890e3 fix(Core/Spells): Killing Spree should not affect invisible units (#7191) 2021-08-06 11:50:27 +02:00
Asthalor 7618e7706e fix(Scripts/Spell): combustion will now properly go on cooldown when the buff is manually cancelled (#7185)
* fix(CORE/Spell): Combustion will now properly go on cooldown when the buff is manually cancelled
* fix(DB/Scripts): Added the script for combustion
* Update spell_mage.cpp
* Update src/server/scripts/Spells/spell_mage.cpp

Co-authored-by: Kitzunu <24550914+Kitzunu@users.noreply.github.com>
2021-08-06 11:13:45 +02:00
UltraNix 9a820e2d26 fix(Core/Spells): Master of Elements (#7102)
* Core/Spells: Master of Elements:

Proc now also from arcane spells.
Properly proc from periodic spells.
Fixed #6035.

* You shouldn't be there.

* Buildfix.

* missing sql.
2021-08-02 01:02:38 +02:00
Christopher Galbraith 19bbe2cd79 fix(Script/Mandorik): enrage on reset and on subsequent pulls. (#7176)
* Fixed issue with Ohgan data not being reset properly causing Mandokir to enrage even when Ohgan is alive on subsequent pulls. Mandokir now correctly removes Frenzy when resetting.

Signed-off-by: ChrisCGalbraith <chriscgalbraith@gmai.com>

* Update src/server/scripts/EasternKingdoms/ZulGurub/boss_mandokir.cpp

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

Co-authored-by: ChrisCGalbraith <chriscgalbraith@gmai.com>
Co-authored-by: Kitzunu <24550914+Kitzunu@users.noreply.github.com>
2021-07-31 11:16:02 +02:00
Kitzunu fa03541563 chore(Script/Misc): add comments to some scripts (#7011) 2021-07-24 19:37:45 +02:00
Kitzunu 4ace9f17de fix(Core/Spell): handle 5,000 Gold with SpellScript (#6996) 2021-07-24 00:40:20 +02:00
UltraNix ba85988d31 fix(Scripts/Item): Gnomish Death Ray. (#7062)
- Closes #5648
2021-07-23 13:13:49 +02:00
UltraNix e5680dfe10 fix(Scripts/Naxxramas): properly handle Thaddius' polarity stacks (#7030)
- Closes #6929
2021-07-22 19:34:47 +02:00
Francesco Borzì 3b752dd796 refactor(Scripts/Spells): code cleanup (part 9) (#6946) 2021-07-22 01:12:28 +02:00
Kitzunu 9ab6ba9664 chore(Core/Misc): remove toxic language (#6988) 2021-07-21 23:57:20 +02:00
Francesco Borzì e556560bc1 refactor(Scripts/Pet): code cleanup (part 8) (#6928) 2021-07-21 19:05:05 +02:00
Francesco Borzì 383946af6c refactor(Scripts/OutdoorPvP): code cleanup (part 7) (#6927) 2021-07-21 14:12:40 +02:00
Francesco Borzì 172d33d507 refactor(Scripts/Events): code cleanup (part 6) (#6924) 2021-07-20 09:55:31 +02:00
Francesco Borzì e5f1104849 refactor(Scripts/EasternKingdoms): code cleanup (part 5) - also fix potential crash (#6923) 2021-07-19 11:23:27 +02:00
Francesco Borzì fab0fc421b refactor(Scripts/Commands): code cleanup (part 4) (#6921) 2021-07-18 13:25:44 +02:00
Kargatum 8568c4fb33 feat(Core): replace ACE network with Boost.Asio (#6574) 2021-07-16 10:43:56 +02:00
Francesco Borzì f73ef1cd5a fix(Core/Unit): -Wdeprecated-enum-enum-conversion warning (#6868) 2021-07-13 11:51:58 +02:00
clidx 1fa51e5168 fix(Scripts/Ulduar): Mimiron Summon Mine (#6833) 2021-07-12 18:51:09 +02:00
Grimgravy b5d9b3d513 fix(Scripts/DB/Quest): improved No Fly Zone (#6850) 2021-07-12 02:49:05 +02:00
Francesco Borzì d92a2ce58b fix(Core/Common): -Wdeprecated-enum-float-conversion warning (#6870) 2021-07-11 18:05:07 +02:00
Francesco Borzì 4103fca5a4 fix(Core/ObjectGuid): prevent creating copies when looping objects (#6852) 2021-07-10 15:54:16 +02:00