Use act() in reactor scripts where possible, provide empty act() otherwise
"function hit()" has triggered on each reactor hit, while "function act()" is only triggered once it's destroyed or reached an end state
This commit is contained in:
@@ -26,4 +26,9 @@
|
||||
|
||||
function hit() {
|
||||
rm.dropItems();
|
||||
}
|
||||
|
||||
function act() {
|
||||
// There's a timeout of 3 seconds to revert back from state 1 to 0.
|
||||
// Reactor is destroyed (state 2) and triggers this if dropping two Magic Devices at once, which shouldn't really happen.
|
||||
}
|
||||
Reference in New Issue
Block a user