Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- var targ = args[0]
- var moneyThresh = getServerMaxMoney( targ ) * 0.8
- var secThresh = getServerMinSecurityLevel( targ ) + 5
- nuke( targ )
- while( true ) {
- if ( getServerSecurityLevel( targ ) > secThresh ) {
- weaken( targ )
- } else if ( getServerMoneyAvailable( targ ) < moneyThresh ) {
- grow( targ )
- } else {
- hack( targ )
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement