Commit Graph

355 Commits

Author SHA1 Message Date
M'Dic
7e58650cf5 revert(Core): ChrRace.dbc full implementation (#16114)
* revert (core): ChrRace.dbc full implementation

we revert this due to several issues arrising. Although the dbc reading is done in full and correctly. Azerothcore relied on the original handling (althought not propper) for so long that  there is

* revert

* Update remove_charrace_dbc.sql

* Update remove_charrace_dbc.sql

* Update remove_charrace_dbc.sql
2023-04-29 08:23:11 -03:00
M'Dic
a238e5e27b fix(core\player): Missing combat animation (#14199) 2023-04-29 12:27:13 +02:00
M'Dic
3eae4c5713 fix(core/dbc): improve ChrRace DBC handling (#14843)
Cherry pick of https://github.com/TrinityCore/TrinityCore/pull/24508

Co-authored-by: HelloKitty <5829095+HelloKitty@users.noreply.github.com>
2023-04-28 01:29:33 +02:00
UltraNix
790417b1b1 fix(Core/Spells): Fixed somed Druid idols not being modified by spell… (#15452)
fix(Core/Spells): Fixed somed Druid idols not being modified by spell power coefficients.

Fixes #14479
2023-04-22 10:08:01 -03:00
Gultask
b86cf11499 fix(Core/Creature): Adjust IGNORE ASSISTANCE CALL flag to prevent assistance on initial aggro only (#16046)
init
2023-04-20 18:16:31 -03:00
AnchyDev
570c0e8498 fix(Core/Hook): Fix OnAuraRemove not being called for owned auras. (#15930)
* Fix OnAuraRemove hook not being called for owned auras.

* Removed OnAuraRemove from multiple places and moved to singular call.
2023-04-17 22:10:57 -03:00
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