Kitzunu
1501445b0a
chore(Core/Misc): nullptr cleanup ( #11467 )
2022-04-21 19:17:20 +02: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
Kitzunu
535c7451a2
feat(Core/Unit): New helpers for DynamicFlags ( #11230 )
...
* feat(Core/Unit): New helpers for DynamicFlags
* cherry-pick commit (d611925dc7 )
Co-Authored-By: Shauren <shauren.trinity@gmail.com >
* oopsie
Co-authored-by: Shauren <shauren.trinity@gmail.com >
2022-04-01 07:14:29 -03:00
UltraNix
bd248a82d0
fix(Core/Spells): Ghost Wolf Speed from PvP 58 vl set. ( #11096 )
...
Fixes #9479
2022-04-01 07:01:21 -03:00
Kitzunu
856aed6fc6
feat(Core/Unit): New helpers for UnitFlag and UnitFlag2 ( #11227 )
2022-03-30 07:59:42 -03:00
UltraNix
b025ec999e
fix(Core/Spells): Periodic ticks number should not exceed the max one. ( #10999 )
...
Fixes #10876
2022-03-16 03:33:44 +07:00
UltraNix
77bab657e5
fix(Core/Spells): Base spell resistances from auras should apply to pets. ( #10562 )
...
- Closes #10555
2022-02-15 17:49:13 +01:00
UltraNix
0fea133f09
fix(Scripts/BlackwingLair): Chromaggus should cast the same affliction spell among players. ( #10644 )
...
Brood Affliction: Bronze should stun players in random intervals.
- CLoses #10584
Co-authored-by: temperrr <temperrr@users.noreply.github.com >
2022-02-15 01:07:46 +01:00
Kitzunu
455899dc75
fix(Core/Misc): Change const to be after type name ( #10591 )
2022-02-14 16:05:45 -03:00
UltraNix
8f8fbd95ce
fix(Core/Spells): Implemented SPELL_GROUP_SPECIAL_FLAG_SKIP_STRONGER_SAME_SPELL. ( #10307 )
...
Fixed #10263
2022-01-30 21:29:22 -03: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
2fce4e0f12
fix(Core/Spells): Remove vanish immunity aura on stealth removal. ( #10106 )
...
Fixes #2668
2022-01-24 23:19:50 -03:00
UltraNix
850371d704
fix(Core/Spells): Ensures that Moonkin Aura is always casted with Moonkin Form. ( #10195 )
2022-01-24 22:03:08 -03:00
Kargatum
8b7df23f06
feat(Core/Time): Implement saparated manager for game time ( #8630 )
2022-01-24 17:55:00 +07:00
UltraNix
e1617a0044
fix(Core/Spells): Restored special Rolling DoTs mechanic for Corruption and SW:Pain ( #10206 )
...
Fixes #9867
2022-01-21 13:39:11 -03:00
Kitzunu
14c0b62be5
refactor(Core/Unit): Split spell things into SpellDefines.h ( #10009 )
2022-01-09 12:37:51 +01: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
f04709a326
refactor(Core/Misc): ceil() to std::ceil() ( #9791 )
...
- prefer std functions over C functions
2022-01-03 10:11:39 -03:00
Kitzunu
ac99eb48e1
refactor(Core/Misc): abs() to std::abs() ( #9789 )
2021-12-31 19:29:39 -03:00
Francesco Borzì
cbc7e5466a
refactor(Core): remove unused imports ( #9767 )
2021-12-19 19:41:14 +01:00
Kitzunu
89a1b5c9f4
fix(Core/Spells): Implement SPELL_AURA_PERIODIC_TRIGGER_SPELL_FROM_CL… ( #9615 )
...
* fix(Core/Spells): Implement SPELL_AURA_PERIODIC_TRIGGER_SPELL_FROM_CLIENT
* cherry-pick commit (b3b7f0761d )
* fix build
2021-12-16 20:29:33 -03:00
UltraNix
4e70e60427
fix(Core/Spells): Properly handle pet spell auras with infinity cooldown. ( #9576 )
...
Fixes #9339
2021-12-12 11:43:22 -03:00
Skjalf
2d55974c0c
Revert "fix(Core/Spells): Forward core changes ( #8841 )" ( #9631 )
...
This reverts commit 85d2c39a48 .
2021-12-10 15:31:48 +01:00
acidmanifesto
85d2c39a48
fix(Core/Spells): Forward core changes ( #8841 )
2021-12-09 18:24:16 -03:00
Kargatum
51adbffae4
feat(Core/Modules): add separated lib for modules ( #9281 )
2021-12-02 20:28:58 +07:00
Kitzunu
f9337497d8
chore(Core/Auras): Clean up Aura::CanBeSaved() ( #9343 )
2021-11-30 13:03:04 -03:00
Kitzunu
201fb580a4
fix(Core/Auras): Set proper displayId for mounts that changes dependi… ( #9342 )
...
* fix(Core/Auras): Set proper displayId for mounts that changes depending on your Riding skill and location with more than one modelId
* cherry-pick commit (a5b8e167dd )
Co-Authored-By: Gildor <521036+Jildor@users.noreply.github.com >
* codestyle
Co-authored-by: Gildor <521036+Jildor@users.noreply.github.com >
2021-11-29 20:57:38 -03:00
UltraNix
c36168c604
fix(Core/Spells): Fixed calculating damage/healing pct auras on aura refresh. ( #9316 )
...
Fixes #8962
2021-11-29 20:36:48 -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
Kargatum
f62664c987
refactor(Core/Misc): headers cleanup ( #9259 )
2021-11-22 17:24:39 +07:00
IntelligentQuantum
92b3617f63
fix(Core/Spells): Item Fresh Brewfest Hops ( #8010 )
2021-11-21 10:50:03 -03:00
Andrius Peleckas
3ce64b0f01
feat(Core/Spells): implement two new custom attributes to handle aura saving rule ( #8377 )
2021-11-05 15:56:45 +01:00
acidmanifesto
8ac01da463
fix(Spell/Core): Prayer of Mending Heal not smart Healing [TC Cherry Pick] ( #8753 )
...
Co-authored by @Keader
2021-11-04 18:24:24 +01:00
Malcrom
f106de8788
refactor(Core): update getFaction to GetFaction and setFaction to SetFaction ( #8708 )
2021-11-01 17:04:32 +01:00
UltraNix
cab3992d0f
fix(Core/Spells): SPELL_AURA_PROC_TRIGGER_DAMAGE auras should not proc if target is immuned ( #8675 )
...
- Closes #8461
2021-10-24 12:02:47 +02:00
UltraNix
16a54fdeac
fix(Core/Spells): Polymorphed targets should call assistance. ( #8674 )
...
Fixes #8413
2021-10-24 02:58:54 -03: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
b0d4f1917e
fix(Core/Spells): passive auras should not stak with itself ( #8652 )
...
- Closes #8588
2021-10-22 11:32:35 +02:00
UltraNix
db0c27fe43
fix(Core/Combat): Removed some invalid code about auto-acquiring a nearby target if primary target is not detectable by creature. ( #8624 )
...
Spells with sanctuary always delete hostile references (if not during encounter).
Update visibility should be always forced in case of invisibility/stealth auras.
Restored old Shadowmeld code.
Fixes #4764
Fixes #7125
2021-10-21 15:54:36 -03:00
UltraNix
cbabc54659
fix(Scripts/Spells): Fixed Enrage armor reduce part. Source: TrinityCore. ( #8625 )
...
Fixes #8623
2021-10-21 15:48:49 -03:00
Skjalf
99cc428511
fix(Core/Spells): Improved Drain Soul triggering from every target … ( #8144 )
...
...that dies and not just the one affected by Drain Soul and move the Drain Soul code to spell scripts
- TC Ports: d9743c984f (diff-ea612aafadff90005e88b243eb000369be9e5cb6f8dc85a008d31e42b156e0ec) and 2b1b36f561 (diff-ea612aafadff90005e88b243eb000369be9e5cb6f8dc85a008d31e42b156e0ec)
2021-10-07 18:58:46 +02: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
Kargatum
52aa0e9966
feat(License): add new headers information about license ( #7941 )
...
Co-authored-by: Francesco Borzì <borzifrancesco@gmail.com >
2021-09-30 13:40:52 +07:00
Kitzunu
4fb2dc1fc4
fix(Core/Spell): PLAYER_FIELD_BYTE2_INVISIBILITY_GLOW applies only with invisibility type INVISIBILITY_GENERAL (0) ( #7863 )
...
Co-Authored-By: Meji <2695278+meji46@users.noreply.github.com >
2021-09-18 18:09:48 +02:00
lineagedr
11ce20d296
refactor(Core/Misc): remove duplicate line ( #7808 )
2021-09-16 11:20:38 +02:00
Kitzunu
2f449326e0
refactor(Core): Rename ...Manager to ...Mgr ( #6910 )
...
* Rename MapManager.h to MapMgr.h
* Rename BanManager.h to BanMgr.h
* Rename MapManager.cpp to MapMgr.cpp
* Rename BanManager.cpp to BanMgr.cpp
* Rename MapRefManager.h to MapRefMgr.h
* Rename ThreatManager.h to ThreatMgr.h
* Rename GridRefManager.h to GridRefMgr.h
* Rename ThreatManager.cpp to ThreatMgr.cpp
* Rename GroupRefManager.h to GroupRefMgr.h
* Rename HostileRefManager.h to HostileRefMgr.h
* Rename HostileRefManager.cpp to HostileRefMgr.cpp
* Rename MMapManager.h to MMapMgr.h
* Rename FollowerRefManager.h to FollowerRefMgr.h
* Rename VMapManager2.h to VMapMgr2.h
* Rename IVMapManager.h to IVMapMgr.h
* Rename MMapManager.cpp to MMapMgr.cpp
* Rename VMapManager2.cpp to VMapMgr2.cpp
* Rename RefManager.h to RefMgr.h
* Rename WaypointManager.h to WaypointMgr.h
* Rename WaypointManager.cpp to WaypointMgr.cpp
* Rename MPQManager.h to MPQMgr.h
* Rename MPQManager.cpp to MPQMgr.cpp
* Rename IMMAPManager.h to IMMAPMgr.h
* fix build
* Update Main.cpp
* chore(Core/Misc): Remove toxic language
* Revert "chore(Core/Misc): Remove toxic language"
* fix build
* build
2021-09-15 17:50:28 +02:00
Viste
a9796af174
fix(Core/Misc): bunch of crashfixes ( #7307 )
2021-09-14 14:38:56 +02:00
UltraNix
7406a01ac3
fix(Core/Spells): several improvements to cooldowns ( #7559 )
...
- Reworked spell category cooldowns.
- Implemented category cooldowns for pets.
- Properly shows pet spell cooldowns in player's UI.
- Corrected pet spell cooldowns with infinity duration.
- Do not add/remove infinity spell cooldown on aura apply/remove if casted by item.
- Closes #5263
2021-09-13 20:57:48 +02:00
UltraNix
a8c0a2cc89
fix(Core/Movement): ( #7008 )
...
- Get zone/area IDs from vmap data in the liquid update
- Add new method Map::getFullVMapDataForPosition to get area info and liquid info in a single vmap lookup
- Adjust GetZoneId/GetAreaId on WorldObject to always return these cached fields.
- Clean up liquid state handling on Unit and Player
- Implemented getting area id from gameobject spawns.
- Removed old core related to getting movement flags dependent on environment.
- Movement flags are now processed more precisely and dynamically.
Original source: TrinityCore.
- Closes #5086
- Updates #2208 .
2021-08-25 12:41:20 +02:00