Commit Graph

403 Commits

Author SHA1 Message Date
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
hondacrx 1509cdfded Core/Spells: Expose number of targets selected for each spell effect to scripts to allow implementing spells that do something depending on number of targets hit
Port From (https://github.com/TrinityCore/TrinityCore/commit/1a7779a6e6464d9bc5b367e02820213edd60f704)
2021-05-13 20:35:45 -04:00
hondacrx 031cde7cb2 Core/Scenes: Fix scenes played by package id
Port From (https://github.com/TrinityCore/TrinityCore/commit/2906926173fcab2b18d1a1b5cd0d94dc82dc1e2e)
2021-05-13 20:18:08 -04:00
hondacrx 5cbd815f53 Core/Auras: Use owner instead of caster for same map check in SPELL_EFFECT_APPLY_AREA_AURA_SUMMONS
Port From (https://github.com/TrinityCore/TrinityCore/commit/63fa66620e7effb1156140fdd7c7ad40af627dd7)
2021-05-11 11:40:24 -04:00
hondacrx ba6cccfce7 Core/Auras: Fixed possible crash on login with SPELL_EFFECT_APPLY_AREA_AURA_SUMMONS
Port From (https://github.com/TrinityCore/TrinityCore/commit/3169695247f723a4202373e9aba963fe2fe97024)
2021-05-05 16:14:22 -04:00
hondacrx 017a25f179 Core/Chat: Load chat language data from db2 and implement serverside chat translations
Port From (https://github.com/TrinityCore/TrinityCore/commit/3b578fc6b95bfc812962fcef7930d8646016d184)
2021-05-03 20:50:13 -04:00
hondacrx aaa3964d49 Core/Grids: Move packet sending functionality out of MessageDistDeliverer and into separate, customizable class and unify LocalizedPacketDo, LocalizedPacketListDo as generic localizable action
Port From (https://github.com/TrinityCore/TrinityCore/commit/fb66575d38d2ba7ffc24c29824fa75d7019de549)
2021-05-02 13:41:19 -04:00
hondacrx 47f993bff5 Core/Spells: Removed extra health from feed pet
Port From (https://github.com/TrinityCore/TrinityCore/commit/60df74933f0bf75865ba963b33c2c1bdd9cdefbd)
2021-04-22 20:40:17 -04:00
hondacrx 431085e7d1 Core/Spells: Added spell value duration to modify aura duration of a specific spell cast
Port From (https://github.com/TrinityCore/TrinityCore/commit/2e2dc1afc94b5d6864cf7dc8ca5799c349bdca4d)
2021-04-21 22:19:12 -04:00
hondacrx e75b5f9c6b Core/Spells: Implement priest holy words + modify cooldown for a charge
Port From (https://github.com/TrinityCore/TrinityCore/commit/81eac826562f8e75de1842c59c8d35cf050b0f21)
2021-04-20 13:13:49 -04:00
hondacrx d0faa12ef6 Core/Spells: CastSpell Cleanup
Port From (https://github.com/TrinityCore/TrinityCore/commit/)
2021-04-18 18:42:11 -04:00
hondacrx 63f0f919e2 Core/Misc: Replace Time.UnixTime with GameTime.GetGameTime()
Port From (https://github.com/TrinityCore/TrinityCore/commit/e17e4e6f0700c7d950e1b2654c217ec8b28ae79e)
2021-04-17 19:28:50 -04:00
hondacrx 17132dd6b6 Core/Entities: Fix some weird movement due to los issues
Port From (https://github.com/TrinityCore/TrinityCore/commit/446fc391f02d3ca8e1332b58f910a5b7d1c8e226)
2021-04-16 16:14:43 -04:00
hondacrx 76b09c2731 Misc fixes 2021-04-16 15:36:19 -04:00
hondacrx a2aa43c77d Core/Spell: Remove some leftover hack code from ::EffectSanctuary pertaining to vanish. None of this code did anything anymore.
Port From (https://github.com/TrinityCore/TrinityCore/commit/76b2d37259c8beb3cc1b698eb28fd7e068366724)
2021-04-16 15:26:00 -04:00