TeamDetector fixes and new team utilities#111
Open
LetMePractice wants to merge 8 commits intoclickcrystals-development:mainfrom
Open
TeamDetector fixes and new team utilities#111LetMePractice wants to merge 8 commits intoclickcrystals-development:mainfrom
LetMePractice wants to merge 8 commits intoclickcrystals-development:mainfrom
Conversation
- TickEventListener.java: Add key holding system - HoldInputCmd.java: Extend to support arbitrary keys
- cancelCcs was inverted, now properly cancels attacks on teammates - middle click players to quickly add/remove from team - fixed manual team list parsing with better string handling - color detection now works correctly
scripts like damage, input attack, interact, and hold_input now check if target is on your team before executing. keeps you from accidentally hitting your own teammates with automated commands
new ,team command lets you: - ,team add <player> - add someone to your team - ,team remove <player> - remove from team - ,team list - see current teammates - ,team clear - clear the whole list also works by typing directly in chat for mobile users
,help now shows all commands in a clean list with hover tooltips and clickable commands. much better than the old hardcoded version that barely showed anything useful
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Type of change
Description
Fixed the TeamDetector module which had inverted logic, causing teammates to be attacked instead of protected.
While addressing this issue, team handling was stabilized across modules and scripting so that teammate checks are applied consistently.
Fixes
Additions
,teamcommand (add / remove / list / clear)hold_input key <key> <int>command for holding arbitrary keysRelated issues
Fixes broken TeamDetector behavior that made the module unusable.
Checklist: