Jump to content

Disabling tribunal random attacks


wolf13

Recommended Posts

Startscript. Add however many cells you want via copy, paste, and edit -- just keep them between the localjournal conditionals.

 

short noattack

short doonce

short localjournal

 

if ( localjournal > 60 )

 

return

 

elseif ( getpccell first_random_cell )

 

set noattack to 1

 

elseif ( getpccell second_random_cell )

 

set noattack to 1

 

elseif ( getpccell third_random_cell )

 

set noattack to 1

 

elseif ( localjournal > 50 )

 

setjournalindex tr_dbattack 60

set noattack to 0

 

elseif ( localjournal > 40 )

 

setjournalindex tr_dbattack 50

set noattack to 0

 

elseif ( localjournal > 30 )

 

setjournalindex tr_dbattack 40

set noattack to 0

 

elseif ( localjournal > 20 )

 

setjournalindex tr_dbattack 30

set noattack to 0

 

elseif ( localjournal > 10 )

 

setjournalindex tr_dbattack 20

set noattack to 0

 

elseif ( localjournal > 0 )

 

setjournalindex tr_dbattack 10

set noattack to 0

 

else

 

setjournalindex tr_dbattack 0

set noattack to 0

 

endif

 

if ( noattack )

 

if ( doonce )

 

return

 

endif

 

set localjournal to ( getjournalindex tr_dbattack )

setjournalindex tr_dbattack 100

set doonce to 1

return

 

endif

 

set doonce to 0

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...