Hello all, this is my first KoLMafia script, to automate the summoning of Candy Hearts.
I got sick of having to individually summon the hearts, and since the MP cost changes each cast, you can't summon more than one at a time.
The script allows you to configure a ceiling for MP cost to assign because at a certain point, it no longer makes sense to summon. Most likely, that will be before you reach your maxMP. I also added an option to use the beanbag chair at your campsite to override the built-in MP restore function, which of course can be disabled.
I look forward to hearing any feedback you all might give, and thanks for a great tool!
2/13/07 UPDATE: Minor change:
to
so that the script won't stop short of the value set in sumMax...
I got sick of having to individually summon the hearts, and since the MP cost changes each cast, you can't summon more than one at a time.
The script allows you to configure a ceiling for MP cost to assign because at a certain point, it no longer makes sense to summon. Most likely, that will be before you reach your maxMP. I also added an option to use the beanbag chair at your campsite to override the built-in MP restore function, which of course can be disabled.
I look forward to hearing any feedback you all might give, and thanks for a great tool!
2/13/07 UPDATE: Minor change:
Code:
while(mp_cost($skill[Summon Candy Heart]) < sumMax && mp_cost($skill[Summon Candy Heart]) < my_maxMP()){
Code:
while(mp_cost($skill[Summon Candy Heart]) <= sumMax && mp_cost($skill[Summon Candy Heart]) < my_maxMP()){
so that the script won't stop short of the value set in sumMax...