Commit Graph

110 Commits

Author SHA1 Message Date
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 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 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 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 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 ee97dc7b32 Core/Spells Handle auras 328 & 396 (SPELL_AURA_TRIGGER_SPELL_ON_POWER_*)
Port From (https://github.com/TrinityCore/TrinityCore/commit/56e9560661adca81fc1e9a297cb6823cf7a6cb22)
2021-03-08 13:50:15 -05:00
hondacrx 7b5c65244c Core/Spells: Implemented SPELL_AURA_ALLOW_TALENT_SWAPPING
Port From (https://github.com/TrinityCore/TrinityCore/commit/49b47047b809ce654661df595b14a5f8c1f01c8c)
2021-03-08 13:36:49 -05:00
hondacrx 866b81af86 Core/Movement: Allow entering water from flying mounts and druid flight form
Port From (https://github.com/TrinityCore/TrinityCore/commit/a37eb18008100f3b351c1046effdcea911cf4071)
2021-03-04 21:53:18 -05:00
hondacrx 923def9f4a Core/Spells: Refactor Player::ApplySpellMod to take SpellInfo argument instead of just spell id
Port From (https://github.com/TrinityCore/TrinityCore/commit/624881bef5c90a91e4c59e5bf404d8775c2ca55d)
2021-03-04 14:43:39 -05:00
hondacrx d7d4722d4b Core/Auras: Implemented SPELL_AURA_PHASE_ALWAYS_VISIBLE
Port From (https://github.com/TrinityCore/TrinityCore/commit/c9344c145ad1f981492c35d4aad7ca7a60e9f8f2)
2021-03-04 12:18:36 -05:00
hondacrx b874d54198 Fix typo. 2021-02-22 21:09:19 -05:00
hondacrx 4ed84e7ae4 Core/AuraEffect: Fix crash when missing a auraeffect handler. 2021-02-22 21:08:07 -05:00
hondacrx f25af46c8f Core/Auras: implement mana cost modification aura
Port From (https://github.com/TrinityCore/TrinityCore/commit/a76c08843fc1695241b7246c4014322ee07a6453)
2021-02-22 16:06:13 -05:00
hondacrx cb1afc82b2 Core/Auras: Implemented SPELL_AURA_DISABLE_ATTACKING_EXCEPT_ABILITIES
Port From (https://github.com/TrinityCore/TrinityCore/commit/ac1ef5efbe0a8c4cf25f4bdf154d5b4e86827c06)
2021-02-22 15:52:37 -05:00
hondacrx 04f2703e70 Core/Auras: Reimplement SPELL_AURA_DISABLE_CASTING_EXCEPT_ABILITIES to properly allow casting listed spells
Port From (https://github.com/TrinityCore/TrinityCore/commit/1b8ef46808c44e68f213768c6a64ccc0048f3d65)
2021-02-22 15:50:50 -05:00
hondacrx 16d64a1695 Core/Auras: Implemented SPELL_AURA_LEARN_SPELL
Port From (https://github.com/TrinityCore/TrinityCore/commit/d2a995368459b28af0309292587a39f95fbf754c)
2021-02-22 15:42:51 -05:00
hondacrx d21b61baba Core/Auras: Implemented SPELL_AURA_SET_FFA_PVP
Port From (https://github.com/TrinityCore/TrinityCore/commit/c57b012ee4e75dfb4c3d29b6c5f2308ae559aec4)
2021-02-22 15:34:37 -05:00
hondacrx f7693b7e53 Core/Auras: Implemented SPELL_AURA_MOD_INCREASE_HEALTH_PERCENT2
Port From (https://github.com/TrinityCore/TrinityCore/commit/4f38650810261ed6ad4c5bd2e6c25ffe1dde4c38)
2021-02-22 15:30:33 -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
hondacrx 7ae358bd71 Core/Auras: Rename many old aura types to their new meaning
Port From (https://github.com/TrinityCore/TrinityCore/commit/bd7c714c97beb04eb815b0aa175badfb6933ccf1)
2021-02-22 15:05:41 -05:00
hondacrx d2552107b6 Core/Auras: Refactor logic determining which spell aura type values need to be sent
Port From (https://github.com/TrinityCore/TrinityCore/commit/512931646ada2fab3796d362bb1955d7494f06ff)
2021-02-21 21:49:50 -05:00
hondacrx baa44cc4ee Core/Auras: Do not warn about nonexisting proc spells when spell id is 0 and aura is a dummy
Port From (https://github.com/TrinityCore/TrinityCore/commit/411631743adb6438dc7690e5be3a1430080384ec)
2021-02-21 21:38:01 -05:00
hondacrx 6c121e7ef5 Core/Entities: Regenerated updatefields code with latest generator fixes
Port From (https://github.com/TrinityCore/TrinityCore/commit/331b9ccd6a3be12e92e7c2aab7b793739b405d2f)
2021-02-18 12:08:56 -05:00
hondacrx 077a06f7c1 Core/Movement: Refresh collision height on shapeshifting
Port From (https://github.com/TrinityCore/TrinityCore/commit/49992508a46eb8cd73205a896ae8d84bd991bc39)
2021-02-13 21:03:57 -05:00
hondacrx 307f07eeb9 Core/Auras: Implement SPELL_AURA_BATTLEGROUND_PLAYER_POSITION_FACTIONAL (397) & SPELL_AURA_BATTLEGROUND_PLAYER_POSITION (398)
Port From (https://github.com/TrinityCore/TrinityCore/commit/e9357dc7f29fc15a72a3dc25b647d577dc979db8)
2021-02-13 20:41:50 -05:00
hondacrx 2dd7fcba0c Core/Auras: Handle SPELL_AURA_MOD_AUTOATTACK_DAMAGE
Port From (https://github.com/TrinityCore/TrinityCore/commit/964340bb764baab75830cfe298d1346ceae84c61)
2021-02-09 13:35:37 -05:00
hondacrx c4f0ad6012 Core/Auras: Handle SPELL_AURA_MOD_SCHOOL_MASK_DAMAGE_FROM_CASTER
Port From (https://github.com/TrinityCore/TrinityCore/commit/e11067a39861214bde940bdc0e5b11daf7c326a0)
2021-02-09 13:31:59 -05:00
hondacrx a3e2e957c9 Core/Auras: Implement spell effect attribute NoScaleWithStack (0x40)
Port From (https://github.com/TrinityCore/TrinityCore/commit/b832ed2479c039958bce40c3c26294fc67acf744)
2021-02-09 12:50:35 -05:00
hondacrx 7c43718f1f Core/Auras: Rename two more aura types
Port From (https://github.com/TrinityCore/TrinityCore/commit/94397ac56cf2db87c14ed39917f6de54e6ce48fb)
2021-02-09 10:37:03 -05:00
hondacrx a6c5ac711e Core/Auras: Renamed a bunch of unknown or changed spell aura types and implemented some of them
Port From (https://github.com/TrinityCore/TrinityCore/commit/d697882dfbb16242b7aa0b915fb116a14039ac5e)
2021-02-04 12:24:50 -05:00
hondacrx fe1e839708 Core/Vehicles: Add missing caster guid check
Port From (https://github.com/TrinityCore/TrinityCore/commit/e26122dc54b5c5a356a97a842718168dab97a0aa)
2020-12-31 21:02:43 -05:00
hondacrx 768eec33e5 Core/Vehicles: Treat entering other vehicles mounted on main vehicle as swapping seats
Port From (https://github.com/TrinityCore/TrinityCore/commit/110564e757fefbfbddfab876a96ca9eb5aa7dd7b)
2020-12-31 21:01:58 -05:00
hondacrx 4c2106781a Core/PacketIO: Updated packet structures to 9.0.2
Port From (https://github.com/TrinityCore/TrinityCore/commit/96d340f70ccef57fad177a24ca099055d7dce04d)
2020-12-12 23:45:36 -05:00
hondacrx cbbdf6d695 Core/Spells: Use new spell visual structure instead of just SpellXSpellVisualID
Port From (https://github.com/TrinityCore/TrinityCore/commit/7f6eef37e61ea3d47bf8028c6e37175ba0a71373)
2020-12-10 10:43:24 -05:00
hondacrx 7e2df34250 Misc cleanups/Fixes 2020-12-07 10:07:26 -05:00
hondacrx a108bb1dbc Core/Auras: Implemented SPELL_AURA_MOD_OVERRIDE_ZONE_PVP_TYPE
Port From (https://github.com/TrinityCore/TrinityCore/commit/c250a858b91a11736ee0a64c2f120b1d036b5203)
2020-10-09 13:57:32 -04:00
hondacrx 83bb7aaf28 Cleanups 2020-08-25 10:08:55 -04:00
hondacrx 79987369e5 Prevent an issue that stopped Aura AfterEffect handlers being called on default handler prevention.
Port From (https://github.com/TrinityCore/TrinityCore/commit/2c3a107bee6f600c1f4ab6124727fc58fdb48199)
2020-08-22 14:42:28 -04:00
hondacrx 2a65d345a9 Core/Auras: Implement SPELL_AURA_DETECT_AMORE
Port From (https://github.com/TrinityCore/TrinityCore/commit/d50611c108a692e0d76c102fdee8175d24d9dfc0)
2020-08-22 13:07:00 -04:00
hondacrx 193ad3a48d Combat/Threat rewrite - prep & refactor
Port From (https://github.com/TrinityCore/TrinityCore/commit/8be23fcbbdf26e8169defd761e61765f301bebe0)
2020-08-22 11:58:19 -04:00
hondacrx 3489622a60 Core/Auras: Named two test realm aura types
Port From (https://github.com/TrinityCore/TrinityCore/commit/d1956465932aa3f4c2393336ff5fd2f115fe5a21)
2020-07-19 16:44:55 -04:00
hondacrx c06baf1bf5 Core/Spells: Assign spell effect handles for new apply aura effects
Port From (https://github.com/TrinityCore/TrinityCore/commit/c3dcbe04dcea04ce3f453f99d44ebebb542bcda7)
2020-07-12 00:39:37 -04:00
hondacrx 581d077acd Refactoring of BNetServer 2020-07-12 00:06:43 -04:00