hondacrx
25a4d5b354
Core/SAI: Implemented new source type SMART_SCRIPT_TYPE_EVENT (3)
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/d015711fbb7a8bf57f7bb64ba8113c942d5125de )
2023-07-23 18:06:11 -04:00
hondacrx
a9544c4163
Core/SAI: Fixed event SMART_EVENT_WAYPOINT_ENDED
...
* also moved "any" pointid to 0xFFFFFFFF for waypoint sai events:
* SMART_EVENT_WAYPOINT_REACHED
* SMART_EVENT_WAYPOINT_RESUMED
* SMART_EVENT_WAYPOINT_PAUSED
* SMART_EVENT_WAYPOINT_STOPPED
* SMART_EVENT_WAYPOINT_ENDED
Port From (https://github.com/TrinityCore/TrinityCore/commit/76d2f29e4e4c0e14a014676aafff2f8836f96ea0 )
2023-06-30 08:31:39 -04:00
hondacrx
e6432f8c97
Core/Quests: Quest flag fixups
...
* Update flag names
* Implemented QUEST_FLAGS_COMPLETION_NO_DEATH and QUEST_FLAGS_FAIL_ON_LOGOUT
* Started using QUEST_FLAGS_COMPLETION_EVENT and QUEST_FLAGS_COMPLETION_AREA_TRIGGER instead of a custom SpeclalFlag
* Renamed Quest::IsAutoComplete to Quest::IsTurnIn to better describe what it means (a quest that can be turned in without accepting it to quest log)
* Implemented QUEST_FLAGS_UPDATE_PHASESHIFT and removed forced phaseshift updates on every quest status change
* Implemented QUEST_FLAGS_LAUNCH_GOSSIP_ACCEPT - reopens gossip menu with questgiver
Port From (https://github.com/TrinityCore/TrinityCore/commit/4d4c7e68935df9ca40bd5539d602ac4e779f53d5 )
2023-06-13 08:52:22 -04:00
hondacrx
068ccd990f
Core/Creatures: Move creature difficulty specific data from creature_template table to creature_template_difficulty
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/06d0b16f158e8793860d9edd11b990f20b1d0dac )
2023-05-30 08:16:40 -04:00
hondacrx
792a6ecd84
Core/SAI: Drop waypoints table and move existing rows to waypoint_data table
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/356c98579babd1aef12e2b5ef28baba2403368d0 )
2023-04-25 17:05:34 -04:00
hondacrx
19c484dc5a
Core/Creatures: Compute CombatReach and BoundingRadius using DisplayScale
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/81ea6f54d93ee10b03e6432c6071e0d0983796a2 )
2023-04-21 18:21:08 -04:00
hondacrx
bd437fc87a
Fixes/Crashes:
...
command "cometome"
Using call pet on hunter
crash when casting some spells.
2023-03-20 05:50:18 -04:00
hondacrx
d0b7bcb2fe
Core/Creatures: Allow disabling melee attacks for all creatures, not just the ones using SAI
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/d26d38075cdb56dcef77f05276a360e717cc5032 )
2023-03-14 04:34:51 -04:00
hondacrx
97f100c556
Core/SAI: Set the trigger player as baseobject when the source type isn't a WorldObject
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/7b14b9ef22d7869d3630c708c127683c4a59f210 )
2023-02-12 01:08:42 -05:00
hondacrx
149fadccab
Make PreparedStatements static for each database.
2023-02-04 20:55:14 -05:00
hondacrx
4b86a00d6e
Core/SAI: Added missing target guid validations
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/fc65154fd31f91cd73260ac61cb1d0c510b256a2 )
2023-01-23 00:13:16 -05:00
hondacrx
f73e64396f
Update license headers for all files.
2023-01-18 17:25:32 -05:00
hondacrx
6b344e9a09
Core/SAI: Improved SMART_ACTION_JUMP_TO_POS to mirror behavior similar to SMART_ACTION_MOVE_TO_POS
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/f291ca97962e087f9d87077b1ee6fa5b386937ed )
2023-01-06 15:59:08 -05:00
hondacrx
f2f765d650
Core/SAI: Add action param 7
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/09591fbdb0a81f8565c6a16f844953752f597f18 )
2023-01-06 15:54:49 -05:00
hondacrx
4dc96a801c
Core/SAI: Fixed unused param validation for SMART_ACTION_MOVE_OFFSET
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/abe84b9acffab8b710849f9b8b57bdde483921a1 )
2023-01-04 16:57:07 -05:00
hondacrx
1d6edf58d6
Core/SAI: Added param PointId to SMART_ACTION_MOVE_OFFSET
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/e218f276028124682790e93688aeae567ca1eaba )
2023-01-04 16:55:54 -05:00
hondacrx
abab879bd8
Core/SAI: Move (any) value for SMART_EVENT_MOVEMENTINFORM point to 0xFFFFFFFF
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/204cf030cc1fe97622b63b9fed14916cf24f7aba )
2022-11-11 19:56:55 -05:00
hondacrx
9b62b83984
Core/Loot: Implemented personal loot and tag sharing for non-boss loot
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/133334a902b705dae6f7e92bb1009b84cf1c51d2 )
2022-10-18 16:07:00 -04:00
hondacrx
0a28bd434a
Core/SAI: Rename LeavingWorld to OnDespawn & use it in SAI
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/b0164fb2b9cc35663e337d48660d5bca1e973d99 )
2022-09-05 21:57:54 -04:00
hondacrx
5404654d65
Core/SAI: Allow using default npc_text from gossip_menu with SMART_ACTION_SEND_GOSSIP_MENU
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/9ca8cf66e60c95ec3d20ed2c276623be2bb98713 )
2022-07-09 12:31:37 -04:00
hondacrx
ba6c30add4
Start adding missing scripts Part3
2022-07-06 23:53:47 -04:00
hondacrx
63cbd18350
Fixed crashes and errors when loading into world.
2022-06-21 14:56:22 -04:00
hondacrx
04caa3e757
Misc fixes
2022-06-15 18:27:32 -04:00
hondacrx
ed85b3ae55
Core/Movement: Allow waypoints to use 0 as valid facing value
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/8501fb572a38b7d278c6e37d7b32164c63771550 )
2022-06-15 18:12:42 -04:00
hondacrx
793fbda3cd
Core/SAI: Added Action SMART_ACTION_DO_ACTION for calling DoAction on target AI
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/a4eafbd3f6a4d4ea4934dca564cd6c4beae54280 )
2022-06-14 17:57:47 -04:00
hondacrx
446038b855
Core/SAI: Removed invalid eventId restriction on SMART_EVENT_ACTION_DONE
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/c6802e272b95f3604bd23ee8ba361b8d7ebf64bc )
2022-06-03 16:21:44 -04:00
hondacrx
40444525b2
Core/GameObjects: Transport (type 11) improvements
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/630b60eb0dcd3d9ce41582664ab822b049365431 )
2022-06-03 16:20:41 -04:00
hondacrx
8e58467912
Core/SAI: Corrected wrong useSaiTargetAsGameEventSource logic in previous commit
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/51299ab88620a56bd3c7f3e38a9b28844252aae7 )
2022-05-31 20:47:10 -04:00
hondacrx
deadb86e31
Core/SAI: Implemented new action SMART_ACTION_TRIGGER_GAME_EVENT
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/9d0187dd5669d73bcb94ffe76b4fc3975a5455cc )
2022-05-31 20:46:07 -04:00
hondacrx
e1b85a66e9
Core/SAI: Support gameobject targets for SMART_ACTION_PLAY_ANIMKIT
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/b8246d1ba76cabcd034b60b806505f1a5a87465f )
2022-05-31 20:05:07 -04:00
hondacrx
5833be817a
Fix build
2022-05-31 11:46:11 -04:00
hondacrx
6751370788
Misc fiixes
2022-05-30 16:21:09 -04:00
hondacrx
442da7511f
Core/Misc: Rename AddXXXFlag updatefield functions to SetXXXFlag
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/b47185cabfbdeeaf492bf2303635db07ce703785 )
2022-05-30 16:12:11 -04:00
hondacrx
f53c4cb009
Core/Misc: Rename SetXXXFlags updatefield functions to ReplaceAllXXXFlags
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/4eba9786708dd3b22d9053c1a14eac7e6d03242e )
2022-05-30 15:57:56 -04:00
hondacrx
306b0cb227
Core/AI: OnSpellCast, OnSpellFailed, OnSpellStart hooks
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/050f55b62fded4cc73b76e42d56d98ea950cc26a )
2022-05-30 15:44:21 -04:00
hondacrx
2472177ef6
Core/SAI: Remove SMART_ACTION_ADD_AURA & actions to change object flags
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/8b7effa4cfa3476ed5aa41729b4ab9fb15e7a1c0 )
2022-05-30 15:08:50 -04:00
hondacrx
1040f80181
Core/SAI: Use GetBaseObject as second param of SMART_ACTION_ACTIVATE_GAMEOBJECT & reorder GameObjectActions
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/52bb230e4c83c814658b77f6d277da77e0b47be7 )
2022-05-30 14:46:24 -04:00
hondacrx
eedbf145d1
Core/SAI: Remove SMART_ACTION_SEND_GO_CUSTOM_ANIM, make SMART_ACTION_ADD_AURA & SMART_ACTION_SET_GO_FLAG deprecated
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/9ea8cdb45716c162221c7d8a6f37da19a047c6d7 )
2022-05-30 14:43:56 -04:00
hondacrx
c3b1daca3f
DB/SAI: Replace SMART_ACTION_SEND_GO_CUSTOM_ANIM with GameObjectActions
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/3cfca163598b604ac8afe76efa6a3062c8fc087d )
2022-05-30 14:18:50 -04:00
hondacrx
3beab79944
Misc fixes
2022-05-30 13:57:03 -04:00
hondacrx
f7686f696d
Core/SAI: Remove deprecated events and actions
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/e27724b3620ce245c8055d1cfa58b7caade7fb64 )
2022-05-30 13:54:58 -04:00
hondacrx
5ea0f1e468
Core/SAI: Remove reactState param from SMART_ACTION_WP_START
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/ebcd45b7e1eaa07386a3927d73575339535ec557 )
2022-05-30 13:42:39 -04:00
hondacrx
774e978d18
Core/SAI: Add SMART_ACTION_ACTIVATE_GAMEOBJECT action
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/791b759332b784211031571d3ca68cf0080897cb )
2022-05-30 13:41:04 -04:00
hondacrx
410caaae41
Core/SAI: Make 'no, thanks' actions deprecated
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/6ac4e9dd4a9fbe74113810d0f4942ebdb9946d8a )
2022-05-30 13:11:20 -04:00
hondacrx
c5c6b42337
Core/SAI: Make SMART_EVENT_WAYPOINT_START & SMART_EVENT_CHARMED_TARGET deprecated
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/0ad6258d4b71f2762bc37ea516e4c9836d02bc75 )
2022-05-30 13:07:07 -04:00
hondacrx
a23a152492
DB/SAI: Make SMART_EVENT_EVENT_PHASE_CHANGE deprecated; avoid AddAura, re-handle equipment in few scripts
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/2beb606cdfc168bec14f1af398fad04a3ec0baf7 )
2022-05-30 13:06:22 -04:00
hondacrx
9218188614
Core/SAI: Remove deprecated events and actions
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/29190e56428afa8d5acd2cf6ca3d712c2558899d )
2022-05-30 13:01:42 -04:00
hondacrx
ba7b2e42a3
Core/SAI: Split set/remove unit_flags actions
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/e80777cb39d5eb940348300aa2a6d42cede039a8 )
2022-05-29 23:06:21 -04:00
hondacrx
9f702c199b
Core/SAI: Remove possibility to set/remove unit_flags2
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/f55e86d90735aad1c0cfd8d1b6e79aa721e8267c )
2022-05-29 22:55:34 -04:00
hondacrx
0cd59a5176
Handle deprecated SAI actions and events
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/318e0e24066fc89a1d07a993fc19a5a9dd3a6fd4 )
2022-05-29 21:05:29 -04:00