You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

39 lines
997 B

<?php
/*
*
* @copyright (c) 2010 animegame.eu
* @license http://www.gnu.org/licenses/gpl-3.0.html GNU General Public Licence
*
*/
include "db.php";
include_once('path.inc.php'); // get the path ;)
include_once ('inclu/halloffame.inc.php');
include_once ('inclu/fruitdistribution.inc.php');
include_once ('inclu/exp.inc.php');
include_once ('inclu/turnier.inc.php');
include_once ('inclu/char.inc.php');
include_once(ROOT_PATH. "/include/random.inc.php");
// do the stuff for the whole exp and money distribution there ;)
$results = generateTournamentResults('wochen', 15000, 0);
$rang1 = getChar($results[0][0]);
insertIntoHallOfFame('Wochenturnier', $rang1['id'], $rang1['besitzer']);
$xiu=5;
if($xiu >= mt_random_wrapper(1, 100)) {
////////////////FRUCHT ARRAY
//include "array.php";
distributeFruit($rang1['besitzer']);
}
$prices[] = 50; // 1.
$prices[] = 40; // 2.
$prices[] = 30; // 3. + 4.
$prices[] = 20; // 5. - 8.
distributeShopPoints($prices, $results, 'Wochenturnier');