Kargatum
6d7f58e6ed
feat(Core/Common): delete old Tokenizer ( #10121 )
2022-01-21 14:59:05 +07:00
UltraNix
b24fd81734
fix(Core/Spells): Properly handle client-side orientation on stun. ( #10107 )
...
Fixes #9738
2022-01-20 12:12:40 -03:00
Kargatum
259b9133f6
feat(Core/Common): add new helpers for time utility ( #10207 )
2022-01-19 12:01:59 +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
Skjalf
fe4899202d
feat(Core/Conditions): Implement CONDITION_SOURCE_CREATURE_VISIBILITY ( #10208 )
2022-01-17 06:05:32 -03:00
UltraNix
e842119605
fix(Core/Spells): Drop combat on Mind Control cancel. ( #10201 )
...
Fixes #9980
2022-01-16 22:26:23 -03:00
UltraNix
19b68ffb57
fix(Core/Pets): Manual using pet spell should not reset attack command. ( #9635 )
...
Fixes #9632
2022-01-16 14:44:21 -05:00
Kargatum
7f05e20994
fix(Core/Pets): fix crash at pet resurrect ( #10120 )
2022-01-15 19:08:54 -03:00
UltraNix
11e94a6b89
fix(Core/Spells): Added SPELL_AURA_MOD_ABILITY_IGNORE_TARGET_RESIST… ( #9764 )
...
… to Chaos Bolt Passive
2022-01-15 05:09:23 -08: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
UltraNix
ba63354410
fix(Core/Quests): Do not remove inventory items/non-empty bags on quest reward. ( #10073 )
...
Fixes #10016
2022-01-13 18:04:03 -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
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
14c0b62be5
refactor(Core/Unit): Split spell things into SpellDefines.h ( #10009 )
2022-01-09 12:37:51 +01:00
IntelligentQuantum
aaf85d0984
refactor(Core/Packet): Combat log ( #9673 )
2022-01-09 05:21:41 +01:00
Kitzunu
dbc35e3495
feat(DB/Creature): Allow to set swim and flight speeds ( #10067 )
2022-01-09 01:34:39 +01:00
IntelligentQuantum
725b1266b4
refactor(Core/Packet): Chat ( #9509 )
...
* Chat
* .
* Update GameObject.cpp
* Update Object.cpp
* Update Player.cpp
2022-01-08 07:11:06 -03:00
UltraNix
2c6a692000
fix(Core/Entities): extend combo point system to all Units ( #9816 )
...
- Closes #1140
2022-01-07 11:18:03 +01:00
Cláudio Costa
5d45c52c3e
fix(Core/Creature): Fire Elemental Invasion changes ( #9372 )
...
* fix(DB): Blazing elemental invasion event
- Fixed Elemental Invader's SmartAI;
- Re-arranged Elemental Rifts SmartAI for controlled spawning of
Invaders.
* SmartAI: SetCounter to be able to subtract
* Target unit or summoner changed for worldobjects
* extra checks and last sql file
* Codestyle
* codestyle
* adding Baron to elemental invasions
* changed owner or summoner target (SmartAI)
* codestyle
2022-01-06 19:30:23 +01:00
Kitzunu
cb7e355291
refactor(Core/Misc): sin() to std::sin() ( #9795 )
2022-01-06 19:29:40 +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
acidmanifesto
d504a62293
fix(Core\OpCode): HandleFarSightOpcode ( #9965 )
...
* Change TO ThreadUNSAFE
This will process the far sight packet as a is not thread-safe - process it in World::UpdateSessions() compared to the former packet is thread-safe - process it in Map::Update().
This matches up with tc in everything we have with the HandleFarSightOpcode.
* Further Adjustments
* Move to Debug Loggin
TC has it as move to Debug Logging. Stating its a weird opcode handling issue which is not really known why.
2022-01-06 09:22:08 -03:00
IntelligentQuantum
93322bcb4d
refactor(Core/Packet): Character packets ( #9546 )
...
* Character
* Update CharacterHandler.cpp
2022-01-06 08:55:00 -03:00
UltraNix
d8712455c7
fix(Core/Spells): Multi-Shot should not be affected by Glyph of Aimed… ( #9897 )
...
* fix(Core/Spells): Multi-Shot should not be affected by Glyph of Aimed Shot.
Fixes #9707
* Update.
2022-01-03 15:15:24 -03:00
IntelligentQuantum
e57582accb
Core/Packet: WorldState ( #9435 )
...
* Core/Packet: WorldState
* Test
* WRONG
Co-authored-by: acidmanifesto <joshua.lee.betts@gmail.com >
2022-01-03 11:50:56 -05:00
Kitzunu
317e793b12
refactor(Core/Misc): atan2() to std::atan2() ( #9793 )
...
- prefer std functions over C functions
2022-01-03 13:24:06 -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
980f420746
fix(Core/Scripting): Solve issue with client crashes on login ( #9971 )
2022-01-02 12:36:14 -03:00
Francesco Borzì
6d7b024deb
fix(Core/Object): macOS build ( #9968 )
2022-01-02 09:08:33 -03:00
Skjalf
a5a66207c4
feat(Core/Scripting): OnBuildValuesUpdate hook ( #9961 )
2022-01-01 23:37:04 -03:00
Skjalf
8216318f92
feat(Core/Conditions): Implement CONDITION_TYPE_CREATURE_RESPAWN ( #9927 )
2022-01-01 20:18:37 -03:00
Skjalf
1806792625
fix(Core/Players): fix trailing whitespaces being added as settings ( #9960 )
2022-01-01 17:35:15 -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
Kitzunu
ac99eb48e1
refactor(Core/Misc): abs() to std::abs() ( #9789 )
2021-12-31 19:29:39 -03:00
Kitzunu
69683a3472
chore(Scripts/Misc): Cleanup some more JustDied hooks ( #9768 )
2021-12-31 12:00:40 -03:00
IntelligentQuantum
0556f0b3d5
refactor(Core/Packets): Totem ( #9451 )
...
* Totem
* Update WorldSession.h
2021-12-31 10:23:38 -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
UltraNix
a54c84f349
fix(Core/Players): Removed old and invalid Player::SetInWater funct… ( #9739 )
...
* fix(Core/Players): Removed old and invalid `Player::SetInWater` function.
Updates #8729
* buildfix.
2021-12-28 09:34:45 -03:00
IntelligentQuantum
f88203a73a
fix(Core/Player): Arena AFK ( #9733 )
2021-12-28 07:37:47 -03:00
Skjalf
58302e4196
feat(Core/Player): Implement player specific settings ( #9483 )
2021-12-26 08:39:15 -03:00