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.

37 lines
886 B

14 years ago
<?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 ('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');
14 years ago
// do the stuff for the whole exp and money distribution there ;)
$results = generateTournamentResults('wochen', 15000, 0);
$rang1 = getChar($results[0][0]);
14 years ago
insertIntoHallOfFame('Wochenturnier', $rang1['id'], $rang1['besitzer']);
14 years ago
$xiu=5;
if($xiu >= mt_rand(1, 100)) {
////////////////FRUCHT ARRAY
//include "array.php";
distributeFruit($rang1['besitzer']);
14 years ago
}
$prices[] = 50; // 1.
$prices[] = 40; // 2.
$prices[] = 30; // 3. + 4.
$prices[] = 20; // 5. - 8.
14 years ago
distributeShopPoints($prices, $results, 'Wochenturnier');