Commit Graph

1644 Commits

Author SHA1 Message Date
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 ad880fc6b5 Core/Quests: Implemented QUEST_OBJECTIVE_FLAG_2_QUEST_BOUND_ITEM that makes required items not be stored in inventory
Port From (https://github.com/TrinityCore/TrinityCore/commit/4dce6ab228c54319032b346d2d791262eac3d9cd)
2024-02-04 17:13:17 -05:00
hondacrx 5972f3b8a1 Core/Battlegrounds: Clean up some Team/TeamId parameters to use enums instead of raw integer types
Port From (https://github.com/TrinityCore/TrinityCore/commit/1ef0c045202a6af33fb991f2ff765fa183ce976f)
2024-02-04 16:31:49 -05:00
hondacrx 5ccf33eabc Core/Spells: Clean up some gameobject types in EffectOpenLock
Port From (https://github.com/TrinityCore/TrinityCore/commit/42de312a79b5ce3900d2231d89f5cd716c03ce01)
2024-02-04 14:44:29 -05:00
hondacrx a46f98642b Core/Creatures: Refactor CreatureEliteType
Port From (https://github.com/TrinityCore/TrinityCore/commit/bfbda8dcce8d19dda0ee3d8f96d176901902e102)
2024-02-04 14:42:40 -05:00
hondacrx 64d80537ed Core/Quests: Fixed accessing freed memory after .reload quest_template
Port From (https://github.com/TrinityCore/TrinityCore/commit/308a34ab41241022c7fd2fb42b0c6c9bad94f07e)
2024-02-04 13:44:50 -05:00
hondacrx 44705dcc0d Core/Units: Allow self inflicted damage to bypass CREATURE_STATIC_FLAG_UNKILLABLE
Port From (https://github.com/TrinityCore/TrinityCore/commit/53ac8d3ef5621f7137092b7aeeebf42730059181)
2024-02-04 13:37:19 -05:00
hondacrx 7825d38b91 Core/Vehicle: Only interrupt channels with SpellAuraInterruptFlags::Mount when entering a vehicle
Port From (https://github.com/TrinityCore/TrinityCore/commit/ee95a5e00fb2ee6928a819699ab93094d916d372)
2024-02-04 00:36:55 -05:00
hondacrx 47355bfa52 Core/Player: Added helpers to check quest objective status
Port From (https://github.com/TrinityCore/TrinityCore/commit/9dd8647125a020ca2dccdf26d6839f4665ff9870)
2024-02-04 00:32:24 -05:00
hondacrx 57f934295f Core/Items: Fixed socket bonus checks (and reduce differences between branches)
Port From (https://github.com/TrinityCore/TrinityCore/commit/6024b307e0bc975678ee4801036058ea63168938)
2024-02-03 17:42:39 -05:00
hondacrx 1d4a30cc2d Core/Players: Learn parent skilllines if they are missing while learning child skills
Port From (https://github.com/TrinityCore/TrinityCore/commit/9022f2374884b966c3ecf7199c52498140775668)
2024-02-03 17:39:25 -05:00
hondacrx 24691c7110 Core/Creatures: Don't require creature.modelid to be one of linked creature_template models
Port From (https://github.com/TrinityCore/TrinityCore/commit/7cafeb46b3b1f3eea3c966c20f9ef1efe68dfbdc)
2024-02-03 13:48:02 -05:00
hondacrx 99c931652d Core/Units: Update PlayHoverAnim state when flying or hovering
Port From (https://github.com/TrinityCore/TrinityCore/commit/c1b36eec5678090654dfd65a3fef29ea8ada6ef2)
2024-02-03 13:15:36 -05:00
hondacrx a5b8efd032 Core/Spells: Implement spell queue
Port From (https://github.com/TrinityCore/TrinityCore/commit/27019a62a4294f8dd48d975f85b1907c5adee0e3)
2024-02-03 13:11:01 -05:00
hondacrx ee7b89560e Core/Auras: Fixed crash happening when a periodic aura tick triggers SPELL_AURA_SPLIT_DAMAGE_PCT
Port From (https://github.com/TrinityCore/TrinityCore/commit/3a50bc50a2a3898013404eb2319508521002984f)
2024-02-03 11:28:50 -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 52ea57d5cf Core/Creatures: Remove stand state when a creature attacks or dies
Port From (https://github.com/TrinityCore/TrinityCore/commit/c05466fa0c2dc9b07528ed967d77bf0313fdafff)
2024-02-03 11:04:19 -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 4ff0ccd143 Core/Spells: Store BasePoints as float in SpellEffectInfo
Port From (https://github.com/TrinityCore/TrinityCore/commit/e9b0d347a4f5f51cda083a4dc7ed328530f0b5f6)
2024-02-02 14:46:09 -05:00
hondacrx 597b39e561 Core/Gossip: Rename and document text id field in SMSG_GOSSIP_MESSAGE to include classic differences
Port From (https://github.com/TrinityCore/TrinityCore/commit/20b0ad736c3ab81b28a84fb1fb8ae7c99a794749)
2024-02-02 14:40:35 -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 871928ebb7 Core/Creatures: Taxi improvements
* Fixed flight master minimap icon
* Fixed crash on Argus
* Implemented teleport taxi nodes
Port From (https://github.com/TrinityCore/TrinityCore/commit/73e0b3e77c04a7821f58d79211f344b9129602f1)
2024-02-02 10:20:04 -05:00
hondacrx 80f4ece2e5 Core/Players: Don't update mount capability while loading from db - auras are loaded before all known spell sources are processed
Port From (https://github.com/TrinityCore/TrinityCore/commit/64a14f13ace1f6c7ac2aedc90ad2b48f57a3920c)
2024-02-02 09:42:46 -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 abb4092cff Core/Players: Fixed pvp flag being missing when logging in with war mode disabled but pvp enabled
Port From (https://github.com/TrinityCore/TrinityCore/commit/4abcf7fb337ac2ebe0a121f5ea19bb647addd7c0)
2024-02-01 15:09:02 -05:00
hondacrx 2a7273f1ec Core/Misc: Fixed thread-unsafe access to list of objects that should be spawned in a cell
Port From (https://github.com/TrinityCore/TrinityCore/commit/7b6589c1ecc159f6949c5535785fba79a04b2c4a)
2024-02-01 11:43:10 -05:00
hondacrx fde94074be Core/Achievements: Fix CriteriaTypes related to areas and zones
Port From (https://github.com/TrinityCore/TrinityCore/commit/10b06ff50f77cc0516c5f17adffef8eb75f1d555)
2024-02-01 10:55:35 -05:00
hondacrx cfc8a8bfa8 Core/Auras: Registering a new owned aura will now search existing owned auras instead of applied auras to check for unstackable one
Port From (https://github.com/TrinityCore/TrinityCore/commit/dc661a34b1d1e099e2c1854e8fa9446115e30c96)
2024-02-01 10:25:03 -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 d68f52bdc3 Core/Chat: Corrected chat channel flag implementations
Port From (https://github.com/TrinityCore/TrinityCore/commit/d2baaac9ec9c0b0839d5868d9666aa0901031b28)
2024-02-01 10:10:38 -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 c7c5b74497 Core/GameObject: Update spawn conditions when new ControlZone event is triggered
Port From (https://github.com/TrinityCore/TrinityCore/commit/0aa61e93419612ef34c73ae82bb95bdcf616d484)
2024-02-01 09:15:59 -05:00
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
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 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 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 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 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