Commit Graph

1356 Commits

Author SHA1 Message Date
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 369e36819d Core/Auras: Prevent recursive infinite loops with spell mod auras affecting each other
Port From (https://github.com/TrinityCore/TrinityCore/commit/cfb32584b0bd91a091e9861a51533ee157792d8e)
2021-03-29 16:11:20 -04:00
hondacrx c1fb79b086 Core/Auras: Corrected logic used to determine if a spellmod should affect another spell, empty family name or class mask should not apply to any spell
Port From (https://github.com/TrinityCore/TrinityCore/commit/3f479399695ce4aed7f508be46cfdccfd4353eee)
2021-03-29 16:06:26 -04:00
hondacrx 3d40c868f6 Core/Script: Implement CalcCritChance hooks for spell and aura scripts
Port From (https://github.com/TrinityCore/TrinityCore/commit/f8255b15419cd1efdd2ccaf77298c8598322288f)
2021-03-29 16:04:29 -04:00
hondacrx 487aad55df Core/PacketIO: Fixed building SMSG_UPDATE_OBJECT for array fields sharing the same initial bit index after ClearChanged was called on one of them
Port From (https://github.com/TrinityCore/TrinityCore/commit/834cd1554064785d87d36892dc92cc6b48291b27)
2021-03-29 13:10:12 -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 9bbc1b49f3 Scripts/Spells: Implemented druid eclipse system
Port From (https://github.com/TrinityCore/TrinityCore/commit/abaeb12ba3993a636d8385fe06b3a5ceb0f66f63)
2021-03-29 12:49:24 -04:00
hondacrx e8959b884e Core/Scripts: Implemented new aura script hook OnEnterLeaveCombat
Port From (https://github.com/TrinityCore/TrinityCore/commit/2420f4e7a10c430ea28b2d71a17f54da0c244a54)
2021-03-29 12:29:41 -04:00
hondacrx 6977599b1b Core/Units: Corrected values of UnitData::Resistances (should be total value)
Port From (https://github.com/TrinityCore/TrinityCore/commit/88f4d30445937b9de42f5cb25acad75fc89bdccb)
2021-03-29 12:18:59 -04:00
hondacrx 6e2c9a32e7 Core/Auras: Implemented aura to increase armor by percentage of primary stat
Port From (https://github.com/TrinityCore/TrinityCore/commit/b574be08ae552dcc4bba09e15422d74866a0e7d2)
2021-03-29 12:12:49 -04:00
hondacrx b00a895f19 Core/Players: Added Player::GetPrimaryStat retrieving intended primary stat for current specialization
Port From (https://github.com/TrinityCore/TrinityCore/commit/d889b4b0e8fc082505f6bf70a551ad4b38f3f34c)
2021-03-29 11:56:15 -04:00
hondacrx e85838b4d4 Core/Spells: Defined more spell attributes
Port From (https://github.com/TrinityCore/TrinityCore/commit/29169181cd6980ef6cb0f66478e305b36f79c23a)
2021-03-29 11:52:04 -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 d93c4fc3cb Core/Spells: Updated spell shapeshift form flags enum
Port From (https://github.com/TrinityCore/TrinityCore/commit/6db27c58b97a028026e0159109fbf20f6132e6b5)
2021-03-28 14:44:49 -04:00
hondacrx fea5674e88 Misc fixes 2021-03-24 15:45:13 -04:00
hondacrx cad2a7fa88 Core/Items: Addes support for calculating item level & cleanup iterating over items.
Based on https://github.com/TrinityCore/TrinityCore/pull/26276
2021-03-24 15:44:49 -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 d20893944c Misc fixes. 2021-03-17 21:52:09 -04:00
hondacrx 76d79ff2e6 Core/Auras: Update AuraState enum and implement missing new ones
Port From (https://github.com/TrinityCore/TrinityCore/commit/69e0b9a98516a0cac14bc3f985a2deb2fe79205f)
2021-03-17 21:51:55 -04:00
hondacrx 97a89d0c8c Scripts/Spells: corrections to Death Knight spell Blood Mastery
Port From (https://github.com/TrinityCore/TrinityCore/commit/0c73895826f691b529026abddf4a64828e7c75ad)
2021-03-17 21:16:32 -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 f667df1b11 Scripts/Commands: modify command .dismount to target any selected player
Port From (https://github.com/TrinityCore/TrinityCore/commit/7bd3914663735fc0744a97b81140adef8b4d276b)
2021-03-17 17:07:59 -04:00
hondacrx 5878e2be56 Core/Entities: add extra use of UPDATETYPE_CREATE_OBJECT2
Port From (https://github.com/TrinityCore/TrinityCore/commit/044110d42366c3e91007add3a2aa4bd02cbe7d2c)
2021-03-17 17:02:15 -04:00
hondacrx 05799b4f92 Core/Scripts: fix drink auras
Port From (https://github.com/TrinityCore/TrinityCore/commit/33fbd7c7736bfe061a10e529a73e243074c90fa8)
2021-03-17 16:59:30 -04:00
hondacrx 1be0e4a685 Core/Auras: fixed off by one error in counting SPELL_ATTR5_START_PERIODIC_AT_APPLY ticks
Port From (https://github.com/TrinityCore/TrinityCore/commit/794a3e43887d3fea4bb9b1ec77a98ab596eea0be)
2021-03-17 16:56:24 -04:00
hondacrx 4fa6122106 Core/Auras: periodics refactor part 5: ported periodic trigger spell auras to scripts
Port From (https://github.com/TrinityCore/TrinityCore/commit/44c8ccadd701c1a4bc0ce08ee53a7a7ba55289d4)
2021-03-17 16:50:50 -04:00
hondacrx ce2033dcce Core/Auras: periodics refactor part 4: ported periodic dummy auras to scripts
Port From (https://github.com/TrinityCore/TrinityCore/commit/d9b145615dd2bafe1ae74e6dc11c9b86a0fb6f28)
2021-03-17 16:28:12 -04:00
hondacrx ff36626d12 Core/Auras: periodics refactor part 3: move more switch hacks to scripts
Port From (https://github.com/TrinityCore/TrinityCore/commit/97e869e8b36afd9e7f0452b9001287f6b4a02ef2)
2021-03-17 16:26:34 -04:00
hondacrx 8556495e5e Core/Auras: periodics refactor part 2: Move UpdatePeriodic to AuraScripts
Port From (https://github.com/TrinityCore/TrinityCore/commit/fd786c03a369b60bd29773e19f4213fd2e01624b)
2021-03-17 16:22:22 -04:00
hondacrx 1d8bab3b58 Core/Auras: periodics refactor part 1:
Port From (https://github.com/TrinityCore/TrinityCore/commit/5f9e0d92d563c983c229db1569414916b3dce51e)
2021-03-17 16:08:17 -04:00
hondacrx f2317c2bdf Core/Entities: Some changes to LoS z checking & MotionMaster.MoveJumpTo
Port From (https://github.com/TrinityCore/TrinityCore/commit/fe362cf2c9d5c71db4698480ce26cb35dbc58f28)
2021-03-17 13:55:29 -04:00
hondacrx 369c4526be Core/Spells: Changed channel triggered spells to inherit positive/negative status from main spells
Port From (https://github.com/TrinityCore/TrinityCore/commit/16135b5096716eee7f7a9a364713e267a5c4bfa0)
2021-03-17 13:45:36 -04:00
hondacrx 127aff8573 Core/Players: Update the location of the cinematic camera only if there is an active cinematic
Port From (https://github.com/TrinityCore/TrinityCore/commit/72f99531b7cdfad1c3fca02d32e88f4ac2662043)
2021-03-17 13:41:04 -04:00
hondacrx 43cf936d1f Core/GameObjects: Add GameObjectPlaySpellVisual
Port From (https://github.com/TrinityCore/TrinityCore/commit/2d84912ce92e1ac30efd6548ca98cb8f894f5268)
2021-03-17 13:39:12 -04:00
hondacrx 70cc1d7d50 Core/AdventureMap: Handle CMSG_ADVENTURE_MAP_START_QUEST
Port From (https://github.com/TrinityCore/TrinityCore/commit/08e017b3512ce8189adc6762e3670c20c900f54e)
2021-03-17 13:38:49 -04:00
hondacrx cf1f8e7385 Core/RemoteAccess: Fixes high cpu when closing the telnet client without using the exit command. 2021-03-16 20:33:21 -04:00
hondacrx e77a742bf8 Core/Misc: Misc fixes 2021-03-16 15:45:42 -04:00
hondacrx 76b30d4346 Core/Spells: Fixed two more crashes. 2021-03-16 15:44:42 -04:00
hondacrx 3acb8eca4a Core/Scripts: Cleanups on scripts. 2021-03-16 15:44:25 -04:00
hondacrx 3c08ab438e Core/Spells: Fixes a crash when removing or aura expires on a temp weapon enchant. 2021-03-16 15:44:01 -04:00
hondacrx 75559fc9d6 Core/AdventureJournal: Check if player can access adventure journal with ChrClassUIDisplay.db2
Port From (https://github.com/TrinityCore/TrinityCore/commit/d0246e5835ea184b22896e6b354fb28c28890810)
2021-03-15 17:05:52 -04:00
hondacrx eee335291f Core/AdventureJournal: Handle CMSG_ADVENTURE_JOURNAL_OPEN_QUEST and CMSG_ADVENTURE_JOURNAL_UPDATE_SUGGESTIONS
Port From (https://github.com/TrinityCore/TrinityCore/commit/3addbe7dd418259149c39fc3b9423f7809de696a)
2021-03-15 16:55:55 -04:00
hondacrx 4323951881 Core/Criteria: Implemented CRITERIA_ADDITIONAL_CONDITION_COMPLETED_QUEST_OBJECTIVE
Port From (https://github.com/TrinityCore/TrinityCore/commit/7cc70e29aed04b879e5cf0a9384328b4accb3146)
2021-03-15 16:45:13 -04:00
hondacrx 360e0c51a2 Scripts/Spells: Fixed Fingers of Frost proc passive
Port From (https://github.com/TrinityCore/TrinityCore/commit/b94851b824f6e4d7f7a7cd01a4c99e02b1e86b97)
2021-03-15 16:43:18 -04:00
hondacrx 718bbfc1b6 Core/Spells: Check if serverside spells don't overwrite db2 spells
Port From (https://github.com/TrinityCore/TrinityCore/commit/deed58f080fe11cfdeb7623b4ed577d062456702)
2021-03-15 16:30:47 -04:00
hondacrx 98088d1d35 Core/Spells: Restore serverside spells fuinctionality
Port From (https://github.com/TrinityCore/TrinityCore/commit/71112d4d169ef192f8c3c9eb1303bdd880336eaa)
2021-03-15 16:29:10 -04:00
hondacrx cee1fbe0d2 Core/Auras: Remove m_effIndex member of AuraEffect and always take it from SpellEffectInfo
Port From (https://github.com/TrinityCore/TrinityCore/commit/efdca47aff354079bc73d248e022c2e914d94e7b)
2021-03-15 15:37:07 -04:00
hondacrx 0491a60e48 Core/PacketIO: corrected setting the NowDead field in SMSG_ATTACK_STOP
Port From (https://github.com/TrinityCore/TrinityCore/commit/e77100c9238cc6bd1c84f328773cb9a34a9be0bc)
2021-03-15 15:27:24 -04:00
hondacrx 88fdc2ae81 Scripts/Spells: Added druid's guardian spell scripts
Port From (https://github.com/TrinityCore/TrinityCore/commit/183f719f4e1fa975de28acdfc027ff3f23789fb7)
2021-03-15 15:25:12 -04:00