hondacrx
1e421b9f53
Misc fixes
2024-03-19 17:21:32 -04:00
hondacrx
9d7a84d3a3
Core/Objects: Added ToWorldObject and ToItem
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/6f6af6a1a1508508d0e42b90f0acf4f363cf91bd )
2024-03-14 11:26:01 -04:00
hondacrx
4bbf49a17a
Core/Objects: Rename Object::m_isWorldObject and related functions to avoid conflicting with "WorldObject" class name
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/9402c66e8423243d13dbc19e8713e298bea0ac7b )
2024-03-14 11:09:45 -04:00
hondacrx
b3d880c115
Misc fixes
2024-03-13 21:10:14 -04:00
hondacrx
4b9b81c7e2
Core/Objects: Implemented vignettes
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/fccf6fb72b60b08dfbe6d5fb17fba55239944fca )
2024-03-13 21:09:46 -04:00
hondacrx
6ae8362013
Core/Objects: Keep current WMO info on position updates and use it in party member state packets
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/d397b636d48f55b5e76d77c36ded33b2c8bbe295 )
2024-03-12 23:06:29 -04:00
hondacrx
ccf73e23e3
Core/vmaps: Removed vmap lookup functions duplicating functionality of each other
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/45ee989c70682c001d4467d97bf1ecedcf7dbcc3 )
2024-03-12 23:04:13 -04:00
hondacrx
a042fb4b57
Core/PacketIO: Implemented and enabled SMSG_STOP_SPEAKERBOT_SOUND
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/3f8f8674259b455e47b1456dc0246c1f6758fc74 )
2024-03-04 11:44:05 -05:00
hondacrx
0eb34a2dc8
Core/Creatures: Allow toggling CREATURE_STATIC_FLAG_4_TREAT_AS_RAID_UNIT_FOR_HELPFUL_SPELLS
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/0139ec41bb3e2348b56fad2b4182b4a7a0494ac9 )
2024-02-29 17:15:52 -05:00
hondacrx
db05394d99
Core/Creatures: implemented most movement related static flags and migrated existing movement data into static flags
...
* implemented CREATURE_STATIC_FLAG_AQUATIC - creatures cannot leave liquids
* implemented CREATURE_STATIC_FLAG_AMPHIBIOUS - creatures can enter and leave liquids but remain on the ocean floor when swimming is not enabled until engaged
* implemented CREATURE_STATIC_FLAG_FLOATING - creatures have their gravity on spawn / reset disabled
* implemented CREATURE_STATIC_FLAG_SESSILE - creatures are rooted in place
* implemented CREATURE_STATIC_FLAG_CAN_SWIM - creature can swim in liquids
* implemented CREATURE_STATIC_FLAG_3_CANNOT_SWIM - Amphibious creatures cannot toggle on swimming
* implemented CREATURE_STATIC_FLAG_3_CANNOT_TURN - Creatures cannot turn at all
* implemented CREATURE_STATIC_FLAG_4_PREVENT_SWIM - Amphibious creatures won't toggle on swimming until their victim starts leaving the ocean floor
* partially implemented CREATURE_STATIC_FLAG_3_CANNOT_PENETRATE_WATER
* deprecated CREATURE_FLAG_EXTRA_NO_MOVE_FLAGS_UPDATE as this flag was a hackfix to a wrong implementation that is now gone
Port From (https://github.com/TrinityCore/TrinityCore/commit/c541eda54d7e0dddeec329a6beac2948e0b0a40b )
2024-02-29 17:08:30 -05:00
hondacrx
33f3e9d68f
Core/Spells: Implemented SPELL_ATTR8_CAN_HIT_AOE_UNTARGETABLE
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/877ae5b47d56a754b56f1326990f5ae41aa989c9 )
2024-02-21 21:05:21 -05:00
hondacrx
0f4130704a
Core/Calendar: Implement different timezone support for ingame calendar
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/b888b1b09f71a8b8b4a9d45c804a1f164fb65ac3 )
2024-02-21 16:36:19 -05:00
hondacrx
95c3dd2a66
Core/PacketIO: Fixed CreateObject packet structure for areatriggers
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/6a0de41fd2b2e7d2d9478b3d61ae0842013523ed )
2024-02-06 15:35:33 -05:00
hondacrx
d1ad9f662e
Core: Updated to 10.2.5
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/a4a4d010a0e329d4dbd82c0be5feab1fc06c8834 )
2024-02-06 13:07:17 -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
7557fac40c
Core/Objects: Fixed SelectNearestPlayer
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/dfc757acc34072195382bb18af9675955cff8a3e )
2024-02-03 11:10:59 -05:00
hondacrx
4b669cfb5d
Core: Update to 10.2.0
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/1eea1d11b14d2ae065ab0f1888fba3b1ef03874f )
2024-02-02 21:49:02 -05:00
hondacrx
a5bc0d0d9b
Core/Random: Changed random functions returning doubles to return floats
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/9894f6b802c974bb36acd7fbb0d083455a1f0f1b )
2024-02-02 14:39:02 -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
5869fbaee0
Core/Spells: Named and implemented most of SpellAttr8
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/dc9361fcc2eb16a59b52dfd8b0d47dfc1bf639be )
2024-02-01 18:59:34 -05:00
hondacrx
bb2df1c0f9
Core/Spells: Named and implemented most of SpellAttr7
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/4e87bd7942d932225436940f62e26d48719a42dd )
2024-02-01 15:39:38 -05:00
hondacrx
c8ccacf6c6
Core/Objects: Added GameObject type parameter to FindGameObjectOptions
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/52102a6395bc6244bdcfa55e357425bd5c9aefc4 )
2024-02-01 10:12:19 -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
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
73fd633065
More Updates to scripts.
2023-10-15 15:17:44 -04:00
hondacrx
33091ed942
More updates to scripts (still wont build)
2023-10-13 16:11:34 -04: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
85f37f6edf
Added some implicit operators to spell casting.
2023-10-01 07:32:38 -04:00
hondacrx
a942ff86b4
Remove unneeded generic type and renamed base class for updatefields.
2023-09-17 12:12:36 -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
dca7931fa2
Scripts/Commands: Implemented .debug play objectsound command
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/95893cf53cdc9ab2ca3ec26cfd85793e63e97317 )
2023-09-14 02:53:58 -04:00
hondacrx
0e2b551b06
Core/Object: Implemented helper method PlayObjectSound
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/35e5da37bdbbac355e454c5cbabe5991b7966709 )
2023-09-14 02:51:26 -04:00
hondacrx
0e2dd0cda3
Core/Creatures: add TimeSpan to TempSummon
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/1dd4b38170339e2d1d959c45ecad1b3b8dceb216 )
2023-09-13 20:59:45 -04:00
hondacrx
913cfa0fbd
Core/Spells: Fixed spell duration scaling with combo points
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/9e68fd1458551ab0f007b6044c9220da8f7d4199 )
2023-09-12 18:00:30 -04:00
hondacrx
543411beec
Battlegrounds/Buffs: Rework using areatriggers
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/f5461a1161a5a9dfabe7a142ad84f8c900776c92 )
2023-09-12 15:52:46 -04:00
hondacrx
6f387e563f
Core/GameObjects: Added stringid to gameobjects
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/845f61e0a969891b14e1f182fadd29af347a1a3f )
2023-09-12 15:45:47 -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
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
d146ab6568
Core/PacketIO: Fixed CreateObject structure for areatriggers
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/cd8bba63a2a80e60b9a756271abcc866e880c2bc )
2023-05-21 17:06:42 -04:00
hondacrx
dfceb4c044
Core: Update to 10.1
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/16bc74667e8996b64258718e95b97258dfc0217a )
2023-05-19 16:23:44 -04:00
hondacrx
4571d4666b
Core/Creatures: Use togglable CREATURE_STATIC_FLAG_4_TREAT_AS_RAID_UNIT_FOR_HELPFUL_SPELLS instead of equivalent flag from creature_template.type_flag
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/512f5138d44408882cb93ae4cff7cc8d1b627503 )
2023-03-23 07:10:08 -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
1e8a62fb26
Partial revert of "Core/Spells: Moved SpellVisual functions from Unit to WorldObject" - client only accepts unit guids in these packets (orphan visuals not reverted)
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/cbdb25595899aeb3d93e8d468a05bf8ef1f8e124 )
2023-03-13 02:29:30 -04:00
hondacrx
1ed5fadf4d
Core/Objects: Move EventProcessor update to WorldObject::Update
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/b6965b2c30eb3317228b328a0c1da71235d7c257 )
2023-02-12 01:23:08 -05:00
hondacrx
f73e64396f
Update license headers for all files.
2023-01-18 17:25:32 -05:00
hondacrx
54a507e284
Core/Maps: Fixed retrieving terrain info when on child maps
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/704142f15a51055c4fa064b1286b65d78b795e05 )
2023-01-06 16:38:58 -05:00
hondacrx
54413bf584
Core/Objects: Replace IsWithinDistInMap with IsWithinDist in grid searchers to avoid duplicate phase check (its also checked in Searcher classes)
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/9a96d3235058df5929d3acccb379a7252dd53d94 )
2023-01-06 16:08:26 -05:00
hondacrx
a804b4eeb8
Core/Objects: ignore database visibility conditions for personal clones
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/24d21301a6da3bf4fb50df21064f669512d06617 )
2023-01-06 16:00:00 -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