Commit Graph

129 Commits

Author SHA1 Message Date
hondacrx c14f1eb3dc Remove custom OptionalType and use the default c# nullable type. 2022-03-01 17:27:56 -05:00
hondacrx 64b23b9de9 Core/Units: Named unit flags
Port From (https://github.com/TrinityCore/TrinityCore/commit/b4952db4640ee3ec6a7df8545b5c582202f36405)
2022-02-28 13:16:41 -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 8c61f1490c Fixed PvP Combat timer never getting refreshed
Port From (https://github.com/TrinityCore/TrinityCore/commit/45585b53053b215a4ab225b8c803f6fc6616eb74)
2022-01-06 00:07:59 -05:00
hondacrx 654c9743e3 Fix fleeing speed to 66% run speed
Port From (https://github.com/TrinityCore/TrinityCore/commit/d095d4afe95125bba64312025528a2c4aab157e0)
2022-01-05 23:51:18 -05:00
hondacrx 0d68984717 Misc fixes, and added GetDebugInfo() which was missed. 2022-01-05 13:11:32 -05:00
hondacrx f954046c4c Core/Combat: Properly unset engagement flag on death.
Port From (https://github.com/TrinityCore/TrinityCore/commit/6b1ca0ca128425677043d36a147a019f6d2ac6e6)
2022-01-02 12:32:11 -05:00
hondacrx 2842cc9c91 Core/AI: Finally move the "is creature engaged" flag to be a property of the creature AI, where it honestly always belonged.
Port From (https://github.com/TrinityCore/TrinityCore/commit/c13d83796f7b2111c5dcf8546bdd84eccd232ae3)
2022-01-01 17:05:29 -05:00
hondacrx 749b77d060 Core/Misc: Rename Unit::AttackedTarget to Unit::AtTargetAttacked to match naming scheme for these notifiers
Port From (https://github.com/TrinityCore/TrinityCore/commit/dabdad3b47d7438327d3ee861eddd68e9bea68b1)
2021-12-23 20:02:14 -05:00
hondacrx 8694a2ae24 Core/Entities: Kick engagement logic upstairs to Unit (from ThreatManager), since all Units with AI need it (not just those with threat list).
Port From (https://github.com/TrinityCore/TrinityCore/commit/35e55f10899712435102764671241b94a2026599)
2021-12-23 20:00:45 -05:00
hondacrx c37e1c9f7d gameobject summoner
Port From (https://github.com/TrinityCore/TrinityCore/commit/5f545f540216d3b94c26e4aeda50c8bb8d5c3d74)
2021-12-07 20:42:47 -05:00
hondacrx dcd4dc4226 Remove Deprecated code
Port From (https://github.com/TrinityCore/TrinityCore/commit/1ced6d219236084412e9e76dbbbf1eb615efa920)
2021-12-07 14:18:01 -05:00
hondacrx f265073720 Misc Fixes 2021-12-01 23:08:19 -05:00
hondacrx 593a4b9df8 Core/Creatures: Changed creatures to become tagged by player doing any action that causes creature aggro (apart from distance)
Port From (https://github.com/TrinityCore/TrinityCore/commit/1232f1d06e21ba0bfb0e956b8e957780cd5985c2)
2021-11-15 23:15:26 -05:00
hondacrx c48696da32 Core/Player: Clean up duel related code. Fix a check for abusive client behavior, code style.
Port From (https://github.com/TrinityCore/TrinityCore/commit/7c062db94b1c2d28329c5f0ddc2fee74a6c07c35)
2021-11-15 19:56:36 -05:00
hondacrx 5e29a231c9 Core/Entities: Fixed an issue where creatures would not properly assist formation members in certain scenarios.
Port From (https://github.com/TrinityCore/TrinityCore/commit/00b9c23e28dc19a3a9f45d1d5b86d203f55b2a7e)
2021-11-02 14:16:25 -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 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 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 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 c9b8f09fbc Core/Achievements: Update CriteriaType enum
Port From (https://github.com/TrinityCore/TrinityCore/commit/0a83f748766c49775d76412d2b98bb9b9dc8c4df)
2021-09-09 14:49:19 -04:00
hondacrx 41b76ef203 Core/Unit: Guardians no longer enter combat before reaching the target
Port From (https://github.com/TrinityCore/TrinityCore/commit/0de5fbb6c0aee0ef7fd7750dd8246f6ae576bc83)
2021-09-08 23:37:19 -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 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 89058fec83 Core/Movement: Fixed creature hover
Port From (https://github.com/TrinityCore/TrinityCore/commit/2e2b29861878fda2d27156c71a1d8ed7dbe0b4fe)
2021-08-24 11:10:59 -04:00
hondacrx aae86fe4d1 Core/Entities: Port some refactors
Port From (https://github.com/TrinityCore/TrinityCore/commit/431a326e6974d3c86452192767368ab6c4ea9b0b)
2021-06-22 20:43:41 -04:00
hondacrx e98e45cf8b Core/Auras: removed caster dependency from core
Port From (https://github.com/TrinityCore/TrinityCore/commit/fccf1a8c62820004df92b9ac567ba75f7281e6e2)
2021-06-22 15:01:42 -04:00
hondacrx fbd7df7c3f Some missed stuff. 2021-06-18 15:19:41 -04:00
hondacrx 52e43853fe More Cleanups 2021-06-08 12:56:09 -04:00
hondacrx 6ab6fc81a5 Core/Reputation: Named all reputation flags
Port From (https://github.com/TrinityCore/TrinityCore/commit/f6b919fafe45aaeba0c5572925e47562158314b1)
2021-06-05 20:15:28 -04:00
hondacrx 00da79c7a9 Core/Unit: Abide UNIT_FLAG2_DISABLE_TURN on creatures.
Port From (https://github.com/TrinityCore/TrinityCore/commit/ac8ff492744e65437fc906372058a0b29147af3f)
2021-05-18 13:45:37 -04:00
hondacrx 9851142796 Core: Combat/threat system rewrite
Port From (https://github.com/TrinityCore/TrinityCore/commit/34c7810fe507eca1b8b9389630db5d5d26d92e77)
2021-05-18 12:25:40 -04:00
hondacrx 227100e012 Core/PacketIO: Fixed combat log packets not being sent to self
Port From (https://github.com/TrinityCore/TrinityCore/commit/1cf5f6e82ed54ea95bb388a5c07e3f5a91a25e43)
2021-05-05 16:15:56 -04:00
hondacrx aaa3964d49 Core/Grids: Move packet sending functionality out of MessageDistDeliverer and into separate, customizable class and unify LocalizedPacketDo, LocalizedPacketListDo as generic localizable action
Port From (https://github.com/TrinityCore/TrinityCore/commit/fb66575d38d2ba7ffc24c29824fa75d7019de549)
2021-05-02 13:41:19 -04:00
hondacrx 7c83501ba7 Core/Grids: Allow customizing packets sent with MessageDistDeliverer and MessageDistDelivererToHostile depending on receiver
Port From (https://github.com/TrinityCore/TrinityCore/commit/3a37a2e0d7ce79d55c301f4246f08f1fc5c9c6d7)
2021-04-30 11:08:49 -04:00
hondacrx 81e96ddaaa Core/Spells: Only interrupt spells with interrupt flag Combat when spell also has SPELL_ATTR0_CANT_USED_IN_COMBAT attribute
Port From (https://github.com/TrinityCore/TrinityCore/commit/8e6821648b96e4ae8e495b1adc0c15855eea9633)
2021-04-30 10:20:44 -04:00
hondacrx 1031dc9ed8 Core/PacketIO: Implemented SMSG_SPELL_ABSORB_LOG
Port From (https://github.com/TrinityCore/TrinityCore/commit/854a55daabf5dc264a961ec86ca0cd8ee39140c5)
2021-04-19 10:46:45 -04:00
hondacrx 3ac625e8ff Core/Auras: Implemented SPELL_AURA_SCHOOL_ABSORB_OVERKILL
Port From (https://github.com/TrinityCore/TrinityCore/commit/530631e0a73c0bcd540f063cef975ecd827307b2)
2021-04-19 10:36:03 -04:00
hondacrx c925d7af40 Core/AI: CreatureAI.EnterCombat is now called CreatureAI.JustEngagedWith. There's also two new methods on UnitAI, though they're never invoked right now.
Port From (https://github.com/TrinityCore/TrinityCore/commit/bce43de7f3fba618c370f2aba327d23dd30d1cdd)
2021-04-19 10:22:43 -04:00
hondacrx d0faa12ef6 Core/Spells: CastSpell Cleanup
Port From (https://github.com/TrinityCore/TrinityCore/commit/)
2021-04-18 18:42:11 -04:00
hondacrx a5d5b7ee3d Core/Unit: make neutral guards attack players involved in PvP
Port From (https://github.com/TrinityCore/TrinityCore/commit/a58dcd1d9cf5f943342d00628601170d6023ae25)
2021-04-16 14:40:23 -04:00
hondacrx 9782ad7eee Core/Misc: Some crash fixes. 2021-04-13 16:54:14 -04:00
hondacrx b0e28e1478 Misc fixes! 2021-04-12 15:03:12 -04:00
hondacrx 03cc39b4a2 Fixed two crashes 2021-03-30 11:14:16 -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 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 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 62ec699ec6 Core: SOme code cleanup, more to follow. 2021-03-20 22:48:48 -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