Commit Graph

152 Commits

Author SHA1 Message Date
UltraNix
346150c92a fix(Scripts/ZulGurub): Hakkar's Blood Siphon (#12196) 2022-07-09 11:05:09 -03:00
UltraNix
d41cf026e0 fix(Core/Spells): Fixed calculating LoS checks for spells casted by g… (#12091)
fix(Core/Spells): Fixed calculating LoS checks for spells casted by gameobjects.

Fixed #12066
2022-06-18 11:05:18 -04:00
UltraNix
f28c678c14 fix(Core/Spells): Hunter traps should not be activated by targets not… (#11971)
fix(Core/Spells): Hunter traps should not be activated by targets not in LoS.

Fixes #11432
2022-06-06 09:03:24 -03:00
UltraNix
55720eedd3 fix(Scripts/Spells): Sweeping Strikes - improvements. (#11666)
* fix(Scripts/Spells): Sweeping Strikes - improvements.

Fixes #11594

* Buildfix.
2022-05-23 05:49:56 -03:00
UltraNix
99f1cd84e2 fix(Core/Spells): Improvements to Far Sight spell: (#11683)
* fix(Core/Spells): Improvements to Far Sight spell:

Far Sight should not interrupt while casting another spell.
Corrected setting Far Sight object as an active object.
Fixed grid activation range for active dynamic objects.
When Far Sight is over, the camera be reset to player.
Enable swapping camera between Far Sight and Sentry Totem.
Fixes #6368

* Update.

* Update.
2022-05-23 04:26:51 -03:00
天鹿
0c0a2eac3b fix (core): Build Fix (#11723)
* Update Spell.cpp
2022-05-12 10:43:07 -04:00
UltraNix
0d4adf5a3e fix(Core/Spells): Blink. (#11663)
* fix(Core/Spells): Blink.

Fixes #6427
Fixes #7571

* Update.
2022-05-10 22:37:53 +02:00
IntelligentQuantum
59e45c251e fix(Core/Spell): Improvements to path generation for Charge mechanic (#11534)
It has its flaws but it can be improved and it's actually a lot better than what we currently have.
2022-04-27 20:18:44 -03:00
acidmanifesto
f2de895921 fix(core): Null check the helpers (#11476)
* fix (core): move helper

* Update Spell.cpp

* Update Unit.cpp
2022-04-22 10:11:06 -03:00
Kitzunu
90c47ca61a fix(Core/Spell): Move SelectTrajTarget log to Debug (#11465)
* closes https://github.com/azerothcore/azerothcore-wotlk/issues/6785
2022-04-21 18:22:37 +02:00
acidmanifesto
d38b6ce0db Feat: (core) Additional Helper (#11457)
* Feat: (core) Additional Helper
2022-04-21 06:06:22 -04:00
UltraNix
3d609bfd24 fix(Core/Spells): Send proper caster's guid in SMSG_SPELL_START/SMSG_SPELL_GO packets in case of spells casted originally by gameobjects. (#11337)
Added visual channeling when mind controlling Razorgore by player.
Fixes #11275
2022-04-15 12:16:02 -03:00
UltraNix
47790c9714 fix(Core/Vmaps): Stop M2s from occluding for spellcast LoS. Original autho… (#11341)
* Core/Vmaps: Stop M2s from occluding for spellcast LoS. Original authors: @Shauren & @HelloKitty

Fixes #11293

* buildfix.

Co-Authored-By: HelloKitty <5829095+HelloKitty@users.noreply.github.com>
2022-04-10 09:24:35 -03:00
Kitzunu
b709a22ddc feat(Core/Players): PlayerFlag helpers (#11294)
* feat(Core/Players): PlayerFlag helpers

* Update Player.h

* fix build
2022-04-05 18:53:50 +02:00
UltraNix
341154fee4 fix(Core/Spells): Fixed displaying runes cooldowns. (#11250)
Fixes #11186
2022-04-02 07:27:33 -03:00
UltraNix
4845086e32 fix(Core/Spells): Do not reset periodic timers for auras with multiple stacks. (#11167)
Fixes #11126
2022-04-01 07:09:48 -03:00
Kitzunu
856aed6fc6 feat(Core/Unit): New helpers for UnitFlag and UnitFlag2 (#11227) 2022-03-30 07:59:42 -03:00
Kitzunu
54c06eb72e fix(Core/Misc): Update some log errors to debug (#11225) 2022-03-30 09:47:53 +02:00
UltraNix
9c0c925433 fix(Core/Combat): Improved extra attacks handling. Author: @trickerer (#11169)
Fixes #9423
Fixes #11138
2022-03-27 11:08:18 -04:00
UltraNix
d195c09f56 fix(Core/Spells): Fixed an issue with Premeditation removing itself. (#11093)
Co-authored-by: Treeston <Treeston@users.noreply.github.com>
2022-03-27 01:50:29 -03:00
UltraNix
7796cdee33 fix(Core/Spells): Fixed implementation of CAST_FLAG_POWER_LEFT_SELF flag. (#10908) 2022-03-27 01:22:29 -03:00
Nefertumm
707968ee95 fix(Scripts/BlackwingLair): Nefarian (#10536) 2022-03-09 13:32:09 -03:00
Kitzunu
455899dc75 fix(Core/Misc): Change const to be after type name (#10591) 2022-02-14 16:05:45 -03:00
Kitzunu
cf65cd6baf refactor(Core/Misc): sqrt/log/exp() to std::sqrt/log/exp() (#9792) 2022-02-09 11:59:30 +01:00
Kitzunu
13643c969c refactor(Core/Spell): Use ApplySpellFix with SpellInfo (#9938) 2022-02-08 14:09:15 +01:00
IntelligentQuantum
93520f6466 feat(Core/Position): own file (#10505) 2022-02-08 05:12:42 -03:00
UltraNix
fbb50210aa fix(Core/Spells): Reset melee swing timer on cast rather than on finish. (#10101)
Fixes #7216
2022-01-28 18:10:30 +01:00
Kargatum
5969df4e30 refactor(Core/Logging): switch to fmt style for LOG_ (#10366)
* feat(Core/Common): add support fmt style for ASSERT and ABORT

* correct CheckCompactArrayMaskOverflow

* 1

* Update src/server/game/Spells/Spell.cpp

* rework logging

* add fmt replace logs

* logging

* FMT_LOG_

* settings

* fix startup

* 1

* 2

* 3

* 4

* 5

* fmt::print

* to fmt
2022-01-27 16:44:41 +01:00
UltraNix
902f33a62b fix(Core/Spells): Implemented spell proc phases. (#9725)
* fix(Core/Spells): Implemented spell proc phases.

Fixes #9634
2022-01-24 15:29:03 -03:00
Kargatum
8b7df23f06 feat(Core/Time): Implement saparated manager for game time (#8630) 2022-01-24 17:55:00 +07:00
UltraNix
da82b6abbd fix(Core/Spells): correct teleport distance for Shadowstep/Killing Spree/Warp (#10081)
- Closes #9345
2022-01-24 10:52:24 +01:00
Francesco Borzì
abc56842c4 refactor(Core): remove unused imports (#10296) 2022-01-22 11:21:35 +01:00
Kargatum
7f05e20994 fix(Core/Pets): fix crash at pet resurrect (#10120) 2022-01-15 19:08:54 -03:00
acidmanifesto
4330e44ad0 fix (Core/CodeReduction) TC_ removal (#10162)
TC_ remove from any commit out TC_LOG in the event when we do need to run debug logging, we can just remove the // instead of // TC_
2022-01-13 14:39:54 -05:00
UltraNix
2c6a692000 fix(Core/Entities): extend combo point system to all Units (#9816)
- Closes #1140
2022-01-07 11:18:03 +01:00
Kitzunu
cb7e355291 refactor(Core/Misc): sin() to std::sin() (#9795) 2022-01-06 19:29:40 +01:00
UltraNix
f593f624b0 fix(Core/Spells): Add Target Processing (SMSG_SPELLLOGEXECUTE) to LAUNCH_TARGET phase. (#9765)
* Move EffectInterruptCast to LAUNCH_TARGET Phase.

* Source: TrinityCore.

* Fixes #8484
2022-01-04 13:49:15 +01:00
Kitzunu
913e65f97f refactor(Core/Misc): fabs() to std::fabs() (#9790)
- prefer std functions over C functions
2021-12-31 20:41:00 -03:00
Kitzunu
ac99eb48e1 refactor(Core/Misc): abs() to std::abs() (#9789) 2021-12-31 19:29:39 -03:00
Kargatum
e12494d993 feat(Core/Pets): Management refactoring (#9712)
* feat(Core/Pets): rework managment

* 1

* 2

* 3

* 4

* 5

* cs pet

* check before ressurect

* pet DECLINED_NAMES

* display

- https://github.com/azerothcore/azerothcore-wotlk/issues/9297

* ArenaSpectator

* 1
2021-12-30 18:45:13 -03: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
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
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
Kargatum
51adbffae4 feat(Core/Modules): add separated lib for modules (#9281) 2021-12-02 20:28:58 +07:00
IntelligentQuantum
ab761c9865 fix(Core/Player): prevent crash exploit spam duel starting (#9226) 2021-11-28 16:42: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
Francesco Borzì
1cd8c43447 fix(CI): revert sleep + fix shadowing variable issue (#9106) 2021-11-10 10:18:40 +01:00