Peter Keresztes Schmidt
39fc17e284
Scripts/Outland: Use std::chrono::duration overloads of EventMap ( #25022 )
...
Contributes to #25012
2020-07-14 19:35:12 +02:00
Peter Keresztes Schmidt
29779db58b
Scripts/Northrend: Use std::chrono::duration overloads of EventMap ( #25021 )
...
Contributes to #25012
2020-07-14 19:32:28 +02:00
Peter Keresztes Schmidt
a2b2dc7ad0
Scripts/Trial of the Crusader: Use std::chrono::duration overloads of EventMap ( #25020 )
...
Contributes to #25012
2020-07-14 19:13:27 +02:00
Peter Keresztes Schmidt
5ef576d223
Scripts/EasternKingdoms: Use std::chrono::duration overloads of EventMap ( #25019 )
...
Contributes to #25012
2020-07-14 19:10:30 +02:00
Peter Keresztes Schmidt
ac27c922d1
Scripts/Blackrock Mountain: Use std::chrono::duration overloads of EventMap ( #25018 )
...
Contributes to #25012
2020-07-14 19:05:24 +02:00
Peter Keresztes Schmidt
90d5e7e1e8
Scripts/Kalimdor: Use std::chrono::duration overloads of EventMap ( #25016 )
...
Contributes to #25012
2020-07-14 18:17:23 +02:00
Peter Keresztes Schmidt
e372f9badb
Core/Battlegrounds: Use std::chrono::duration overloads of EventMap ( #25015 )
...
Contributes to #25012
2020-07-14 18:11:07 +02:00
Shauren
8675fd756f
Core/Misc: Fixed wrong db field accessors usage found with TRINITY_STRICT_DATABASE_TYPE_CHECKS
...
* Fixes loading group instance reset times
* Fixes loading battlefield templates
2020-07-14 12:46:57 +02:00
Shauren
55dbe35cc7
Core/Pooling: Fixed pooling when compiled with TRINITY_STRICT_DATABASE_TYPE_CHECKS
2020-07-14 12:42:37 +02:00
Giacomo Pozzoni
ee34a1f19e
Scripts/Kologarn: Fix another "stuck in combat" issue ( #24998 )
2020-07-14 09:44:17 +02:00
Gildor
5e1571062a
Core/Spells: Check a few aura effects for determining if should be negative ( #25004 )
2020-07-14 09:43:41 +02:00
jackpoz
a368606a96
Core/Misc: Rename sql files
2020-07-14 09:35:57 +02:00
Giacomo Pozzoni
203573db83
Core/Spells: Implement SPELL_EFFECT_ACTIVATE_OBJECT. ( #23 ) ( #24997 )
...
* Core/Spells: Implement SPELL_EFFECT_ACTIVATE_OBJECT. (#23 )
Original research by @xvwyh.
# Conflicts:
# src/server/game/DataStores/DBCStores.cpp
# src/server/game/DataStores/DBCStructure.h
# src/server/game/DataStores/DBCfmt.h
# src/server/game/Entities/GameObject/GameObject.h
# src/server/game/Entities/GameObject/GameObjectData.h
# src/server/scripts/EasternKingdoms/ZulAman/zulaman.cpp
# src/server/scripts/Kalimdor/HallsOfOrigination/boss_temple_guardian_anhuur.cpp
* Add missing sql update
* Fix some build errors
* Remove unused enum values
* Change artkits from 0-4 to 0-3
* Remove unused code
* Code review feedback
* Fix sql
* Remove artkit4 special case handling
* Default initialize artKits
* Code review feedback
* Split sql into structure and data files
Co-authored-by: Warpten <vertozor@gmail.com >
2020-07-14 09:34:03 +02:00
Shauren
042b1abfd7
Fix warnings related to Vector3::operator= and remove -Wno-deprecated-copy suppression
2020-07-13 18:35:13 +02:00
Shauren
e2ec3df27e
Add missing breaks
2020-07-13 18:15:09 +02:00
Peter Keresztes Schmidt
10be49bdfe
Fix some compiler warnings reported by GCC ( #25007 )
...
* Core/AI: Remove unneeded null checks
GetMap() can never return NULL.
Fixes additionally -Wunused-variable warnings
reported by GCC.
* Core/GameObject: Fix a -Wunused-variable warning reported by GCC
* Core/Player: Fix a -Wunused-variable warning reported by GCC
* Scritps/CavernsOfTime: Fix -Wimplicit-fallthrough warnings reported by GCC
* Scritps/CavernsOfTime: Fix a -Wmaybe-uninitialized warning reported by GCC
Warning:
/home/peterke/DEV/TrinityCore/src/server/scripts/Kalimdor/CavernsOfTime/CullingOfStratholme/npc_arthas.cpp: In member function ‘virtual void npc_arthas_stratholme::npc_arthas_stratholmeAI::UpdateAI(uint32)’:
/home/peterke/DEV/TrinityCore/src/server/scripts/Kalimdor/CavernsOfTime/CullingOfStratholme/npc_arthas.cpp:1119:58: warning: ‘emote’ may be used uninitialized in this function [-Wmaybe-uninitialized]
1119 | (*it)->HandleEmoteCommand(emote);
| ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~
* Scritps/PitOfSaron: Fix -Wunused-variable warnings reported by GCC
* Scritps/EyeOfEternity: Fix a -Wclass-memaccess warning reported by GCC
Warning:
/home/peterke/DEV/TrinityCore/src/server/scripts/Northrend/Nexus/EyeOfEternity/boss_malygos.cpp: In member function ‘virtual void boss_malygos::boss_malygosAI::UpdateAI(uint32)’:
/home/peterke/DEV/TrinityCore/src/server/scripts/Northrend/Nexus/EyeOfEternity/boss_malygos.cpp:950:81: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘class ObjectGuid’; use assignment or value-initialization instead [-Wclass-memaccess]
950 | memset(_surgeTargetGUID, 0, sizeof(_surgeTargetGUID));
|
* Scritps/CoilfangReservoir: Fix a -Wclass-memaccess warning reported by GCC
Warning:
/home/peterke/DEV/TrinityCore/src/server/scripts/Outland/CoilfangReservoir/SerpentShrine/boss_leotheras_the_blind.cpp: In member function ‘void boss_leotheras_the_blind::boss_leotheras_the_blindAI::Initialize()’:
/home/peterke/DEV/TrinityCore/src/server/scripts/Outland/CoilfangReservoir/SerpentShrine/boss_leotheras_the_blind.cpp:220:55: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘class ObjectGuid’; use assignment or value-initialization instead [-Wclass-memaccess]
220 | memset(InnderDemon, 0, sizeof(InnderDemon));
| ^
* Scritps/Naxx: Fix a -Wimplicit-fallthrough warning reported by GCC
For discussion see https://github.com/TrinityCore/TrinityCore/pull/25007
2020-07-13 16:35:31 +02:00
Ghaster
5af8ff2b84
Core/Spells: Use correct SpellEntry field for Amplitude ( #25008 )
2020-07-12 16:56:50 +02:00
Peter Keresztes Schmidt
c92950b3e1
Core/DataStores: Update DBC field names to generated ones ( #24999 )
2020-07-12 15:36:55 +02:00
Max Drosdo.www
3529442668
Core/Player: Introduce separate level caps for each expansion ( #24989 )
2020-07-11 11:10:04 +02:00
Shauren
dc71bd466f
Core/DBLayer: Fix build with TRINITY_STRICT_DATABASE_TYPE_CHECKS
2020-07-11 10:58:25 +02:00
Shauren
c317f248bf
Core/DBLayer: Optimize string based query results by eliminating unneeded buffer copies
...
(cherry picked from commit 59f1f60a83 )
# Conflicts:
# src/server/database/Database/Field.cpp
# src/server/database/Database/Field.h
# src/server/database/Database/QueryResult.cpp
2020-07-10 22:47:04 +02:00
offl
92efefabc8
DB/Creature: Remove flee actions from civilians & texts related to civilians
...
Closes #24979
2020-07-09 22:51:01 +02:00
offl
1943f7fc07
DB/Creature: Standardize creature respawn time part 7
...
Closes #24978
2020-07-09 22:49:18 +02:00
offl
6c806490d3
DB: Restore incorrectly removed spawn_group data
...
Closes #24977
2020-07-09 22:43:20 +02:00
Eridium
98c37b15e0
Creature/Script: npc_blackfathom_deeps_event ( #24969 )
...
* Creature/Script: npc_blackfathom_deeps_event
* Update blackfathom_deeps.cpp
* Update blackfathom_deeps.h
* codestyle
* Update blackfathom_deeps.cpp
Co-authored-by: Killyana <Killyana@users.noreply.github.com >
Co-authored-by: Ovah <dreadkiller@gmx.de >
2020-07-09 22:39:44 +02:00
jackpoz
f10b9d617a
Core/Database: Apply 54b0b8f5ea to 141ada19b0
2020-07-09 22:37:23 +02:00
jackpoz
b4adaa838c
Core/Creature: Add null check for charmed creatures
2020-07-09 22:12:18 +02:00
ZenoX92
293fd67fac
DB/Quest: The Divination
...
Closes #24975
2020-07-09 21:27:02 +02:00
ZenoX92
b54d389cf1
DB/Creature: Warmaul Chef Bufferlo
...
Closes #24974
2020-07-09 21:27:02 +02:00
ZenoX92
10a9b44f30
DB/Gossip: Nayura
...
Closes #24972
2020-07-09 21:27:02 +02:00
Ovah
94a4404e7e
Core/Spells: Expose corpseTarget to spell scripts with SpellScript::GetHitCorpse() ( #24981 )
...
Closes #24945
2020-07-09 20:03:40 +02:00
akrom23
f99a79cb43
Creature/AI: Remove SetVisible from SmartAI::InitializeAI
...
Closes #24184
2020-07-09 19:34:36 +02:00
Shauren
14db2215d3
Core/Spells: Don't select corpses for spell targets that expect to hit units
...
Closes #24980
2020-07-09 18:44:21 +02:00
Ovah
232628f0a6
Scripts/ICC: fixed a crash in the Lich King encounter caused by invalid corpse targets
2020-07-09 14:22:00 +02:00
ZenoX92
c1eb1c41f8
DB/Item: Diabolical Plans & Flayed Demon Skin
...
Closes #24971
2020-07-08 19:47:34 +02:00
offl
e472ef0237
DB/Creature: Adjust some rare creatures respawn time
...
Closes #24970
2020-07-08 19:44:30 +02:00
offl
3660e272d4
DB/Creature: Make Xi'ri & Brutallus invincible
...
Closes #24967
2020-07-08 19:43:05 +02:00
offl
1cc16afc4f
DB/Creature: Standardize creature respawn time, remove wrong spawns part 6
...
Closes #24966
2020-07-08 19:27:52 +02:00
Killyana
95dd021f08
DB/Creature: Argent Skytalon
...
Closes #24963
2020-07-08 19:21:12 +02:00
ZenoX92
d5466ae563
DB/Quest: Quest Emotes (Azuremyst Isle)
...
Closes #24953
2020-07-08 19:19:31 +02:00
ZenoX92
88f9b8634f
DB/Texts: Antonio Perelli
...
Closes #24951
2020-07-08 19:16:51 +02:00
ZenoX92
eb5bd6af8c
DB/Quest: Gizmo for Warug
...
Closes #24950
2020-07-08 19:15:11 +02:00
offl
c73238ec3b
DB: Add broadcast texts to some creature texts
...
Closes #24948
2020-07-08 19:08:12 +02:00
offl
da62d78731
DB/Creature: Add gossip options to retrieve Brood of Nozdormu rings and script Anachronos' combat part
...
Closes #24944
2020-07-08 19:03:40 +02:00
offl
4c25aeaa23
DB/Creature: Warmaster Laggrond & Lieutenant Haggerdin: Options to restore Frostwolf / Stormpike Insignia
...
Closes #24943
2020-07-08 18:56:59 +02:00
offl
169ee64502
DB/Creature: Smith Regzar & Murgot Deepforge
...
Closes #24942
2020-07-08 18:46:03 +02:00
offl
d1e26da320
DB/Creature: Make Steven Thomas & Arcanist Myndimendez & Roitau invincible
...
Closes #24939
2020-07-08 18:32:53 +02:00
offl
7a0c169668
DB/SAI: Update talk action in previously added scripts to set target as talk target
...
Closes #24938
2020-07-08 18:29:09 +02:00
offl
c3f682c8e5
DB/SAI: Update some scripts using CMC cast flag
...
Closes #24937
2020-07-08 18:24:08 +02:00
offl
4975590824
DB/Creature: Standardize creature respawn time, remove wrong spawns part 5
...
Closes #24936
2020-07-08 18:16:37 +02:00