maa-fight(1)

πŸ“¦
version 0.7.7 Β· 2 versions
, in nixpkgs unstable

πŸ’– maa-fight(1) Β· General Commands Manual Β· Run fight task πŸ’–


🌸 NAME 🌸

maa-fight β€” Run fight task. That's the whole name vibe, bestie: it runs the fight task. Periodt. πŸ’…

πŸ¦‹ SYNOPSIS πŸ¦‹

maa fight [-m|--medicine] [--expiring-medicine] [--stone] [--times]
[-D|--drops] [--series] [--report-to-penguin] [--penguin-id]
[--report-to-yituliu] [--yituliu-id] [--client-type] [--dr-grandet]
[-a|--addr] [-p|--profile] [--user-resource] [--dry-run] [--no-summary]
[--no-auto-reconnect] [--batch] [-v|--verbose]... [-q|--quiet]...
[--log-file] [-h|--help] [STAGE]

πŸ’… DESCRIPTION πŸ’…

Run fight task. No cap, that's literally the description: this command runs the fight task. If you came looking for extra lore, there isn't any here β€” just fights, drops, and a whole lot of options below. 🫢

πŸŽ€ OPTIONS πŸŽ€

Okay bestie, vibe check time β€” here is every single option, no skips, no hiding the boring ones. ✨

  • -m, --medicine <MEDICINE> β€” Number of medicine (Sanity Potion) used to fight, default to 0.
  • --expiring-medicine <EXPIRING_MEDICINE> β€” Number of expiring medicine (Sanity Potion) used to fight, default to 0.
  • --stone <STONE> β€” Number of stone (Originite Prime) used to fight, default to 0.
  • --times <TIMES> β€” Exit after fighting given times, default to infinite.
  • -D, --drops <DROPS> β€” Exit after collecting given number of drops, default to no limit.

Example: -D30012=100 to exit after get 100 Orirock Cube, 30012 is the item ID of Orirock Cube, you can find it at item_index.json. You can specify multiple drops, by repeating this option, e.g. -D30012=100 -D30011=100 to exit after get 100 Orirock or 100 Orirock Cube.

  • --series <SERIES> β€” Repeat times of single proxy combat (-1 ~ 6), default to 1.
    • -1: disable switching series.
    • 0: automatically switch to the maximum number of series currently available, if the current sanity is less than 6 times, select the minimum number of times available.
    • 1 ~ 6: use the specified number of times (default to 1).
  • --report-to-penguin β€” Whether to report drops to the Penguin Statistics.
  • --penguin-id <PENGUIN_ID> β€” Penguin Statistics ID to report drops, leave empty to report anonymously.
  • --report-to-yituliu β€” Whether to report drops to the yituliu.
  • --yituliu-id <YITULIU_ID> β€” Yituliu ID to report drops, leave empty to report anonymously.
  • --client-type <CLIENT_TYPE> β€” Client type used to restart the game client if game crashed.

Possible values:

  • Official
  • Bilibili
  • Txwy
  • YoStarEN
  • YoStarJP
  • YoStarKR
  • --dr-grandet β€” Whether to use Originites like Dr. Grandet.

In DrGrandet mode, wait in the using Originites confirmation screen until the 1 point of sanity has been restored and then immediately use the Originite.

  • -a, --addr <ADDR> β€” ADB serial number of device or MaaTools address set in PlayCover.

By default, MaaCore connects to game with ADB, and this parameter is the serial number of the device (default to emulator-5554 if not specified here and not set in config file). And if you want to use PlayCover, you need to set the connection type to PlayCover in the config file and then you can specify the address of MaaTools here.

  • -p, --profile <PROFILE> β€” Profile (asst config file) name.

A profile is a config file that contains the configuration passed to MaaCore. By default, we will try to load the config file $MAA_CONFIG_DIR/profiles/default.toml. If the file does not exist, we will try to load the config file $MAA_CONFIG_DIR/asst.toml for backward compatibility, which is the old config file name. If you want to use another config file, you can specify the profile name here. The config file should be placed in the directory $MAA_CONFIG_DIR/profiles/.

  • --user-resource β€” Load resources from the config directory.
    • By default, MaaCore loads resources from the resource installed with MaaCore. If you want to modify some configuration of MaaCore or you want to use your own resources, you can use this option to load resources from the resource directory, which is a subdirectory of the config directory.
    • This option can also be enabled by setting the value of the key user_resource to true in the asst configure file $MAA_CONFIG_DIR/asst.toml.
    • Note: CLI will load resources shipped with MaaCore firstly, then some client specific or platform specific when needed, lastly, it will load resources from the config directory. MaaCore will overwrite the resources loaded before, if there are some resources with the same name. Use at your own risk!
  • --dry-run β€” Parse the your config but do not connect to the game.

This option is useful when you want to check your config file. It will parse your config file and set the log level to debug. If there are some errors in your config file, it will print the error message and exit.

  • --no-summary β€” Do not display task summary.

By default, maa will display task summary after all tasks are finished. If you want to disable this behavior, you can use this option.

  • --no-auto-reconnect β€” Do not reconnect when game loses connection to server.

By default, maa will automatically reconnect when the game client loses connection to the game server. Use this option to disable this behavior for this run.

  • --batch β€” Enable batch mode.

If there are some input parameters in the task file, some prompts will be displayed to ask for input. In batch mode, the prompts will be skipped, and parameters will be set to default values.

  • -v, --verbose β€” Increase verbosity, repeat for more verbosity.
  • -q, --quiet β€” Decrease verbosity, repeat for more quiet.
  • --log-file[=<PATH>] β€” Redirect log to file instead of stderr.

If no log file is specified, the log will be written to $(maa dir log)/YYYY/MM/DD/HH:MM:SS.log.

  • -h, --help β€” Print help (see a summary with -h).
  • [STAGE] β€” Stage to fight, e.g. 1-7, leave empty to fight current/last stage.

πŸ’– That's the whole maa-fight(1) page, bestie! Source/version: fight; manual: maa-fight(1); date: the footer doesn't show one, so there's literally no date. Mwah! πŸ’–

πŸ“¦ where this page comes from