Commit Graph

748 Commits

Author SHA1 Message Date
hondacrx c7ea51d1dd Core/Auras: Added support for SPELL_ATTR5_LIMIT_N limit to other number than just 1
Port From (https://github.com/TrinityCore/TrinityCore/commit/d818add0e20fcf2c86ef46b5cd94f942488511a0)
2022-06-01 13:51:21 -04:00
hondacrx 35b5a28821 Core/Spells: Removed SPELL_SPECIFIC_JUDGEMENT
Port From (https://github.com/TrinityCore/TrinityCore/commit/4ef983f689177660f2d4c16c7063040c7fb0236d)
2022-06-01 13:47:28 -04:00
hondacrx 13701dac7c Core/Spells: Rename SpellAttr5 to use official attribute names
Port From (https://github.com/TrinityCore/TrinityCore/commit/738f285432b1ef6109d1c54ab7f40d743a994631)
2022-06-01 13:45:46 -04:00
hondacrx 62c2d34f1a Core/Spells: Rename SpellAttr4 to use official attribute names
Port From (https://github.com/TrinityCore/TrinityCore/commit/8d16a79dea4c0100d36e13b068c42499a3a48154)
2022-06-01 13:37:39 -04:00
hondacrx 8cddeb0fc5 Core/Spells: Rename SpellAttr3 to use official attribute names
Port From (https://github.com/TrinityCore/TrinityCore/commit/88d7b58a3dd8b0eb95c233a20c1608ddce73d9ea)
2022-06-01 13:01:55 -04:00
hondacrx a198e03a1d Core/Spells: Rename SpellAttr2 to use official attribute names
Port From (https://github.com/TrinityCore/TrinityCore/commit/dda375b9868d6dbe2a4d58b386bb90ae41d25e0d)
2022-06-01 11:53:42 -04:00
hondacrx a2d9499152 Core/Spells: Rename SpellAttr1 to use official attribute names
Port From (https://github.com/TrinityCore/TrinityCore/commit/c88b602a2c7eda598a4205dd0ec9f562c31f21b0)
2022-05-31 22:13:24 -04:00
hondacrx dc6eb46302 Core/Spells: Rename SpellAttr0 to use official attribute names
Port From (https://github.com/TrinityCore/TrinityCore/commit/a31e6819447626cd7b6967665001ea89bf6a0298)
2022-05-31 21:05:21 -04:00
hondacrx da944ab528 Core/Scripts: Begin unifying triggering gameevents (not the game_event db stuff)
Port From (https://github.com/TrinityCore/TrinityCore/commit/41a04a0c496c8c0c521eeaa76e34fbeb531cc1d9)
2022-05-31 19:42:40 -04:00
hondacrx 108abf92cd Core/Items: Implemented item effect trigger type 7 (On Looted)
Port From (https://github.com/TrinityCore/TrinityCore/commit/372c84e998a090185f822a228c407911cbc821f1)
2022-05-31 16:00:10 -04:00
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