Commit Graph

140 Commits

Author SHA1 Message Date
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
Francesco Borzì acf6aab247 fix(CI): trigger builds on C++ changes (#9103) 2021-11-10 10:08:52 +01: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 3cddfb84c1 feat(Core/Spells): Implemented SPELLVALUE_AURA_DURATION. (#8690)
- Closes #8505
2021-10-24 23:06:57 +02:00
UltraNix 96441a91dc fix(Core/Spells): Auras triggered by talents/glyphs should be removed on respec. (#8671)
Fixes #8543
2021-10-24 01:23:04 -03:00
Kargatum bc9473482e feat(Core/Chat): new argument parsing and unify chat hyperlink parsing (#6243) 2021-10-23 10:15:42 +02:00
UltraNix 8b70222ae2 fix(Core/Spells): Revive pet cannot be used on alive pets. (#8434)
Fixes #8315
2021-10-14 19:54:18 -03:00
Kitzunu 118a555b06 fix(Core/Spells): Fix all cases of client crash when pressing ESC after a spell being cast (#8497)
* cherry-pick commit (https://github.com/TrinityCore/TrinityCore/commit/f765e8eb73a7eea550d6059f63327ae2f4ac7a14)

* closes https://github.com/azerothcore/azerothcore-wotlk/issues/8143

Co-Authored-By: Shauren <shauren.trinity@gmail.com>

Co-authored-by: Shauren <shauren.trinity@gmail.com>
2021-10-14 20:32:30 +02:00
UltraNix 13eacaed8d fix(Core/Spells): Always stand up on spell cast. (#8337)
Fixes #7032
2021-10-12 15:15:28 -03:00
UltraNix 3223f90bcb feat(Core/Spells): add helper to get clean and unmitigated damage for pro… (#7244) 2021-10-05 23:59:57 +02:00
Skjalf 99f8634361 fix(Core/Spells): basepoints of spell 'Pick Lock' being wrongly added to player's lockpicking skill when evaluating if a lock can be opened (#8072) 2021-10-04 15:45:06 +02:00
UltraNix 06e50a9690 fix(Core/Achievements): Fixed showing achievement statistics of inspected player. (#8093)
* fix(Core/Spells): Implemented SPELL_ATTR0_CU_NO_PVP_FLAG.

Fixes #7938

* fix(Core/Achievements): Fixed showing achievement statistics of inspected player.

Fixes #7979
2021-10-03 18:12:12 +02:00
Skjalf 23edbfe21d fix(Core/Spells): Ensure gameobjects are still locked/closed when loc… (#8012)
* fix(Core/Spells): Ensure gameobjects are still locked/closed when lockpicking/opening them

* Update src/server/game/Spells/Spell.cpp
2021-10-01 10:25:09 +02:00