Commit Graph

233 Commits

Author SHA1 Message Date
hondacrx 883a3bb990 First try at updating command system to be like TC. Still needs alot of testing/work 2022-01-20 09:57:15 -05:00
hondacrx f8cd5846fc Core/Auras: Implemented SPELL_AURA_TRIGGER_SPELL_ON_EXPIRE
Port From (https://github.com/TrinityCore/TrinityCore/commit/792dab8f052f7cfb018ba2bafb68a3fe8154b764)
2022-01-09 14:14:29 -05:00
hondacrx 5bb553b0e3 Core/Auras: Implemented SPELL_AURA_TRIGGER_SPELL_ON_HEALTH_PCT
Port From (https://github.com/TrinityCore/TrinityCore/commit/b221f4b37251db2206dd14d46c00f1b6f1f16480)
2022-01-07 13:46:21 -05:00
hondacrx 9e7eca2258 Core/Spells: Corrected SPELL_ATTR8_MASTERY_AFFECTS_POINTS attribute implementation, it is no longer used to restrict if the spell should be cast or not (SpecializationSpells.db2 takes care of that)
Port From (https://github.com/TrinityCore/TrinityCore/commit/2a4c7c1e27ac5236874a8fd5315abee196ab4c9a)
2022-01-07 12:56:36 -05:00
hondacrx dee852d202 Core/Units: UNIT_FLAG_PACIFIED will no longer block victim updates
Port From (https://github.com/TrinityCore/TrinityCore/commit/8f4c6ebb49832fa2564e5bdb573d350d39b33117)
2022-01-07 10:46:06 -05:00
hondacrx e89a36a232 Core/Spells: SPELL_AURA_48 implementation
Port From (https://github.com/TrinityCore/TrinityCore/commit/37178ff311af95c4a2035a38839b5e8a9afe2af5)
2022-01-06 00:17:58 -05:00
hondacrx c08ca2d0cd Core/Spell: Reset threat to zero when the hunter use Feign Death
Port From (https://github.com/TrinityCore/TrinityCore/commit/a8e4add6cc7de723ea8951743b17c894aacd3b8b)
2022-01-05 17:51:59 -05:00
hondacrx 0d68984717 Misc fixes, and added GetDebugInfo() which was missed. 2022-01-05 13:11:32 -05:00
hondacrx 7c14a1754a Core/Spells: Added spellgroup support to HandleModCastingSpeed
Port From (https://github.com/TrinityCore/TrinityCore/commit/ca71fc7b6cc43d4883ad0a2a4c649b36a841b022)
2022-01-01 17:41:59 -05:00
hondacrx 521cd805c4 Core/Spell: don't send duration for auras caused by dynobjects.
Port From (https://github.com/TrinityCore/TrinityCore/commit/2efb6b618798b11f0c57a80661e04955ff63ed58)
2021-12-27 15:36:30 -05:00
hondacrx 0464fe61bb Core/Spell: do not allow auras from dynamic objects to stack if they come from the same spell cast by the same caster.
Port From (https://github.com/TrinityCore/TrinityCore/commit/55611104bedefc301eb4bee8bc282057307ebde4)
2021-12-27 15:35:20 -05:00
hondacrx 6d73a59f63 Core/Player: add helper methods GetNativeGender/SetNativeGender/SetGender
Port From (https://github.com/TrinityCore/TrinityCore/commit/27886c7f5d6cfc221ea67aab210f96859d725e05)
2021-12-26 19:51:26 -05:00
hondacrx 5caa50ad4b Core/Logging: Split logs for unknown and zero triggered spells
Port From (https://github.com/TrinityCore/TrinityCore/commit/dd4da6ce5bc3caf3d176e40303782fd20a98ec1e)
2021-12-17 17:39:33 -05:00
hondacrx 736892998f Core/Misc: don't allow players to use/activate/loot non-allowed gameobjects while under the effect of a damage immunity aura
Port From (https://github.com/TrinityCore/TrinityCore/commit/9d865f7536ae6feda6fba77785e4548f95ca5d03)
2021-12-16 12:56:20 -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 0160ab92a5 Misc fixes 2021-11-23 22:58:50 -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 b026ee7ef8 More cleanups of custom classes in favor of .NET runtime types. 2021-11-15 18:04:57 -05:00
hondacrx 032f9a55f3 Cleanup some warnings. 2021-11-15 16:11:20 -05:00
hondacrx 7f668d03b3 Core/Auras: Mount speed auras are now properly selected when teleporting (dungeon enter/exit, regular teleport, ...)
Port From (https://github.com/TrinityCore/TrinityCore/commit/3010f2ca5dea532c851d5472157bbfdf0531e0d0)
2021-11-07 21:12:53 -05:00
hondacrx 8563fa8952 Core/PacketIO: 9.1.5 updatefields and SMSG_UPDATE_OBJECT structure
Port From (https://github.com/TrinityCore/TrinityCore/commit/5c8a058120dcf2c3ff8592886cb842ca889e0411)
2021-11-07 20:27:03 -05:00
hondacrx 5a90a3ddde Scripts/Auras: Lookup aura scripts by their type, not name
Port From (https://github.com/TrinityCore/TrinityCore/commit/9fc8c86e9a47194a1b271fbcf7bf9e85cb3f0826)
2021-11-03 12:31:46 -04:00
hondacrx daa72123a2 Core/PacketIO: Fixed SMSG_SPELLNONMELEEDAMAGELOG structure
Port From (https://github.com/TrinityCore/TrinityCore/commit/4e294f54e400816905e9748b0cd3186d2e6d8642)
2021-11-03 11:53:05 -04:00
hondacrx 3335ae937d Core/Threat: Fear no longer suppresses threat. All confuse effects now suppress threat, even ones that wouldn't break on damage.
Port From (https://github.com/TrinityCore/TrinityCore/commit/55cb4f9a6d614943ffe70b7e17ca74aeeafe3a18)
2021-11-02 14:29:49 -04:00
hondacrx 1e4fa35ac2 Core/Unit: Random code style/naming adjustments
Port From (https://github.com/TrinityCore/TrinityCore/commit/05119fd90949340cad4a700d12069154a2faf5f6)
2021-11-01 12:09:07 -04:00
hondacrx 3f684eadf9 Core/Threat: Threat system adjustments
Port From (https://github.com/TrinityCore/TrinityCore/commit/392a644dc8562ea54b9c185a2776fceb1006e2cd)
2021-11-01 12:04:49 -04:00
hondacrx c9ea148490 Spells/Auras: Properly handle negative health modifiers on application.
Port From (https://github.com/TrinityCore/TrinityCore/commit/d3f93bcc2632ed334ddf7acd1f068734bd507877)
2021-10-20 22:27:36 -04:00
hondacrx 78421960db Core/Spells: added a helper to reset proc cooldowns
Port From (https://github.com/TrinityCore/TrinityCore/commit/7084e0c3601cef86d01d2162c77623feef9fc8f2)
2021-10-17 16:58:00 -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 5ad5b8ef18 Core/Spells: Implemented SPELL_AURA_SUPPRESS_ITEM_PASSIVE_EFFECT_BY_SPELL_LABEL
Port From (https://github.com/TrinityCore/TrinityCore/commit/6e4a90d2749c7675eebbb3eb41cd50ecaab78b7e)
2021-10-16 18:26:30 -04:00
hondacrx b759f6204f Fixes npc not chasing, Also fixes auras not being applied. 2021-10-13 18:12:24 -04:00
hondacrx 5de61110b3 Core/Unit: Name and implement UNIT_FLAG_NON_ATTACKABLE_2
Port From (https://github.com/TrinityCore/TrinityCore/commit/de326d789ed955de819e0cbf37676716a038ad10)
2021-10-08 10:36:08 -04:00
hondacrx 03a2d9a706 Fix one mistype. 2021-10-03 14:06:41 -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 3c55b9e7a8 Core/Auras: Implemented new aura type 487 (SPELL_AURA_COSMETIC_MOUNTED)
Port From (https://github.com/TrinityCore/TrinityCore/commit/a0c4a3071cebf3d755a9bdb8e07d93b17f354db3)
2021-10-03 13:01:31 -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 9afc755dec Core/Unit: UNIT_FLAG renames
Port From (https://github.com/TrinityCore/TrinityCore/commit/f1ac141f25500a0f6ffd3c32b1185de2d9f9c940)
2021-09-26 14:00:30 -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 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 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 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 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 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