Commit Graph

439 Commits

Author SHA1 Message Date
Hondacrx ce99a1f7f6 Core/Spells: Refund power cost when cancelling empower spells
Port From (https://github.com/TrinityCore/TrinityCore/commit/240b7e58d81688e31d84511db4afd6229337c9e9)
2024-08-19 19:33:41 -04: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 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 8c392b77dd Core/Spells: Fixed TARGET_UNIT_AREA_THREAT_LIST and TARGET_UNIT_AREA_TAP_LIST
Port From (https://github.com/TrinityCore/TrinityCore/commit/66abcaff14a6d55380b612d1c1b9c2cee3c004ae)
2024-08-05 17:29:40 -04:00
Hondacrx 9eefaca29a Core/Spells: Fix Shadowform cooldown sometimes getting stuck
Port From (https://github.com/TrinityCore/TrinityCore/commit/018e66bc914e3e39b01e15a51ad683a5e881d156)
2024-08-05 14:13:23 -04:00
Hondacrx 708df58712 Core/Scripts: Integrate new ActionResultSetter with movement generators and spells
Port From (https://github.com/TrinityCore/TrinityCore/commit/b265c49977235dea5e7e69d7b6fb93f4943bf87a)
2024-08-05 14:12:00 -04:00
hondacrx 1e421b9f53 Misc fixes 2024-03-19 17:21:32 -04:00
hondacrx 8f573ee28d Core/Auras: Update visible aura immediately during spell cast instead of waiting for next update tick
Port From (https://github.com/TrinityCore/TrinityCore/commit/62dc916184d5d32b26a2d331d84d3cae481040fb)
2024-03-14 10:56:01 -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 ecf2ddeb5f Core/Spells: Don't modify item charges in all slots on a single item spell cast
Port From (https://github.com/TrinityCore/TrinityCore/commit/9ecb93f34d7ff05feea9ea09faaba1af73a40d0d)
2024-02-27 13:46:44 -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 71e03da934 Core/Auras: Allow SPELL_AURA_MECHANIC_IMMUNITY_MASK to apply aoe/chain targeting immunity
Port From (https://github.com/TrinityCore/TrinityCore/commit/ed0b621d1569a14174a9802027b68dbe4329da69)
2024-02-21 18:00:19 -05:00
hondacrx 5c6027d97f Core/Spells: Fixed duplicate SMSG_SPELL_EXECUTE_LOG being sent if there are effects handled on spell launch (such as summoning)
Port From (https://github.com/TrinityCore/TrinityCore/commit/e88a88476cc5e22adecda14a3eeacbcfe4eeb197)
2024-02-21 17:48:07 -05:00
hondacrx 7c812ae904 Core/Creatures: Move immunities to separate table and implemented setting immunties to dispel, spell effects, aura types, aoe and chain targeting
Port From (https://github.com/TrinityCore/TrinityCore/commit/f70a5817e1c07891185d716611d45f50b1c73b78)
2024-02-06 17:21:07 -05:00
hondacrx aac60cf9a8 Core/Units: moved health and power ordering predicates from Unit header into CommonPredicates
Port From (https://github.com/TrinityCore/TrinityCore/commit/2f6ed2c203b16a1d1e85f61a8b8e2cf3d1a4e784)
2024-02-06 10:01:30 -05:00
hondacrx 33cb5faf28 Core/Spells: Kill incorrect attribute implementation
Port From (https://github.com/TrinityCore/TrinityCore/commit/c5f7e6cbd7354f8e0f0e732f3d1e1093a0640a7a)
2024-02-06 09:51:13 -05:00
hondacrx 4d0362edc6 Core/Spells: Fixed target radius calculation for TARGET_DEST_*_RANDOM
Port From (https://github.com/TrinityCore/TrinityCore/commit/87f3ab11d3dd5d362657aaae9c02effa8ee95f21)
2024-02-03 22:02:40 -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 e32f950be3 Core/Spell: Allow creatures with sparring active to damage themselves
Port From (https://github.com/TrinityCore/TrinityCore/commit/2e4eecf96c616791707f9f1206eb4f8672b0e33f)
2024-02-03 11:03:05 -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 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 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 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 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 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 6975212812 Core/Spells: Implement sqrt based aoe damage diminishing
Port From (https://github.com/TrinityCore/TrinityCore/commit/42a6e0eb1afa431fc1efe7d4c5a62758fed42684)
2023-09-14 04:24:19 -04:00
hondacrx 3052b1dc23 Core/Misc: Turn ChrSpecialization into enum
Port From (https://github.com/TrinityCore/TrinityCore/commit/98007f859b7318570c0c923a00aa32fc485c8ec8)
2023-09-13 20:33:47 -04:00
hondacrx 070b35d6e8 Core/Spells: Fixed spells with SPELL_ATTR12_START_COOLDOWN_ON_CAST_START failing to cast because of their own cooldown
Port From (https://github.com/TrinityCore/TrinityCore/commit/a3a31a9a6f7d0000b8fc3e1ca2e355664a7ed955)
2023-09-13 19:31:39 -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 44e79ec8ea Core/Spells: Removed old combo point code leftovers
Port From (https://github.com/TrinityCore/TrinityCore/commit/197d4369c894e9b088f862c7189f4fe20b4836ca)
2023-09-12 18:08:48 -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 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 8bf185f071 Core/Spells: Fixed target radius logic in spell effects for TargetB
Port From (https://github.com/TrinityCore/TrinityCore/commit/889e88ab8033a78db837e0bb8619d8ce9d64967f)
2023-09-04 07:19:38 -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 445733704e Core/Spells: Fully prevent infinite proc loops and add logging to detect most spells that could possibly trigger this behavior at startup
Port From (https://github.com/TrinityCore/TrinityCore/commit/29eac37a16df2ec14cba89f4d6e28f54ca1a4e25)
2023-07-01 09:24:55 -04:00
hondacrx 04eaeb0fe8 Core/Spells: Allow filtering procs in FINISH phase by SpellTypeMask
Port From (https://github.com/TrinityCore/TrinityCore/commit/bacfbec25180cd0a02fec20e788d74e2fcaf1a0c)
2023-07-01 09:12:21 -04:00
hondacrx 74d8682426 Core/Creatures: Implement CREATURE_STATIC_FLAG_4_IGNORE_LOS_WHEN_CASTING_ON_ME
Port From (https://github.com/TrinityCore/TrinityCore/commit/815e158a3ec5f5e173376ff4273913990e9bce10)
2023-07-01 09:09:57 -04:00
hondacrx 4b76323d6a Core/Spells: Implemented target type TARGET_DEST_DEST_TARGET_TOWARDS_CASTER
Port From (https://github.com/TrinityCore/TrinityCore/commit/80e22230c34106753cd6be57d9a496642e47216d)
2023-06-24 09:21:46 -04:00
hondacrx 7ce0136423 Misc Fixes 2023-06-24 09:17:51 -04:00
hondacrx 378b0ffccd Core/Spells: Validate known heirlooms for SPELL_EFFECT_CREATE_HEIRLOOM_ITEM
Port From (https://github.com/TrinityCore/TrinityCore/commit/cd7c5eff49bc877fd39950c94b04a1cb2168e380)
2023-06-20 09:39:06 -04:00
hondacrx e6432f8c97 Core/Quests: Quest flag fixups
* Update flag names
* Implemented QUEST_FLAGS_COMPLETION_NO_DEATH and QUEST_FLAGS_FAIL_ON_LOGOUT
* Started using QUEST_FLAGS_COMPLETION_EVENT and QUEST_FLAGS_COMPLETION_AREA_TRIGGER instead of a custom SpeclalFlag
* Renamed Quest::IsAutoComplete to Quest::IsTurnIn to better describe what it means (a quest that can be turned in without accepting it to quest log)
* Implemented QUEST_FLAGS_UPDATE_PHASESHIFT and removed forced phaseshift updates on every quest status change
* Implemented QUEST_FLAGS_LAUNCH_GOSSIP_ACCEPT - reopens gossip menu with questgiver
Port From (https://github.com/TrinityCore/TrinityCore/commit/4d4c7e68935df9ca40bd5539d602ac4e779f53d5)
2023-06-13 08:52:22 -04:00
hondacrx 7d6b5fbe76 Core/Spells: Allow passing SpellDestination to CastSpell to target locations on a transport
Port From (https://github.com/TrinityCore/TrinityCore/commit/9c393a40e2133bdd59d1ff336a467620364bee85)
2023-06-13 05:25:39 -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 77febfdee5 Core/Spells: Implemented spell target type 142
Port From (https://github.com/TrinityCore/TrinityCore/commit/3790c1e3dad36727279b22a33eea8e27418c4283)
2023-05-30 05:18:29 -04:00