Angelo Venturini
d204eccdea
fix(Core/SmartScripts): Allow SAI_ACTION_DIE to accept params ( #16411 )
2023-05-31 23:32:15 -03:00
Gultask
69fab3df70
feat(Core/SAI): Implement SMART_ACTION_DISABLE ( #16254 )
...
* init
* Create rev_1684036819129474700.sql
* Update rev_1684036819129474700.sql
2023-05-17 09:31:50 -03:00
M'Dic
ab2c062f03
feat(core\dbc): item.dbc, sItemStore, item_dbc, item enforcement conf, subclass fix ( #14675 )
...
feat (core\log\db): item.dbc and enforcement
dbc enforcement partial pick from tc: 0c44bd33ee
Custom Item for testing by menevia16a (SPP DEV VEIL)
feat (core\log\db): item.dbc and enforcement
Update Item.sql
Update DBCStores.cpp
Update World.cpp
Update ObjectMgr.cpp
further replacement from template to dbc lookup
further logging and implementation
cherry pick tc fd26c3c87c
replace with db lookup
update (sql): Murder all the backticks
line break fixit
fix (item_template): fix incorrect subclass
fix incorrect subclass matching with dbc enforcement
update: log correction for sub class
update log correction for sub class
add subclass to dbc enforcement
add subclass dbc enforcement since it is part of the item.dbc item_dbc
update (log): additional log
Co-authored-by: blub <trinity.michael_vincent@gmx.eu >
Co-authored-by: Shocker <511388+shocker@users.noreply.github.com >
Co-authored-by: Veil <1913466+menevia16a@users.noreply.github.com >
Co-authored-by: Shocker <43253032+shockerqt@users.noreply.github.com >
2023-04-28 01:26:44 +02:00
avarishd
a275a7c464
fix(Core/SmartScripts): Add Triggered Flags for CAST & INVOKER_CAST ( #16045 )
...
* cast/invoker_cast
* Update SmartScript.cpp
* {}
2023-04-25 06:21:16 -03:00
IntelligentQuantum
87ea455bec
feat(Core/SmartScripts): SMART_ACTION_SELF_CAST ( #14371 )
...
* feat(Core/SmartScripts): SMART_ACTION_SELF_CAST
* Update SmartScriptMgr.cpp
2023-04-17 21:07:59 -03:00
Skjalf
f3c63f9662
feat(Core/SAI): Implement SMART_ACTION_SET_GUID ( #15978 )
...
* feat(Core/SAI): Implement SMART_ACTION_SET_GUID
* Update SmartScript.cpp
* Update src/server/game/AI/SmartScripts/SmartScriptMgr.h
* Update SmartScript.cpp
2023-04-16 21:00:44 -03:00
Skjalf
78384368ba
fix(Scripts/Steamvault): Rework Mekgineer Steamrigger ( #15896 )
2023-04-09 16:26:35 -03:00
avarishd
2bdf5467b4
fix(Core/SAI): Remove duplicated GO_STATE ( #15530 )
...
* fix(Core/SmartScripts): Remove duplicated GO_STATE
* comment in/out some stuff
2023-03-23 08:05:28 -03:00
Skjalf
8a39bd050a
feat(Core/SAI): Implement SMART_TARGET_INSTANCE_STORAGE ( #14981 )
2023-02-13 00:53:20 +01:00
Kitzunu
f039836a2f
chore(Core/Misc): Change all TODO to doxygen comment ( #14966 )
2023-02-12 10:05:34 -03:00
UltraNix
14f3b444ae
fix(Core/Creatures): Implemented `SUMMON_PROP_FLAG_ONLY_VISIBLE_TO_SU… ( #14054 )
...
* fix(Core/Creatures): Implemented `SUMMON_PROP_FLAG_ONLY_VISIBLE_TO_SUMMONER` summon flag.
Fixes #6674
* Update.
2023-01-06 00:52:05 +01:00
Skjalf
968bb3fa7e
chore(Core/SAI): Align SAI headers with TrinityCore ( #14261 )
2022-12-17 17:23:22 -03:00
UltraNix
b615ccd9e9
fix(Core/SmartScripts): Added new parameter onlyInCombat to `SMART_… ( #13947 )
...
* fix(Core/SmartScripts): Added new parameter `onlyInCombat` to `SMART_EVENT_FRIENDLY_MISSING_BUFF` event.
Coilfang Scale-Healer should cast Power Word: Shield only in combat.
Fixes #13838
* missing sql.
2022-12-11 11:35:28 -03:00
UltraNix
95652e14d5
fix(Core/SmartScripts): Implemented new target type: SMART_TARGET_SUM… ( #13880 )
...
* fix(Core/SmartScripts): Implemented new target type: SMART_TARGET_SUMMONED_CREATURES.
Fixes #13787
* Update.
* Update.
2022-12-06 09:41:05 -03:00
天鹿
d5f839a4be
fix(Core): SMART_EVENT_RANGE ( #13064 )
...
* Update SmartScriptMgr.h
* Update SmartScript.cpp
2022-09-19 21:00:10 -04:00
Malcrom
972bcc3113
Feature(Smart Scripts/SMART_EVENT_RANGE): Proper fix to prevent Initial timer ( #13059 )
...
* Feature(Smart Scripts/SMART_EVENT_RANGE): Proper fix to prevent Initial timer
* Update SmartScript.cpp
2022-09-19 15:35:34 -04:00
Malcrom
f06f5a1334
fix(Core/Smart Scripts): Add param5 flag for range event ( #13049 )
...
* fix(Core/Smart Scripts): Add param5 flag for range event to prevent cast on entering combat.
2022-09-18 09:36:15 -04:00
Nefertumm
f0777d1fd3
fix(Core/AI): validate stored targets ( #12489 )
...
Co-authored-by: Meji <meji46@users.noreply.github.com >
Co-authored-by: Ariel Silva <ariel-@users.noreply.github.com >
Co-authored-by: Shauren <shauren.trinity@gmail.com >
Co-authored-by: Meji <meji46@users.noreply.github.com >
Co-authored-by: Ariel Silva <ariel-@users.noreply.github.com >
Co-authored-by: Shauren <shauren.trinity@gmail.com >
2022-07-24 13:06:11 -03:00
IntelligentQuantum
6ac7dfa26f
refactor(Core/SmartScripts): GetTargets returns ObjectList instead of ObjectList* ( #11950 )
2022-07-18 11:15:57 +02:00
UltraNix
65e02d9422
fix(Core/SmartScripts): Added option to override current running time… ( #12298 )
...
fix(Core/SmartScripts): Added option to override current running timed actionlist.
Fixes #12227
2022-07-03 11:22:25 -04:00
Kitzunu
90fccacad5
feat(Core/Movement): Allow waypoints to use 0 as valid facing value ( #11681 )
...
* feat(Core/Movement): Allow waypoints to use 0 as valid facing value
* cherry-pick commit (4747515872 )
Co-Authored-By: Ovah <18347559+Ovahlord@users.noreply.github.com >
* Update SmartScriptMgr.h
* a
* Update SmartAI.cpp
* Update SmartAI.cpp
* Update SmartAI.cpp
* typo
* Update SmartAI.cpp
* Update SmartAI.cpp
* Compile fix
* compile #2
* Update WaypointMgr.h
* Update SmartScriptMgr.h
* compile fix again
Co-authored-by: Ovah <18347559+Ovahlord@users.noreply.github.com >
Co-authored-by: MDIC <joshua.lee.betts@gmail.com >
2022-05-21 23:42:41 +02: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
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
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
dfa2198d98
feat(Core/SmartScripts): SMART_EVENT_ACCEPTED_QUEST, SMART_EVENT_REWARD_QUEST ( #10210 )
2022-03-27 15:19:27 +02: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
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
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
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
Kargatum
f62664c987
refactor(Core/Misc): headers cleanup ( #9259 )
2021-11-22 17:24:39 +07: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
acidmanifesto
93bbff4cca
feat(Core/SAI): Wp table add in orientation and delay collumn ( #8927 )
...
ADD (Core) Wp table add in orientation and delay collumn
TC Cherry pick of TrinityCore/TrinityCore@4b7d19c
2021-11-06 08:43:45 -03: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
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