Commit Graph

23 Commits

Author SHA1 Message Date
hondacrx cda53c8e7f Some cleanups. (might break build for scripts as they are a WIP) 2023-10-08 10:35:31 -04:00
hondacrx f73e64396f Update license headers for all files. 2023-01-18 17:25:32 -05:00
hondacrx a5cfd149b7 Core/Combat: Allow PvE combat references to become suppressed, just like PvP ones
Port From (https://github.com/TrinityCore/TrinityCore/commit/9bfc29f4aff01cd7f366faffcda0a84071970d6a)
2022-09-07 13:23:53 -04:00
hondacrx df33c48826 Core/Spells: Delay combat flagging for spell targets until spell missile lands
Port From (https://github.com/TrinityCore/TrinityCore/commit/ff99952dfb7d2b532de2d1aedc825fb96038f4c2)
2022-09-07 13:14:36 -04:00
hondacrx 442da7511f Core/Misc: Rename AddXXXFlag updatefield functions to SetXXXFlag
Port From (https://github.com/TrinityCore/TrinityCore/commit/b47185cabfbdeeaf492bf2303635db07ce703785)
2022-05-30 16:12:11 -04:00
hondacrx 2276940252 Core/Combat: Fixed combat after remove charm
Port From (https://github.com/TrinityCore/TrinityCore/commit/4ed918fcb38d7fd3752899a0eafd7ad62b7217af)
2022-05-30 13:26:37 -04:00
hondacrx 988dc2b99c Core/Combat: Allow refresh pvp combat when assisting a unit that is in pvp combat
Port From (https://github.com/TrinityCore/TrinityCore/commit/b6615a45eb00a3127a11bf97a1fef1a7d81f39c7)
2022-05-29 16:20:27 -04:00
hondacrx 4de86618f3 Core/Creature: rename CREATURE_FLAG_EXTRA_IGNORE_COMBAT into CREATURE_FLAG_EXTRA_CANNOT_ENTER_COMBAT
Port From (https://github.com/TrinityCore/TrinityCore/commit/53d19b09f4de7c092747663ae7e1a01c0df553bf)
2022-05-29 16:18:29 -04:00
hondacrx 0b38096d10 Core/Units: add new functionality for units to block or enable combat interactions
Port From (https://github.com/TrinityCore/TrinityCore/commit/2819951dce545438724719836e3a13d3039b8690)
2022-03-03 13:26:46 -05:00
hondacrx 042bfc12e5 Convert alot of methods to use TimeSpan. 2022-03-01 23:47:53 -05:00
hondacrx 6f1b2f5cd5 Core/Combat: Disable triggers entering combat
Port From (https://github.com/TrinityCore/TrinityCore/commit/1dfcb7086e17902f0904ee6c09bc55a229b65cc1)
2022-03-01 17:38:12 -05:00
hondacrx 93389f32e2 Scripts/ICC: little bit of cleanup in Valithria after the "recent" changes
Port From (https://github.com/TrinityCore/TrinityCore/commit/d7571e5d1f3b4cd5672a6344d96c782d7c83ea88)
2022-01-05 23:58:58 -05:00
hondacrx 97ce4d6db7 Misc fixes and missed stuff. 2022-01-04 17:37:55 -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 639f5cc75d Entities/Unit: Properly unset engaged flag for creates that cannot have a threat list on combat exit.
Port From (https://github.com/TrinityCore/TrinityCore/commit/513b35ea2f7f679585e34a490685327c449e574b)
2021-12-26 19:57:05 -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 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 7050fda482 Core/Creature: Fall back to combat list if calling for help without threat list
Port From (https://github.com/TrinityCore/TrinityCore/commit/6a91fe3fbe28e3bf36ab6107b9c6cbb842f65262)
2021-10-30 20:22:04 -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 545dcd4f7a Core/Combat: Unify combat permitted checks between CvC and PvC - only require "not friendly" in all cases. Fixes Yogg-Saron encounter.
Port From (https://github.com/TrinityCore/TrinityCore/commit/f982f3019a1a12bdd9d85e59faf5ddb53c10761f)
2021-06-23 23:37:42 -04:00
hondacrx 1c9eeb403a Core/Threat: Fix a potential crash that would occur in specific edge cases of AI being a bit naughty.
Port From (https://github.com/TrinityCore/TrinityCore/commit/56fcd8ba1dc33e00ff6f98704764dcdebd838fd3)
2021-06-22 20:51:08 -04:00
hondacrx fbd7df7c3f Some missed stuff. 2021-06-18 15:19:41 -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