Commit Graph

131 Commits

Author SHA1 Message Date
Hondacrx 4103c07b3c Core/Spells: Fix group member classification in SelectRandomInjuredTargets
Port From (https://github.com/TrinityCore/TrinityCore/commit/04d44bd3a081fdf1b13ff20cd97a399f0fdfc477)
2025-08-19 21:30:31 -04:00
Hondacrx cd0ffc6975 Core/Players: PlayerChoice improvements
Port From (https://github.com/TrinityCore/TrinityCore/commit/e59059e1bd2f67691e2da0105771b0cb55b123a4)
2025-08-18 16:57:28 -04:00
Hondacrx ffcc5422e9 Core/Scripts: Allow accessing removed spell HitAura in scripts
Port From (https://github.com/TrinityCore/TrinityCore/commit/cc0e892d8db6bbb385039efe01f29f83c94a0ef6)
2025-08-17 23:11:25 -04:00
Hondacrx 7fd54e6175 Core: Updated to 11.1.0
Port From (https://github.com/TrinityCore/TrinityCore/commit/23624ed75abc8cbb77bb2e24a08e0836e4c41db5)
2025-06-16 14:47:31 -04:00
Hondacrx 59b507e93d Fixed Server starting. 2025-06-09 00:04:23 -04:00
Hondacrx 52952deee3 Core/Spells: Replace MAX_SPELL_EFFECTS loop limits with correct upper bound depending on how many effects the spell has
Port From (https://github.com/TrinityCore/TrinityCore/commit/561b122364525deaee815ad900a78f1323c37776)
2025-06-03 21:17:25 -04:00
Hondacrx e44861a629 Core/AI: Implemented conversation ai
Port From (https://github.com/TrinityCore/TrinityCore/commit/309ba22a15e5e0b4321b99f7157ccb18e0adc8dd)
2025-05-19 17:23:36 -04:00
Hondacrx 94877fed77 Core/Scripts: Added SpellEffectInfo argument to CalcDamage and CalcHealing spell script hooks
Port From (https://github.com/TrinityCore/TrinityCore/commit/884662a75a901af6f61cab9efc171d052e8042f4)
2025-05-19 11:01:52 -04:00
Hondacrx ab840142f3 Core/Spells: Fixed spell target selection not being shared by multiple effects when there are targeting scripts that have the same script function
Port From (https://github.com/TrinityCore/TrinityCore/commit/b1d8061a0f848241fe70ab0d718e829836cb5601)
2024-11-10 00:09:01 -05:00
Hondacrx d231c06b8e Core/Spells: Implemented evoker empower spell mechanic
Port From (https://github.com/TrinityCore/TrinityCore/commit/a39d0db9ec64f6bf38716abaade5b7835f2db338)
2024-08-19 18:48:32 -04:00
Hondacrx cf42b5e591 Core/Auras: Implemented OnHeartbeat AuraScript hook and refactored an aurascript to use it as example
Port From (https://github.com/TrinityCore/TrinityCore/commit/55ce5b150f716b6d470af80a9c31adf78e4cc198)
2024-08-19 12:24:24 -04:00
Hondacrx 2f71dbfda0 Core/SAI: Implement waiting for actions on action list to finish before continuing the action list
Port From (https://github.com/TrinityCore/TrinityCore/commit/5dfac0ef142c1b59e41c51ab2cca48083be4cb9e)
2024-08-08 17:28:27 -04:00
Hondacrx e9b21a91be Core/Battlegrounds: Move to scripts And a lot of misc commits i couldn't recover.
Port From (https://github.com/TrinityCore/TrinityCore/commit/d0d5d309bb5877dc2fcb27f6cb123707a31ec1e8)
2024-08-04 15:18:22 -04:00
hondacrx b3d880c115 Misc fixes 2024-03-13 21:10:14 -04: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 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 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 572bab53e4 Core/Spells: Rewrite SelectRandomInjuredTargets to make extending it with additional requirements easier and allow it to prioritize group members
Port From (https://github.com/TrinityCore/TrinityCore/commit/d4d28d27f8322d6c07a6c384de1b4aecd1bb8a92)
2023-09-14 04:03:00 -04:00
hondacrx d7c2fa52f4 Core/Scripts: Added damage and healing calculation hook to spell and aura scripts allowing to override base damage amount, flat value mod and percent value mod separately
Port From (https://github.com/TrinityCore/TrinityCore/commit/9cdf3530f41e18fc815e7b164e40c01a18c3d757)
2023-09-13 18:18:29 -04:00
hondacrx 66c1b205ef Scripts/Spells: Modernize spell script internals a bit
Port From (https://github.com/TrinityCore/TrinityCore/commit/228c56f3c5e23345cf2b5a391c614e52f61fe7f9)
2023-09-04 13:05:19 -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 6adc16c496 Core/Conversation: Implemented OnConversationStart and OnConversationUpdate hooks
Port From (https://github.com/TrinityCore/TrinityCore/commit/7f14b64e093de23abb322b843b92260d9fe51123)
2023-07-01 08:53:17 -04:00
hondacrx b7146a011e Scripts/Spells: Added spell effect validation helper
Port From (https://github.com/TrinityCore/TrinityCore/commit/f8a6a9b01713a5dbe5ed38bd3d1b1c72191cf288)
2023-06-13 03:59:41 -04:00
hondacrx 9decc17cd0 Scripts/Spells: Added proc requirements to a few auras that have SPELL_ATTR3_CAN_PROC_FROM_PROCS attribute
Port From (https://github.com/TrinityCore/TrinityCore/commit/c8ebf077c7b934eeb33466cd11a92ba00b931a3d)
2023-05-02 14:26:30 -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 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 138d0d2ed4 Core/Spells: Refactor Spell::finish to accept SpellCastResult argument instead of just a bool indicating success
Port From (https://github.com/TrinityCore/TrinityCore/commit/a8bb1739e99c503fc72b3a4a9ecede214c88396f)
2023-03-13 02:45:19 -04:00
hondacrx f73e64396f Update license headers for all files. 2023-01-18 17:25:32 -05:00
hondacrx 2e14438174 Core/Gossip: Move setting ActionMenuID and ActionPoiID directly into GossipMenu::AddMenuItem and remove GossipMenu::AddGossipMenuItemData
Port From (https://github.com/TrinityCore/TrinityCore/commit/c7e89d35768e7019a40babcdf1e57d025740bc98)
2023-01-05 16:48:11 -05:00
hondacrx 989b80b056 Core: Updated to 10.0.2
Port From (https://github.com/TrinityCore/TrinityCore/commit/e98e1283ea0034baf6be9aa2ffb386eb5582801b)
2022-12-28 15:25:15 -05:00
hondacrx 66c7047a29 Core/Instances: Delete InstanceSaveMgr and replace most of its uses with new InstanceLockMgr
Port From (https://github.com/TrinityCore/TrinityCore/commit/9b924522d0549dd67b10e2cbdfc20297dd21e182)
2022-10-04 10:57:04 -04:00
hondacrx dbf746f9ea Core/Gossip: Drop OptionType for gossip_menu_option and rename OptionIcon to OptionNpc as it also determines functionality on client side
Port From (https://github.com/TrinityCore/TrinityCore/commit/69e0249807f5a8f351e6be6f7350ebace3d2997a)
2022-09-08 18:06:18 -04:00
hondacrx e824b43603 Core/Scripts: Added CalcCastTime spell script hook
Port From (https://github.com/TrinityCore/TrinityCore/commit/6713fa4c93f87af351f3ee65c1ff36b52ea85ddb)
2022-07-29 18:06:37 -04:00
hondacrx 16ce1fe55b Core/Spells: Refactor heal absorb code
Port From (https://github.com/TrinityCore/TrinityCore/commit/f25aceab282f1c3828015dec6af0505a82130674)
2022-07-29 17:49:01 -04:00
hondacrx 0affdfbda0 Core/Spells: Implement OnEffectAbsorbHeal and AfterEffectAbsorbHeal hooks
Port From (https://github.com/TrinityCore/TrinityCore/commit/44236c70787eae0239fb636e217305dfa043bf71)
2022-07-29 17:42:49 -04:00
hondacrx 888fd11477 Core/Maps: Split Ebon Hold and Exile's reach by faction and removed forced sanctuary hack
Port From (https://github.com/TrinityCore/TrinityCore/commit/515c0a43ef8fcf41ffb2785c5940f0234e757ec3)
2022-07-25 22:25:09 -04:00
hondacrx 3cd58e4a17 Core/Maps: Move terrain data handling out of Map class
Port From (https://github.com/TrinityCore/TrinityCore/commit/16a06346aea16ffd6ee84081cedfdb0c75ac0b38)
2022-07-24 16:31:00 -04:00
hondacrx a27a353d38 Core/Battlefields: Refactor Battlefield creation to be linked to host map creation instead of having globally accessible objects
Port From (https://github.com/TrinityCore/TrinityCore/commit/073a036d84365dae60a70064eb67e68f0447bd72)
2022-07-19 20:50:34 -04:00
hondacrx b3a404e2e8 Core/OutdoorPvP: Refactor OutdoorPvP creation to be linked to host map creation instead of having globally accessible objects
Port From (https://github.com/TrinityCore/TrinityCore/commit/775be0682a794d0a1f62d656f8c6c6dffca8de79)
2022-07-19 12:14:32 -04:00
hondacrx 8673a45f08 Core/Scripts: Expose calculated spell value variance to scripts
Port From (https://github.com/TrinityCore/TrinityCore/commit/701532f9f033547a5fc2d0b594d04f6349cb441b)
2022-07-16 19:31:17 -04:00
hondacrx 7be2eb52cc Core/World: implement database support for default map and realm wide world states
Port From (https://github.com/TrinityCore/TrinityCore/commit/737d94d7efe0b6c308ac1bf3692b6aa2e43f5adb)
2022-06-25 22:52:20 -04:00
hondacrx ed85b3ae55 Core/Movement: Allow waypoints to use 0 as valid facing value
Port From (https://github.com/TrinityCore/TrinityCore/commit/8501fb572a38b7d278c6e37d7b32164c63771550)
2022-06-15 18:12:42 -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 11e8c2f4f2 Fixes loading, *Command system is broke* Will fix in the coming days. 2022-06-02 17:00:58 -04:00
hondacrx 93bd45bbf8 Core/Scripting: Get rid of ModifyVehiclePassengerExitPos
Port From (https://github.com/TrinityCore/TrinityCore/commit/7a0268d4f12914280ffa0de36100a11781f14f45)
2022-05-30 13:09:19 -04:00
hondacrx db6cfeca04 Core/Scripts: Added script hook to execute actions after completing an achievement
Port From (https://github.com/TrinityCore/TrinityCore/commit/27cba3f52309dad5be964fec11d80cd8cad128cf)
2022-05-05 13:53:23 -04:00
hondacrx c921160078 Scripts/AreaTrigger: Rename OnlyOnceAreaTriggerScript::_OnTrigger to TryHandleOnce, and make its return value useful.
Port From (https://github.com/TrinityCore/TrinityCore/commit/358dc78e47a6276e9f511e6510e04865d2d87fd2)
2022-04-28 10:48:35 -04:00