Okay, so while I NPZR farm the Castle, I tend to generate a lot of MP on the side.
I'd like to use it for Candy Hearts, but the script I wrote doesn't quite work as wished.
If I call it KoLmafia returns
"Expected ), found * (crude.ash, line 5)"
I'd prefer using a simple approach for this, so I thought I'd ask before doing any potentially superfluous work. Is there any easy way to instruct KoLmafia to maxcast in ASH scripts? In CLI the * works nicely but as noted, not so in ASH.
(In case anyone is going to ask why I'm doing this in ASH: based on examining what flow control CLI has, I didn't find any way of doing the same without having duplicate "adventure 1 castle; cast * hearts" as many times as how many adventures I want to spend.)
Here's the little thingy I'm working on:
I'd like to use it for Candy Hearts, but the script I wrote doesn't quite work as wished.
If I call it KoLmafia returns
"Expected ), found * (crude.ash, line 5)"
I'd prefer using a simple approach for this, so I thought I'd ask before doing any potentially superfluous work. Is there any easy way to instruct KoLmafia to maxcast in ASH scripts? In CLI the * works nicely but as noted, not so in ASH.
(In case anyone is going to ask why I'm doing this in ASH: based on examining what flow control CLI has, I didn't find any way of doing the same without having duplicate "adventure 1 castle; cast * hearts" as many times as how many adventures I want to spend.)
Here's the little thingy I'm working on: