mirror of
https://github.com/MCCTeam/Minecraft-Console-Client
synced 2025-10-14 21:22:49 +00:00
Improve AutoAttack (#1218)
* Improve AutoAttack - New attack mode - Fix abnormally low attack damage * Add document for AutoCraft * Improve code style and user feedback * Correct spelling mistakes
This commit is contained in:
parent
2fd610aa65
commit
e71d0e2383
4 changed files with 133 additions and 11 deletions
|
|
@ -155,6 +155,8 @@ namespace MinecraftClient
|
|||
|
||||
//Auto Attack
|
||||
public static bool AutoAttack_Enabled = false;
|
||||
public static string AutoAttack_Mode = "single";
|
||||
public static string AutoAttack_Priority = "distance";
|
||||
|
||||
//Auto Fishing
|
||||
public static bool AutoFishing_Enabled = false;
|
||||
|
|
@ -498,6 +500,8 @@ namespace MinecraftClient
|
|||
switch (argName.ToLower())
|
||||
{
|
||||
case "enabled": AutoAttack_Enabled = str2bool(argValue); break;
|
||||
case "mode": AutoAttack_Mode = argValue.ToLower(); break;
|
||||
case "priority": AutoAttack_Priority = argValue.ToLower(); break;
|
||||
}
|
||||
break;
|
||||
|
||||
|
|
@ -745,6 +749,8 @@ namespace MinecraftClient
|
|||
+ "[AutoAttack]\r\n"
|
||||
+ "# Entity Handling NEED to be enabled first\r\n"
|
||||
+ "enabled=false\r\n"
|
||||
+ "mode=single # single or multi. single target one mob per attack. multi target all mobs in range per attack\r\n"
|
||||
+ "priority=distance # health or distance. Only needed when using single mode\r\n"
|
||||
+ "\r\n"
|
||||
+ "[AutoFishing]\r\n"
|
||||
+ "# Entity Handling NEED to be enabled first\r\n"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue