Commit Graph

90 Commits

Author SHA1 Message Date
Hondacrx a3edaf4df6 Core/PacketIO: Move writing data sizes in SMSG_UPDATE_OBJECT to shared functions instead of spreading it in all overrides
Port From (https://github.com/TrinityCore/TrinityCore/commit/067fa31d152ecb10e5bea0419f84f7b79b96abf5)
2024-11-11 12:24:22 -05:00
Hondacrx 382b983820 Core/AreaTriggers: Added ActionSet flags for serverside areatriggers
Port From (https://github.com/TrinityCore/TrinityCore/commit/1426f58ff007eac2d9719b41f9189d82b733789e)
2024-09-01 17:25:52 -04:00
Hondacrx c2409af60b Core/AreaTriggers: Fix triggering of client areatriggers for some shapes
Port From (https://github.com/TrinityCore/TrinityCore/commit/b070e63fa867f7f25e73e9ef3aafbe18902a50e9)
2024-08-25 19:11:12 -04:00
Hondacrx a4baf73814 Core/AreaTriggers: Move SpellForVisuals override from AT spawn to properties
Port From (https://github.com/TrinityCore/TrinityCore/commit/2ad7c7829b17bb9e6e951632e8e0e68f68b9aa44)
2024-08-25 00:09:30 -04:00
Hondacrx 6f1b69adbd Core/AreaTriggers: Add PlaySpellVisual
Port From (https://github.com/TrinityCore/TrinityCore/commit/6affa412b18b17623a828332823d0af55d664192)
2024-08-24 23:59:19 -04:00
Hondacrx 5a9714a375 Core/SAI: Added support for StringIds to creature and gameobject targets
Port From (https://github.com/TrinityCore/TrinityCore/commit/2ce40684595a0e49a7b2355012c2806952698ce4)
2024-08-05 17:23:37 -04:00
hondacrx f6b1c24297 Fixes crashes when character dies, and when teleporting. 2024-02-22 16:17:27 -05:00
hondacrx 6abce678ca Misc fixes 2024-02-06 22:12:17 -05:00
hondacrx c3ae550302 Core/AreaTrigger: Fix areatrigger debug output not printing spawnid properly
Port From (https://github.com/TrinityCore/TrinityCore/commit/711e8a527c0ab589a37aad1468162bb783e29437)
2024-02-05 17:24:15 -05:00
hondacrx ea2004af89 Core/AreaTrigger: Fallback to CreateProperties script, if ScriptName of static areatrigger is not provided
Port From (https://github.com/TrinityCore/TrinityCore/commit/7e061adffa20323a26c0a489ba70dd098689f6d7)
2024-02-05 13:09:02 -05:00
hondacrx 34253877b0 Core/AreaTriggers: Refactor
* Moved IsServerside to custom flags
* Flags moved from areatrigger_template to areatrigger_create_properties
* New field to create custom CreateProperties (IsCustom)
* New field to reference custom areatriggers (IsAreatriggerCustom)
* Moved fields for shape data to areatrigger_create_properties
Port From (https://github.com/TrinityCore/TrinityCore/commit/37eb2e64a6ad075e9866af6feb72bb4fbccb2adc)
2024-02-05 11:48:37 -05:00
hondacrx ad4aa7df0c Core/Spells: SpellAttr8 fixups - use creator instead of owner for SPELL_ATTR8_ONLY_TARGET_IF_SAME_CREATOR and removed cast time requirement for channelled spell predicted healing
Port From (https://github.com/TrinityCore/TrinityCore/commit/930a08fe03a033a6bb30fb8c94a8490c4b77fe91)
2024-02-01 21:10:24 -05:00
hondacrx 7545d9395d Core/AreaTriggers: Add missing null checks for serverside areatriggers
Port From (https://github.com/TrinityCore/TrinityCore/commit/9c0bfc7c8c8af8d13378231b4b45c97f91c64a37)
2024-01-31 12:58:44 -05:00
hondacrx 5e46dd951b Core/AreaTriggers: Implement missing functionality
* Scale curves are now taken into account when searching for units inside
* Implemented SpellModOp::Radius for areatrigger radius
* Implemented OverrideMoveCurve updatefields - overrides areatrigger position
* Implemented FacingCurve and AREATRIGGER_FLAG_HAS_ABSOLUTE_ORIENTATION
* Implemented ***Target fields for all shape types
* Fixed facing calculation for areatriggers with spline movement
Port From (https://github.com/TrinityCore/TrinityCore/commit/c676d1477239aec4d0b235a410e5627a7070a86e)
2024-01-30 21:14:55 -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 f636ea225f Messed up the commit history, so here is all the files rip, Credit to TrinityCore 2023-09-16 08:42:35 -04:00
hondacrx ac8086eda2 Core/AreaTrigger: Handle unit exit after OnRemove hook has been called
Port From (https://github.com/TrinityCore/TrinityCore/commit/b10b97b35bed07742b3989fa99fe932d77bd7fd2)
2023-09-14 04:37:12 -04:00
hondacrx c8c75431bf Core/Scripts: Add ZoneScript hook for AreaTrigger creation/deletion
Port From (https://github.com/TrinityCore/TrinityCore/commit/1ab7050cb72544faa6a7fa17a0bf644e22538ff3)
2023-09-14 03:29:15 -04:00
hondacrx 3461b6fcaa Core/AreaTriggers: Teleport to current instance entrance when entering instances via areatrigger entity
Port From (https://github.com/TrinityCore/TrinityCore/commit/4e7508db7b70b2b79ee1fc77a1899d08173ffc62)
2023-09-04 11:40:06 -04:00
hondacrx 91f750e562 Core/AreaTriggers: Handle AREATRIGGER_FLAG_HAS_DYNAMIC_SHAPE for disks
Port From (https://github.com/TrinityCore/TrinityCore/commit/5be076b2400364c5fc2b293032ad92f1d955ec1f)
2023-09-02 15:11:38 -04:00
hondacrx 9ecb3449d5 Core/AreaTriggers: Update areatrigger scalecurve handling with latest research
Port From (https://github.com/TrinityCore/TrinityCore/commit/361fe56bc87456b63e685a53ffc63ca1694d336a)
2023-08-28 12:55:52 -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 0a997ceb69 Core/AreaTriggers: Fixed selection range of units for box shape
Port From (https://github.com/TrinityCore/TrinityCore/commit/39c137d7c0ac1b86a3a4647113e8e3a29a32b089)
2023-07-01 09:28:29 -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 cec7c9b453 Core/AreaTriggers: Implement visibility of serverside areatriggers with .debug areatrigger command
Port From (https://github.com/TrinityCore/TrinityCore/commit/1b55f85fad95a717be912166a06cec118352fd56)
2023-06-13 09:16:14 -04:00
hondacrx a2e5acbaa5 Scripts/Spells Update Divine Star
Port From (https://github.com/TrinityCore/TrinityCore/commit/0eada1d7086985b759e10684966e3aefdd7eefe7)
2023-05-02 16:59:25 -04:00
hondacrx bc453f7198 Core/Spells: Allow implicit targeting of serverside WorldObjects
Port From (https://github.com/TrinityCore/TrinityCore/commit/5d5ca30b232586ad378671bf0ac8407495dea188)
2023-03-14 04:23:38 -04:00
hondacrx f73e64396f Update license headers for all files. 2023-01-18 17:25:32 -05:00
hondacrx 38197f7996 Core/AreaTriggers: Implemented new areatrigger type: bounded plane
Port From (https://github.com/TrinityCore/TrinityCore/commit/6856b248836205f3567d27848541859b93d93469)
2022-12-17 17:16:08 -05:00
hondacrx 8cd4dda8e3 Scripts/Spells: Divine Star (Priest) fixed
Port From (https://github.com/TrinityCore/TrinityCore/commit/6b944b9e56969fb465449ecda7c8561696c06833)
2022-08-04 23:01:43 -04:00
hondacrx bbe99e3be8 Core/Transports: Path generation rewrite v2 (needs testing)
Port From (https://github.com/TrinityCore/TrinityCore/commit/a2c1b699e6e4d30c752b65241bc23191920a86fd)
2022-06-14 00:40:57 -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 4fe0663b1d Core/Objects: Initialize position data and zone/instance script for all worldobject types (except player)
Port From (https://github.com/TrinityCore/TrinityCore/commit/fddd6cdf3fb342b98d4878d23874f60498d7545a)
2022-05-31 16:03:14 -04:00
hondacrx 867f528ac0 Core/Objects: Added helper structures to allow using customized updatefield sending packet functions with Trinity::MessageDistDeliverer
Port From (https://github.com/TrinityCore/TrinityCore/commit/ee835671b4f572f92f79c9b302764ee591c6de11)
2022-05-10 14:35:41 -04:00
hondacrx 0bbabbd667 Core/PacketIO: Updated packet structures to 9.2.0
Port From (https://github.com/TrinityCore/TrinityCore/commit/9f30afe3528441571f89cb2e1775c756774fa0cd)
2022-05-09 23:14:38 -04:00
hondacrx e65a1e95cf Core/Objects: Properly choose between "Destroyed" or "OutOfRange" during visibility update
Port From (https://github.com/TrinityCore/TrinityCore/commit/5a82a0381d704e4b4b9976daf04d541d1130e541)
2022-03-09 12:33:25 -05:00
hondacrx 042bfc12e5 Convert alot of methods to use TimeSpan. 2022-03-01 23:47:53 -05:00
hondacrx c14f1eb3dc Remove custom OptionalType and use the default c# nullable type. 2022-03-01 17:27:56 -05:00
hondacrx 883a3bb990 First try at updating command system to be like TC. Still needs alot of testing/work 2022-01-20 09:57:15 -05:00
hondacrx d2ba807c20 Core/Misc: Some refactoring
Port From (https://github.com/TrinityCore/TrinityCore/commit/94a79bac7a06aa0f931e9d651928de7eea0a8b5c)
2022-01-06 20:07:26 -05:00
hondacrx 24b0f058a9 Core/AreaTriggers: Added helper static function AreaTrigger::CreateNewMovementForceId for use in scripts with movement forces
Port From (https://github.com/TrinityCore/TrinityCore/commit/df2d0f3670dcaa06ec0289631fbf2a582a8b69b1)
2021-12-16 12:33:53 -05:00
hondacrx 552f12655e Core/AreaTriggers: Move ScriptName from areatrigger_template to areatrigger_create_properties and areatrigger tables
Port From (https://github.com/TrinityCore/TrinityCore/commit/77ddb4da816b4dfc7ff03b79b88b5ca80918bc2d)
2021-12-07 17:21:58 -05:00
hondacrx b026ee7ef8 More cleanups of custom classes in favor of .NET runtime types. 2021-11-15 18:04:57 -05:00
hondacrx 8563fa8952 Core/PacketIO: 9.1.5 updatefields and SMSG_UPDATE_OBJECT structure
Port From (https://github.com/TrinityCore/TrinityCore/commit/5c8a058120dcf2c3ff8592886cb842ca889e0411)
2021-11-07 20:27:03 -05:00
hondacrx 06e7a9ddd5 Core/Conditions: Implemented conditions for areatriggers
Port From (https://github.com/TrinityCore/TrinityCore/commit/3548467c93a3859f7df72c456d600300539dc6b2)
2021-10-08 10:20:45 -04:00
hondacrx 727e0100a1 Core/Spells: Send OriginalCastId in SMSG_SPELL_START and SMSG_SPELL_GO for triggered spells in 'game' project
Port From (https://github.com/TrinityCore/TrinityCore/commit/555b2d40ecc22eb0ea4bf913b534ffa7197fa6fe)
2021-10-03 13:55:43 -04:00
hondacrx 4a61a40fb8 Core/Position: Refactor GetAngle -> GetAbsoluteAngle because code clarity is good.
Port From (https://github.com/TrinityCore/TrinityCore/commit/bc89e1cdb0da10e53cc9fa4a97565c05bb4c052e)
2021-09-23 22:46:22 -04:00
hondacrx 4aabb695d5 Core/AreaTriggers: Rename spell_areatrigger* tables to areatrigger_create_properties* according to last MiscValue research for areatrigger effects
Port From (https://github.com/TrinityCore/TrinityCore/commit/ee73948a64fc3d767d37cd3cc7f44358c5274b83)
2021-09-17 10:57:02 -04:00
hondacrx 87bc4be1b5 Forgot the files. 2021-09-13 13:39:22 -04:00
hondacrx 949d4806c5 Core/Spells: rework part 5: GameObject casting
Port From (https://github.com/TrinityCore/TrinityCore/commit/962f6d7988b9003e550f6745be7cff812e9d8efa)
2021-08-29 18:27:08 -04:00