Commit Graph

466 Commits

Author SHA1 Message Date
hondacrx f8fd31b8c3 Core/Spells: Make some spells negative
Port From (https://github.com/TrinityCore/TrinityCore/commit/4c6e89942f86b0b2cfa650c28a10e16a44a95d7f)
2021-09-29 18:31:25 -04:00
hondacrx a968772bad Core/Movement: MotionMaster reimplementation
Port From (https://github.com/TrinityCore/TrinityCore/commit/426f9f2f92b26fbb68e7cda9290ccbd586c6af4e)
2021-09-29 18:24:37 -04:00
hondacrx cf13f32062 Fixes crash when logging in. 2021-09-27 11:15:37 -04:00
hondacrx 35710258b9 Some fixes from the ports. 2021-09-26 16:14:57 -04:00
hondacrx 9afc755dec Core/Unit: UNIT_FLAG renames
Port From (https://github.com/TrinityCore/TrinityCore/commit/f1ac141f25500a0f6ffd3c32b1185de2d9f9c940)
2021-09-26 14:00:30 -04:00
hondacrx ad1975b277 Core/Movement: Replace old TargetedMovementGenerator into ChaseMovementGenerator and FollowMovementGenerator, full rewrite for both.
Port From (https://github.com/TrinityCore/TrinityCore/commit/14939204955d1a24fe465cdfcbf307daf3ce4f09)
2021-09-26 10:29:27 -04:00
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 61b14b5da0 Core/Spells: all bleed effects should ignore armor
Port From (https://github.com/TrinityCore/TrinityCore/commit/3ea88f814a6be7487ef8a3d5c6237981d20f5063)
2021-09-24 10:19:33 -04:00
hondacrx dbfef1ee87 Core/Auras: Don't save liquid auras
Port From (https://github.com/TrinityCore/TrinityCore/commit/2bea816bbec6ba9d50f7bd6725806e81c6cafaae)
2021-09-24 10:16:38 -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 076441a76a Core/Spells: always initialize hitinfo aura
Port From (https://github.com/TrinityCore/TrinityCore/commit/a8226a1d6779724541c09265898a646c2b35d5d7)
2021-09-21 18:55:25 -04:00
hondacrx 8a1cfbaeb1 Core/Spells: fix delayed hit aura crash
Port From (https://github.com/TrinityCore/TrinityCore/commit/c8d7289245c0d60f25f355452574c1258baa7380)
2021-09-21 18:53:17 -04:00
hondacrx d450d62adb Core/Spells: Update effect value calculations
Port From (https://github.com/TrinityCore/TrinityCore/commit/0b882b2fa4305c8554d675d6c5ba46457c5188e4)
2021-09-21 18:50:51 -04:00
hondacrx c9b8f09fbc Core/Achievements: Update CriteriaType enum
Port From (https://github.com/TrinityCore/TrinityCore/commit/0a83f748766c49775d76412d2b98bb9b9dc8c4df)
2021-09-09 14:49:19 -04:00
hondacrx 7a5671ce22 Core/Spells: autogenerate miss proc for spells with auras with hit chance -100
Port From (https://github.com/TrinityCore/TrinityCore/commit/50c5284602a2a80826b2de033e119bc0b6730fe9)
2021-09-09 13:57:02 -04:00
hondacrx 647aca03c2 Core/Entities: completely remove 60% melee miss cap as there is no proof of its existence
Port From (https://github.com/TrinityCore/TrinityCore/commit/a6e84ebfabdaef50c9e0039dea4ec52b88827b26)
2021-09-09 13:55:36 -04:00
hondacrx 30bd4aa6b1 Core/Entities: cleanup of weapon damage
Port From (https://github.com/TrinityCore/TrinityCore/commit/bf7a624a344f86101b346bc74acd93a017cf3581)
2021-09-09 13:49:46 -04:00
hondacrx 56a90ee5ca Core/Spells: fix issues with delayed spells and auras
Port From (https://github.com/TrinityCore/TrinityCore/commit/f420a439f92d3504c1e2c8e33f5f50e5ee4fdaee)
2021-09-09 13:44:56 -04:00
hondacrx ab3bf08b60 Core/Spells: only apply aura effects when needed.
Port From (https://github.com/TrinityCore/TrinityCore/commit/5491b7f89ff466b4f78e99801d135b2e736a7635)
2021-09-09 13:39:25 -04:00
hondacrx b9c8c54b28 Core/Auras: fix auras apply on player when loading. Fixes Ghost aura flags and player deathstate
Port From (https://github.com/TrinityCore/TrinityCore/commit/071d112ed1f84c5be502f3121a3f362b913f33e2)
2021-09-09 13:38:15 -04:00
hondacrx b027dd4da8 Core/Auras: cleanly remove linked auras when unapplying effect
Port From (https://github.com/TrinityCore/TrinityCore/commit/ad2d904a75389c29c7613ce876368bf9563fcaaa)
2021-09-09 13:36:37 -04:00
hondacrx 4573123717 Core/Spells: Fix some issues with channeled spells and aura duration mods
Port From (https://github.com/TrinityCore/TrinityCore/commit/b2de3efb4b3e023874b6e28dd3a0a82b2c735ca8)
2021-09-09 10:23:51 -04:00
hondacrx ed98f4a2a4 Some fixes 2021-09-08 23:41:06 -04:00
hondacrx b071efe105 Core/Spell: fix LoS checks for GameObject spells
Port From (https://github.com/TrinityCore/TrinityCore/commit/50fe2dc7e305fa32d30bac6ad0ced2e5647ac02b)
2021-09-08 23:35:22 -04:00
hondacrx b530251d6c Core/Spells: Avoid static analysis false positive
Port From (https://github.com/TrinityCore/TrinityCore/commit/add2e6d212b356347241bfd1b52b37a447df74ce)
2021-09-08 23:31:13 -04:00
hondacrx 7cfe3c0021 Core/Spell: fix SendSpellMiss requiring caster Unit
Port From (https://github.com/TrinityCore/TrinityCore/commit/60ff73eeba93c7f97abff0eeb504cb4b5ff8a6cd)
2021-09-08 23:26:14 -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 f9779537a8 Core/Spells: Fix periodic rolling adding bonuses twice
Port From (https://github.com/TrinityCore/TrinityCore/commit/9fa95b4b57c1d843392d0c321cdabbc3a21e1d69)
2021-09-08 22:52: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 cdd34e644a Fixes loading into server/creating new character. 2021-08-31 13:20:06 -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 5ff5fb7d3f Core/Spells: rework part 2: Split up target selection logic
Port From (https://github.com/TrinityCore/TrinityCore/commit/52ae3c89d1d4dbcff309d940fd41c7212edc77b7)
2021-08-28 14:40:52 -04:00
hondacrx 9123dec4b9 Core/Spells: rework part 1: Improved positive detection logic
Port From (https://github.com/TrinityCore/TrinityCore/commit/1e1415a49128d034c8d48aa8cbb5d157200371b0)
2021-08-28 13:56:32 -04:00
hondacrx 663f082640 Some Cleanups from porting. 2021-08-23 14:29:45 -04:00
hondacrx f639a44707 Core/Spells: explicitly disable non proccing auras when generating default procs
Port From (https://github.com/TrinityCore/TrinityCore/commit/0ae1ebedfee41662df5ec49ae2b40670aaea9665)
2021-08-20 19:05:59 -04:00
hondacrx 9947e778b7 Core/Auras: remove too strict checks in area auras, since a few aren't owned by its caster
Port From (https://github.com/TrinityCore/TrinityCore/commit/95c8eae12340d2df59d63c7f67874d21af46a171)
2021-08-20 18:55:14 -04:00
hondacrx 14392fe24c Core/Auras: fixed SPELL_AURA_MOD_HIT_CHANCE honoring stack rules in all cases
Port From (https://github.com/TrinityCore/TrinityCore/commit/b0a05812d23aa1ebe69045243233a5eaba064f11)
2021-08-20 18:51:50 -04:00
hondacrx 936f9d4d93 Core/Auras: added sanity checks for area auras having a different owner unit than caster
Port From (https://github.com/TrinityCore/TrinityCore/commit/6c642f33b58ce81eb5b1345a7f0eb89de6040251)
2021-08-20 18:50:01 -04:00
hondacrx c3367b7508 Core/Spells Implement targets 133, 134, 135 : TARGET_UNIT_LINE_CASTER_TO_DEST_***
Port From (https://github.com/TrinityCore/TrinityCore/commit/fb6761c273d518eae6bab72fc9c2a2b6f93eec83)
2021-08-15 09:05:23 -04:00
hondacrx 9e7116f4de Fixed hunter auto attack. 2021-08-09 14:40:58 -04:00
hondacrx 06fe13fbab Core/VMap: Add outdoor state to Map::GetFullTerrainStatusForPosition. Add WorldObject::IsOutdoors, basic member access.
Port From (https://github.com/TrinityCore/TrinityCore/commit/e47e95b6dc89a7332ae4d5d833639e4f30f3d8c5)
2021-08-09 11:33:30 -04:00
hondacrx a2628af13a Core/Auras: check conditions against referer caster, just as spells do
Port From (https://github.com/TrinityCore/TrinityCore/commit/ffa359c21cf92810d2c927496749148ff6ea9042)
2021-08-09 10:00:05 -04:00
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