Darwinbots Forum

Bots and Simulations => DNA - General => The Gene depository => Topic started by: joan on November 06, 2007, 08:07:27 AM

Title: A way to use .shoot and .shootval
Post by: joan on November 06, 2007, 08:07:27 AM
I use this genes in my DB2.1 hunters. The value of 43 may be anyting but this is the most agresive.



'-----Killer gene

cond
*.shup 0 !=
*.pain 150 >

start
.mrepro 43 store
90 44 store

stop


'-----Feed


cond
*.eye5 0 =!

start
*43 .shoot store
*44 .shootval store

-1 43 store
0 44 store

*.up 10 add .up store

stop