Dans main.au3 :
Créer une nouvelle variable globale en ajoutant "Global $Hero_Axe_Z = 10" juste avant Global "$Count_ACD = 0"
Dans toolkit.au3 :
Remplacer "Abs($Current_Hero_Z - $item[4]) <= 10" par "Abs($Current_Hero_Z - $item[4]) <= $Hero_Axe_Z"
Remplacer la fonction Func Is_Coffre($item) par :
Func Is_Coffre($item)
if checkfromlist("Props_Demonic_Container|Crater_Chest|Chest_Snowy|Chest_Frosty|TrOut_Fields_Chest", $item[1]) AND $item[9] < 50 Then
return True
Else
return False
EndIF
EndFunc
Dans setting.au3:
Rajouter "$Hero_Axe_Z = IniRead($profilFile, "Run info", "Hero_Axe_Z", $Hero_Axe_Z)" juste après ";; Run info"
Dans sequence.au3:
Ajouter la fonction attackRange après Global $reverse = 0 :
Func attackRange($String)
If Not $String = "" Then
$a_range =Round($String)
_log("Modification de la valeur attackRange : " & $a_range)
EndIf
EndFunc ;==>valeur attackRange
Après:
;******************************CMD DE DEFINITION**********************************************
If StringInStr($line, "monsterlist=", 2) Then; MonsterList detected
$line = StringReplace($line, "monsterlist=", "", 0, 2)
_log("Enclenchement d'un monsterlist line : " & $i + 1)
MonsterList($line)
$line = ""
$definition = 1
ElseIf StringInStr($line, "banlist=", 2) Then; BanList detected
$line = StringReplace($line, "banlist=", "", 0, 2)
_log("Enclenchement d'un Banlist() line : " & $i + 1)
BanList($line)
$line = ""
$definition = 1
ElseIf StringInStr($line, "maxgamelength=", 2) Then
$line = StringReplace($line, "maxgamelength=", "", 0, 2)
MaxGameLength($line)
_log("Enclenchemen d'un MaxGameLengt() Line : " & $i + 1)
$line = ""
$definition = 1
Rajouter :
ElseIf StringInStr($line, "attackrange=", 2) Then; Définition de l'attackRange
$line = StringReplace($line, "attackrange=", "", 0, 2)
_log("Detection de la modification de l'attackRange line : " & $i + 1)
attackRange($line)
$line = ""
$definition = 1
Fonctions Facultatives :
* Gérer le recyclage et ramasser avant d'appliquer le filtre
https://forum.gmstem...showtopic=15241
* Gérer les globes de vie et puits
https://forum.gmstem...showtopic=15249