Darwinbots Forum

Code center => Bugs and fixes => Bug reports => Topic started by: Trafalgar on July 10, 2007, 04:09:51 PM

Title: refpoison doesn't hold what the wiki and help say it does
Post by: Trafalgar on July 10, 2007, 04:09:51 PM
refpoison appears to be returning the amount of poison the other bot has, rather than the number of poison commands it has. The wiki and in-game help both say "How many .strpoison commands do you have in your DNA? Returns the number to me".

With a bot species designed to stay at 500 poison, with one member of that species looking at another, the poison variables are:

refpoison: 500
mypoison: 12
poison: 500