Commit Graph

767 Commits

Author SHA1 Message Date
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 (bea682f95c)

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
Francesco Borzì
ebb80145b3 refactor(Core): replace boost::filesystem with std::filesystem (#6800) 2021-07-09 16:43:51 +02:00
Kitzunu
2ce0739838 feat(Scripts/Commands): show SpellSchoolImmuneMask in .npc info (#6788) 2021-07-09 11:39:48 +02:00
Zenslash
06027e3267 fix(Core/Instance): Grauf is spawned in the floor (#6776)
- Closes #6742
2021-07-08 22:12:22 +02:00
Shiroe
f8c8e98a0a feat(Core): port aggro distance from vMaNGOS (#6214)
Read detection_range values from creature_template
2021-07-08 18:01:27 +02:00
Cláudio Costa
440b120e04 fix(Scripts/Spell): Victory Rush spammable ability (#6662) 2021-07-06 15:17:51 +02:00
Hacki95
ab5ce3e372 fix(Core/Script): Molten Core: Gehennas (#5680)
Co-authored-by: @T1ti
Co-authored-by: @sanctum32
2021-07-05 00:12:35 +02:00
Hacki95
476dcd3eb9 fix(Core/Script): Molten Core: Lucifron (#5655)
Co-authored-by: @sanctum32
Co-authored-by: @t1ti
2021-07-04 18:13:27 +02:00
UltraNix
0c22cae717 fix(Scripts/Quest): reward money amount of Apprentice Angler (#6431)
Fixed #5184.
2021-06-27 01:43:55 +02:00
Francesco Borzì
aa3896d52a fix(Core): Undefined symbols ArenaSpectator::HandleSpectatorSpectateC… (#6580) 2021-06-26 16:41:05 +02:00
UltraNix
6745746c99 fix(Scripts/Naxxramas): crashfix. (#6445) 2021-06-26 13:05:36 +02:00
Kitzunu
5d66e57181 chore(Core/Spell): SpellId's should always be uint32 (#6466)
* chore(Core/Spell): SpellId's should always be uint32

* Update spell_item.cpp
2021-06-25 02:11:36 +02:00
Kargatum
5991b2769a feat(Core/Scripts): split the huge scriptloader into smaller pieces (#5346)
* feat(Core/Scripts): split the huge scriptloader into smaller pieces

* AddSC_swamp_of_sorrows del

* 1

* add mod info

* 1

* 039f0e0faa

Co-authored-by: Kitzunu <24550914+Kitzunu@users.noreply.github.com>
2021-06-22 23:19:02 +02:00