Implement a "Router" state (e.g., Statedef 80000-80005). Use randomized logic to jump between different attack modules. This prevents other characters from predicting your AI's pattern.
value = ifelse((random%2), 9010, 230)
Use local variables as logic switches to control the flow between standard combat and exploit subversion.
var(7): Acts as the Memory Subversion Flag (keeps exploit modules active).var(23): Acts as the State Gate (triggers transition to "Super" payload states).Design your attack states (e.g., 230, 400) to contain the core exploit logic. Use DisplayToClipboard within these states to output your variable values to the debug log, ensuring your memory gates are toggling correctly.
Use the -2 and -3 state files to override K.O. rules. This ensures that even if the character takes fatal damage, it forces a SelfState loop to maintain operational status.
| Component | Logic/Method | Technical Purpose |
|---|---|---|
| State Router | 80000-80005 | Prevents pattern predictability |
| Variable Gate | var(23) | Controls exploit state transitions |
| Memory Flag | var(7) | Maintains active exploit logic |
| Payloads | 230, 400 | Direct execution of combat/exploit modules |