Commit Graph

738 Commits

Author SHA1 Message Date
hondacrx b30ba3422f Core/Auras: Remove aura 490 implementation (purpose unknown, needs more spell examples)
Port From (https://github.com/TrinityCore/TrinityCore/commit/342eefcb361900741c17cc40a48fd10436908175)
2022-05-31 13:48:55 -04:00
hondacrx dfee7691f7 Core/Battlegrounds: Replaced overriding m_team with more fine grained approach
Port From (https://github.com/TrinityCore/TrinityCore/commit/55587694053583b4cb85be38a47563a9fdf77271)
2022-05-31 13:45:46 -04:00
hondacrx 1ba88f81db Core/Battlegrounds: Implement mercenary system
Port From (https://github.com/TrinityCore/TrinityCore/commit/87723e32e24f03ac1d062e33edcbe935e4e59421)
2022-05-31 11:46:04 -04:00
hondacrx cc9818a6a3 Core/Spells: Add one more allowed case for CastSpellTargetArg constructor
Port From (https://github.com/TrinityCore/TrinityCore/commit/8c63d201900d80896d68da72f0bc7762a5df4c75)
2022-05-30 16:14:48 -04:00
hondacrx 442da7511f Core/Misc: Rename AddXXXFlag updatefield functions to SetXXXFlag
Port From (https://github.com/TrinityCore/TrinityCore/commit/b47185cabfbdeeaf492bf2303635db07ce703785)
2022-05-30 16:12:11 -04:00
hondacrx f53c4cb009 Core/Misc: Rename SetXXXFlags updatefield functions to ReplaceAllXXXFlags
Port From (https://github.com/TrinityCore/TrinityCore/commit/4eba9786708dd3b22d9053c1a14eac7e6d03242e)
2022-05-30 15:57:56 -04:00
hondacrx 2419cef04e Core/AI: Change m_originalCaster to m_caster when calling OnSpellStart
Port From (https://github.com/TrinityCore/TrinityCore/commit/1bb63f69ef12d572a34f6ed107a5d6008c7da5e2)
2022-05-30 15:44:58 -04:00
hondacrx 306b0cb227 Core/AI: OnSpellCast, OnSpellFailed, OnSpellStart hooks
Port From (https://github.com/TrinityCore/TrinityCore/commit/050f55b62fded4cc73b76e42d56d98ea950cc26a)
2022-05-30 15:44:21 -04:00
hondacrx 5575703997 Revert "Core/Spells: Force Invisibility (mage) to leave combat."
Port From (https://github.com/TrinityCore/TrinityCore/commit/2065e0620704bf9ae7f0d25a7111ec2f65cdcde5)
2022-05-30 15:12:14 -04:00
hondacrx af29d3158e Misc stuff 2022-05-30 15:09:02 -04:00
hondacrx 69ebe041cf Misc stuff 2022-05-30 14:19:00 -04:00
hondacrx 774e978d18 Core/SAI: Add SMART_ACTION_ACTIVATE_GAMEOBJECT action
Port From (https://github.com/TrinityCore/TrinityCore/commit/791b759332b784211031571d3ca68cf0080897cb)
2022-05-30 13:41:04 -04:00
hondacrx 14aa18ae65 Core/Creature: Disallow nearly all non-static flags on DB side
Port From (https://github.com/TrinityCore/TrinityCore/commit/47bcacd00a3124e801672f57afd4557ccbbe93b6)
2022-05-30 00:32:32 -04:00
hondacrx 8f28b5df58 Scripts/Spells: Handle quest tame spells in spell script
Port From (https://github.com/TrinityCore/TrinityCore/commit/2e3f2400519a0bcf1d15f62905ab4447619d4fe2)
2022-05-30 00:12:05 -04:00
hondacrx faa937a9da Core/Combat Improve extra attacks handling
Port From (https://github.com/TrinityCore/TrinityCore/commit/6c9bde098b40f38905ea7407d0cd77437b0b953c)
2022-05-29 23:42:17 -04:00
hondacrx 25102a2ee1 Fix build 2022-05-29 16:08:55 -04:00
hondacrx 5d30388365 Core/Spells: PLAYER_FIELD_BYTE2_INVISIBILITY_GLOW applies only with invisibility type INVISIBILITY_GENERAL (0)
Port From (https://github.com/TrinityCore/TrinityCore/commit/8ee432b1f03352345386201b99be1de19f043404)
2022-05-29 15:38:35 -04:00
hondacrx 9b6540c91d Misc fixes 2022-05-26 20:08:54 -04:00
hondacrx 7aa1d7aa7a Core/Spells: players shouldn't force their orientation (serverside) on each periodictick when channeling
Port From (https://github.com/TrinityCore/TrinityCore/commit/0d51e52aa608c85517035fb378500be01b0e578e)
2022-05-26 16:32:13 -04:00
hondacrx 80fb973080 Core/Spells: implement SpellInfo helper to filter for relevant mechanic immunities in spell_start packet
Port From (https://github.com/TrinityCore/TrinityCore/commit/60119ba8503e1b8e17d7163baf990022b2d25d41)
2022-05-26 16:30:18 -04:00
hondacrx 3cacc1ff68 Core/Misc: Define / rename attributes and flags
Port From (https://github.com/TrinityCore/TrinityCore/commit/e72264cfbd4b3bd925a634d99ab1717a1c0a6b91)
2022-05-26 16:25:16 -04:00
hondacrx 5edc228fa6 Revert "Core/Spells: Spells with Attribute SPELL_ATTR1_DISPEL_AURAS_ON_IMMUNITY should dispel snare auras.
Port From (https://github.com/TrinityCore/TrinityCore/commit/2e69b64d6711efa5c6c92f02d7b05aae72f08002)
2022-05-26 16:15:22 -04:00
hondacrx a4c27e574a Core/Spells: Apply UNIT_FLAG_IMMUNE after applying SPELL_AURA_DAMAGE_IMMUNITY
Port From (https://github.com/TrinityCore/TrinityCore/commit/18beee8ba19c8848c868fdb9b9a7bad296e74d53)
2022-05-25 14:04:26 -04:00
hondacrx 746aaab0dd Core/Units: Renamed unknown unit flag (UNIT_FLAG_UNK_29 -> UNIT_FLAG_PREVENT_EMOTES_FROM_CHAT_TEXT)
Port From (https://github.com/TrinityCore/TrinityCore/commit/fc456f7512b3a5f1f5fdc5b17877018892070e4d)
2022-05-25 14:01:08 -04:00
hondacrx b83c96a59e Core/Spells: Fixed spell effect 43 (SPELL_EFFECT_TELEPORT_UNITS_FACE_CASTER)
Port From (https://github.com/TrinityCore/TrinityCore/commit/23d77ecb8156fd1682649aa9913bb9cc173b60e9)
2022-05-24 19:16:42 -04:00
hondacrx f705cae647 Core/Spells: Correct swapped TARGET_UNIT_NEARBY_ALLY and TARGET_UNIT_NEARBY_PARTY
Port From (https://github.com/TrinityCore/TrinityCore/commit/2a595d55b237038fb2856f4d5fcfa7bf44f12a04)
2022-05-24 18:23:20 -04:00
hondacrx c3e8791aac Misc fixes 2022-05-24 13:20:05 -04:00
hondacrx e775c710db Core/Spells: Aura refresh improvements
Port From (https://github.com/TrinityCore/TrinityCore/commit/6cd16b0ca9ff43b025e286f336b6af03c49b37db)
2022-05-24 13:02:26 -04:00
hondacrx 3c3d16ab09 Core/Spells: unify OnSpellCastInterrupt and OnSuccessfulSpellCast hooks into OnSpellCastFinished
Port From (https://github.com/TrinityCore/TrinityCore/commit/d1594c7295f1ca3f21a63a13895abf371d8bd3e0)
2022-05-24 12:54:25 -04:00
hondacrx bf0c12ab0c Core/Aura: Fixed thread-unsafe return from Aura::GetCaster()
Port From (https://github.com/TrinityCore/TrinityCore/commit/58ce0904aa08411570bb600c1604dc1fc0d01ac3)
2022-05-24 12:50:07 -04:00
hondacrx 9f7db1d08b Core/Spells: SPELL_AURA_MOD_HEALING_PCT should be negative if TargetType is enemy or BasePoints are negative
Port From (https://github.com/TrinityCore/TrinityCore/commit/8585b127f4ee8d6bd30ce2e413ce7676fba097ac)
2022-05-24 10:14:44 -04:00
hondacrx d780b46dca Core/Auras: Implement SPELL_AURA_FORCE_BREATH_BAR
Port From (https://github.com/TrinityCore/TrinityCore/commit/6c01f761b2c00d9ea8d44f2856c7a82cadb9bbfc)
2022-05-23 17:14:23 -04:00
hondacrx 63f17d776a Core/GameObjects: Implemented GAMEOBJECT_TYPE_CAPTURE_POINT
Port From (https://github.com/TrinityCore/TrinityCore/commit/19f64e66e58d3d7ebed6437a474a134e7c673ed6)
2022-05-23 17:11:04 -04:00
hondacrx 1f21e6893f Core/Auras: Implemented SPELL_AURA_DISABLE_INERTIA (506)
Port From (https://github.com/TrinityCore/TrinityCore/commit/d945a118db6d2b423a77c419eb8dd7f4732802a2)
2022-05-10 09:38:14 -04:00
hondacrx af276ca0c4 Core/DataStores: Updated db2 structures to 9.2.0
Port From (https://github.com/TrinityCore/TrinityCore/commit/7fbdd6473e5c67d002029d3c3675977e6b037e88)
2022-05-10 09:23:07 -04:00
hondacrx 1ca851db26 Core/Auras: Implemented PROC_FLAG_DEAL_HELPFUL_PERIODIC and PROC_FLAG_TAKE_HELPFUL_PERIODIC for periodic healing auras
Port From (https://github.com/TrinityCore/TrinityCore/commit/f96c8cc39ba15d7c9f0784428b9bbcbca4665370)
2022-05-09 13:26:34 -04:00
hondacrx 94eea137ae Core/Auras: Fix SPELL_AURA_MOD_DAMAGE_DONE_FOR_MECHANIC for effects mechanics
Port From (https://github.com/TrinityCore/TrinityCore/commit/64e8e11377c9b0bf92e81afb38e0668ba3fdf3f4)
2022-05-09 13:11:27 -04:00
hondacrx 252cf1cfd0 Core/Spells: Fixed spell Launch phase being handled at incorrect time for spells with LaunchDelay
Port From (https://github.com/TrinityCore/TrinityCore/commit/3798de4b391ee74550083fd376faf69852f28e7e)
2022-05-09 12:35:24 -04:00
hondacrx 3806d3f18f Core/Spells: Ignore existing cooldown for spells using TRIGGERED_IGNORE_SPELL_AND_CATEGORY_CD instead of only skipping setting new cooldown
Port From (https://github.com/TrinityCore/TrinityCore/commit/d92f25478a3550c1e40f7e792ebfc6c50572ba97)
2022-05-07 22:43:46 -04:00
hondacrx f67434306f Core/Auras: Proc flag updates
Port From (https://github.com/TrinityCore/TrinityCore/commit/02979daf761a5122efa7b8fa3e70509ecd69789e)
2022-05-07 22:41:24 -04:00
hondacrx 655a4f9857 Core/Spells: Implemented using db2 PositionFacing for SPELL_EFFECT_LEAP_BACK
Port From (https://github.com/TrinityCore/TrinityCore/commit/7295bfb6a09b25d824889cfb3698a0774fc01b34)
2022-05-07 15:10:06 -04:00
hondacrx e1e8027159 Core/Auras: Implemented ProcFlags2
Port From (https://github.com/TrinityCore/TrinityCore/commit/7ff411013c9f6394161dbfdc07b3f3827b1de17f)
2022-05-07 15:05:30 -04:00
hondacrx cf15d538cc Core/Spells: Load entire proc flags array from db2
Port From (https://github.com/TrinityCore/TrinityCore/commit/3844c79adb749432b0f41b9b1aecde7287b9f765)
2022-05-07 14:56:20 -04:00
hondacrx add1e659bf Core/Spells: Pass cast item level to triggered spells
Port From (https://github.com/TrinityCore/TrinityCore/commit/8e2d1e328ebec60c76d65651b268ec3ad2ce26fc)
2022-05-05 10:21:47 -04:00
hondacrx fe56f40eac Core/Spells: Fixed TARGET_UNIT_TARGET_ALLY_OR_RAID targeting
Port From (https://github.com/TrinityCore/TrinityCore/commit/25b84e5e7b215439e3f95a360c36ac430f974a94)
2022-05-05 10:03:27 -04:00
hondacrx fcdcb69fe5 Core/Spells: Implement CAST_FLAG_EX_IGNORE_COOLDOWN - causes spells to not automatically trigger cooldown clientside
Port From (https://github.com/TrinityCore/TrinityCore/commit/66509502f4a5065d74cb3da501558f7eff6ea1ec)
2022-05-05 09:54:37 -04:00
hondacrx 1daa90dfb9 Core/Spells: Implement SPELL_ATTR7_BYPASS_NO_RESURRECT_AURA
Port From (https://github.com/TrinityCore/TrinityCore/commit/2ae67de4c0f327edc60d5da9cc815016d48b7228)
2022-05-05 09:36:14 -04:00
hondacrx 8c652aacc9 Core/Spells: Do not register instant spells in Unit current spell containers when cast with TRIGGERED_IGNORE_CAST_IN_PROGRESS
Port From (https://github.com/TrinityCore/TrinityCore/commit/a8cace4c7086c65b760cca38c922410b7400130c)
2022-05-04 10:46:34 -04:00
hondacrx ecf40cda7e Scripts/Spells: Fixed paladin's Light's Hammer
Port From (https://github.com/TrinityCore/TrinityCore/commit/f3e908dc997833d3e2c5297471210bf075121f90)
2022-05-04 10:41:37 -04:00
hondacrx b048b57f46 Core/Spells: fix a possible crash when a target that has been focused during spell casts disappears
Port From (https://github.com/TrinityCore/TrinityCore/commit/f70161dcc5af3c2c958d4df559b77ace735fc7d4)
2022-05-04 10:04:12 -04:00