Commit Graph

140 Commits

Author SHA1 Message Date
Kitzunu
4fc673dc4a fix(Script/Spells): validate all rogue spells (#9164) 2021-11-17 17:20:24 +01:00
Kitzunu
03c84db04d fix(Script/Spells): Validate Warlock spells (#9181) 2021-11-14 01:48:16 -03:00
Kitzunu
959ee62efe fix(Script/Spells): Validate Warrior spells (#9182) 2021-11-14 01:19:52 -03:00
Kitzunu
0850dea4df refactor(Scripts/Spells): convert spell_item into new system (#9057)
* refactor(Scripts/Spells): convert spell_item into new system

* fix build

* fix return
2021-11-13 13:01:38 +01:00
Kitzunu
743636c416 fix(Scripts/Spell): don't allow to tame an already owned creature (#9005) 2021-11-13 01:00:30 +01:00
Kitzunu
87a6d224ec refactor(Scripts/Spells): convert spell_generic into new system (#9044)
* refactor(Scripts/Spells): convert spell_generic into new system

* whitespace

* fix build
2021-11-13 00:18:05 +01:00
UltraNix
4046b55c57 fix(Core): Crashfix. (#9157) 2021-11-12 18:05:38 -03:00
Skjalf
3240d27d6f fix(Scripts/Spells): Holiday food items should give their buff after 10 seconds, not when the eating aura expires (#9132) 2021-11-12 11:14:10 -03:00
sschepens
b7f8083915 feat(Core/Misc): change how Position struct is retrieved (#9017)
Update Position::GetPosition() and similar methods signatures to reflect 2a4c9bc changes by return a Position object instead of accepting a Position parameter by reference.

Cherry pick of 2585e799f9
2021-11-10 23:43:00 +01:00
Kitzunu
834cfecc4f refactor(Scripts/Spells): convert spell_warrior into new system (#9068) 2021-11-09 11:45:50 +01:00
Kitzunu
7c1fb0b088 refactor(Scripts/Spells): convert spell_warlock into new system (#9066) 2021-11-09 11:45:43 +01:00
Kitzunu
9b72a0a0e1 refactor(Scripts/Spells): convert spell_shaman into new system (#9065) 2021-11-09 11:45:35 +01:00
Kitzunu
2dc126b0df refactor(Scripts/Spells): convert spell_quest into new system (#9064) 2021-11-09 11:45:27 +01:00
Kitzunu
ebfa8878c1 refactor(Scripts/Spells): convert spell_priest into new system (#9063) 2021-11-09 11:45:19 +01:00
Kitzunu
a5a29652d3 refactor(Scripts/Spells): convert spell_paladin into new system #9058 (#9061) 2021-11-09 11:45:11 +01:00
Kitzunu
ef0bbc4c7b refactor(Scripts/Spells): convert spell_mage into new system (#9058) 2021-11-09 11:44:37 +01:00
Kitzunu
af02a8990a refactor(Scripts/Spells): convert spell_hunter into new system (#9047) 2021-11-09 11:44:16 +01:00
Kitzunu
6654b98312 refactor(Scripts/Spells): convert spell_hunter into new system (#9045) 2021-11-09 11:44:01 +01:00
Kitzunu
cbc655abf7 refactor(Scripts/Spells): convert spell_druid into new system (#9043) 2021-11-09 11:43:36 +01:00
Kitzunu
7d22d8219c refactor(Scripts/Spells): convert spell_dk into new system (#9042) 2021-11-09 11:43:27 +01:00
Nefertumm
4cad90be86 fix(Core/Spells): Potential crashes in spell_generic and spell_item (#8810) 2021-11-09 07:10:03 -03:00
Nefertumm
babb7d6c69 fix(Core/Spells): Exploit with silithyst aura (#9014) 2021-11-06 23:51:54 -03:00
acidmanifesto
8ac01da463 fix(Spell/Core): Prayer of Mending Heal not smart Healing [TC Cherry Pick] (#8753)
Co-authored by @Keader
2021-11-04 18:24:24 +01:00
Malcrom
f106de8788 refactor(Core): update getFaction to GetFaction and setFaction to SetFaction (#8708) 2021-11-01 17:04:32 +01:00
Skjalf
27659d11a3 fix(Scripts/Spells): Blessing of Ancient Kings crash (#8871) 2021-11-01 13:28:35 +01:00
Francesco Borzì
469c572d60 fix(Scripts/SpellHunter): prevent crash in spell_hun_readiness (#8847) 2021-10-31 08:20:51 +01:00
Nefertumm
7c363c9040 fix(Core/Crashfix): Add nullptr checks for Blood Draining enchant (#8778) 2021-10-28 06:23:29 -03:00
UltraNix
04aac67970 fix(Scripts/Hunter): Fixed freeze while using Readiness. (#8709)
Fixes #8513
2021-10-26 05:17:00 -03:00
Nefertumm
5f28d35c37 fix(Core/Spell): Recall destination for Insignia trinkets using CFBG (#8679) 2021-10-24 12:04:24 +02:00
UltraNix
96441a91dc fix(Core/Spells): Auras triggered by talents/glyphs should be removed on respec. (#8671)
Fixes #8543
2021-10-24 01:23:04 -03:00
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