UltraNix
982be6de00
fix(Core/GameObjects): move activation code of traps to GO_ACTIVATED ( #10537 )
...
- Original author: @Gacko
2022-02-19 22:26:26 +01:00
Malcrom
da5258bd0b
fix(Core/Creature): Allow Multi id in areas with zone script ( #10735 )
2022-02-18 16:11:40 -05:00
Malcrom
47a4d0c054
fix(Core/Creature): Allow setting no equipment. ( #10730 )
...
* Core(Creature Equipment): Fix core to allow assigning no equipment
2022-02-18 12:27:33 -05:00
Kitzunu
455899dc75
fix(Core/Misc): Change const to be after type name ( #10591 )
2022-02-14 16:05:45 -03:00
Kitzunu
9d166722c4
refactor(Core/Creature): More functions capitalized ( #10012 )
...
* GetLeader
* IsFormed
* build
2022-02-10 18:40:00 +01:00
Kargatum
de13bf426e
feat(Core/DBLayer): replace char const* to std::string_view ( #10211 )
...
* feat(Core/DBLayer): replace `char const*` to `std::string_view`
* CString
* 1
* chore(Core/Misc): code cleanup
* cl
* db fix
* fmt style sql
* to fmt
* py
* del old
* 1
* 2
* 3
* 1
* 1
2022-02-05 00:37:11 +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
Kargatum
8b7df23f06
feat(Core/Time): Implement saparated manager for game time ( #8630 )
2022-01-24 17:55:00 +07:00
Francesco Borzì
9dc88def35
refactor(Core): apply clang-tidy modernize-* ( #9975 )
...
Co-authored-by: Kitzunu <24550914+Kitzunu@users.noreply.github.com >
2022-01-17 14:35:07 +01: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
Malcrom
97012997af
fix(Core/Waypoint Show): Fixed error with waypoint show. ( #10148 )
...
Co-authored-by: acidmanifesto <joshua.lee.betts@gmail.com >
2022-01-12 20:41:19 -04:00
acidmanifesto
e6e76f971b
fix (Core/CTM) Water Evade Fix ( #10147 )
2022-01-12 19:59:12 -04:00
Malcrom
f4464f8176
fix(Core/Dual Spawning) Change rand to roll_chance_f ( #10130 )
2022-01-11 11:23:13 -05:00
Malcrom
2fd8b00d7b
feat(Core/Creature): Dual id Spawning WIP ( #10115 )
...
* feat(Core/Creature): Multi id Spawning WIP
* Update Creature.cpp
* Update PR
* Add Sql
* Update rev_1641837958335217980.sql
* Update src/server/game/Globals/ObjectMgr.cpp
Co-authored-by: Kitzunu <24550914+Kitzunu@users.noreply.github.com >
* Update src/server/game/Globals/ObjectMgr.cpp
Co-authored-by: Kitzunu <24550914+Kitzunu@users.noreply.github.com >
* Update rev_1641837958335217980.sql
* Update cs_npc.cpp
* Create changes_1641842959398297300.md
* Fixed issue added with random model PR
* Update GameEventMgr.cpp
Co-authored-by: Kitzunu <24550914+Kitzunu@users.noreply.github.com >
2022-01-10 22:09:14 -04:00
Malcrom
f1d4266efc
BREAKING CHANGE:(DB/Creature) Remove modelId field in creature table ( #10071 )
...
* fix(DB/Creature) Clear modelId field in creature table
* Change clear column to remove column
* Update src/server/game/Globals/ObjectMgr.cpp
* Update ObjectMgr.cpp
Co-authored-by: Kitzunu <24550914+Kitzunu@users.noreply.github.com >
Co-authored-by: acidmanifesto <joshua.lee.betts@gmail.com >
2022-01-10 16:41:33 -04:00
acidmanifesto
3cbe23865f
fix (Core/Creature): Random Gender on respawn if Gender exsist for Entry ( #10108 )
...
* Fix (Core\Creature): Random Gender on respawn if Gender exsrespawn
If creature has genders it will consider gender changing on respawn.
GetCreatureModelInfo to const
* Update Creature.cpp
2022-01-10 10:22:04 -05:00
Kargatum
c1ebda66ba
fix(Core/Pets): fixed crash happening when current pet is forcibly removed ( #10025 )
2022-01-10 09:19:43 -03:00
Kitzunu
dbc35e3495
feat(DB/Creature): Allow to set swim and flight speeds ( #10067 )
2022-01-09 01:34:39 +01:00
acidmanifesto
2d4e17fd16
refactor(Core/Creature): Remove Inhabit Type ( #9272 )
...
This is in reference to issue: https://github.com/azerothcore/azerothcore-wotlk/issues/4361
This is comprised of a cherry pick and partial tc cherry pick:
592516ae69
dbadb6369c
34cfa69efd
12de860b4a
a22bc236eb
2022-01-06 10:33:22 -03: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
Francesco Borzì
b748730bc8
refactor(Core): remove unused imports ( #9969 )
2022-01-02 20:22:09 +01:00
Skjalf
8216318f92
feat(Core/Conditions): Implement CONDITION_TYPE_CREATURE_RESPAWN ( #9927 )
2022-01-01 20:18:37 -03:00
UltraNix
4a36897873
fix(Core/Spells): Dungeon and world bosses are always subject to spell school lockouts. ( #9638 )
...
Fixes #9633
2022-01-01 02:28:21 -03: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
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
Noxies
bbf08c1aaa
fix(Core/TemporarySummon): Implement TEMPSUMMON_TIMED_DESPAWN_OOC_ALIVE ( #9915 )
2021-12-30 08:05:46 -03:00
Cláudio Costa
81cf9e3aa7
fix(Core/Player): Quest Question marks ( #9683 )
...
* fix(Core): Quest Question marks
* extra changes
* changes for players with repetable quests
2021-12-22 08:37:01 -03:00
Francesco Borzì
cbc7e5466a
refactor(Core): remove unused imports ( #9767 )
2021-12-19 19:41:14 +01:00
UltraNix
0f83d52f43
fix(Core/Trainers): add new column ReqSpell to npc_trainer table ( #9490 )
...
Prevent learning gnomish and goblin engineering recipes at same time.
Fixes #5390
Co-authored-by: Skjalf <47818697+Nyeriah@users.noreply.github.com >
2021-12-16 11:18:21 +01:00
UltraNix
de0672e9d8
fix(Core/Pet): Standardize pet run speed at 115% rate. ( #9478 )
...
Fixes #9230
2021-12-14 13:36:43 -03:00
UltraNix
b1303e0e96
fix(Core/Loot): Set skinnable flag only after all loot was taken. Source: TrinityCore. ( #9573 )
...
Fixes #9318
2021-12-12 10:31:00 -03:00
Kargatum
51adbffae4
feat(Core/Modules): add separated lib for modules ( #9281 )
2021-12-02 20:28:58 +07:00
patou01
801a20fce2
refactor(Core): Clean-up after FD ( #8586 )
2021-11-28 03:04:14 -03:00
Andrius Peleckas
36fc50e1a8
fix(Core/Formations): fixed possible finite loop related to GROUP_AI_FLAG_EVADE_TOGETHER ( #9279 )
2021-11-25 23:46:12 -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
Skjalf
bf666becd9
fix(Core/Creature): prevent useless grid searches ( #9307 )
2021-11-24 12:02:46 +01:00
Skjalf
fc16abc30e
fix(Core/Creature): crash on creature evade ( #9305 )
2021-11-24 10:23:18 +01:00
Skjalf
2187470df7
refactor(Scripts/Commands): Update cs_quest to the new model ( #9267 )
2021-11-24 01:21:16 -03:00
Kargatum
f62664c987
refactor(Core/Misc): headers cleanup ( #9259 )
2021-11-22 17:24:39 +07:00
UltraNix
e747716230
feat(Core/SmartScripts): SMART_ACTION_CALL_FOR_HELP should properly call assistance in case of polymorphed creature. ( #9231 )
...
Updates #9120
2021-11-19 15:53:59 -03:00
acidmanifesto
de6af87bd3
fix(Core/Objects): increase sight range of objects & correct general defau… ( #9180 )
2021-11-17 16:00:01 -03:00
Andrius Peleckas
31f028abfc
feat(Core/Formations): implemented a new formation groupAI flag "GROUP_AI_FLAG_EVADE_TOGETHER" ( #8758 )
2021-11-16 15:14:34 -03:00
UltraNix
70fbaefa8e
fix(Core/Movement): creatures should not cast while moving ( #9141 )
...
- Closes #8843
2021-11-15 14:39:36 +01:00
patou01
863455736e
fix(core/Creature): initialize AI before calling OnCreatureCreate
2021-11-09 14:38:59 -03:00
UltraNix
affa6f9084
refactor(Core/Combat): Cleanup DoZoneInCombat function. ( #8789 )
...
* Core/Combat: Cleanup DoZoneInCombat function.
Updates #7960
* Restore distance parameter.
* You don't belong here.
* Update
2021-11-09 00:54:44 +01:00
patou01
ea2c880fc8
fix(Core/Unit): Reduce mobs speed when low on health ( #7932 )
2021-11-04 10:43:24 -03:00
Kargatum
aa7932e971
feat(Core/EnumUtils): add more enum for support chat command ( #8828 )
2021-11-03 10:50:11 +01:00
Malcrom
f106de8788
refactor(Core): update getFaction to GetFaction and setFaction to SetFaction ( #8708 )
2021-11-01 17:04:32 +01:00
Skjalf
2cf4d05867
feat(Core/SAI): Allow forcing creatures/gameobjects's respawn timers when using SMART_ACTION_FORCE_DESPAWN ( #8714 )
2021-10-27 04:21:29 -03:00