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.
23 lines
600 B
23 lines
600 B
13 years ago
|
<?php
|
||
|
/*
|
||
|
*
|
||
|
* @copyright (c) 2011 animegame.eu
|
||
|
* @license http://www.gnu.org/licenses/gpl-3.0.html GNU General Public Licence
|
||
|
*
|
||
|
*/
|
||
|
|
||
|
include_once($_SERVER['DOCUMENT_ROOT'].'ag/include/kampf_wrapper.inc.php');
|
||
|
include_once($_SERVER['DOCUMENT_ROOT'].'ag/include/event.inc.php');
|
||
|
include_once($_SERVER['DOCUMENT_ROOT'].'ag/include/char.inc.php');
|
||
|
|
||
|
|
||
|
$event_id = createEvent(EVENT_TEST);
|
||
|
|
||
|
$charid = addParticipant($event_id, getChar(4113));
|
||
|
$charid = addParticipant($event_id, getChar(4162));
|
||
|
|
||
|
$combinedArray = calculateFight(getChar(4113), getChar(4162));
|
||
|
|
||
|
persistFight($event_id, $combinedArray);
|
||
|
|
||
|
?>
|