Commit Graph

814 Commits

Author SHA1 Message Date
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
hondacrx 2c1cc804c3 Core/Spells: cleaned up and improved spell focusing behavior
Port From (https://github.com/TrinityCore/TrinityCore/commit/c295cb9814f4c2a1878aa047cefe0cfbc7958f93)
2022-05-04 10:02:53 -04:00
hondacrx d953548ad4 Core/Spells: Do not reset periodic timer for stacking DoTs on recast
Port From (https://github.com/TrinityCore/TrinityCore/commit/c42470ffb70ddf90ce0d3f447c0e57548be17192)
2022-05-04 09:44:37 -04:00
hondacrx 52ce6b2700 Add "On" to some gossip methods in AI
Port From (https://github.com/TrinityCore/TrinityCore/commit/bc04acb72652882290cef49b2055d3cf1ab12f36)
2022-05-04 09:26:05 -04:00
hondacrx a167709cdf Core/Spells: Implemented PROC_ATTR_CANT_PROC_FROM_ITEM_CAST
Port From (https://github.com/TrinityCore/TrinityCore/commit/a3cc94080f9e5a246f5d6d64ef8ab5cc929da2ab)
2022-04-28 10:40:19 -04:00
hondacrx b99f45b472 Core/Spell: Fix name clashing between local variables and class member fields
Port From (https://github.com/TrinityCore/TrinityCore/commit/c66bcc4c0ef0be3caac8c2e1b2e361de678fb6e4)
2022-04-28 09:54:59 -04:00
hondacrx a66b74cfa2 Core/Spells: Implement SPELL_EFFECT_TRIGGER_SPELL delay (stored in MiscValue)
Port From (https://github.com/TrinityCore/TrinityCore/commit/c65340e76143f1a160f0eed83062e74b47e7b3f2)
2022-03-10 13:43:20 -05:00
hondacrx b9caad7455 Core/Spells: Correct implementation of SPELL_ATTR2_TRIGGERED_CAN_TRIGGER_PROC, SPELL_ATTR3_TRIGGERED_CAN_TRIGGER_PROC_2, SPELL_ATTR3_CAN_PROC_WITH_TRIGGERED and rename them (SPELL_ATTR2_ACTIVE_THREAT, SPELL_ATTR3_NOT_A_PROC, SPELL_ATTR3_CAN_PROC_FROM_PROCS)
Port From (https://github.com/TrinityCore/TrinityCore/commit/b6bc8a50acaf153849f58c8b408e236bb2b70c35)
2022-03-10 13:40:20 -05:00
hondacrx c486b2a846 Core/Pets: Updated pet summoning for latest client version (5 Call Pet spells and stable size 200)
Port From (https://github.com/TrinityCore/TrinityCore/commit/950db60435e7e513633ff5b22ad7f0ed8b1147e4)
2022-03-10 12:02:05 -05:00
hondacrx ae652fd03b Core/Pets: Fixed crash happening when current pet is forcibly removed while being temporarily unsummoned (like on a mount)
Port From (https://github.com/TrinityCore/TrinityCore/commit/688d1d9533bc42dfd5684f30b8e1c2deff2795c4)
2022-03-10 09:50:07 -05:00
hondacrx 4a97585ee9 Core/Spells: Fix summoning warlock pets in case that pet has never been summoned before
Port From (https://github.com/TrinityCore/TrinityCore/commit/87b1c3700e8b8e5722b31fef2de124a2f39915c0)
2022-03-10 09:43:23 -05:00
hondacrx 26a3fb92b1 Core/Spells: Fix summoning SUMMON_PET type pets
Port From (https://github.com/TrinityCore/TrinityCore/commit/48d491ae2ffbebc05aae46cad2c012a4e983fb11)
2022-03-10 09:41:42 -05:00
hondacrx 718302fa18 Core/Pets: Pet management refactoring
Port From (https://github.com/TrinityCore/TrinityCore/commit/ca92686b44cc8c53a8991bf02d6e8534797fc115)
2022-03-10 09:39:55 -05:00
hondacrx bfd598b640 Core/Scripts: Expose IsCrit to hit hooks for spell scripts
Port From (https://github.com/TrinityCore/TrinityCore/commit/2cc652b305f31ebcc71680f314792d0d09c43bfe)
2022-03-09 17:39:49 -05:00
hondacrx edafd0a270 Scripts/Spells: Fix shaman Earthquake
Port From (https://github.com/TrinityCore/TrinityCore/commit/3e725e1d2521547ea651ef2b4e01c980c9b5ff3e)
2022-03-04 17:35:08 -05:00
hondacrx 30a5bcdb4d Misc fixes 2022-03-02 10:04:24 -05:00
hondacrx 042bfc12e5 Convert alot of methods to use TimeSpan. 2022-03-01 23:47:53 -05:00
hondacrx 9587d3ea7d Update GameTime Methods 2022-03-01 17:33:20 -05:00
hondacrx c14f1eb3dc Remove custom OptionalType and use the default c# nullable type. 2022-03-01 17:27:56 -05:00
hondacrx facb5c89a1 Core/Spells: Check a few aura effects for determining if should be negative
Port From (https://github.com/TrinityCore/TrinityCore/commit/81154a7455fccdcc55e740f98d73face3adc8da4)
2022-02-28 14:06:44 -05:00
hondacrx ce4851a33a Core/Spells: Implement SPELL_EFFECT_ACTIVATE_OBJECT.
Port From (https://github.com/TrinityCore/TrinityCore/commit/e9cf3828bad44cf193d6c9717b392de7346157a5)
2022-02-28 14:04:49 -05:00
hondacrx 561b5a528d Misc fixes 2022-02-28 13:28:57 -05:00
hondacrx 353a12b010 Core/Spells: Check a few aura effects for determining if should be negative
Port From (https://github.com/TrinityCore/TrinityCore/commit/a8edacd20b8250785b649bba22f0e920815885b6)
2022-02-27 23:28:57 -05:00
hondacrx 05c61d9bd5 Core/Spells: SPELL_AURA_MOD_HEALTH_REGEN_PERCENT should be negative if TargetType is enemy and Basepoints are negative
Port From (https://github.com/TrinityCore/TrinityCore/commit/a16c804ea06ec6f8fbae701cf71e19201072478d)
2022-02-27 23:20:13 -05:00
hondacrx f1cfc81fe6 Core/Spells: SPELL_AURA_MELEE_SLOW should be negative if TargetType is enemy or Basepoints are negative
Port From (https://github.com/TrinityCore/TrinityCore/commit/de21d446aac99b6d582acdad922d2c5ed0ada739)
2022-02-27 23:19:13 -05:00