Presto Ragu
Member
As requested by Salculd (on the KoL Gameplay forums):
Notes:
If there is a tie between two or more stats, it will pick the one that is "highest" on your character pane. ie: Muscle / Mysticality / Moxie - in that order.
It is an ASH script, so if you copy & paste rather than download the following attachment, make sure the extension is .ash
It is written to facilitate importing it. But it can also be run by itself.
Code:
stat minstat()
{
stat currentstat;
currentstat = $stat[muscle];
if( my_basestat( currentstat) > my_basestat( $stat[mysticality]))
{
currentstat = $stat[mysticality];
}
if( my_basestat( currentstat) > my_basestat( $stat[moxie]))
{
currentstat = $stat[moxie];
}
return currentstat;
}
void wheeltominstat()
{
if( minstat() == $stat[muscle])
{
cli_execute("set choiceAdventure9=3");
cli_execute("set choiceAdventure10=2");
cli_execute("set choiceAdventure11=1");
cli_execute("set choiceAdventure12=1");
}
if( minstat() == $stat[mysticality])
{
cli_execute("set choiceAdventure9=1");
cli_execute("set choiceAdventure10=3");
cli_execute("set choiceAdventure11=2");
cli_execute("set choiceAdventure12=1");
}
if( minstat() == $stat[moxie])
{
cli_execute("set choiceAdventure9=2");
cli_execute("set choiceAdventure10=2");
cli_execute("set choiceAdventure11=1");
cli_execute("set choiceAdventure12=3");
}
}
void main()
{
wheeltominstat();
}
Notes:
If there is a tie between two or more stats, it will pick the one that is "highest" on your character pane. ie: Muscle / Mysticality / Moxie - in that order.
It is an ASH script, so if you copy & paste rather than download the following attachment, make sure the extension is .ash
It is written to facilitate importing it. But it can also be run by itself.