-
Notifications
You must be signed in to change notification settings - Fork 562
feat: kill enemies cheat #447
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Health wasn't clamped on successive cheat kills so that's been fixed over here, but this is good to go.
Oh, nice catch! I feared using int.MinValue would lead to overflow, should have tested it on a player as well |
Put on hold until the GDC branch is ready |
Description (*)
This PR adds two cheats. One kills the player's target (or destroy it if it is a breakable object. The second kills all enemies (all ServerCharacters with the IsNpc property). The first cheat can also be used to kill any player characters, including the player's own character.
Related Pull Requests
Issue Number(s) (*)
Fixes issue(s): MTT-2205 & MTT-2208
Manual testing scenarios
Questions or comments
Contribution checklist