Mafia refuse to use He-Boulders "Point at your opponent"-skill in combat script
I'm using Mafia's Custom Combat Script, and now that I decided to use He-Boulder again this Pastamancer run I decided to macro it to use that skill early in the combats as it is still enough to, if not kill the monsters by itself, then at least nearly so.
The Macro is just as follow:
[ default ]
skill point at your opponent
attack with weapon
When I click Save it add the numbers of the rounds as well (1: skill point at your opponent. 2: attack).
Problem is, when I check the Graphical CLI, it just wont use the He-Boulder skill but go straight for the Auto-attack part. Same if I use the Load in Web Browser-button and click the Script button in combat
And yes, I am sure that I have set "Action: Custom Combat Script" and not "Action: attack with weapon" =D
If I try to remove the "Attack with Weapon" after "Point at your opponent" and do it in the webbrowser, I just get blank page after blank page. Or rather, I get the image of the monster, I have the ususal attack-buttons and Use items and skills-buttons, and the text that Mafia add such as the predicted HP of the mob, but no InGame text.
Someone in /hc said I should try "set debugMacro = True" and see what it says. This is what I get when I have Mafia run 1 Adv for me:
With Point at your opponent + Auto-attack:
Encounter: drunken rat
Round 0: Ferdawoon wins initiative!
Generated macro:
sub mafiaround
endsub#mafiaround
sub mafiamp
****abort "No MP restoratives!"
****mark mafiampexit
endsub#mafiamp
#mafiaheader
if hasskill 7082
****call mafiaround; skill 7082
endif
mark mafiafinal
call mafiaround; attack
goto mafiafinal
Round 1: Ferdawoon executes a macro!
Round 1: Ferdawoon attacks!
You lose 4 hit points
Round 2: Ferdawoon attacks!
You lose 4 hit points
Round 3: Ferdawoon attacks!
... and so on until I die.
With Point at your opponent without the Auto-attack after:
Encounter: An Interesting Choice
Encounter: spooky vampire
Strategy: D:\Bengt\ccs\default.ccs [default]
Round 0: Ferdawoon wins initiative!
Generated macro:
sub mafiaround
endsub#mafiaround
sub mafiamp
****abort "No MP restoratives!"
****mark mafiampexit
endsub#mafiamp
#mafiaheader
mark mafiafinal
if hasskill 7082
****call mafiaround; skill 7082
endif
goto mafiafinal
Round 1: Ferdawoon executes a macro!
KoLmafia thinks it is round 2 but KoL thinks it is round 1
Round 2: Ferdawoon executes a macro!
KoLmafia thinks it is round 3 but KoL thinks it is round 1
....
Round 12: Ferdawoon executes a macro!
KoLmafia declares world peace.
KoLmafia thinks it is round 13 but KoL thinks it is round 1
I use the DownloadLatestDailyBuild script to get the latest version and it have been like this for 2 days now.
This exact same script worked fine my last Pastamancer run not that long ago.
I'm using Mafia's Custom Combat Script, and now that I decided to use He-Boulder again this Pastamancer run I decided to macro it to use that skill early in the combats as it is still enough to, if not kill the monsters by itself, then at least nearly so.
The Macro is just as follow:
[ default ]
skill point at your opponent
attack with weapon
When I click Save it add the numbers of the rounds as well (1: skill point at your opponent. 2: attack).
Problem is, when I check the Graphical CLI, it just wont use the He-Boulder skill but go straight for the Auto-attack part. Same if I use the Load in Web Browser-button and click the Script button in combat
And yes, I am sure that I have set "Action: Custom Combat Script" and not "Action: attack with weapon" =D
If I try to remove the "Attack with Weapon" after "Point at your opponent" and do it in the webbrowser, I just get blank page after blank page. Or rather, I get the image of the monster, I have the ususal attack-buttons and Use items and skills-buttons, and the text that Mafia add such as the predicted HP of the mob, but no InGame text.
Someone in /hc said I should try "set debugMacro = True" and see what it says. This is what I get when I have Mafia run 1 Adv for me:
With Point at your opponent + Auto-attack:
Encounter: drunken rat
Round 0: Ferdawoon wins initiative!
Generated macro:
sub mafiaround
endsub#mafiaround
sub mafiamp
****abort "No MP restoratives!"
****mark mafiampexit
endsub#mafiamp
#mafiaheader
if hasskill 7082
****call mafiaround; skill 7082
endif
mark mafiafinal
call mafiaround; attack
goto mafiafinal
Round 1: Ferdawoon executes a macro!
Round 1: Ferdawoon attacks!
You lose 4 hit points
Round 2: Ferdawoon attacks!
You lose 4 hit points
Round 3: Ferdawoon attacks!
... and so on until I die.
With Point at your opponent without the Auto-attack after:
Encounter: An Interesting Choice
Encounter: spooky vampire
Strategy: D:\Bengt\ccs\default.ccs [default]
Round 0: Ferdawoon wins initiative!
Generated macro:
sub mafiaround
endsub#mafiaround
sub mafiamp
****abort "No MP restoratives!"
****mark mafiampexit
endsub#mafiamp
#mafiaheader
mark mafiafinal
if hasskill 7082
****call mafiaround; skill 7082
endif
goto mafiafinal
Round 1: Ferdawoon executes a macro!
KoLmafia thinks it is round 2 but KoL thinks it is round 1
Round 2: Ferdawoon executes a macro!
KoLmafia thinks it is round 3 but KoL thinks it is round 1
....
Round 12: Ferdawoon executes a macro!
KoLmafia declares world peace.
KoLmafia thinks it is round 13 but KoL thinks it is round 1
I use the DownloadLatestDailyBuild script to get the latest version and it have been like this for 2 days now.
This exact same script worked fine my last Pastamancer run not that long ago.