mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-07-21 13:05:36 +01:00
afterattack now returns a flag if it's reasonable to suspect the user intends to act on an item (#72320)
Necessary for #72292 to work effectively, and probably not very useful out of that context. Split out of its own PR because this is long and boring. I want to make sure that we're catching actual mistakes there, and not just experiencing side effects of how shitty the attack chain is.
This commit is contained in:
@@ -58,4 +58,5 @@
|
||||
attacker.set_output(user)
|
||||
attacking.set_output(target)
|
||||
signal.set_output(COMPONENT_SIGNAL)
|
||||
return COMPONENT_AFTERATTACK_PROCESSED_ITEM
|
||||
|
||||
|
||||
Reference in New Issue
Block a user