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
0f2c092df7
fix(Core/Events): Prevent seasonal quests from resetting at server re… ( #9708 )
...
* fix(Core/Events): Prevent seasonal quests from resetting at server restart. Source: TrinityCore.
Fixes #6973
* Update.
* Update.
* Update.
2022-01-16 22:25:17 -05:00
UltraNix
e842119605
fix(Core/Spells): Drop combat on Mind Control cancel. ( #10201 )
...
Fixes #9980
2022-01-16 22:26:23 -03:00
UltraNix
b74fb81b8c
fix(Scripts/Instances): Fixed some problems with getting proper unit'… ( #10193 )
...
* fix(Scripts/Instances): Fixed some problems with getting proper unit's GUID in BlackwingLair raid.
Fixes #5054
Fixes #10156
* Update.
2022-01-16 20:38:57 -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
UltraNix
d3956f3142
fix(Core/Spells): Charging unit should always reach its target even if stunned/rooted. ( #10192 )
...
Fixes #9454
2022-01-16 14:58:34 -03:00
UltraNix
c8a5ece0c7
fix(Core/Packets): Display item suffixes in guild bank packet. ( #10200 )
...
Fixes #9997
2022-01-16 10:33:01 -03:00
UltraNix
a97719fe23
fix(Core/Handlers): Correctly updating faction and race change on packet. ( #10199 )
...
Fixes #10008
2022-01-16 09:42:01 -03:00
Skjalf
124ea8a1e7
fix(Scripts/BRD): Arena Spoils shouldn't despawn whem High Justice Grimstone is removed from world ( #10140 )
2022-01-16 08:36:39 -03:00
Skjalf
1995430438
fix(Scritpts/MoltenCore): Add immune to pc & npc flags to Ragnaros ( #10179 )
2022-01-16 01:58:36 -03:00
Skjalf
96cf1e60e9
fix(Scripts/Spells): fix a crash with Scent of Blood talent ( #10078 )
2022-01-15 21:10:06 -03: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
7115f353cc
fix(Core/Mail): Include 100g in the mail for The Wrath of Neptulon ( #10093 )
...
* cherry-pick commit (cf223370f3 )
Co-Authored-By: Wyrserth <43747507+Wyrserth@users.noreply.github.com >
2022-01-14 11:55:54 +01:00
Kitzunu
d1cc65b1c7
refactor(Core/Misc): isEmpty to IsEmpty ( #10011 )
2022-01-13 21:43:15 -05:00
acidmanifesto
f5aed756e5
fix (core\script) Double to Float Fix ( #10161 )
2022-01-13 19:45:10 -05:00
Kitzunu
707685d633
fix(Core/Build): Fallthrough ( #10165 )
2022-01-13 19:34:57 -05:00
Malcrom
d811d89c88
fix(Core/GM Commands): Update NPC Info command ( #10157 )
...
* fix(Core/GM Commands): Update NPC Info command
* Update rev_1642085410673517853.sql
* Update rev_1642085410673517853.sql
* Prevent temp spawn crashing
Co-authored-by: acidmanifesto <joshua.lee.betts@gmail.com >
2022-01-13 19:28:40 -04: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
Nefertumm
8d78f4b8c2
fix(Core/BWL): Suppression traps can be disarmed ( #10163 )
...
* Fix(Core/BWL): Suppression traps can be disarmed
* missing override (why not present before?)
2022-01-13 17:52:06 -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
Kitzunu
2ff4e85578
fix(DB/broadcast_text): align some column names ( #10090 )
2022-01-13 15:20:20 +01:00
UltraNix
3fe82ff268
fix(Scrips/BlackrockSpires): add missing _JustDied() to Halycon script ( #10065 )
...
- Closes #9953
2022-01-13 14:58:36 +01:00
IntelligentQuantum
df4b621527
feat(Scripts/SmartAI): SMART_TARGET_INVOKER ( #9802 )
2022-01-13 07:46:25 -03: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
acidmanifesto
b42deca6d1
Fix (Core): add missing default,break. ( #10114 )
...
Added missing default break in case switch.
2022-01-10 18:16:28 -05: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
IntelligentQuantum
e482cce164
feat(Core/SmartScripts): Add a warning when a boolean value is outside of [0,1] range ( #10038 )
2022-01-10 14:03:00 -03: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
Skjalf
2eac8fd67b
fix(Scripts/MoltenCore): Solve edge case that caused Majordomo to spawn double adds ( #10076 )
...
* fix(Scripts/MoltenCore): Remove minions from Majordomo's spawn list if they still exist
* fix domo for good
2022-01-09 11:02:42 -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
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
Skjalf
0e29319d8f
fix(Scripts/MoltenCore): Ensure Majordomo minions that completely despawned respawn on wipes ( #10061 )
2022-01-08 11:31:37 +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
IntelligentQuantum
2e6213d526
feat(Core/SmartScripts): SMART_ACTION_ATTACK_STOP #10053
2022-01-07 04:19:32 -03:00
Tim Fleschenberg
3085f64e50
fix(Core/Handlers): remove the uint8 cap from guild bank max stacks per day
2022-01-07 02:56:32 -03:00
Malcrom
85bf69a6a1
fix(Scripts/Creature): Convert npc_ranger_lilatha script to RegisterCreatureAI ( #10043 )
2022-01-07 04:02:28 +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
killerwife
66e6d33116
fix(MMAP): Build ADT floor just like WMO floor below liquid ( #9990 )
2022-01-06 19:26:34 +01:00
Malcrom
73d5772cf6
fix(DB/Script): Eastvale Logging Camp, Elywnn Forest ( #10036 )
...
* fix(DB/Script): Eastvale Logging Camp, Elywnn Forest
* Update rev_1641426458023302944.sql
* Update zone_elwynn_forest.cpp
2022-01-06 13:58:28 -04:00