Apr 8th 2015, 13:05:42
Apr 8th 2015, 13:08:27
Apr 8th 2015, 19:41:54
Apr 8th 2015, 19:52:28
Apr 8th 2015, 19:53:56
Apr 8th 2015, 21:37:18
Apr 8th 2015, 21:44:39
Apr 8th 2015, 21:47:26
Apr 8th 2015, 22:21:01
Apr 8th 2015, 23:55:39
Apr 9th 2015, 15:43:41
$tol = $cpref->price_tolerance; //should be between 0.5 and 1.5
if($c->money > max($c->bpt,30)*$c->build_cost*10){ //buy_tech
//out("Try to buy tech?");
$spend = $c->money - $c->bpt*$c->build_cost*10;
if($c->pt_bus < 140)
buy_tech($c,'t_bus',$spend*1/4,3500*$tol);
if($c->pt_res < 140)
buy_tech($c,'t_res',$spend*1/4,3500*$tol);
$spend = $c->money - $c->bpt*$c->build_cost*10;
if($c->pt_bus < 175)
buy_tech($c,'t_bus',$spend*1/4,3500*$tol);
if($c->pt_res < 175)
buy_tech($c,'t_res',$spend*1/4,3500*$tol);
}
Apr 9th 2015, 15:45:06
Apr 9th 2015, 16:14:31
Apr 9th 2015, 16:19:03
Apr 9th 2015, 17:12:21
Apr 9th 2015, 17:24:23
Apr 9th 2015, 17:34:04
Apr 9th 2015, 19:30:20