public static int DoGroupBehavior(IntPtr l)
    {
        int result;

        try
        {
            BattleTeam battleTeam = (BattleTeam)LuaObject.checkSelf(l);
            battleTeam.DoGroupBehavior();
            LuaObject.pushValue(l, true);
            result = 1;
        }
        catch (Exception e)
        {
            result = LuaObject.error(l, e);
        }
        return(result);
    }