Ситхия земли
  Заклятие "Призвать зверя"
  
$date $login призвал к бою $bot_name
"; $ALL_UPDATE = mysql_query("UPDATE characters SET battle_opponent='' WHERE login='$login'"); $t = time(); $U_T = mysql_query("UPDATE timeout SET lasthit='$t' WHERE battle_id='$bid'"); $td = fopen("logs/$bid.dis","a"); fputs($td,$text); fclose($td); $SQL = mysql_query("UPDATE characters SET cast = cast+0.5,earth=earth+0.5 WHERE login='$login'"); $S = mysql_query("UPDATE inv SET iznos = iznos+1 WHERE id=$scroll"); $S_INV = mysql_query("SELECT * FROM inv WHERE id = $scroll"); $DATA = mysql_fetch_array($S_INV); $iznos = $DATA["iznos"]; $tear_max = $DATA["tear_max"]; $iznos_k = $iznos+1; if($iznos_k>=$tear_max){ $S_D = mysql_query("DELETE FROM inv WHERE id = $scroll"); } $mp_new = $db["mp"] - 4; $mp_all = $db["mp_all"]; setMN($login,$mp_new,$mp_all); print "Прокастованно удачно!
"; print "вернуться"; } ?>