Angelo Venturini
d204eccdea
fix(Core/SmartScripts): Allow SAI_ACTION_DIE to accept params ( #16411 )
2023-05-31 23:32:15 -03:00
Gultask
d696a85797
fix(Core/SAI): Allow LINK events to use event_chance ( #16308 )
2023-05-24 14:01:11 -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
天鹿
ab7c12fe41
chore(core): Cleanup code p2 ( #16041 )
...
* Update AchievementMgr.cpp
* Update M2Stores.cpp
* Update LFGHandler.cpp
* Update PetHandler.cpp
* Update WaypointMovementGenerator.cpp
* Update ScriptMgr.cpp
* Update SpellAuras.cpp
* Update Spell.cpp
* Update SecretMgr.cpp
* Update SpellScript.cpp
* Update SecretMgr.cpp
* Update Spell.cpp
* Update SpellAuras.cpp
* Add files via upload
* Update PetHandler.cpp
* Update PetHandler.cpp
* Update CalendarMgr.cpp
* Update LFG.h
* Update WaypointMovementGenerator.cpp
* Update MapScripts.cpp
* Update Unit.cpp
* Update SmartScript.cpp
2023-05-13 15:00:29 -03:00
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: https://github.com/TrinityCore/TrinityCore/commit/0c44bd33ee7b42c924859139a9f4b04cf2b91261
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 https://github.com/TrinityCore/TrinityCore/commit/fd26c3c87c5e75952d5af033a66c9a28c9af29b9
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 <[email protected] >
Co-authored-by: Shocker <[email protected] >
Co-authored-by: Veil <[email protected] >
Co-authored-by: Shocker <[email protected] >
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
天鹿
d75bcf0f67
chore(core): Cleanup code ( #16012 )
...
* Update SmartScript.cpp
* Update M2Stores.cpp
* Update PetHandler.cpp
* Update WaypointMovementGenerator.cpp
* Update WorldSession.cpp
* Update spell_item.cpp
* Update LoginDatabase.cpp
2023-04-19 21:34:48 -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
M'Dic
8aa2a2ac0f
chore (core): Clean up ( #15977 )
...
* chore (core): Clean up
* Update SmartScript.cpp
* more clean up
* Update boss_xt002.cpp
2023-04-16 21:04:56 -04: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
8fa0953671
feat(Core/Creature): Implement CREATURE_FLAG_EXTRA_DONT_OVERRIDE_ENTR… ( #15976 )
...
feat(Core/Creature): Implement CREATURE_FLAG_EXTRA_DONT_OVERRIDE_ENTRY_SAI
2023-04-16 19:45:09 -03:00
Gultask
aaa548df0b
Revert "fix(Core/SAI): Set minions in combat with their master's vict… ( #15967 )
...
Revert "fix(Core/SAI): Set minions in combat with their master's victim (#14959 )"
This reverts commit 1e17eaae0b .
2023-04-15 19:49:03 -03:00
Gultask
fd6941de7c
fix(Core/SmartAI): Prevent MOVE_TO_POS from creating large distances between target ( #15899 )
...
Update SmartScript.cpp
2023-04-09 23:44:52 -03:00
Skjalf
78384368ba
fix(Scripts/Steamvault): Rework Mekgineer Steamrigger ( #15896 )
2023-04-09 16:26:35 -03:00
UltraNix
b42075f849
fix(Core/SmartScripts): Fixed SMART_EVENT_FRIENDLY_HEALTH_PCT event. ( #15579 )
...
Fixes #15515
2023-04-02 15:34:01 -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
Kitzunu and Treeston
bd6034e1a9
refactor(Core/AI): Some more refactoring prep for Comat Threat system… ( #15026 )
...
Co-authored-by: Treeston <[email protected] >
2023-02-13 21:39:40 +01: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
Skjalf
1e17eaae0b
fix(Core/SAI): Set minions in combat with their master's victim ( #14959 )
2023-02-12 08:28:18 -03:00
UltraNix
f496535cc8
fix(Core/AI): Fixed mobs attacking in defensive state. ( #14947 )
2023-02-11 12:06:17 -03:00
Skjalf
dba8c49bce
chore(Core/Object): Rename GetGOData() to GetGameObjectData() ( #14875 )
2023-02-05 08:35:52 -03:00
Skjalf and jackpoz
1fc1e1d5b7
feat(Core/SmartAI): Implement SMART_EVENT_SUMMONED_UNIT and SMART_EVE… ( #14811 )
...
Co-authored-by: jackpoz <[email protected] >
2023-01-31 22:50:34 +01:00
Skjalf and jackpoz
bf30c66ba4
feat(Core/GameObject): Expand IsSummonedBy() to GameObjects ( #14789 )
...
Co-authored-by: jackpoz <[email protected] >
2023-01-29 09:44:33 -03:00
Skjalf and jackpoz
b4e3f1310b
feat(Core/Unit): Add KillSelf overload ( #14785 )
...
Co-authored-by: jackpoz <[email protected] >
2023-01-28 17:57:23 -03:00
UltraNix
0022b3a964
fix(Core): Crashfix. ( #14660 )
2023-01-14 10:41:40 +01: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
Angelo Venturini
e0803fb0cb
fix(Core): Crash on random movement SAI ( #13862 )
2022-11-19 15:26:53 -03:00
Maelthyr
1f472bddd3
refactor(Core/Combat): Code style and improvement of ThreatMgr ( #12992 )
2022-09-25 15:20:34 -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
Tony Konzel
dc0c6e0498
fix(Core): Creatures should finish casting any current spells before fleeing ( #12964 )
2022-09-19 00:07:32 -03: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
UltraNix
ba4911142b
fix(Core/SmartAI): Mind-controlled creatures can auto-attack its vict… ( #12863 )
...
fix(Core/SmartAI): Mind-controlled creatures can auto-attack its victims.
Fixes #12624
2022-08-31 23:42:36 -03:00
UltraNix
2a0737b557
fix(Core/SmartScripts): Fixed SMART_TARGET_OWNER_OR_SUMMONER target. ( #12644 )
2022-08-07 14:00:00 -03:00
Angelo Venturini
1e77b9575f
fix(Core/SAI): Unused parameters warnings ( #12620 )
2022-08-05 14:45:03 -03:00
UltraNix
f13854cd5e
fix(Core/SmartScripts): Fixed SMART_ACTION_START_FOLLOW not complet… ( #12580 )
...
…ing quests.
2022-08-01 17:53:03 -03:00
UltraNix
d0f70b6cbf
fix(DB/SAI): Fixed completing quest "Into The Realm of Shadows" ( #12515 )
2022-07-25 17:24:51 +07:00
Nefertumm
5b0896577f
fix(Core): Crash on smart event: near players ( #12479 )
2022-07-24 13:06:36 -03:00
f0777d1fd3
fix(Core/AI): validate stored targets ( #12489 )
...
Co-authored-by: Meji <[email protected] >
Co-authored-by: Ariel Silva <[email protected] >
Co-authored-by: Shauren <[email protected] >
Co-authored-by: Meji <[email protected] >
Co-authored-by: Ariel Silva <[email protected] >
Co-authored-by: Shauren <[email protected] >
2022-07-24 13:06:11 -03:00
ZhengPeiRu21
2d4e93dc3e
fix(Core): SMART_ACTION_SET_HOME_POS should accept a parameter ( #12468 )
2022-07-22 21:20:14 -04:00
IntelligentQuantum
6ac7dfa26f
refactor(Core/SmartScripts): GetTargets returns ObjectList instead of ObjectList* ( #11950 )
2022-07-18 11:15:57 +02:00
IntelligentQuantum
cc52712ac1
refactor(Core/AI): factory functions cleanup ( #11779 )
2022-07-15 16:11:49 +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
Maelthyr and Treeston
32334f5f14
refactor(Core/Unit): minor changes for the combat system ( #11904 )
...
Cherry-pick from TC: https://github.com/TrinityCore/TrinityCore/pull/19966
Co-authored-by: Treeston <[email protected] >
2022-06-13 19:40:29 -03:00
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 (https://github.com/TrinityCore/TrinityCore/commit/4747515872775553de35cc3267e1ccd5e0076ca4 )
Co-Authored-By: Ovah <[email protected] >
* 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 <[email protected] >
Co-authored-by: MDIC <[email protected] >
2022-05-21 23:42:41 +02:00
Maelthyr
c5368816fa
Core/Combat: rename getThreatMgr() to GetThreatMgr() ( #11758 )
2022-05-18 05:36:57 -03:00