Commit Graph

941 Commits

Author SHA1 Message Date
hondacrx 0abe183fc9 Core/Spells: Implemented SPELL_AURA_MOD_FIXATE
Port From (https://github.com/TrinityCore/TrinityCore/commit/8b9eaf0bdf9c6ae463c78d6a952330daaa1dcb63)
2024-02-04 00:35:42 -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 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 55c4650d55 Core/Spells: Pass customArg from missiles to its triggered spell
Port From (https://github.com/TrinityCore/TrinityCore/commit/441a102dc3e36e2338f80afc92d3e10af2db9930)
2024-02-03 13:48:57 -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 d68246c93a Core/Auras: Fixed SPELL_AURA_CHARGE_RECOVERY_AFFECTED_BY_HASTE_REGEN affecting unrelated spells
Port From (https://github.com/TrinityCore/TrinityCore/commit/4628622b1ba8904ef1c0d692fe37c5d2f60f1dba)
2024-02-02 14:47:46 -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 a5fedc5d69 Core/Spells: Prevent duplicating trait configs for Generic type
Port From (https://github.com/TrinityCore/TrinityCore/commit/31da896eb2ea9a18dae7c2fa45c188ebadfc9e3e)
2024-02-02 14:42:01 -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 c00a8d32ea Core/Auras: Implemented SPELL_ATTR7_DISABLE_AURA_WHILE_DEAD (suppress aura applications while dead without removing the aura)
Port From (https://github.com/TrinityCore/TrinityCore/commit/0f7dd4eadf90a5407fd232d083485430d725152f)
2024-02-01 10:27:09 -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 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 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 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 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 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 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 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 a862056cc4 Core/Spells: Prevent rerolling gathering skillups until success when mining or gathering herbs
Port From (https://github.com/TrinityCore/TrinityCore/commit/dce71612efa11bad7f25c65962d455843bd79baf)
2023-09-14 04:30:42 -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 a531a99ff3 Core/Spells: Summons with no special title and duration -1ms should use TEMPSUMMON_MANUAL_DESPAWN
Port From (https://github.com/TrinityCore/TrinityCore/commit/0c9e46629c5503b8c1a81cb71b2cd06ec1284fbb)
2023-09-14 02:56:28 -04:00
hondacrx ae837fb074 Core/Spells: Validate spellmod array size at startup
Port From (https://github.com/TrinityCore/TrinityCore/commit/c2d8c64d366899d7f3ab22b5abd79f44640a70e7)
2023-09-14 02:49:50 -04:00
hondacrx c23045a38d Core/Spells: Updated default SpellPhaseMask that is generated for procs that do not have entry in spell_proc table
Port From (https://github.com/TrinityCore/TrinityCore/commit/b8f3bb8cba288ee1b5805929355d15606474af34)
2023-09-14 02:46:42 -04:00
hondacrx a7a955823d Core/Spells: Handle summon effect on spell launch instead of hit
Port From (https://github.com/TrinityCore/TrinityCore/commit/0d8221d558fc81031bd8f66f4bb83629653f2809)
2023-09-13 21:04:09 -04:00
hondacrx 3f8dedfb7a Core/Creatures: Clean up temporary summon duplicate level initialization
Port From (https://github.com/TrinityCore/TrinityCore/commit/1cae07870b4ff3c33669326756392d9086dac50f)
2023-09-13 21:03:36 -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 7b2d198832 Core/Auras: Treat auras with more than 1 active stack as using stacks too (max stack could have been changed from 0 to something else using spell mods)
Port From (https://github.com/TrinityCore/TrinityCore/commit/e0ab6330c1ef096b650702633a60181b9ecdd351)
2023-09-13 20:46:56 -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 28a4f85886 Core/Auras: Default procs with PROC_FLAG_2_CAST_SUCCESSFUL to CAST spell phase
Port From (https://github.com/TrinityCore/TrinityCore/commit/5aaaf3f9166fe37fbe26c6643d10cd21d331fc8d)
2023-09-13 18:34:23 -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 003942efba Core/Auras: Remove incorrect implementation of SPELL_ATTR8_DONT_RESET_PERIODIC_TIMER (this attribute does something else)
Port From (https://github.com/TrinityCore/TrinityCore/commit/799d63ce2cdf9b8cb7a74f9806178f9fefaba471)
2023-09-12 15:02:20 -04:00
hondacrx b74cdf643f Core/GameObject: Implement GAMEOBJECT_TYPE_NEW_FLAG_DROP
Port From (https://github.com/TrinityCore/TrinityCore/commit/3cfc27f5ca81402ed41973a0206838e7a0352070)
2023-09-04 13:28:15 -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 469c5ef862 Core/Auras: Implement SPELL_AURA_IGNORE_SPELL_COOLDOWN
Port From (https://github.com/TrinityCore/TrinityCore/commit/87f350b1c194442ff48cbb9290c162d21a93f0e8)
2023-09-02 15:18:41 -04:00
hondacrx e7af2898f2 Scripts/Warlock: Implemented Burning Rush
Port From (https://github.com/TrinityCore/TrinityCore/commit/9ad227f0756aa91f9b772ecf13b40c1f38863e68)
2023-08-21 08:00:12 -04:00