Commit graph

349 commits

Author SHA1 Message Date
M'Dic
8aa2a2ac0f
chore (core): Clean up (#15977)
* chore (core): Clean up

* Update SmartScript.cpp

* more clean up

* Update boss_xt002.cpp
2023-04-16 21:04:56 -04:00
Kitzunu
5a55cb9522
fix(Core/Spell): Remove channeled auras when caster and target are no… (#15419)
fix(Core/Spell): Remove channeled auras when caster and target are not on the same map

* Chery-pick commit (d23c839998)

Co-authored-by: Shauren <shauren.trinity@gmail.com>
2023-04-02 15:36:13 -03:00
UltraNix
1acbb9ee53
fix(Core/Spells): Fixed Spiritual Attunement not working with partial… (#15767)
fix(Core/Spells): Fixed Spiritual Attunement not working with partial overheals.

Fixes #14430
2023-04-02 10:13:16 -03:00
UltraNix
d4f8134b3b
fix(Core/Spells): Lightning Overload should not proc off from itself. (#15595)
Fixes #15499
2023-03-29 01:28:00 -03:00
UltraNix
7035e87543
fix(Core/Spells): Shadow Word: Death vs critters. (#15594)
Fixes #14299
2023-03-29 01:27:17 -03:00
M'Dic
826ac63af3
revert (core): Dismount helper (#15544)
* Revert "add (core): Dismount Helper (#15511)"

This reverts commit 1d5092d37f.

* Revert "add (core): Dismount Helper (#15511)"

This reverts commit 1d5092d37f.
2023-03-22 12:02:11 -04:00
avarishd
2e4d19a42f
fix(Core/Spells): Add more exceptions to Aura of Despair. (#15231)
* fix(Core/Spells): Add more exceptions to Aura of Despair.

* Remove mana shield, works on Animus aoe...

Probably needs more work to proc only on searing flames, and not on profound darkness.
2023-03-21 18:32:39 -03:00
M'Dic
1d5092d37f
add (core): Dismount Helper (#15511) 2023-03-20 13:26:16 -04:00
UltraNix
b21f98d639
fix(Scripts/Karazhan): Chess Event. (#14736) 2023-03-15 00:07:49 -03:00
UltraNix
73652d4e65
fix(Core): Crashfix. (#15338) 2023-03-11 13:20:31 -03:00
UltraNix
ac0581bd43
fix(Core/Pet): Fixed set hunter pet's speed on load. (#15206) 2023-03-04 17:41:10 -03:00
Angelo Venturini
428f8e0aaa
fix: Crash on unit charm (#15256) 2023-03-04 12:31:05 -03:00
AnchyDev
50cd58e1a4
fix(Core/Hook): Call OnUnitDeath for all unit types. (#15213) 2023-02-26 19:49:34 -03:00
Skjalf
fff0e17133
fix(Core/Cooldown): Implement spell cooldown overrides to address cha… (#15143) 2023-02-22 23:00:18 -03:00
Kitzunu
bd6034e1a9
refactor(Core/AI): Some more refactoring prep for Comat Threat system… (#15026)
Co-authored-by: Treeston <14020072+Treeston@users.noreply.github.com>
2023-02-13 21:39:40 +01:00
Skjalf
bdc70d8219
Revert "fix(Core/Unit): Fix creatures not being able to cast spells d… (#14987) 2023-02-13 08:54:51 -03:00
Kitzunu
f039836a2f
chore(Core/Misc): Change all TODO to doxygen comment (#14966) 2023-02-12 10:05:34 -03:00
Skjalf
68c38226ed
fix(Core/Unit): Fix creatures not being able to cast spells during Ju… (#14957) 2023-02-12 00:31:23 -03:00
Skjalf
2aeeee9c83
fix(Core/Spells): Remove all hardcoded restrictions for pick pocket sp… (#14788)
Co-authored-by: Shauren <shauren.trinity@gmail.com>
2023-01-29 12:12:21 -03:00
Skjalf
bf30c66ba4
feat(Core/GameObject): Expand IsSummonedBy() to GameObjects (#14789)
Co-authored-by: jackpoz <giacomopoz@gmail.com>
2023-01-29 09:44:33 -03:00
UltraNix
9ce8b8cf29
fix(Core/Players): Fixed sending power regen update to nearby players. (#14043) 2023-01-28 11:03:56 +01:00
UltraNix
7f7a2f5a92
fix(Core/Creatures): Critters should start fleeing upon entering comb… (#14253) 2023-01-28 11:01:43 +01:00
UltraNix
9b59f35cb8
fix(Core/Spells): Fixed Master of Elements not refunding mana. (#14665) 2023-01-28 10:59:25 +01:00
UltraNix
4e01b95777
fix(Core/Combat): Pets should put their owners in combat only on init… (#14682) 2023-01-28 10:57:52 +01:00
NinjaPleezAC
716a822b48
fix(Core/Unit): Petrified Lichen Guard effect (#14436)
Co-authored-by: NinjaSoftworks <121171014+NinjaSoftworks@users.noreply.github.com>
2023-01-26 14:58:12 -05:00
UltraNix
1de52e5570
fix(Core/Formations): Implemented new creature formation flag: GROUP_… (#14537)
fix(Core/Formations): Implemented new creature formation flag: GROUP_AI_FLAG_ACQUIRE_NEW_TARGET_ON_EVADE.

Fixes #14494
2023-01-19 20:08:51 +01:00
UltraNix
9ba464a12b
fix(Core/Spells): Fixed applying some proc ex flags to melee attacks. (#14254)
Fixes #14216
2023-01-07 20:30:01 +01:00
Gultask
6b4ef50e7a
Revert "fix(Core/Spells): Ignite and Revitalize should not prelong co… (#14513)
Revert "fix(Core/Spells): Ignite and Revitalize should not prelong combat. (#13812)"

This reverts commit 96fa9c5c7b.
2023-01-05 23:14:56 -03:00
UltraNix
96fa9c5c7b
fix(Core/Spells): Ignite and Revitalize should not prelong combat. (#13812)
Fixes #13330
2023-01-06 00:50:53 +01:00
Gultask
b4080ed0f1
revert "fix(Core/Formations): Implemented new creature formation flag: GROUP_AI_FLAG_ACQUIRE_NEW_TARGET_ON_EVADE." (#14494) 2023-01-04 14:44:42 +01:00
Angelo Venturini
9e18b86311
fix(Core/Auras): SPELL_AURA_MOD_SCALE should scale additively instead… (#14425)
...multiplicatively

Co-authored-by: Shauren <shauren.trinity@gmail.com>
2023-01-02 20:43:20 -03:00
Mickaël Mauger
24fa3ba828
fix(MMAP/core/PathGenerator): Try to fix more water creatures (#13705)
Co-authored-by: jackpoz <giacomopoz@gmail.com>
2023-01-02 22:26:12 +01:00
UltraNix
af2d3a7cfc
fix(Core/Spells): Spellmods should not drop charges if not consumed b… (#13498) 2023-01-02 20:36:44 +01:00
Kitzunu
4870b14b1f
refactor(Core/Object): getLevel() -> GetLevel() (#14122)
* refactor(Core/Object): getLevel() -> GetLevel()

* fix build and sneak some doxygen in

* codeSTLE

* codestyle
2022-12-31 17:39:23 +01:00
M'Dic
2850052f3e
Add (core): SendTeleportPacket helper (#14389)
* Add (core): SendTeleportPacket helper

add helper to SendTeleportPacket

* sin hard
2022-12-28 13:05:46 -05:00
UltraNix
233d284539
fix(Core/Formations): Implemented new creature formation flag: GROUP_AI_FLAG_ACQUIRE_NEW_TARGET_ON_EVADE. (#13509)
Fixes #13394
2022-12-27 11:31:08 +01:00
UltraNix
962cefdcd8
fix(Core/Misc): Consider /dance as an emote state. (#14275) 2022-12-22 07:38:09 +01:00
UltraNix
069864cda9
fix(Core/Spells): Fixed auras with `AURA_STATE_HEALTH_ABOVE_75_PERCEN… (#14110)
fix(Core/Spells): Fixed auras with `AURA_STATE_HEALTH_ABOVE_75_PERCENT` state.

Fixes #14102
2022-12-12 13:56:53 +01:00
Skjalf
790f444ffa
fix(Core/Unit): properly reset displayIds when having a shapeshift au… (#14134)
Co-authored-by: Ariel Silva <ariel-@users.noreply.github.com>
2022-12-11 20:13:12 -03:00
Angelo Venturini
4992940453
fix(Core/Auras): Implement Roc form (#13959)
Co-authored-by: Ariel Silva <ariel-@users.noreply.github.com>

Co-authored-by: Ariel Silva <ariel-@users.noreply.github.com>
2022-12-11 10:58:20 -03:00
UltraNix
2dcf38a847
fix(Core/Players): Fixed awarding kill credit while being on vehicles. (#13944)
Fixes #12849
2022-12-06 12:49:19 -03:00
UltraNix
7e4c688476
fix(Core/Units): Do not stun players during taxi flight. (#13798)
Fixes #13654
2022-11-21 06:13:50 -03:00
UltraNix
ae84bf67c4
fix(Core/Spells): Fixed Glyph of Kilrogg. (#13802)
Fixes #13623
2022-11-16 01:26:05 -03:00
UltraNix
c1bb1d47f9
fix(Core/Creature): Prevent flying creatures from falling on respawn. (#13774) 2022-11-12 13:24:12 +01:00
Skjalf
b129626ee3
fix(Core/Unit): Prevent CTM rooted flag from being removed on aura ex… (#13732)
fix(Core/Unit): Prevent CTM rooted flag from being removed on aura expiration
2022-11-08 05:44:32 -03:00
Skjalf
bb9e80ded1
fix(Core/Unit): Exclude Sword Specialization and Hack and Slash from … (#13706)
* fix(Core/Unit): Exclude Sword Specialization and Hack and Slash from the extra attack range check

* fix  logic
2022-11-05 15:04:02 -03:00
Skjalf
8b7fb759c2
feat(Core/Scripting): Expand ModifySpellDamageTaken() to include the … (#13707)
feat(Core/Scripting): Expand ModifySpellDamageTaken() to include the spell data
2022-11-05 12:39:58 -03:00
Skjalf
e5ff59ec17
fix(Core/Unit): Check if the unit is within melee range before proces… (#13697)
fix(Core/Unit): Check if the unit is within melee range before processing extra attack procs
2022-11-04 19:27:02 -03:00
Skjalf
ef8d7f4ed9
feat(Core/Scripting): Implement OnAuraApply() hook for unitscripts (#13658)
* feat(Core/Scripting): Implement OnAuraApply() hook for unitscripts

* fix build

* Update ScriptMgr.h
2022-11-02 22:34:52 -03:00
Skjalf
ab3548e2e4
feat(Core/Scripting): Expand ModifyHealReceived() to also include hea… (#13655)
feat(Core/Scripting): Expand ModifyHealReceived() to also include healing over time
2022-11-02 19:19:17 -03:00