Commit Graph

887 Commits

Author SHA1 Message Date
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 b1c6c14f0e Core/Spells: Fixed SPELL_EFFECT_TRIGGER_SPELL for spells that require DEST target but their triggering spell does not provide one, for example DH soul cleave damage component
Port From (https://github.com/TrinityCore/TrinityCore/commit/8bb7d90f21663308e29e29d79f8c933843e48064)
2023-06-30 08:37:22 -04:00
hondacrx 0b1d41cc7b Core/AreaTriggers: Add Spell* argument to AreaTriggerAI::OnCreate script
Port From (https://github.com/TrinityCore/TrinityCore/commit/a03455acbbbb6b070c9592a9c5c24c8f109dccc8)
2023-06-30 08:36:13 -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 49a07ebcce Core/Items: Item bonus generation improvements
* Pass ItemContext to item creation wherever possible
* Support scaling item levels with m+ keystone levels (not used currently)
* Fixed item link validation when client sends it as default uninitialized bonus list with context only
* Support scaling items depending on current active season (seasons not implemented)
* Implemented content tuning redirection
Port From (https://github.com/TrinityCore/TrinityCore/commit/0fb8765a6638fd947b59fce44d5c31251d0cdadd)
2023-06-21 09:19:40 -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 5b7b6c5494 Core/Spells: Corrected effect type implicit targeting for SPELL_EFFECT_CREATE_PRIVATE_CONVERSATION
Port From (https://github.com/TrinityCore/TrinityCore/commit/d419fe5ff4ce9d3227ddcc47cc21ed67732e3d52)
2023-06-13 08:53:51 -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 4180b6fa3f Core/Spells: Always remove spell target from transport on teleport spells if spell destination does not target a position on the transport
Port From (https://github.com/TrinityCore/TrinityCore/commit/8cfc8e41418c127aa11ef0bbbdd0f1d6388ab0ae)
2023-06-13 05:24:33 -04:00
hondacrx 645c06a460 Core/Auras: Implemented helper function to estimate total damage/healing done by a periodic effect
Port From (https://github.com/TrinityCore/TrinityCore/commit/b3590184c0c31d080609af8e6edd3db33ac4cb8e)
2023-06-13 04:58:09 -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 12fabb103c Core/Auras: Fixed SPELL_AURA_LINKED_SUMMON summons not despawning when aura is removed from unit being removed from world
Port From (https://github.com/TrinityCore/TrinityCore/commit/3d3e94d8e4351c694611776770b843fb59394b1e)
2023-05-30 05:00:38 -04:00
hondacrx 6ee9e0d039 Core/Spells: Implemented new proc hit type PROC_HIT_DISPEL
Port From (https://github.com/TrinityCore/TrinityCore/commit/206369934aecfcac9a49583f3f7e98f0d69ad55b)
2023-05-23 08:45:32 -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 dc0bf68c6f Misc fixes 2023-05-21 19:01:22 -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 d16f24d5c0 Core/Spells: Implemented SPELL_EFFECT_TELEPORT_GRAVEYARD
Port From (https://github.com/TrinityCore/TrinityCore/commit/cdb209fda44eb500a7e8d9a0d4acd048e1ee5eec)
2023-05-21 16:55:47 -04:00
hondacrx dfceb4c044 Core: Update to 10.1
Port From (https://github.com/TrinityCore/TrinityCore/commit/16bc74667e8996b64258718e95b97258dfc0217a)
2023-05-19 16:23:44 -04:00
hondacrx 141ed88de0 Core/Auras: Removed outdated aura type handling
Port From (https://github.com/TrinityCore/TrinityCore/commit/c563d52c8da02c610266b0376ef70ea92d022835)
2023-05-02 17:25:05 -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 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 9d955f42aa Core/Skinning: Autolearn skill of skinned mob if not already learned
Port From (https://github.com/TrinityCore/TrinityCore/commit/74c280da9eac16c5d4a875ff2ea5aa30034ff1dd)
2023-04-25 08:53:52 -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 b7a8a88a76 Core/Auras: Fixed iterator invalidation crash with procs using SPELL_ATTR0_PROC_FAILURE_BURNS_CHARGE attribute
Port From (https://github.com/TrinityCore/TrinityCore/commit/15451ce699540c7d175f4a24d257778dedb0e3d7)
2023-04-21 18:32:54 -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 460a7c0ca9 Core: Update to 10.0.7
Port From (https://github.com/TrinityCore/TrinityCore/commit/922f60fa25569db05a7717b6b55568f321a02f64)
2023-03-23 08:03:41 -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 4879533cb1 Core/Auras: Implement caster selection of SPELL_AURA_TRIGGER_SPELL_ON_EXPIRE (stored in MiscValue)
Port From (https://github.com/TrinityCore/TrinityCore/commit/5787c0173b738302f996f11a70db634253fb18c1)
2023-03-14 04:24:59 -04:00
hondacrx bc453f7198 Core/Spells: Allow implicit targeting of serverside WorldObjects
Port From (https://github.com/TrinityCore/TrinityCore/commit/5d5ca30b232586ad378671bf0ac8407495dea188)
2023-03-14 04:23:38 -04:00
hondacrx 40009792c4 Core/Creatures: Allow disabling loot for creatures
Port From (https://github.com/TrinityCore/TrinityCore/commit/ebf799c0f696ec88be66795d4ad0a20fa5ce5e92)
2023-03-14 04:17:18 -04:00
hondacrx 351e05104d Core/Movement: Refactor jump speed calculation out of spell code
Port From (https://github.com/TrinityCore/TrinityCore/commit/705d5701bf17f1787d2646c55c994b0404659991)
2023-03-13 03:29:40 -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 4003efb9c9 Core/Spells: Implemented SPELL_EFFECT_REMOVE_AURA_BY_SPELL_LABEL
Port From (https://github.com/TrinityCore/TrinityCore/commit/99320464997a5411b7245cb952eaf6cdf8a2a978)
2023-02-12 01:29:20 -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 149fadccab Make PreparedStatements static for each database. 2023-02-04 20:55:14 -05:00
hondacrx c556c2a875 Core/Spells: Remove a triggered spell (not in sniff)
Port From (https://github.com/TrinityCore/TrinityCore/commit/bd2deb57d2eeb102de70e5ee3e216c9baf900ed5)
2023-01-30 10:16:14 -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 06c6c8afc7 Core/Auras: Fixed possible iterator invalidation crashes caused by calling UpdateTargetMap inside loops iterating m_appliedAuras
Port From (https://github.com/TrinityCore/TrinityCore/commit/a1b2b86427ce6be2205db0643ad00f546fc076e4)
2023-01-24 23:08:20 -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 357d9a4294 Core/Spells: Fixed accessing freed memory by Spell::EffectTriggerSpell
Port From (https://github.com/TrinityCore/TrinityCore/commit/f0fa05773f9b4880b130ee245391a8ec34163587)
2023-01-22 23:28:48 -05:00