Tie Feeder counter

From WikiManual
Jump to: navigation, search

Tie feeding allows an enemy bot to steal vast amounts of nrg via ties. Fortunately the stricken bots can turn this attack to their advantage.

Leaching:

This method allows a bot to hijack another's attempt to tie feed and reverses it.

It is done by changing tieval to a positive 1000, making the tie feeder give nrg to the Leach.

cond
*.tiepres *50 !=
*.tiepres 0 >
start
*.tiepres .tienum store
.tieval .tieloc store
1000 .tieval store
stop

That's all there is to it. Careful combination with a typical tie feeder, allows a bot to make use of both its own and enemy ties.

Counter-Leaching:

Now that your bots can leach from unprepared aggressors, what about defending themselves? The easiest way to do this is for them to stop tie feeding and begin attacking another bot's memory values.

cond
*.tiepres *.feedtie =
start
-1000 .tieval store
*.tieval 1000 div .tieloc store
stop

As soon as a bot tries to leach from this one, the tieloc will change. In this case it causes an enemy bot to store 1000 in up(Making a bot fly forward at warp speed).