Author Topic: .vshoot not affecting virus range  (Read 2554 times)

Offline Elite

  • Bot Overlord
  • ****
  • Posts: 532
    • View Profile
.vshoot not affecting virus range
« on: November 19, 2006, 01:37:02 PM »
.vshoot doesn't seem to affect the range of virus shots. All viruses, whether they're ...

cond
start
 *.thisgene .mkvirus store
 1 .vshoot store
stop

... or ...

cond
start
 *.thisgene .mkvirus store
 100 .vshoot store
stop

... have exactly the same range. Even if a bot is storing values upwards of 10,000 into .vshoot, the virus doesn't go any further.

Offline Numsgil

  • Administrator
  • Bot God
  • *****
  • Posts: 7742
    • View Profile
.vshoot not affecting virus range
« Reply #1 on: November 19, 2006, 02:11:42 PM »
This was a bug at one point, but I thought it was fixed.

Apparently not

Offline EricL

  • Administrator
  • Bot God
  • *****
  • Posts: 2266
    • View Profile
.vshoot not affecting virus range
« Reply #2 on: November 19, 2006, 09:10:20 PM »
The shot range was not being set in VShoot().  Fixed in 2.42.9b.

Note, it's not clear what the relationship between .vhsoot and the virus shot range should be.  For now, I add 1/2 the vshoot value in cycles to the normal 11 cycle lifespan of the virus shot.  Thus a a .vshoot value of 100 will make the shot last 61 cycles.  If someone else has a better suggestion as to the relationship between .vhsoot and virus shoot range, let me know.
« Last Edit: November 19, 2006, 09:28:22 PM by EricL »
Many beers....