Commit Graph

322 Commits

Author SHA1 Message Date
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
UltraNix
330d45bda8 fix(Core/Spells): Spells requires cast from behind victim bypass Dete… (#13499)
fix(Core/Spells): Spells requires cast from behind victim bypass Deterrence.

Fixes #13212
2022-10-29 07:18:27 -03:00
UltraNix
4ac437419f fix(Core/Units): Fixed uninitialized m_cleanDamage variable after e390087 (#13485)
fix(Core/Units): Fixed uninitialized `m_cleanDamage` variable after e390087.

Improved 252755415c
2022-10-29 07:16:26 -03:00
UltraNix
eb3f80ceff fix(Core/Spells): Implemented SPELL_HIT_TYPE_SPLIT hit type. Source: … (#13518)
fix(Core/Spells): Implemented SPELL_HIT_TYPE_SPLIT hit type. Source: TrinityCore.

Fixes #13306
2022-10-29 07:13:36 -03:00
UltraNix
e2b866dea3 fix(Core/Spells): Deep Wounds can proc off from non-physical spells. (#13494)
Fixes #13431
2022-10-23 16:51:47 -03:00
UltraNix
e390087efd feat(Core/Items): Implemented elemental weapon damage. Source: Trinit… (#13050)
...yCore.
2022-10-08 14:34:52 -03:00
UltraNix
0ae8790956 fix(Core/Creatures): Renamed CREATURE_FLAG_EXTRA_DONT_CALL_ASSISTANCE to CREATURE_FLAG_EXTRA_IGNORE_ASSISTANCE_CALL (#13130) 2022-10-06 00:18:05 -03:00
Angelo Venturini
ad4ce0895f fix: Qaston revert (#13320)
* Revert "fix(Core/QAston): fixed shields oneshotting (#13271)"

This reverts commit e05f61d1b3.

* Revert "fix(Core): Crash (#13292)"

This reverts commit a818bcf3e2.

* Revert "fix: Crash (#13241)"

This reverts commit be423a91b5.

* delete sql

* Revert "refactor(Core/Spells): Implement QAston Proc System (#11079)"

This reverts commit cbd3fd0967.

* add sql revert

* fix sql

* remove update from world.updates
2022-10-05 21:53:20 +02:00
Angelo Venturini
e05f61d1b3 fix(Core/QAston): fixed shields oneshotting (#13271)
* fix(Core/QAston): fixed shields oneshotting

* fix build
2022-10-04 19:37:48 +02:00
Angelo Venturini
a818bcf3e2 fix(Core): Crash (#13292) 2022-10-04 07:38:12 -03:00
Angelo Venturini
be423a91b5 fix: Crash (#13241) 2022-10-03 16:14:43 -03:00
IntelligentQuantum
cbd3fd0967 refactor(Core/Spells): Implement QAston Proc System (#11079)
* .

* sql

* .

* .

* 1

* 2

* 3

* 4

* 5

* 6

* 7

* 8

* 9

* 10

* 11

* 12

* 13

* 14

* 15

* Update spell_item.cpp

* Update Unit.cpp

* 16

* 17

* 18

* 19

* 20

* 21

* Update Unit.cpp

* REVERT UltraNIX Commit

* 22

* 23

* .

* .

* .

* warrior

* warlock

* shaman rogue priest paladin mage

* spell item

* hunter

* druid

* dk

* war

* error style

* Update rev_1647677899565690722.sql

* Update rev_1647677899565690722.sql

* Update rev_1647677899565690722.sql

* .

* DOND DEL ME WAD DO DO

* error 2

* .

* .

* .

* FIX

* Update SpellInfoCorrections.cpp

* Update SpellInfoCorrections.cpp

* .

* ja genau

* Update .gitignore

* .

* .

* .,

* .

* .

* .

* .

* Update Unit.cpp
2022-10-02 19:39:34 +02:00
Maelthyr
1f472bddd3 refactor(Core/Combat): Code style and improvement of ThreatMgr (#12992) 2022-09-25 15:20:34 -03:00
schell244
f75aceb9a9 fix(Core): Small improvements for weapon/defence skill handling (#12253)
* Improve weaponskill handling

* replace pvp check TYPEID_PLAYER with IsCharmedOwnedByPlayerOrPlayer

* remove no longer needed pvp checks

* move pvp check back to ProcDamageAndSpellFor()

* rename plevel -> playerLevel, add LOG to verify increase chances

* fix issue due to negative value in uint

* revert change which allowed blocked attacks to increase weapon skill

Co-authored-by: schell244 <>
2022-09-21 09:09:26 -04:00
UltraNix
a5ab96c79d fix(Scripts/Spells): Finger of Frost Shatter Combo. (#13006) 2022-09-19 00:46:17 -03:00
ZhengPeiRu21
1ddd884d6a feat(Core): Implement SP Bonus Coefficients from DBC (#12562)
* cherry-pick commit (1826437c09)

* Co-authored by: ariel- <ariel-@users.noreply.github.com>

* feat(Core): Implement SP Bonus Coefficients from DBC

* Several coefficient corrections

* Fix spell_dru_lifebloom
2022-09-17 11:09:04 +02:00
UltraNix
84552b53da fix(DB/Spells): Added 500ms cooldown to Flurry proc. (#13002) 2022-09-13 22:20:47 -03:00
Angelo Venturini
fa825ec419 fix(Core/TempleOfAhnQiraj): Twin emperors rewrite (#12855) 2022-09-06 21:33:51 -03:00
SoglaHash
11086c89f9 fix(Core/Unit): DualWield Off-hand hit penalty (#12906) 2022-09-06 21:01:29 -03:00
UltraNix
db760ee2ed fix(Core/Spells): Nature's Swiftness should not be consumed by instan… (#12816)
...t spells.
2022-08-27 20:14:46 -03:00
UltraNix
a29926d52f fix(Core/Spells): Fixed Rejuvenation healing amount increased by Idol… (#12812)
... of Rejuvenation and Harold's Rejuvenating Broach.
2022-08-27 20:11:33 -03:00
UltraNix
76f976fd80 fix(Core/Creatures): Implemented CREATURE_FLAG_EXTRA_DONT_CALL_ASSISTANCE extra flag. (#12802)
* fix(Scripts/AhnQiraj): Rajaxx wave mobs should not chain-aggro each other.

Fixed #12745

* Update.
2022-08-21 10:45:10 -03:00
Maelthyr
d0d1671745 feat(Core/Debug): GetDebugInfo implementation (#12705)
Cherry-pick: 9a924fb9d5

Co-authored-by: jackpoz <giacomopoz@gmail.com>

Co-authored-by: jackpoz <giacomopoz@gmail.com>
2022-08-15 09:43:41 -03:00
UltraNix
22494532ce fix(Core/Spells): Fixed Druid T3 8P bonus. (#12598) 2022-08-05 21:33:59 -03:00
M'Dic
825db0f8c1 update (core): Knock Back Helpers (#12639)
Adds knock back helpers to the core for future core and module use.
2022-08-05 20:15:58 -04:00
UltraNix
e2c4c5a5dc fix(Core/Spells): Volley should suspend auto-shot. (#12596) 2022-08-05 21:07:03 -03:00
Nefertumm
c806c62c62 fix(Core/Spells): Crashfix (#12609) 2022-08-03 09:05:24 -03:00
UltraNix
c19d6b74e9 fix(Core/Spells): Make sure that attacker is always in combat with it… (#12516)
fix(Core/Spells): Make sure that attacker is always in combat with its victim when dealing damage/generating threat done by spells.

Fixes #10801
2022-07-25 16:34:21 -03:00