Commit Graph

3213 Commits

Author SHA1 Message Date
hondacrx e2caec12dc Core/GameObject: Implement ControlZone gameobject type
Port From (https://github.com/TrinityCore/TrinityCore/commit/f96f041c3edadfb5f1f09705fe699c2d7a9ed423)
2024-01-31 20:53:44 -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
RioMcBoo 804bc30581 Fix exception when calculating for december (#60)
Co-authored-by: RioMcBoo <artem.jkl@gmail.com>
2024-01-30 10:57:14 -05:00
RioMcBoo 3006212c5a Core/PacketIO: Fix some inconsistencies with TC (#61)
Co-authored-by: RioMcBoo <artem.jkl@gmail.com>
2024-01-30 10:56:14 -05:00
hondacrx 445adfd4a2 Core/Players: Implement mastery and versatility in character_stats
Port From (https://github.com/TrinityCore/TrinityCore/commit/5b4b1892b43e6aec3afb32691d743761f77fdba8)
2024-01-30 10:51:22 -05:00
hondacrx 9222f70243 Core/GameObjects: Implemented data22 for chests (allow opening while immune)
Port From (https://github.com/TrinityCore/TrinityCore/commit/2de255bc1789b78113dca03004e7acdc8d6983f6)
2024-01-30 10:49:21 -05:00
hondacrx 774f211f7a Core/Spells: Implemented NoImmunity spell effect attribute
Port From (https://github.com/TrinityCore/TrinityCore/commit/e883b61094c3a5d2e80d2165e53921631e72e33e)
2024-01-30 10:45:14 -05:00
hondacrx 54244bb6cc Core/Units: Implemented UNIT_FLAG2_INTERACT_WHILE_HOSTILE
Port From (https://github.com/TrinityCore/TrinityCore/commit/58a5d485f81f5baa05db11da75756d59fb3c1194)
2024-01-30 10:40:12 -05:00
hondacrx 0b81750b42 Core/Spells: Defined and implemented more spell effect attributes - AlwaysAoeLineOfSight, IsHarmful, PlayersOnly, EnforceLineOfSightToChainTargets
Port From (https://github.com/TrinityCore/TrinityCore/commit/69317c25947e682036813aa7f6e9200056232a13)
2024-01-30 10:39:11 -05:00
hondacrx 48089c8a45 Core/Misc: Fixed copypaste mistake in error log
Port From (https://github.com/TrinityCore/TrinityCore/commit/abeb62a18f8c04d2bdf0cbe016e9253e2abcdc0f)
2024-01-30 10:24:48 -05:00
hondacrx a1cb1d95ee Core/Achievements: Fixed achievement criteria StartEvent and FailEvent
* Criteria using StartEvent cannot be updated without that event triggering first (not only for timed achievements)
* Implemented most StartEvent and FailEvent types
* Fixed saving criteria removed by RemoveCriteriaProgress
Port From (https://github.com/TrinityCore/TrinityCore/commit/41a20b1e4008d450d075847ef1fe367f0e3a240f)
2024-01-30 10:22:01 -05:00
hondacrx 902b217d88 Core/Auras: Implement SPELL_ATTR13_PERIODIC_REFRESH_EXTENDS_DURATION
Port From (https://github.com/TrinityCore/TrinityCore/commit/e1f345756ba34ccf4d4dd07b90c254097a240b51)
2024-01-30 09:39:40 -05:00
hondacrx 5010d90d05 Core/Spells: Removed unneccessary checks from skill spell effects
Port From (https://github.com/TrinityCore/TrinityCore/commit/77429d679a484379f077c1fe2b50f0fd8f742e78)
2024-01-30 09:37:07 -05:00
hondacrx 228f2649f0 Core/Commands: Fixed accessing empty optional in .modify faction command
Port From (https://github.com/TrinityCore/TrinityCore/commit/43567f5a5f989eabaa7b9cbcc845471a3972014d)
2024-01-30 09:26:23 -05:00
hondacrx 56eefeb54b Misc cleanup 2024-01-30 09:24:45 -05:00
hondacrx 29a34bbf5d Core/Quests: Fixed optional quest objectives incorrectly changing quest state when they change completion state
Port From (https://github.com/TrinityCore/TrinityCore/commit/4362a8c3f6aff1a8403ab9c1dee3fd23a82db339)
2024-01-30 09:21:07 -05:00
hondacrx da1ae51736 Core/Skills: Fixed updating riding skill value when learning riding spells automatically
Port From (https://github.com/TrinityCore/TrinityCore/commit/68b6d81d4c0fdb35391147725a21e5cfc347dedf)
2024-01-29 22:25:13 -05:00
hondacrx eddd539cfe Core/Players: Fixed learning riding spells
Port From (https://github.com/TrinityCore/TrinityCore/commit/ae1dd8caf009b394cfc77592fdeff74809ab170b)
2024-01-29 15:33:16 -05:00
hondacrx 65048a8357 Core/Achievements: Send both SMSG_ACCOUNT_CRITERIA_UPDATE and SMSG_CRITERIA_UPDATE if the same criteria is used by account and character achievements
Port From (https://github.com/TrinityCore/TrinityCore/commit/6d907da00eb6d926103bb633220d3d51e017c5e4)
2024-01-29 15:26:14 -05:00
hondacrx 3080eac1ce Core/Quests: Fix questgiver status for trivial and future quests
Port From (https://github.com/TrinityCore/TrinityCore/commit/0d9dd75fe2112bcc119ee0209eef00eabfbe0bce)
2024-01-29 15:24:56 -05:00
hondacrx d96f7fb821 Core/Instances: Kill instance_encounters table, it is no longer neccessary
Port From (https://github.com/TrinityCore/TrinityCore/commit/47fc3cb852324119e81c01015b7cc4f39d43e559)
2024-01-29 15:22:25 -05:00
hondacrx c36e0d7f73 Core/Instances: Removed deprecated field from InstanceScript
Port From (https://github.com/TrinityCore/TrinityCore/commit/1e29c0066efe1157a10e74efef4554de26a984de)
2024-01-29 15:04:01 -05:00
hondacrx 341291870e Core/Players: Fix environmental damage from lava
Port From (https://github.com/TrinityCore/TrinityCore/commit/911e9da2bb6c8e244828dc52c89f935ecc7c2526)
2024-01-29 14:57:56 -05:00
hondacrx 4c390b363b Core/Spells: Move all summoning spell effects to launch phase
Port From (https://github.com/TrinityCore/TrinityCore/commit/c32b8ac7b9cb8b914b61212de0419fc096df94fc)
2024-01-29 14:53:02 -05:00
hondacrx dbf63667ae Misc fixes 2024-01-28 15:23:54 -05:00
hondacrx 1c6563718e More work on scripts 2023-10-20 07:29:05 -04:00
hondacrx c56e1752f5 More Scripts done. 2023-10-16 12:35:26 -04:00
hondacrx 73fd633065 More Updates to scripts. 2023-10-15 15:17:44 -04:00
hondacrx 50cda96b45 More work on scripts. 2023-10-13 20:25:10 -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 4cbee1a6bb Updated command system to use new generic type with attribute class. 2023-10-01 07:29:47 -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 5da5fb1e31 Core/Spells: Merge TRIGGERED_IGNORE_AURA_INTERRUPT_FLAGS functionality into TRIGGERED_IGNORE_CAST_IN_PROGRESS as they are always used together (and missing one of them in scripts is a common enough mistake)
Port From (https://github.com/TrinityCore/TrinityCore/commit/ca16d0800c281e87b309c3b695f67c40d5b1d0f8)
2023-09-14 07:04:22 -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 b99f574f64 Core/Spells: Allow cancelling spell missiles without cancelling the entire spell
Port From (https://github.com/TrinityCore/TrinityCore/commit/ed98146d317f9b956e8ca23524631cdd2388492b)
2023-09-14 06:59:49 -04:00
hondacrx 25b27dcc72 Core/Auras: Allow effects of SPELL_AURA_SCHOOL_ABSORB_OVERKILL to be prevented by setting absorb value to 0 in script
Port From (https://github.com/TrinityCore/TrinityCore/commit/7b9493eec7c937642243c5ab0367f5ac8643879e)
2023-09-14 06:57:52 -04:00
hondacrx 4134796f1b Core/Battlegrounds: Rework queues
* No more copies of Battleground classes
* FreesSlotQueues now have as key the MapId instead of queue id
* Random queues can now popup already busy specific battelgrounds (queues are NOT merged)
* Removed Holiday handling, this should already be handled in BattlegroundMgr::IsBGWeekend
Port From (https://github.com/TrinityCore/TrinityCore/commit/0ede6c155605da602b3bafaa3a1212d9f924759b)
2023-09-14 06:16:30 -04:00
hondacrx bad3e89ee6 Core/Auras: Implement SPELL_ATTR8_PERIODIC_CAN_CRIT
Port From (https://github.com/TrinityCore/TrinityCore/commit/fa2257681726caf16509940ef8c6d427cd85150e)
2023-09-14 04:56:05 -04:00
hondacrx 967624c664 Scripts/AreaTrigger: Added CanCaptureFlag and CaptureFlag hooks
Port From (https://github.com/TrinityCore/TrinityCore/commit/30f57de184fb96dfb6c548201e7717fa293682e1)
2023-09-14 04:53:47 -04:00
hondacrx 3c28432a49 Core/Quest: Allow quests flagged as QUEST_FLAGS_AUTO_COMPLETE to be valid in CMSG_QUESTGIVER_REQUEST_REWARD
Port From (https://github.com/TrinityCore/TrinityCore/commit/a9d459962b221fd2033efa02f059b602c5a546f6)
2023-09-14 04:50:51 -04:00
hondacrx 0bb8152623 Core/GameObject: Skip setting state of NewFlag, if new state is equivalent to old state
Port From (https://github.com/TrinityCore/TrinityCore/commit/6175467c3e66fa09d8ff1e0f091375c26f7529e5)
2023-09-14 04:48:19 -04:00
hondacrx dbd3a16c11 Core/GameObject: Expose several NewFlag fields for future purposes
Port From (https://github.com/TrinityCore/TrinityCore/commit/5e618278141cce1a1fcfc2f1b0e8997367ca9848)
2023-09-14 04:47:43 -04:00
hondacrx 165f2d7f9b Core/GameObject: Added additional checks for GAMEOBJECT_TYPE_NEW_FLAG and GAMEOBJECT_TYPE_NEW_FLAG_DROP for potential exploits / lag issues
Port From (https://github.com/TrinityCore/TrinityCore/commit/28c5d71b284a19657a602590cc6fcc2f1746b124)
2023-09-14 04:43:15 -04:00
hondacrx 7e4c0f3aa3 Core/GameObject: Dropped flag should only spawn when debuff is not removed by default
Port From (https://github.com/TrinityCore/TrinityCore/commit/0367e1afc51916cb38c9ceecf1935fad0ea2d26a)
2023-09-14 04:39:25 -04:00
hondacrx 06eed955de Core/GameObject: Mark some pvp related gameobjects as active
Port From (https://github.com/TrinityCore/TrinityCore/commit/1336370b4583400abb93d6e306814b05f3c7553b)
2023-09-14 04:38:38 -04:00