Commit Graph

110 Commits

Author SHA1 Message Date
Ragelezz
6baf498a17 fix(Core/Spells): Silithyst (#8656) 2021-10-22 13:40:57 +02:00
UltraNix
db0c27fe43 fix(Core/Combat): Removed some invalid code about auto-acquiring a nearby target if primary target is not detectable by creature. (#8624)
Spells with sanctuary always delete hostile references (if not during encounter).
Update visibility should be always forced in case of invisibility/stealth auras.
Restored old Shadowmeld code.
Fixes #4764
Fixes #7125
2021-10-21 15:54:36 -03:00
UltraNix
cbabc54659 fix(Scripts/Spells): Fixed Enrage armor reduce part. Source: TrinityCore. (#8625)
Fixes #8623
2021-10-21 15:48:49 -03:00
Skjalf
fa832e5da0 fix(Scripts/Spells): fix a crash with resto shaman's t10 chain heal procs (#8614) 2021-10-19 03:48:33 -03:00
Kitzunu
bc82f36f1f refactor(Core/Unit): clean MonsterText methods (#6957) 2021-10-15 10:25:29 +02:00
Skjalf
476d085aa4 fix(Scripts/Spells): Fix Lock and Load proc from Frost Trap (#8441) 2021-10-15 00:49:15 +07:00
jestermaniac
d4c4608db8 fix(Scripts/Spells): Linken's boomerang (#8179)
* fix(Scripts/Spells): Linken's boomerang

* Update rev_1633027575141830731.sql
2021-10-14 13:25:16 +02:00
Skjalf
e458ab0d5f fix(Scripts/Spells): Fix pets not being resurrected by BG Spirit Healers (#8421) 2021-10-12 22:56:00 -03:00
Skjalf
dd34d7e138 fix(Script/Spells): Summon Shy-Rotam (#8382)
* Move creature summon script to core spell scripts from event_scripts
* Fixes it not engaging player when summoned
2021-10-11 00:15:06 +02:00
Skjalf
1e57b6fb99 fix(Core/Spells): add several missing null checks for the DamageInfo struct to fix a crash (#8322) 2021-10-10 16:07:14 +02:00
UltraNix
66809383d1 fix(Core/Spells): add several missing null checks for the DamageInfo struct to fix a crash - Part II. (#8376) 2021-10-10 15:56:42 +02:00
Skjalf
99cc428511 fix(Core/Spells): Improved Drain Soul triggering from every target … (#8144)
...that dies and not just the one affected by Drain Soul and move the Drain Soul code to spell scripts

- TC Ports: d9743c984f (diff-ea612aafadff90005e88b243eb000369be9e5cb6f8dc85a008d31e42b156e0ec) and  2b1b36f561 (diff-ea612aafadff90005e88b243eb000369be9e5cb6f8dc85a008d31e42b156e0ec)
2021-10-07 18:58:46 +02:00
UltraNix
3223f90bcb feat(Core/Spells): add helper to get clean and unmitigated damage for pro… (#7244) 2021-10-05 23:59:57 +02:00
Skjalf
a61d7c2bc8 fix(Core/Spells): correct hunter's Lock and Load procs (#8177)
- Move related code to spell scripts
- Fixes it proc'ing when the target is immune to snares
- Partial port of 746b838870
2021-10-04 15:49:16 +02:00
Kargatum
52aa0e9966 feat(License): add new headers information about license (#7941)
Co-authored-by: Francesco Borzì <borzifrancesco@gmail.com>
2021-09-30 13:40:52 +07:00
jestermaniac
1dd53b17f9 fix(DB/Spells): Contagion of rot (#8021)
Co-authored-by: John Smith <mostdefinitelyanagger@outlook.com>
2021-09-27 23:21:51 +02:00
UltraNix
86c5511e7b fix(Scripts/Spells): Fixed never-ending Victorious state proc off from Victory Rush. (#7856)
Fixes #7628

Co-authored-by: Stefano Borzì <stefanoborzi32@gmail.com>
2021-09-19 16:07:47 +02:00
jestermaniac
a8ca50fc47 fix(Scripts/Items): Powerful Anti-venom (#7854) 2021-09-18 14:45:55 -06:00
IntelligentQuantum
fec27d8d8a fix(Core/Spell): Warlock Banish (#7832) 2021-09-16 17:10:54 +02:00
Kitzunu
2f449326e0 refactor(Core): Rename ...Manager to ...Mgr (#6910)
* Rename MapManager.h to MapMgr.h

* Rename BanManager.h to BanMgr.h

* Rename MapManager.cpp to MapMgr.cpp

* Rename BanManager.cpp to BanMgr.cpp

* Rename MapRefManager.h to MapRefMgr.h

* Rename ThreatManager.h to ThreatMgr.h

* Rename GridRefManager.h to GridRefMgr.h

* Rename ThreatManager.cpp to ThreatMgr.cpp

* Rename GroupRefManager.h to GroupRefMgr.h

* Rename HostileRefManager.h to HostileRefMgr.h

* Rename HostileRefManager.cpp to HostileRefMgr.cpp

* Rename MMapManager.h to MMapMgr.h

* Rename FollowerRefManager.h to FollowerRefMgr.h

* Rename VMapManager2.h to VMapMgr2.h

* Rename IVMapManager.h to IVMapMgr.h

* Rename MMapManager.cpp to MMapMgr.cpp

* Rename VMapManager2.cpp to VMapMgr2.cpp

* Rename RefManager.h to RefMgr.h

* Rename WaypointManager.h to WaypointMgr.h

* Rename WaypointManager.cpp to WaypointMgr.cpp

* Rename MPQManager.h to MPQMgr.h

* Rename MPQManager.cpp to MPQMgr.cpp

* Rename IMMAPManager.h to IMMAPMgr.h

* fix build

* Update Main.cpp

* chore(Core/Misc): Remove toxic language

* Revert "chore(Core/Misc): Remove toxic language"

* fix build

* build
2021-09-15 17:50:28 +02:00
Viste
a9796af174 fix(Core/Misc): bunch of crashfixes (#7307) 2021-09-14 14:38:56 +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
ec71301bf7 fix(Scripts/Spell): Volley should trigger pet attack in defensive mode (#7453)
- Closes #7340
2021-08-25 01:13:15 +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
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
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
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
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
Francesco Borzì
3b752dd796 refactor(Scripts/Spells): code cleanup (part 9) (#6946) 2021-07-22 01:12:28 +02:00
Francesco Borzì
f73ef1cd5a fix(Core/Unit): -Wdeprecated-enum-enum-conversion warning (#6868) 2021-07-13 11:51:58 +02:00
Cláudio Costa
440b120e04 fix(Scripts/Spell): Victory Rush spammable ability (#6662) 2021-07-06 15:17:51 +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
Kargatum
5787d00d54 chore(Core/Logging): replace most server loggers (#5726)
* chore(Core/Logging): replace most server loggers

Co-authored-by: Kitzunu <24550914+Kitzunu@users.noreply.github.com>
2021-06-21 03:07:12 +02:00
Cláudio Costa
3a30fe3d71 fix(Scripts): Victory rush killing blow (#6349) 2021-06-18 17:07:33 +02:00
UltraNix
a61bdc7b3d fix(Scripts/Spells): Seal of Command cannot be casted on dead targets (#6186)
- Closes #5517
- Closes https://github.com/chromiecraft/chromiecraft/issues/476
2021-06-09 17:56:45 +02:00
Kitzunu
a75e34c793 feat(Core/Spell): AssertSpellInfo (#6115)
* feat(Core/Spell): AssertSpellInfo

(cherry picked from commit e52878b6b5)
(cherry picked from commit 8c44259fae)
Co-Authored-By: Shauren <shauren.trinity@gmail.com>
Co-Authored-By: Giacomo Pozzoni <giacomopoz@gmail.com>

* Update SpellMgr.h
2021-06-03 07:39:48 +02:00
Kitzunu
7152ddc82c refactor(Core/Grids): Ported cmangos/mangos-wotlk@ea99457 (#6113)
* refactor(Core/Grids): Ported cmangos/mangos-wotlk@ea99457

(cherry picked from commit d6201e5dbb)
Co-Authored-By: Shauren <shauren.trinity@gmail.com>
Co-Authored-By: SilverIce <slifeleaf@gmail.com>

* Update CellImpl.h

* w

* more more brackets

* ew

* fix build
2021-06-03 05:27:51 +02:00
Kitzunu
897a02bb75 refactor(Core/Misc): acore to Acore (#6043) 2021-05-31 14:21:54 +02:00
Kitzunu
ca77a95521 fix(Core/Spell): packet build in spell_pvp_trinket_wotf_shared_cd (#6048) 2021-05-25 20:15:29 +02:00
UltraNix
6f4f0043c2 fix(Scripts): Crashfix. (#5913) 2021-05-18 02:16:59 +02:00
UltraNix
44babc3c3a fix(Core/Pooling): Fixed less and less objects from pools being spawned the longer the server is running (#5572) 2021-05-08 12:39:09 -06:00
KiK0
685b10a291 fix(Core/Spells): Berserk now removes the Tiger Fury buff. (#5481) 2021-05-07 12:45:12 +02:00
KiK0
310f856932 fix(Core/Spells): Do not allow the use of the master's call while the pet is controlled [port from TC] (#5273) 2021-04-27 15:54:58 +02:00