Commit Graph

300 Commits

Author SHA1 Message Date
IntelligentQuantum
11a734bf2b refactor(Core/Scripts): Spell To Scripts (#9718) 2021-12-21 11:13:45 -03:00
Francesco Borzì
cbc7e5466a refactor(Core): remove unused imports (#9767) 2021-12-19 19:41:14 +01:00
Skjalf
e5d650c5f3 fix(Core/Spells): Only check GO state for doors when using SPELL_EFFECT_OPEN_LOCK (#9778)
buttons and other object types may expect other states in order to operate correctly
2021-12-19 10:15:15 -03:00
Kitzunu
89a1b5c9f4 fix(Core/Spells): Implement SPELL_AURA_PERIODIC_TRIGGER_SPELL_FROM_CL… (#9615)
* fix(Core/Spells): Implement SPELL_AURA_PERIODIC_TRIGGER_SPELL_FROM_CLIENT

* cherry-pick commit (b3b7f0761d)

* fix build
2021-12-16 20:29:33 -03:00
Kitzunu
cbdc39ce1e fix(Core/Spells): Implement SPELL_EFFECT_FORCE_CAST_2 (#9613)
* cherry-pick commit (5cdc870acc)
2021-12-15 21:46:16 -03:00
UltraNix
d87d0a2ae8 fix(Core/Pets): Improved Revive Pet should affect dead despawned pet. (#9625)
* fix(Core/Pets): Improved Revive Pet should affect dead despawned pet.

Fixes #9589
2021-12-15 05:32:16 -03:00
UltraNix
658a7c2b56 fix(Core/Spells): Do not apply diminishing return on spells casted by mobs. (#9536)
Fixes #9028
2021-12-14 15:17:44 -03:00
UltraNix
4e70e60427 fix(Core/Spells): Properly handle pet spell auras with infinity cooldown. (#9576)
Fixes #9339
2021-12-12 11:43:22 -03:00
Skjalf
2d55974c0c Revert "fix(Core/Spells): Forward core changes (#8841)" (#9631)
This reverts commit 85d2c39a48.
2021-12-10 15:31:48 +01:00
UltraNix
e5cbba1c4c fix(Core/Spells): Melee spells are not affected by cast haste modifiers. Source: TrinityCore. (#9501)
Fixes #5136
2021-12-10 01:21:49 -03:00
UltraNix
52d8e1b68a fix(Core/Spells): Channeled destination spells should not interrupt flag capturing. (#9472)
Fixes #9225
2021-12-09 23:45:01 -03:00
acidmanifesto
85d2c39a48 fix(Core/Spells): Forward core changes (#8841) 2021-12-09 18:24:16 -03:00
UltraNix
52d4c43bcf fix(Core/Spells): Damage spell modifiers do not affect wands. (#9418)
Fixes #9130
2021-12-09 08:11:58 -03:00
Malcrom
e8481791e0 fix(Core/Spell) Green Beam spells should only hit one target (#9593)
* fix(Core/Spell) Green Beam spells should only hit one target

* Update SpellMgr.cpp

Co-authored-by: acidmanifesto <joshua.lee.betts@gmail.com>
2021-12-08 19:48:32 +01:00
IntelligentQuantum
1f645099b6 fix(Core/Spells): Steady Shot now deals the correct damage when using Heirloom Weapons. 2021-12-06 21:54:52 -03:00
Kargatum
51adbffae4 feat(Core/Modules): add separated lib for modules (#9281) 2021-12-02 20:28:58 +07:00
Kitzunu
f9337497d8 chore(Core/Auras): Clean up Aura::CanBeSaved() (#9343) 2021-11-30 13:03:04 -03:00
UltraNix
8d579b54ea fix(Core/Pets): Master Demonologist should not be removed on pet resummon. (#9317)
Fixes #8994
2021-11-30 07:03:04 -03:00
Kitzunu
201fb580a4 fix(Core/Auras): Set proper displayId for mounts that changes dependi… (#9342)
* fix(Core/Auras): Set proper displayId for mounts that changes depending on your Riding skill and location with more than one modelId

* cherry-pick commit (a5b8e167dd)

Co-Authored-By: Gildor <521036+Jildor@users.noreply.github.com>

* codestyle

Co-authored-by: Gildor <521036+Jildor@users.noreply.github.com>
2021-11-29 20:57:38 -03:00
UltraNix
c36168c604 fix(Core/Spells): Fixed calculating damage/healing pct auras on aura refresh. (#9316)
Fixes #8962
2021-11-29 20:36:48 -03:00
UltraNix
5d544f6001 fix(Core/Spells) T9 2p Hunter bonus vs Mortal Shots. (#9246)
Fixed getting bonus damage from critical strikes for melee/ranged DoT spells.
Fixes #8859
2021-11-29 13:46:49 -03:00
IntelligentQuantum
ab761c9865 fix(Core/Player): prevent crash exploit spam duel starting (#9226) 2021-11-28 16:42:53 -03:00
UltraNix
d667906040 fix(Core/Spells): Increased Arcane Bolt effect radius to 40 yards. (#9217)
Fixes #8930
2021-11-28 05:29:53 -03:00
acidmanifesto
29f49108a5 chore(Core): Remove unnecessary slang Cosmetic (#9325)
* Remove unnecessary slang

Removes ZOMG! that is used in the src in logging and notes. Completely Unnecessary. Contributes to nothing useful. Inflates source. Not needed at all in any shape or form. Not Developer Lingo either.

* Further Clean Up

Removed Profanity

* sensible grammar correction

* More ZOMG! removal
2021-11-25 04:31:54 -03:00
UltraNix
647c91605c fix(Core/Spells): Autoshot should not interrupt Volley (#9202)
- Closes #8883
2021-11-23 20:13:06 +01:00
Kargatum
f62664c987 refactor(Core/Misc): headers cleanup (#9259) 2021-11-22 17:24:39 +07:00
IntelligentQuantum
92b3617f63 fix(Core/Spells): Item Fresh Brewfest Hops (#8010) 2021-11-21 10:50:03 -03:00
UltraNix
79ad100017 Revert "fix(Core/Spells): Lowered Magmadar Panic's effect radius to 30 yards. (#9227)" (#9266)
This reverts commit 31de71bf3b.
2021-11-21 00:37:51 -03:00
UltraNix
02aaa3d17f fix(Core/Spell): Add Dual Wield skill dependency to Dual Wield effect, sho… (#9162)
* Core/Spell: Add Dual Wield skill dependency to Dual Wield effect, should remove the skill properly when unlearning spell. Source: TrinityCore.

Fixes #8882
2021-11-20 23:44:44 -03:00
Kitzunu
6a430cd2f9 fix(Scripts/Misc): Replace some AddItem/CreateItem with spells (#9006)
Co-authored-by: offl <11556157+offl@users.noreply.github.com>
2021-11-20 09:59:52 -03:00
UltraNix
31de71bf3b fix(Core/Spells): Lowered Magmadar Panic's effect radius to 30 yards. (#9227)
Fixes #9115
2021-11-19 05:44:43 -03:00
UltraNix
02ae2ed3f9 fix(Core/Spells): Flamewaker's Sunder Armor should be single stack. (#9228) 2021-11-19 05:25:27 -03:00
UltraNix
70fbaefa8e fix(Core/Movement): creatures should not cast while moving (#9141)
- Closes #8843
2021-11-15 14:39:36 +01: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
Francesco Borzì
1cd8c43447 fix(CI): revert sleep + fix shadowing variable issue (#9106) 2021-11-10 10:18:40 +01:00
Francesco Borzì
acf6aab247 fix(CI): trigger builds on C++ changes (#9103) 2021-11-10 10:08:52 +01:00
Kitzunu
a062653c0e chore(Script/ApplySpellFix): Correct some comments (#9001) 2021-11-08 13:46:11 -03:00
UltraNix
e55a93eec8 Core/Spells: Triggered spells should not cause players to stand up (#8986)
- Closes #8764
2021-11-07 20:41:25 +01:00
UltraNix
b00e9072b4 fix(Core/Spells): Troll Roof Stalker's Stealth and Ashenvale Outrunne… (#8984)
- Closes #8727
2021-11-07 20:41:07 +01:00
Andrius Peleckas
3ce64b0f01 feat(Core/Spells): implement two new custom attributes to handle aura saving rule (#8377) 2021-11-05 15:56:45 +01: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
Kitzunu
26ff29a1a0 fix(Core/Spell): Implement SPELL_ATTR7_BYPASS_NO_RESURECTION_AURA (#7859)
Co-authored-by: stoneharry <3818405+stoneharry@users.noreply.github.com>
2021-10-27 08:29:11 -03:00
Skjalf
041b327c80 fix(Core/GameObject): Spawn linked traps when gameobjects are created (#8572) 2021-10-26 22:15:30 -03:00
UltraNix
c69e309681 fix(Core/Spells): Devastate vs Glyph of Sunder Armor. (#8705)
Fixes #8506
2021-10-24 23:31:19 -03:00
acidmanifesto
0df821cbb0 chore(Core): Code Reduction dealing with Logging, (Cosmetic only). (#8686) 2021-10-24 22:33:16 -03:00
UltraNix
3cddfb84c1 feat(Core/Spells): Implemented SPELLVALUE_AURA_DURATION. (#8690)
- Closes #8505
2021-10-24 23:06:57 +02:00
Ragelezz
416e8d2cbf fix(Core/Spells): Spirit of Kirith spell summon duration adjusted (#8680) 2021-10-24 12:03:07 +02:00
UltraNix
cab3992d0f fix(Core/Spells): SPELL_AURA_PROC_TRIGGER_DAMAGE auras should not proc if target is immuned (#8675)
- Closes #8461
2021-10-24 12:02:47 +02:00
UltraNix
16a54fdeac fix(Core/Spells): Polymorphed targets should call assistance. (#8674)
Fixes #8413
2021-10-24 02:58:54 -03:00