<?php
require_once ('../config/func.php');
$rand = rand(1,3);
mysql_query("UPDATE `dracon` SET `atack` = 1, `time` = '".(time() + 3600)."', `gold` = 3000, `cristal` = 0, `hp` = 1000000, `town` = '.$rand.'");
mysql_query("UPDATE `user` SET `dracon_uron` = 0");
header('Location: /game');
?>