Beispiel #1
0
function gamestateupdate()
{
    if (eval(__MAGIC__)) {
        return $___RET_VALUE;
    }
    eval(import_module('sys'));
    if (!$gamestate) {
        //判定游戏准备
        if ($starttime && $now > $starttime - $startmin * 60) {
            gamestate_prepare_game();
        }
    }
    if ($gamestate == 10) {
        //判定游戏开始
        if ($now >= $starttime) {
            gamestate_start_game();
        }
    }
    if ($gamestate <= 50 && $bancombo == 1) {
        //判定限定解除
        if ($gamestate >= 40) {
            $gamestate = 21;
            systemputchat($now, 'bancombo');
        }
    }
}
Beispiel #2
0
function gamestateupdate()
{
    if (eval(__MAGIC__)) {
        return $___RET_VALUE;
    }
    eval(import_module('sys'));
    if (!$gamestate) {
        //判定游戏准备
        if ($starttime && $now > $starttime - $startmin * 60) {
            gamestate_prepare_game();
        }
    }
    if ($gamestate == 10) {
        //判定游戏开始
        if ($now >= $starttime) {
            gamestate_start_game();
        }
    }
}