UltraNix
bbd760cc1a
fix(Scripts/IcecrownCitadel): Increases radius of Sindragosa's boundary. ( #11579 )
...
Fixes #11439
2022-04-30 21:41:25 +02:00
Kitzunu
778d1bb9fa
fix(Scripts/ICC): Change trigger flag for Battle Experience spell ( #11466 )
...
* fix(Scripts/ICC): Change trigger flag for Battle Ecperience spell
* closes https://github.com/azerothcore/azerothcore-wotlk/issues/6785
* cherry-pick part of commit (TrinityCore/TrinityCore@5b8e68e )
2022-04-21 19:12:39 +02:00
IntelligentQuantum
ab4ee71762
feat(Core/Maps): AreaBoundary ( #10525 )
...
* cherry-picked commit (2da458c56d )
2022-04-15 14:10:41 +02: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
b41967a067
feat(Core/GameObject): Gob flag helpers ( #11287 )
2022-04-05 13:52:58 +02:00
Kitzunu
edb7cac19b
feat(Core/Unit): NPCFlags helpers ( #11286 )
...
* cherry-pick commit (TrinityCore/TrinityCore@d611925 )
Co-Authored-By: Shauren <shauren.trinity@gmail.com >
2022-04-05 13:52:42 +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
Walter Pagani
e139ed1c0b
fix(Scripts/Icecrown): Lich King should not evade attacks on last phase ( #11146 )
...
Co-authored-by: Nefertumm <nefertum.dev@protonmail.com >
2022-03-30 09:47:52 -03:00
Kitzunu
856aed6fc6
feat(Core/Unit): New helpers for UnitFlag and UnitFlag2 ( #11227 )
2022-03-30 07:59:42 -03:00
Kitzunu
455899dc75
fix(Core/Misc): Change const to be after type name ( #10591 )
2022-02-14 16:05:45 -03:00
IntelligentQuantum
93520f6466
feat(Core/Position): own file ( #10505 )
2022-02-08 05:12:42 -03:00
Kargatum
8b7df23f06
feat(Core/Time): Implement saparated manager for game time ( #8630 )
2022-01-24 17:55:00 +07:00
Malcrom
dfac47a562
feat(Core/Creature): Allow 3 ids per spawn point. TESTING ( #10169 )
...
* feat(Core/Creature): Allow 3 ids per spawn point.
* Move GetRandomId to a function
* Update id to id1
* Fixed some errors crashing core and text
* Set ids to lowercase for GetRandomId function
* Update src/server/database/Database/Implementation/WorldDatabase.cpp
Co-authored-by: Kitzunu <24550914+Kitzunu@users.noreply.github.com >
Co-authored-by: acidmanifesto <joshua.lee.betts@gmail.com >
Co-authored-by: Kitzunu <24550914+Kitzunu@users.noreply.github.com >
2022-01-14 19:21:50 -04:00
Kitzunu
d1cc65b1c7
refactor(Core/Misc): isEmpty to IsEmpty ( #10011 )
2022-01-13 21:43:15 -05:00
Kitzunu
9d96adeb6b
fix(Scripts/Icecrown Citadel): Ensure Deathbringer Saurfang casts Frenzy ( #10048 )
...
* cherry-pick commit (a0a64b10b5 )
Co-Authored-By: Gildor <521036+Jildor@users.noreply.github.com >
2022-01-08 16:12:33 +01:00
Kitzunu
cb7e355291
refactor(Core/Misc): sin() to std::sin() ( #9795 )
2022-01-06 19:29:40 +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
Kargatum
c81891fc11
feat(Core/AI): convert SelectAggroTarget to enum class ( #9893 )
2021-12-28 19:13:12 -03:00
patou01
801a20fce2
refactor(Core): Clean-up after FD ( #8586 )
2021-11-28 03:04:14 -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
Kitzunu
6a430cd2f9
fix(Scripts/Misc): Replace some AddItem/CreateItem with spells ( #9006 )
...
Co-authored-by: offl <11556157+offl@users.noreply.github.com >
2021-11-20 09:59:52 -03:00
sschepens
b7f8083915
feat(Core/Misc): change how Position struct is retrieved ( #9017 )
...
Update Position::GetPosition() and similar methods signatures to reflect 2a4c9bc changes by return a Position object instead of accepting a Position parameter by reference.
Cherry pick of 2585e799f9
2021-11-10 23:43:00 +01:00
Kitzunu
28a496bfa5
fix(Script/Spell): Dark Reckoning ( #9024 )
...
Co-Authored-By: Lucas Nascimento <keader.android@gmail.com >
2021-11-10 00:21:25 +01:00
Kitzunu
430fa147fd
feat(Scripts): Implement generic script loader and registry macros ( #8976 )
...
* cherry-pick commit (fb87ac8e8d )
* cherry-pick commit (7d4fbf706a (diff-ea1c86c26019127a4e99686cd9029f9ec3e8193f2761b262c2475668edc06764) )
* cherry-pick commit (75a6a7a0ad (diff-ea1c86c26019127a4e99686cd9029f9ec3e8193f2761b262c2475668edc06764) )
Co-Authored-By: Treeston <14020072+Treeston@users.noreply.github.com >
Co-Authored-By: Shauren <shauren.trinity@gmail.com >
Co-authored-by: Treeston <14020072+Treeston@users.noreply.github.com >
Co-authored-by: Shauren <shauren.trinity@gmail.com >
2021-11-07 02:21:00 -03:00
Malcrom
f106de8788
refactor(Core): update getFaction to GetFaction and setFaction to SetFaction ( #8708 )
2021-11-01 17:04:32 +01:00
SKingOWN
12185d8f03
fix(Core/Script): Valithria Dreamwalker event reset over 75% heal. ( #8286 )
2021-10-17 01:15:24 +02:00
Kitzunu
bc82f36f1f
refactor(Core/Unit): clean MonsterText methods ( #6957 )
2021-10-15 10:25:29 +02:00
Skjalf
1e57b6fb99
fix(Core/Spells): add several missing null checks for the DamageInfo struct to fix a crash ( #8322 )
2021-10-10 16:07:14 +02:00
UltraNix
66809383d1
fix(Core/Spells): add several missing null checks for the DamageInfo struct to fix a crash - Part II. ( #8376 )
2021-10-10 15:56:42 +02:00
UltraNix
80570efc29
fix(Scripts/Instances): fix some bosses flying animations ( #7851 )
...
- Closes #4900
2021-10-10 00:58:19 +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
Kitzunu
9fbdffee47
refactor(Core/Map): Use std::chrono for SetZoneOverrideLight ( #6489 )
...
* cherry-pick e33c4b8f7f
Co-Authored-By: HelloKitty <5829095+HelloKitty@users.noreply.github.com >
2021-10-03 22:07:26 -03: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
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
45218224b4
fix(Core/Spells): show Execute/Slam misses/dodges/parries in combat log ( #7494 )
...
- Closes #7428 .
2021-08-26 11:45:22 +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
UltraNix
1b7d3708a6
fix(Core/Loot): ( #7452 )
...
- Players that did not participate in killing dungeon boss are not eligible to get loot.
- Players that are too far away from the looted object are not eligible to get loot.
- Players that released spirit and were outside the dungeon when the loot has been released are eligible to get loot.
- Players that have pending bind are not eligible to get loot.
- Properly get loot recipient for some chests in dungeons.
- All above fixes should work in any loot mode (group loot, master loot, etc.)
- Closes #2104 .
2021-08-24 23:48:22 +02:00
Francesco Borzì
4103fca5a4
fix(Core/ObjectGuid): prevent creating copies when looping objects ( #6852 )
2021-07-10 15:54:16 +02:00
Yehonal
baf437bb98
feat(Core): improved some hooks ( #6302 )
2021-06-13 10:23:24 +02:00
Kitzunu
a75e34c793
feat(Core/Spell): AssertSpellInfo ( #6115 )
...
* feat(Core/Spell): AssertSpellInfo
(cherry picked from commit e52878b6b5 )
(cherry picked from commit 8c44259fae )
Co-Authored-By: Shauren <shauren.trinity@gmail.com >
Co-Authored-By: Giacomo Pozzoni <giacomopoz@gmail.com >
* Update SpellMgr.h
2021-06-03 07:39:48 +02:00
Kitzunu
7152ddc82c
refactor(Core/Grids): Ported cmangos/mangos-wotlk@ea99457 ( #6113 )
...
* refactor(Core/Grids): Ported cmangos/mangos-wotlk@ea99457
(cherry picked from commit d6201e5dbb )
Co-Authored-By: Shauren <shauren.trinity@gmail.com >
Co-Authored-By: SilverIce <slifeleaf@gmail.com >
* Update CellImpl.h
* w
* more more brackets
* ew
* fix build
2021-06-03 05:27:51 +02:00
Kitzunu
897a02bb75
refactor(Core/Misc): acore to Acore ( #6043 )
2021-05-31 14:21:54 +02:00
Kargatum
13f71c9c4d
feat(Core/Random): port random system from TrinityCore ( #5454 )
...
* feat(Core/Random): port random system from TrinityCore
* lic
* logic correct
* MultimapErasePair move
* whitespace
17:13:34 1. 'Containers.h'. Replace (1)
17:13:40 2. 'LootMgr.h'. Replace (1)
17:13:44 3. 'World.cpp'. Replace (1)
17:13:47 4. 'instance_scholomance.cpp'. Replace (1)
* correct debug build
2021-05-16 21:53:21 +02:00
UltraNix
44babc3c3a
fix(Core/Pooling): Fixed less and less objects from pools being spawned the longer the server is running ( #5572 )
2021-05-08 12:39:09 -06:00
UltraNix
f4c226423d
feat(Core/Misc): implement ObjectGuid class (port from TC) ( #4885 )
2021-04-25 22:18:03 +02:00
Kitzunu
33aeadf8b6
refactor(Core/Misc): Define & Rename Attributes and flags ( #5193 )
2021-04-15 14:16:39 +02:00
Footman
c32cd06a78
fix(Core/Movement): fix multiple creature movement issues ( #5097 )
2021-04-09 20:56:19 +02:00