Commit Graph

417 Commits

Author SHA1 Message Date
hondacrx bfd44a494d Core/Auras: restrict target map update only to area auras as player requires to have auras registered on load
Port From (https://github.com/TrinityCore/TrinityCore/commit/8e7a12a87aa6502b7bf9adc42478283859f9268a)
2021-08-09 09:25:37 -04:00
hondacrx 26a2eced6e Core/Auras: fixed Drain Mana breaking early if caster has Mana Feed talent but no active pet
Port From (https://github.com/TrinityCore/TrinityCore/commit/64399f58a37e0c2633d986af6af781e7f7b15998)
2021-08-08 23:33:31 -04:00
hondacrx 89bd0b003d Core/Spells: Execute item casts immediately instead
Port From (https://github.com/TrinityCore/TrinityCore/commit/64234b35ede0ec6e12048ec9a3dc8ae438ddb6e4)
2021-08-08 23:32:08 -04:00
hondacrx dac2b45ab8 Partial: Core/Entities: Reduce the probability of units dropping under the map
Port From (https://github.com/TrinityCore/TrinityCore/commit/69edf282fa777912385dbb4d921b9f3a8f92a00e)
2021-08-08 23:16:19 -04:00
hondacrx 7ffe2ee299 Core/Spells: Use caster as chat source in Spell::EffectSendChatMessage
Port From (https://github.com/TrinityCore/TrinityCore/commit/fcead0b4eae298c1a46c42fea56a3b3b9ae2bf8f)
2021-08-08 14:57:54 -04:00
hondacrx 7ca12d9793 Core/DataStores: 9.1.0 db2 structures
Port From (https://github.com/TrinityCore/TrinityCore/commit/ce1046a8fd0f04aad6c414786949269fffea88f3)
2021-08-08 14:40:42 -04:00
hondacrx 001b026bce Core/Auras: Fix incorrect use of GetUnitOwner() in DynObjAura::FillTargetMap
Port From (https://github.com/TrinityCore/TrinityCore/commit/07f51437fc9ddba2810c090caa76ab294bcf777b)
2021-07-22 07:47:40 -04:00
hondacrx 4b142a08bd Core/Auras: Skip estimated points calculation for SPELL_EFFECT_PERSISTENT_AREA_AURA
Port From (https://github.com/TrinityCore/TrinityCore/commit/515d3da181e105aceeba02d8dab46454be00f433)
2021-07-21 15:51:43 -04:00
hondacrx 50fcbd3aaf Some cleanups 2021-07-08 13:01:46 -04:00
hondacrx 868bbf9edd Fixes a Assert with calling GetUnitOwner when aura is a DynObjAura.
Not sure if this is the right fix, or if there is more places it should be changed.
2021-07-03 20:42:57 -04:00
hondacrx 8418528bb0 oops 2021-07-01 00:07:54 -04:00
hondacrx cc192de659 Some missed changes. 2021-06-30 23:36:22 -04:00
hondacrx 1d9e839bc9 Core/Auras: remove obsolete check that was preventing some auras to proc even if they met conditions otherwise
Port From (https://github.com/TrinityCore/TrinityCore/commit/1fe817a9957bdc62d1e9a0b33f4615746831a6a7)
2021-06-23 23:51:38 -04:00
hondacrx eefb63647d Core/Spells: prevent creatures to focus channeled spells without SPELL_ATTR1_CHANNEL_TRACK_TARGET
Port From (https://github.com/TrinityCore/TrinityCore/commit/d91e099b10a33d9205c023c81bcc966d713c39ab)
2021-06-23 23:43:18 -04:00
hondacrx 5bbd708070 Core/Auras: make area and dynauras condition compliant by using the spellarea searcher instead of script searchers
Port From (https://github.com/TrinityCore/TrinityCore/commit/1f3e365ff6c010424746f34104d1228fb6a96b8a)
2021-06-23 23:23:48 -04:00
hondacrx 237b583e64 Core/Spells: fixed server being too overzealous with autoshot
Port From (https://github.com/TrinityCore/TrinityCore/commit/5323a7d38697967c12abe9b2903b97e271a2cac1)
2021-06-23 23:13:05 -04:00
hondacrx fbec933705 Core/Unit: kill unused parameter from SpellxxxBonusTaken
Port From (https://github.com/TrinityCore/TrinityCore/commit/15810eb579c40ee2b3db35ef2a99b7c5cb70c985)
2021-06-23 22:27:20 -04:00
hondacrx 1be1a5ad1a Core/Spells: add log on load about improper use of attribute PROC_ATTR_REQ_SPELLMOD
Port From (https://github.com/TrinityCore/TrinityCore/commit/3582bacc4a3550725d288b55fb16311dee0ae0df)
2021-06-23 22:13:19 -04:00
hondacrx 1b87be93be Core/Spells: implement SPELLVALUE_CRIT_CHANCE
Port From (https://github.com/TrinityCore/TrinityCore/commit/13be704cb4619ef585ae0043580e2534f62e64aa)
2021-06-23 22:09:38 -04:00
hondacrx 9e23ca4b04 Core/Spells: calculate crit chance only for spells that do damage/healing
Port From (https://github.com/TrinityCore/TrinityCore/commit/85e5509e91a1370b16851d375a26121797870921)
2021-06-23 22:06:49 -04:00
hondacrx 11cbb26bc1 Core/Auras: fix periodic ticks proc after previous commit
Port From (https://github.com/TrinityCore/TrinityCore/commit/c21dc3c1b7985cbffaaf1cd17a48bddd2106154d)
2021-06-23 17:42:38 -04:00
hondacrx 0daea24b3f Core/Spells: require phasemask set for periodic damage procflag
Port From (https://github.com/TrinityCore/TrinityCore/commit/91fa279bdf67646ab15601ec18096c0a45133ebf)
2021-06-23 17:40:28 -04:00
hondacrx f959a0fd91 Core/Spells: fix logic error causing near teleports to drop combat for players
Port From (https://github.com/TrinityCore/TrinityCore/commit/8c379e920ca184d520c81ada26c42c5dfeac770d)
2021-06-23 16:02:44 -04:00
hondacrx 9d3cd6a6e5 Core/Spells: fix logic error causing near teleports to drop combat for players
Port From (https://github.com/TrinityCore/TrinityCore/commit/f9b14ca795de932746ce404dfe56c5cded3bde2b)
2021-06-23 15:59:06 -04:00
hondacrx abee68a7ee Core/Spells: remove duplicated LowerPlayerDamageReq call on reflected spells
Port From (https://github.com/TrinityCore/TrinityCore/commit/800d92bec3b7a771f6fbd8d123dc727c54becd4b)
2021-06-23 15:54:43 -04:00
hondacrx 619c79e7f1 Core/Spells: fix SPELLMOD_DAMAGE application order for melee spells
Port From (https://github.com/TrinityCore/TrinityCore/commit/d34292534c197887cd33c15ff98ca8c96dc4fb99)
2021-06-23 15:43:29 -04:00
hondacrx b012517079 Core/Spells: kill unused parameter from Spell constructor
Port From (https://github.com/TrinityCore/TrinityCore/commit/01d9306854618bb66f79e1f0f5d9781ff48ab019)
2021-06-23 15:37:52 -04:00
hondacrx 51a6d72fd4 Spell/Script: Torch 52953 and 58121 must hit only one target
Port From (https://github.com/TrinityCore/TrinityCore/commit/854abdbfb6ea1075fbe5db09c1ce70aa2bdb18a8)
2021-06-23 15:30:08 -04:00
hondacrx 22c57b92db Core/Spell: killed deprecated code which randomly changed powercost for missed spells
Port From (https://github.com/TrinityCore/TrinityCore/commit/c43f61df3d1612bfe87f2df499e2687c87cb1208)
2021-06-23 14:43:49 -04:00
hondacrx e8b7f00161 Core/Player: only call _ApplyWeaponDamage for actual weapons
Port From (https://github.com/TrinityCore/TrinityCore/commit/905112b2a61c5b3999f936d957e10a3ee6258751)
2021-06-23 14:42:03 -04:00
hondacrx a34469c171 Core/Entities: don't allow client control if player is still affected by any lose of control state
Port From (https://github.com/TrinityCore/TrinityCore/commit/d0f4310c4417fb5dc8e89061adf4ce113caa4227)
2021-06-23 14:39:59 -04:00
hondacrx b7f1a6384a Core/Spells: fix Spirit of Redemption
Port From (https://github.com/TrinityCore/TrinityCore/commit/0c56ec914f5f6b55251a7a8889b61ef93d56c924)
2021-06-23 13:33:15 -04:00
hondacrx 7eed87f51c Core/Auras: define and implement attribute SPELL_ATTR3_NO_PROC_EQUIP_REQUIREMENT
Port From (https://github.com/TrinityCore/TrinityCore/commit/b27e741096b59d3e07503bb8db30df6596dee1f2)
2021-06-23 13:22:42 -04:00
hondacrx 58f326a909 Core/Auras: fix static analysis issues
Port From (https://github.com/TrinityCore/TrinityCore/commit/08ac27d9598d8b2708de502ed9d83a554949af93)
2021-06-22 20:49:21 -04:00
hondacrx 314607e547 Core/Unit: fix mess-up with CalcArmorReducedDamage parameter order
Port From (https://github.com/TrinityCore/TrinityCore/commit/bf4330bfb58d5c23b651bc8397a15b10f33672b8)
2021-06-22 20:46:24 -04:00
hondacrx 52276012cb Core/Unit: fixed crash
Port From (https://github.com/TrinityCore/TrinityCore/commit/84a29d8077d2e2b6e8c8ebcb967344b57668cb88)
2021-06-22 20:17:42 -04:00
hondacrx c51c4d443f Core/Spell: SpellValueOverrides encapsulation
Port From (https://github.com/TrinityCore/TrinityCore/commit/5fbddef85f48f6b9140d025d7f2e14faae0af178)
2021-06-22 18:43:40 -04:00
hondacrx 046cd9f917 Core/Auras: Implemented EstimatedPoints for SMSG_AURA_UPDATE
Port From (https://github.com/TrinityCore/TrinityCore/commit/bda948fc5c3bd3675edb98f6807d8481bca50fb0)
2021-06-22 17:55:12 -04:00
hondacrx e98e45cf8b Core/Auras: removed caster dependency from core
Port From (https://github.com/TrinityCore/TrinityCore/commit/fccf1a8c62820004df92b9ac567ba75f7281e6e2)
2021-06-22 15:01:42 -04:00
hondacrx fbd7df7c3f Some missed stuff. 2021-06-18 15:19:41 -04:00
hondacrx 88c9b21ec2 Fixes Fleeing, and probably so other movement stuff. 2021-06-18 15:13:04 -04:00
hondacrx 302a1f293c Some Cleanups 2021-06-07 18:06:16 -04:00
hondacrx 9c58042e07 Core/Player: Add helper function to determine if war mode can be enabled in area
Port From (https://github.com/TrinityCore/TrinityCore/commit/626c8f5de12daac6b88989807eba65d3d7a061dd)
2021-06-07 11:06:13 -04:00
hondacrx 69a832b162 Core/Spells: Load spell label data for future use
Port From (https://github.com/TrinityCore/TrinityCore/commit/e1f3f1254c3214c0a5b71db6de33f8900903d314)
2021-06-04 16:26:25 -04:00
hondacrx 103d78dccc Core/Criteria: Add all values of CriteriaStartEvent
Port From (https://github.com/TrinityCore/TrinityCore/commit/0b2087ae4185fa53cd3b5d7206f7fd3726fd642f)
2021-06-04 14:08:02 -04:00
hondacrx 90508f7689 Core/Maps & Extractors: Move copypasted map file headers into a single shared file and replace #defines with enums
Port From (https://github.com/TrinityCore/TrinityCore/commit/6ecfe58cae6d9cfa7a3aef21a4a96aa00c513ba2)
2021-06-02 22:09:53 -04:00
hondacrx 0f16ad75d0 Core/Spells: Defined and implemented some new spell attributes
Port From (https://github.com/TrinityCore/TrinityCore/commit/1912999b9e4b1f1b7503e404d359dfeac38c3d29)
2021-05-18 13:08:05 -04:00
hondacrx 58bbbade44 Core/Spells: Fixed Shapeshift using macro
Port From (https://github.com/TrinityCore/TrinityCore/commit/068b4f96e5f4d57f31ad6c00611f01aad3fab4d3)
2021-05-18 12:56:02 -04:00
hondacrx c92693102d Core/Spells: fix casting NO_TARGET event spells
Port From (https://github.com/TrinityCore/TrinityCore/commit/83159544b52bf48e8ba3a6eb98c1f4918c0b7bbe)
2021-05-18 12:26:29 -04:00
hondacrx 9851142796 Core: Combat/threat system rewrite
Port From (https://github.com/TrinityCore/TrinityCore/commit/34c7810fe507eca1b8b9389630db5d5d26d92e77)
2021-05-18 12:25:40 -04:00