Commit Graph

199 Commits

Author SHA1 Message Date
hondacrx 8fa7feb9da Core/Scripts: Rename recent GameObject spell overloads to fix warnings
Port From (https://github.com/TrinityCore/TrinityCore/commit/a4fcfbb3afe388f90725734b0180ad8322277b7d)
2021-12-01 23:05:27 -05:00
hondacrx b4febb11c8 Core/Object: Range check, Needs tested.
Port From (https://github.com/TrinityCore/TrinityCore/commit/b717603a9b3a676e800fc401f4544735287791a9)
2021-12-01 22:57:42 -05:00
hondacrx 334720dafe Core/Movement: Fix some undermap issues with random movement/fear/blink
Port From (https://github.com/TrinityCore/TrinityCore/commit/4fcc4a330044e84baa1f58ff13e1b4ea7775eb66)
2021-11-29 17:46:46 -05:00
hondacrx 06be062d91 Core/Spell: SpellAura Redux
Port From (https://github.com/TrinityCore/TrinityCore/commit/f7299dce9770a5b4a3a5ab289e930a390aa0407a)
2021-11-29 14:38:37 -05:00
hondacrx 6ae530a740 Core/Spells: Adjust range checks to GameObject targets
Port From (https://github.com/TrinityCore/TrinityCore/commit/7a2ef474952e6d57f4d8282a8cd3d068dcf3f38c)
2021-11-29 14:24:28 -05:00
hondacrx 46ef3451c9 Core/Spells: Adjust range checks to GameObject targets
Port From (https://github.com/TrinityCore/TrinityCore/commit/71b58c2e6215aaf81ced9964ca10983f54fbe14c)
2021-11-29 14:23:32 -05:00
hondacrx ceba0aedff Core/Spells: Add range checks to GameObject targets
Port From (https://github.com/TrinityCore/TrinityCore/commit/abb36a1e5bbbebb7197d859cbd9c2dbf71665152)
2021-11-23 22:48:05 -05:00
hondacrx b3a92137d3 Core/Spells: SpellHistory updates
Port From (https://github.com/TrinityCore/TrinityCore/commit/8cc6520b89583d4bf6549b28fa5b7390fc2b0b9d)
2021-11-23 14:36:54 -05:00
hondacrx 9268b931c8 Core/Spells: Fixed ErrorCube spell missiles
Port From (https://github.com/TrinityCore/TrinityCore/commit/ce794f3978e853341b2dc0c782e7bda34303b3f8)
2021-11-18 14:30:42 -05:00
hondacrx c5ed2f5a97 Core/Spells: fix issues with delayed spells and auras
Port From (https://github.com/TrinityCore/TrinityCore/commit/87486cecffa9752c59cf8766757f79d2e528d152)
2021-11-15 23:14:01 -05:00
hondacrx 55746b1007 Core/Instances: Drop allowMount column in instance_template as it is already handled properly by SPELL_ATTR0_OUTDOORS_ONLY
Port From (https://github.com/TrinityCore/TrinityCore/commit/8b171d7c019f0010ec05af92466261d4be78bfff)
2021-11-02 13:34:29 -04:00
hondacrx ffb04bffc0 Core/Unit: Store charmer and charmed pointers on Unit directly, no more map lookups for Unit::GetCharmer and Unit::GetCharmed
Port From (https://github.com/TrinityCore/TrinityCore/commit/a5989dcee9150565e7f4b8e3f7a62a414a484a3f)
2021-11-01 11:19:47 -04:00
hondacrx 26940fa650 Core/AI: Clean up charm AI handling.
Port From (https://github.com/TrinityCore/TrinityCore/commit/e4e8c1c59c8b37216814526b4d2551f23934f465)
2021-10-31 13:55:26 -04:00
hondacrx 0b64c4a02e Core/Auras: Implemented SPELL_AURA_ADD_PCT_MODIFIER_BY_SPELL_LABEL and SPELL_AURA_ADD_FLAT_MODIFIER_BY_SPELL_LABEL
Port From (https://github.com/TrinityCore/TrinityCore/commit/ba4fa060d765a35507f1a73287504c3f2e440fdb)
2021-10-17 09:11:00 -04:00
hondacrx 68c4407840 Core/Auras: Implemented SPELL_AURA_CAST_WHILE_WALKING_BY_SPELL_LABEL and SPELL_AURA_CAST_WHILE_WALKING_ALL
Port From (https://github.com/TrinityCore/TrinityCore/commit/3e81db7b9380269d4561eb5deb21fbef26913779)
2021-10-16 18:33:43 -04:00
hondacrx 2d976d7421 Core/Characters: Made homebind location a WorldLocation (this implicitly adds orientation)
Port From (https://github.com/TrinityCore/TrinityCore/commit/68c2fc8ff58d9ad272e8e17391a6bb6c3743923b)
2021-10-16 17:59:01 -04:00
hondacrx 5994c4e5fb Fixed wrong area flags, Fixes resting in city. 2021-10-15 18:05:40 -04:00
hondacrx b759f6204f Fixes npc not chasing, Also fixes auras not being applied. 2021-10-13 18:12:24 -04:00
hondacrx 46195bd8b7 Core/Spells: Implemented SPELL_EFFECT_TELEPORT_WITH_SPELL_VISUAL_KIT_LOADING_SCREEN
Port From (https://github.com/TrinityCore/TrinityCore/commit/49eb3cf8fea8e5eab0c102c2bfb27fad763ba07e)
2021-10-13 10:07:09 -04:00
hondacrx 706567186c Core/Spells: Implemented SpellReagentsCurrency.db2
Port From (https://github.com/TrinityCore/TrinityCore/commit/8492c273dd50227ca01ead785eda6c4de9361e74)
2021-10-10 17:02:33 -04:00
hondacrx bb234fa4bd Core/Spells: Changed Spell::SendCastResult arguments to signed ints to match packet structure
Port From (https://github.com/TrinityCore/TrinityCore/commit/2965d201ab5580a7c71279701b8523064a159077)
2021-10-10 16:34:07 -04:00
hondacrx 3971aea8f9 Core/Spells: Implemented SpellValueMod duration
Port From (https://github.com/TrinityCore/TrinityCore/commit/a048475cb037a3a3672723c1f2ab32a343142927)
2021-10-08 10:30:35 -04:00
hondacrx 727e0100a1 Core/Spells: Send OriginalCastId in SMSG_SPELL_START and SMSG_SPELL_GO for triggered spells in 'game' project
Port From (https://github.com/TrinityCore/TrinityCore/commit/555b2d40ecc22eb0ea4bf913b534ffa7197fa6fe)
2021-10-03 13:55:43 -04:00
hondacrx e1aa4334d2 Core/Spells: Removed CastSpellExtraArgs constructors accepting ObjectGuid, they would become ambiguous with future changes
Port From (https://github.com/TrinityCore/TrinityCore/commit/3af9be830d736506ed4544a922699ed0f7a7ecd4)
2021-10-03 13:12:12 -04:00
hondacrx cf13f32062 Fixes crash when logging in. 2021-09-27 11:15:37 -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 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 c9b8f09fbc Core/Achievements: Update CriteriaType enum
Port From (https://github.com/TrinityCore/TrinityCore/commit/0a83f748766c49775d76412d2b98bb9b9dc8c4df)
2021-09-09 14:49:19 -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 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 5c4a7511ff Core/Spells: Cleanup spell effects
Port From (https://github.com/TrinityCore/TrinityCore/commit/8a4e1119ac21e2d1112d1717337597fe073e495f)
2021-09-08 17:40:50 -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 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 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 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 89bd0b003d Core/Spells: Execute item casts immediately instead
Port From (https://github.com/TrinityCore/TrinityCore/commit/64234b35ede0ec6e12048ec9a3dc8ae438ddb6e4)
2021-08-08 23:32:08 -04:00