Commit Graph

130 Commits

Author SHA1 Message Date
hondacrx 6cf76372ac Core/Spells: Fix UNIT_CREATED_BY_SPELL in SPELL_EFFECT_SUMMON
Port From (https://github.com/TrinityCore/TrinityCore/commit/69663cc94f8b90daa5f19192313d4c4129ba64cc)
2021-09-24 10:23:22 -04:00
hondacrx 4a61a40fb8 Core/Position: Refactor GetAngle -> GetAbsoluteAngle because code clarity is good.
Port From (https://github.com/TrinityCore/TrinityCore/commit/bc89e1cdb0da10e53cc9fa4a97565c05bb4c052e)
2021-09-23 22:46:22 -04:00
hondacrx 7770ef3f5e Core/Spell: fix target checks
Port From (https://github.com/TrinityCore/TrinityCore/commit/a2ea26816e19224484377697311f3de1f4cc8f55)
2021-09-08 23:21:51 -04:00
hondacrx 0b3177fc1f Core/Spells: register and apply individual aura effects on hit handler
Port From (https://github.com/TrinityCore/TrinityCore/commit/c07b9188dfc6f76bd909eea7cb8f5a8263b0e83e)
2021-09-08 22:55:23 -04:00
hondacrx 5c4a7511ff Core/Spells: Cleanup spell effects
Port From (https://github.com/TrinityCore/TrinityCore/commit/8a4e1119ac21e2d1112d1717337597fe073e495f)
2021-09-08 17:40:50 -04:00
hondacrx 4e03358392 Core/Spells: Remove outdated damage calculations from Spell::EffectSchoolDMG and Spell::EffectWeaponDmg
Port From (https://github.com/TrinityCore/TrinityCore/commit/6031b95ea717214afb369782337c7e52f6587af6)
2021-08-30 16:29:23 -04:00
hondacrx 02f1211445 Core/Spells: Removed SpellEffIndex effIndex argument from spell effect handlers, it was commented out in almost every handler
Port From (https://github.com/TrinityCore/TrinityCore/commit/3dd75a49b190098010803014072c0c8bee2996bd)
2021-08-30 15:55:48 -04:00
hondacrx 6e9451082d Core/Spells: Refactor building SMSG_SPELL_EXECUTE_LOG to not create 192 empty vectors on every spell cast
Port From (https://github.com/TrinityCore/TrinityCore/commit/bc2c76a5b8b4a6e5c1d6e65d367c700e4ef1cbf2)
2021-08-30 15:46:45 -04:00
hondacrx 85f7edc339 Misc fixes. 2021-08-29 18:46:18 -04:00
hondacrx 949d4806c5 Core/Spells: rework part 5: GameObject casting
Port From (https://github.com/TrinityCore/TrinityCore/commit/962f6d7988b9003e550f6745be7cff812e9d8efa)
2021-08-29 18:27:08 -04:00
hondacrx e97ffa304d Core/Spells: rework part 4: iterate over effects first
Port From (https://github.com/TrinityCore/TrinityCore/commit/65dca120d34febdaa84a63e17f638ab0fa59b3df)
2021-08-28 22:35:39 -04:00
hondacrx 091272755c Core/Spells: rework part 3: spells only handle at most one UnitAura and one DynObjAura during its lifetime
Port From (https://github.com/TrinityCore/TrinityCore/commit/f3548d45d0a74203ef6f5c7282c31ba794ddf7a1)
2021-08-28 17:03:47 -04:00
hondacrx 9e7116f4de Fixed hunter auto attack. 2021-08-09 14:40:58 -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 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 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 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 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 c51c4d443f Core/Spell: SpellValueOverrides encapsulation
Port From (https://github.com/TrinityCore/TrinityCore/commit/5fbddef85f48f6b9140d025d7f2e14faae0af178)
2021-06-22 18:43:40 -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 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 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 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 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 d0faa12ef6 Core/Spells: CastSpell Cleanup
Port From (https://github.com/TrinityCore/TrinityCore/commit/)
2021-04-18 18:42:11 -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
hondacrx b274d1f6ab Core/Auras: Fixes Zen Pilgrimage aura not being removed after teleport back. 2021-03-30 16:11:15 -04:00
hondacrx 4d02ef5440 Core/Spells: Missed a SpellEffectHandlerAttribute. 2021-03-30 13:22:35 -04:00
hondacrx 6b455863b5 Core/Spells: Implemented SUMMON_PROP_FLAG_PERSONAL_GROUP_SPAWN
Port From (https://github.com/TrinityCore/TrinityCore/commit/2398c1e23c57cf5b6ac778b09a09d28e2704fd75)
2021-03-29 17:47:18 -04:00
hondacrx c1c9dbb762 Core/Spells: Add missing privateObjectOwner support to Spell::SummonGuardian
Port From (https://github.com/TrinityCore/TrinityCore/commit/46a81ea1f440b91611bc7b849ac09d523a041878)
2021-03-29 17:34:15 -04:00
hondacrx 98f9fdaf53 Core/Objects: Pass privateObjectOwner guid directly to SummonCreature functions
Port From (https://github.com/TrinityCore/TrinityCore/commit/33b3ebcae67870f704d86d30aa357781b33bb411)
2021-03-29 17:31:48 -04:00
hondacrx b4bf10ed22 Core/Objects: Move personal summon handling from TemporarySummon/GameObject to WorldObject and check it using dedicated guid field
Port From (https://github.com/TrinityCore/TrinityCore/commit/1082a6645e96c611b3145b5d6208fc4db6e4b2d3)
2021-03-29 17:11:46 -04:00
hondacrx 047a6babfc Core/Spells: Implement SPELL_EFFECT_TELEPORT_TO_RETURN_POINT
Port From (https://github.com/TrinityCore/TrinityCore/commit/1c852af7f2c820e429eaf8389822e8c910f961a1)
2021-03-29 16:36:05 -04:00
hondacrx e3994d9636 Core/Spells: Defined and implemented new spell interrupt flags
Port From (https://github.com/TrinityCore/TrinityCore/commit/07a47947e2e189649e48a093b66c8c3de8872ac0)
2021-03-29 13:09:27 -04:00
hondacrx 0501481fcd Core/Auras: Defined and implemented many new interrupt flags
Port From (https://github.com/TrinityCore/TrinityCore/commit/9b5a46ca2bb3a4632cb9914e0899df611a47d935)
2021-03-28 15:49:12 -04:00
hondacrx 62ec699ec6 Core: SOme code cleanup, more to follow. 2021-03-20 22:48:48 -04:00
hondacrx 62f554f2e0 Core/Spells: Fixed a crash on collection was modified. 2021-03-18 12:20:56 -04:00
hondacrx 4568cdad48 Core/Spells: Define all spell modifier types and implement ProcCooldown mod and PeriodicHealingAndDamage for melee periodic damage
Port From (https://github.com/TrinityCore/TrinityCore/commit/6585666e6e34ade0333e4c23876acdf847d169c0)
2021-03-17 18:52:59 -04:00
hondacrx 655051c3f9 Core/Spells: Implemented SPELL_EFFECT_PLAY_SCENE_SCRIPT_PACKAGE and SPELL_EFFECT_CREATE_PRIVATE_CONVERSATION
Port From (https://github.com/TrinityCore/TrinityCore/commit/34768c5b440a03a817a36007e82c0e4859120235)
2021-03-04 16:08:51 -05:00
hondacrx c4fce8e60a Core/Spells: Updated spell effect type definitions to match latest client version
Port From (https://github.com/TrinityCore/TrinityCore/commit/a05fc3ded598f56d21d23e3efb218fa5381f45ab)
2021-03-04 16:06:06 -05:00
hondacrx 42f411119a Core/Spells: Implemented spell effect 202 SPELL_EFFECT_APPLY_AREA_AURA_SUMMONS
Port From (https://github.com/TrinityCore/TrinityCore/commit/ad479e8fa0de6659815e956ee5f2b594957a7d1d)
2021-03-04 14:21:45 -05:00
hondacrx 0fdab8635d Misc fixes 2021-03-04 12:00:58 -05:00
hondacrx fc3ecd460a Misc fixes and DB updates 2021-02-24 19:00:12 -05:00
hondacrx f15cc130fa Core/Auras: Implemented SPELL_AURA_PERIODIC_WEAPON_PERCENT_DAMAGE
Port From (https://github.com/TrinityCore/TrinityCore/commit/5ed75bb2d3fdc5bd2ee4dddb748db291fe3b1541)
2021-02-22 15:29:14 -05:00