Maelthyr
c5368816fa
Core/Combat: rename getThreatMgr() to GetThreatMgr() ( #11758 )
2022-05-18 05:36:57 -03:00
IntelligentQuantum
9fa3436cbe
feat(Core/SmartScripts): SMART_EVENT_FLAG_WHILE_CHARMED ( #10286 )
2022-04-23 16:26:42 +02:00
Kitzunu
1501445b0a
chore(Core/Misc): nullptr cleanup ( #11467 )
2022-04-21 19:17:20 +02:00
天鹿
b801274b89
fix(Core/SmartScripts): null crash in SMART_TARGET_PLAYER_DISTANCE ( #11442
2022-04-19 16:17:51 +02:00
UltraNix
f7214e24ea
feat(Core/SmartScripts): Improvements to SMART_EVENT_FRIENDLY_HEALTH_PCT: ( #11171 )
...
* Added new parameter: radius.
* The event can be used with SMART_TARGET_SELF and SMART_TARGET_ACTION_INVOKER target types.
* Closes #5270
2022-04-18 19:35:37 +02:00
IntelligentQuantum
659775548f
feat(Core/SmartScripts): Add an action_param3 to "summon gob" to control when the object will despawn ( #10254 )
...
* cherry-pick commit (TrinityCore/TrinityCore@ca4f1e3 )
2022-04-17 03:48:22 +02:00
IntelligentQuantum
3555f5916d
fix(Core/SmartScripts): don't allow to start a new SAI actionlist while the entity is already running one ( #10230 )
...
* cherry-pick commit (2b1cde2560 )
2022-04-17 03:46:08 +02:00
IntelligentQuantum
e38a17d2da
feat(Core/SmartScripts): SMART_EVENT_EVENT_PHASE_CHANGE ( #10054 )
...
* cherry-pick commit (619a5534c5 )
2022-04-17 01:55:52 +02:00
acidmanifesto
db360f0cfb
Fix (Core\DB) Hostil to Hostile spelling fix ( #11399 )
...
* Fix (Core) Hostil to Hostile spelling fix
* sql cmd adjustment as well
* AliGnZ
* Further Hostil to Hostile Correction
Per @Si1ker Research via https://github.com/azerothcore/azerothcore-wotlk/pull/11399#issuecomment-1099506373
2022-04-16 11:00:38 -04:00
IntelligentQuantum
ab4ee71762
feat(Core/Maps): AreaBoundary ( #10525 )
...
* cherry-picked commit (2da458c56d )
2022-04-15 14:10:41 +02:00
Kitzunu
b41967a067
feat(Core/GameObject): Gob flag helpers ( #11287 )
2022-04-05 13:52:58 +02:00
Kitzunu
edb7cac19b
feat(Core/Unit): NPCFlags helpers ( #11286 )
...
* cherry-pick commit (TrinityCore/TrinityCore@d611925 )
Co-Authored-By: Shauren <shauren.trinity@gmail.com >
2022-04-05 13:52:42 +02:00
Kitzunu
535c7451a2
feat(Core/Unit): New helpers for DynamicFlags ( #11230 )
...
* feat(Core/Unit): New helpers for DynamicFlags
* cherry-pick commit (d611925dc7 )
Co-Authored-By: Shauren <shauren.trinity@gmail.com >
* oopsie
Co-authored-by: Shauren <shauren.trinity@gmail.com >
2022-04-01 07:14:29 -03:00
Kitzunu
856aed6fc6
feat(Core/Unit): New helpers for UnitFlag and UnitFlag2 ( #11227 )
2022-03-30 07:59:42 -03:00
IntelligentQuantum
dec0081f6c
fix (Core/SmartScripts): allow to start waypoint movement for a creature that is in combat
2022-03-27 11:34:36 -04:00
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
Bogir[rus]
75439773d0
fix and bringing to a unified style warnings of server loading logs to be more visible at server startup ( #10970 )
2022-03-12 04:57:26 -03:00
acidmanifesto
a7d17a5bb6
fix (core\db): SAI Error Reporting ( #10698 )
...
* fix (core\db): SAI Error Reporting
* formatting
2022-02-15 17:00:33 -05: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
UltraNix
5febb28b4c
fix(Core/SmartScripts): SMART_ACTION_SET_CORPSE_DELAY, SMART_ACTION_DISABLE_EVADE and SMART_ACTION_GO_SET_GO_STATE are valid actions. ( #10538 )
2022-02-11 22:33:18 +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
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
Cláudio Costa
92887b1578
fix(Scripts/DB): Terenthis quest chain ( #9714 )
2022-01-19 22:39:16 +01:00
Kitzunu
d1cc65b1c7
refactor(Core/Misc): isEmpty to IsEmpty ( #10011 )
2022-01-13 21:43:15 -05: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
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
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
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
Francesco Borzì
cbc7e5466a
refactor(Core): remove unused imports ( #9767 )
2021-12-19 19:41:14 +01: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