Commit Graph

372 Commits

Author SHA1 Message Date
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
hondacrx ef250e0400 Core/Areas: Update AreaFlags
Port From (https://github.com/TrinityCore/TrinityCore/commit/f8f1c3b4f0ca631e76101f8492b9688c6d2dca01)
2023-05-23 08:07:33 -04:00
hondacrx 35961a0121 Core/Battlegrounds: Moved AreaSpiritHealer resurrection handling to respective npc flags
Port From (https://github.com/TrinityCore/TrinityCore/commit/205aba1ff3a6f1ff92a8b26af646fd25f139c697)
2023-05-21 18:38:55 -04:00
hondacrx be0a98f3de Scripts/Spells: Implement Summon Sayaad
Port From (https://github.com/TrinityCore/TrinityCore/commit/c7ff9a9083fdb5aab1fe54b16ffd84851f99424d)
2023-05-02 16:32:00 -04:00
hondacrx 5e5e17e23c Core/Spells: Fixed effects targeting the caster not hitting him immediately on spell launch if the spell targets a dest
Port From (https://github.com/TrinityCore/TrinityCore/commit/295c8f63269d966812f37a8bd8e988a9f2dc1235)
2023-05-02 15:40:21 -04:00
hondacrx bd2eb5baab Core/Creature: Implemented sparring with max health percent thresholds
Port From (https://github.com/TrinityCore/TrinityCore/commit/0750b7f8455df39a64462636ca296c6f2aa2b048)
2023-04-25 08:38:55 -04:00
hondacrx d3297b96a2 Core/Skinning: Update correct skinning skill according to creature expansion
Port From (https://github.com/TrinityCore/TrinityCore/commit/229a7ac79d38b9db76387f92e846c04c151ad3aa)
2023-04-05 08:22:24 -04:00
hondacrx 1cf184978e Core/Creatures: Improved movement interruption while casting spells
Port From (https://github.com/TrinityCore/TrinityCore/commit/cc57c9dad59a2eded2f7ea0471aa79c89b390559)
2023-04-05 08:03:07 -04:00
hondacrx bd437fc87a Fixes/Crashes:
command "cometome"
Using call pet on hunter
crash when casting some spells.
2023-03-20 05:50:18 -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 cd249ac67a Core/Spells: Updated silence flags for 9.0 and rename unit flag to its new meaning
Port From (https://github.com/TrinityCore/TrinityCore/commit/3400c5a52c8ea35e56d57326f904dc0127c33048)
2023-03-13 02:36:50 -04:00
hondacrx f51dbf95ec Fixes creatures falling under map when chasing a player though water. 2023-02-21 19:18:28 -05:00
hondacrx 4b798e7cab Core/Players: Several currency fixes and improvements
Port From (https://github.com/TrinityCore/TrinityCore/commit/03918978c166c9fb191117a0cae9ba1285bf0e37)
2023-02-11 23:28:57 -05:00
hondacrx 7d4bbd78fc Some startup fixes and cleanups 2023-02-10 22:14:58 -05:00
hondacrx 873a1df596 Core/Reputation: Implemented renown reputation (Dragonflight)
Port From (https://github.com/TrinityCore/TrinityCore/commit/d64d84dfa68da4ff83f0b88ad4e88dccc5ace623)
2023-01-24 23:35:51 -05:00
hondacrx 8921432333 Core/Spells: Added additional validation to loading spell_linked_spell to prevent infinite loops
Port From (https://github.com/TrinityCore/TrinityCore/commit/badb55bfd97c16fecfb8cd73ba99e39ecb6b622d)
2023-01-23 00:24:27 -05:00
hondacrx f73e64396f Update license headers for all files. 2023-01-18 17:25:32 -05:00
hondacrx a14038d374 Core/Auras: Implemented SPELL_AURA_MOD_STUN_DISABLE_GRAVITY
Port From (https://github.com/TrinityCore/TrinityCore/commit/6515319b7542930ffe2237c309a3dc3773d70f72)
2023-01-05 17:22:24 -05:00