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.
43 lines
1.1 KiB
43 lines
1.1 KiB
<?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 (ROOT_PATH.'/include/sqlwrapper.inc.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');
|
|
include_once(ROOT_PATH. "/include/random.inc.php");
|
|
|
|
$turnier_kurz = 'wochenst';
|
|
$turnier_name = 'Wochenturnier Non-Fusion';
|
|
|
|
// do the stuff for the whole exp and money distribution there ;)
|
|
$results = generateTournamentResults($turnier_kurz, 15000, 0);
|
|
$rang1 = getChar($results[0][0]);
|
|
|
|
insertIntoHallOfFame($turnier_name , $rang1['id'], $rang1['besitzer']);
|
|
|
|
$xiu=5;
|
|
|
|
if($xiu >= mt_random_wrapper(1, 100)) {
|
|
////////////////FRUCHT ARRAY
|
|
//include "array.php";
|
|
distributeParamecia($rang1['besitzer']);
|
|
|
|
}
|
|
|
|
$prices[] = 50; // 1.
|
|
$prices[] = 40; // 2.
|
|
$prices[] = 30; // 3. + 4.
|
|
$prices[] = 20; // 5. - 8.
|
|
|
|
distributeShopPoints($prices, $results, $turnier_name);
|