IntelligentQuantum
dfa2198d98
feat(Core/SmartScripts): SMART_EVENT_ACCEPTED_QUEST, SMART_EVENT_REWARD_QUEST ( #10210 )
2022-03-27 15:19:27 +02:00
SilentCLD
624d41763a
fix(Core/SAI): allow scripts to target the summoner of a TempSummon ( #10819 )
...
Fixes #10760
Fixes #10123
2022-03-15 08:44:09 +01:00
IntelligentQuantum
38a33e7ef0
feat(Core/SmartScripts): Warn when an unused parameter is set in the database ( #10124 )
2022-02-15 18:02:39 +01:00
Kitzunu
455899dc75
fix(Core/Misc): Change const to be after type name ( #10591 )
2022-02-14 16:05:45 -03:00
acidmanifesto
48ad8b519b
Revert "fix (core): Smart Script Clean up\Code Reduction ( #10491 )" ( #10494 )
...
This reverts commit 0a218c975f .
Memory Leak Issue is being identified by a few fellow devs in response to the clean up.
2022-02-02 13:43:48 -05:00
acidmanifesto
0a218c975f
fix (core): Smart Script Clean up\Code Reduction ( #10491 )
...
* fix (core): Smart Script Clean up
No need to repeat ObjectList* targets = GetTargets(e, unit); over 100 times in the same void you sinners.
* Update SmartScript.cpp
* Update SmartScript.cpp
2022-02-02 12:40:32 -05:00
IntelligentQuantum
915b6a2738
feat(Core/SmartScripts): Add distance option for SMART_ACTION_SOUND & SMART_ACTION_RANDOM_SOUND ( #10255 )
2022-01-29 11:18:21 -03:00
IntelligentQuantum
9fadfa6499
feat(Core/SmartScripts): SMART_ACTION_PLAY_CINEMATIC ( #10231 )
...
* cherry-pick commit (63aa5d1e35 )
2022-01-28 23:53:27 +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
Kitzunu
d1cc65b1c7
refactor(Core/Misc): isEmpty to IsEmpty ( #10011 )
2022-01-13 21:43:15 -05:00
IntelligentQuantum
df4b621527
feat(Scripts/SmartAI): SMART_TARGET_INVOKER ( #9802 )
2022-01-13 07:46:25 -03: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
IntelligentQuantum
2e6213d526
feat(Core/SmartScripts): SMART_ACTION_ATTACK_STOP #10053
2022-01-07 04:19:32 -03: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
IntelligentQuantum
c377c62c7a
feat(Core/SmartScripts): Add support to friendly+hostile to SMART_EVENT_OOC_LOS and SMART_EVENT_IC_LOS ( #10037 )
...
* .
* .
2022-01-06 06:46:12 -03:00
IntelligentQuantum
2bc373b4f6
feat(Core/SmartScripts): SMART_ACTION_SET_MOVEMENT_SPEED ( #10018 )
2022-01-05 14:10:19 -03:00
IntelligentQuantum
e28bdf9bde
feat(Core/SmartScripts): SMART_ACTION_SET_HEALTH_PCT
2022-01-05 09:38:14 -03:00
IntelligentQuantum
8fd757a152
feat(Core/SmartScripts): ACTION_GO_SET_GO_STATE
2022-01-04 06:44:02 -03:00
IntelligentQuantum
9faec8ef1b
feat(Core/SmartScripts): SMART_ACTION_SET_CORPSE_DELAY
2022-01-04 06:41:19 -03:00
IntelligentQuantum
002e62d689
feat(Core/SmartScripts): SMART_EVENT_SUMMONED_UNIT_DIES ( #9979 )
2022-01-03 08:24:13 -03:00
IntelligentQuantum
8a5b96349b
feat(Core/SmartScripts): SMART_TARGET_LOOT_RECIPIENTS ( #9967 )
2022-01-02 21:54:27 -03:00
Kargatum
c81891fc11
feat(Core/AI): convert SelectAggroTarget to enum class ( #9893 )
2021-12-28 19:13:12 -03:00
IntelligentQuantum
f7ff583b7e
feat(Core/SmartScripts): SMART_ACTION_DISABLE_EVADE ( #9772 )
...
* Update SmartScriptMgr.h
* Update SmartScript.cpp
* Update SmartAI.h
* Update SmartAI.cpp
2021-12-19 18:30:55 -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
UltraNix
c8466fa218
fix(Core/SmartScripts): SMART_ACTION_ACTIVATE_GOBJECT should not rese… ( #9178 )
...
* fix(Core/SmartScripts): SMART_ACTION_ACTIVATE_GOBJECT should not reset loot state for doors.
Fixes #8937
2021-11-20 12:27:06 -03: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
UltraNix
7201d8840f
fix(Scripts/BlackrockSpire): Urok Doomhowl - improvements: ( #9067 )
...
The mobs should attack the pike if there is no players around
The boss should not despawning after summon
Urok's Tribute Pile with Pike and Head should disapear after Urok appear
Fixes #9023
2021-11-12 09:46:07 -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
acidmanifesto
0958f2f129
fix(Core/DB/SAI): [Quest] - Weapons of Spirit / Allows Value 3 for react SAI WP Start Consolidated PR ( #8926 )
2021-11-07 00:21:05 +01:00
acidmanifesto
6ff6f48e74
fix(Core/SmartAI): improve SMART_EVENT_GOSSIP_HELLO ( #8849 )
...
Add another value to event_param1 for SMART_EVENT_GOSSIP_HELLO to support all cases of OnGossipHello/OnReportUse in GameObjects:
- event_param1 set to 0: execute the action for both OnGossipHello and OnReportUse. This might result in the action being executed twice when clicking the GameObject
- event_param1 set to 1: execute the action for only OnGossipHello
- event_param1 set to 2: execute the action for only OnReportUse
2021-11-04 09:49:20 +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
Kitzunu
bc82f36f1f
refactor(Core/Unit): clean MonsterText methods ( #6957 )
2021-10-15 10:25:29 +02:00
Andrius Peleckas
5d73180c61
feat(Core/SAI): implemented a new SAI action type SMART_ACTION_DO_ACTION ( #8375 )
...
* feat(Core/SAI): implemented a new SAI action type SMART_ACTION_DO_ACTION
This will give possibility to trigger certain actions on instance scripts or creatures/gobjects
* yet we still love you "blank line" xD
2021-10-14 14:06:28 +02:00
Skjalf
3894dfc897
fix(Core/SAI): Update SMART_ACTION_FORCE_DESPAWN to allow temporarily despawning gameobjects ( #8340 )
...
* fix(Core/SAI): Update SMART_ACTION_FORCE_DESPAWN to allow temporarily despawning gameobjects
* brackets
* Some improvements
* restore the virtual
2021-10-14 13:23:59 +02:00
Andrius Peleckas
b5f8b485a8
feat(Core/SAI): implemented boss state handling in SMART_ACTION_SET_INST_DATA + added additional data checks ( #8369 )
2021-10-13 09:54:33 -03:00
Skjalf
cdb45a7ef1
fix(Core/SAI): Fix SMART_ACTION_CALL_AREAEXPLOREDOREVENTHAPPENS not working with gameobject sources if the player is in group ( #8234 )
2021-10-07 13:08:07 +02: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
15b346163d
fix(Scripts/BRD): Mobs in Manufactory should attack on Golem Lord Arg… ( #7794 )
...
- Closes #3077
2021-09-13 16:09:40 +02:00
Kitzunu
9ab6ba9664
chore(Core/Misc): remove toxic language ( #6988 )
2021-07-21 23:57:20 +02:00
Francesco Borzì
eeab4f5de6
fix(Core): macOS build ( #6479 )
2021-06-21 18:10:40 +02:00
Kargatum
5787d00d54
chore(Core/Logging): replace most server loggers ( #5726 )
...
* chore(Core/Logging): replace most server loggers
Co-authored-by: Kitzunu <24550914+Kitzunu@users.noreply.github.com >
2021-06-21 03:07:12 +02:00
Kitzunu
2e32a80f24
chore(Core/SmartScript): Fix typo ( #6355 )
...
Co-Authored-By: Giacomo Pozzoni <giacomopoz@gmail.com >
2021-06-20 01:29:30 +02:00
UltraNix
b2e42f52a0
fix(Core/SmartScripts):SMART_TARGET_CREATURE/GAMEOBJECT_GUID ( #6298 )
2021-06-18 16:05:08 +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