hondacrx
4e06ce4823
Core/SAI: Moved event_flags for difficulties to new field Difficulties
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/b8ce70d528e2489832f4ffd8e6b35560937f6339 )
2024-02-02 14:32:13 -05:00
hondacrx
4c66c90f94
Core/Map: Implement several difficulty getters
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/9eceff2bc243946998c006418229dbb639e898d6 )
2024-02-01 18:02:16 -05:00
hondacrx
a436f7b2d1
Core/Objects: Treat areas that have ParentAreaID filled but dont have IsSubzone flag as zones instead of areas
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/0ce96adb7a8ae29a577cce268c8bd3742253cf69 )
2024-02-01 09:51:04 -05:00
hondacrx
dbf63667ae
Misc fixes
2024-01-28 15:23:54 -05:00
hondacrx
cda53c8e7f
Some cleanups. (might break build for scripts as they are a WIP)
2023-10-08 10:35:31 -04:00
hondacrx
ccb5341c21
Some misc cleansup.
2023-10-06 17:33:20 -04:00
hondacrx
76c928cd2c
Core/Scripts: Add multiple "Pass parameters between AI" methods on AreaTriggerAI
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/2cdf0a44b22c783a150f0774eb0917a8db69b162 )
2023-09-14 07:01:50 -04:00
hondacrx
3052b1dc23
Core/Misc: Turn ChrSpecialization into enum
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/98007f859b7318570c0c923a00aa32fc485c8ec8 )
2023-09-13 20:33:47 -04:00
hondacrx
7cb343e4f9
Core/Misc: Reduce number of player spec hardcoded checks
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/054723241eaf1abe7d45a96460e84b9ff113ffb2 )
2023-09-13 19:47:12 -04:00
hondacrx
07a2dd9859
Core/AI: Implemented OnHealthDepleted hook
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/ea134c0eae83b4cdbb5f0e941ed867a144bb01f6 )
2023-09-04 13:07:59 -04:00
hondacrx
fb44221203
Core/Units: Added helper functions to modify UNIT_FLAG_UNINTERACTIBLE
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/88ff97c1f96381565c47f8ca1993bdc7fce19fd6 )
2023-09-04 07:50:01 -04:00
hondacrx
b6b558f03a
Core/Units: Allow autoattack if channelling with SPELL_ATTR5_ALLOW_ACTIONS_DURING_CHANNEL
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/bbe7cba7f411977d756f6f697056aafb920a5b0a )
2023-08-28 11:30:37 -04:00
hondacrx
f6807e152c
Core: Update to 10.1.5
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/0cea730fa23473a85c47451c3bd13df816f2b6e4 )
2023-08-21 07:22:33 -04:00
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
0b1d41cc7b
Core/AreaTriggers: Add Spell* argument to AreaTriggerAI::OnCreate script
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/a03455acbbbb6b070c9592a9c5c24c8f109dccc8 )
2023-06-30 08:36:13 -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
13e19764d4
Core/AI: Drop script_waypoints and move data to waypoint_data
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/89e09dc44ed15567f77f862d1936e8e0d9019456 )
2023-04-25 17:51:32 -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
097346aad5
Core/Units: Prevent backward melee attacks
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/7d5d3cf655b3e701d8a570b03499a388476cbdf9 )
2023-04-25 08:58:18 -04:00
hondacrx
bd2eb5baab
Core/Creature: Implemented sparring with max health percent thresholds
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/0750b7f8455df39a64462636ca296c6f2aa2b048 )
2023-04-25 08:38:55 -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
5d0d9822e8
Core/Creatures: Allow flagging creatures to not clear their tap list when evading
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/6e309ed17ff448b971f206c7ea7174c736230299 )
2023-03-23 07:04:20 -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
5a79b3f385
Core/Scripts: Make CreatureAI::DoZoneInCombat overload accepting a different creature static
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/080bf4c5650d54694819f6aaf7a12f3cbc623ef4 )
2023-03-14 02:14:00 -04:00
hondacrx
cd249ac67a
Core/Spells: Updated silence flags for 9.0 and rename unit flag to its new meaning
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/3400c5a52c8ea35e56d57326f904dc0127c33048 )
2023-03-13 02:36:50 -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
5c22dca105
CreatureAI Cleanups
2023-01-24 23:18: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
0c782c60c2
Core/Creatures: Implement StringId for Creatures, a custom identifier to make finding specific creatures in script easier
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/61c51b76c00d932a9180bc6781a244dc18375ef7 )
2023-01-05 16:44:30 -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
9ea20a8925
Fixes some crashes.
2022-10-11 17:09:56 -04:00
hondacrx
86fa768ef3
Core/Loot: Set loot dungeon encounter id before generating
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/5f1a4cf9044d9ad65b49eb859ec36e1f62c2be10 )
2022-10-05 16:21:19 -04:00
hondacrx
87fdd30072
Core/Loot: Send DungeonEncounter id in SMSG_ITEM_PUSH_RESULT
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/5a516fb6549e460e68b45005a17ec1b6217fefa5 )
2022-10-04 19:59:15 -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
8cfd263fea
Start adding missing scripts Part2
2022-07-05 15:39:49 -04:00
hondacrx
54d5d59898
Start adding missing scripts Part1
2022-07-04 20:11:21 -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