twistedmage1
Member
This one took a while for me to work out.
Logging into a character on mafia (who knows canticle of carboloading, but has already cast it today) and then running the following script:
Gives the output:
This happens with a mood which only contains a skill, not currently buffed, and unknown to the character. If the skill is known, or is unknown but the effect is active, the problem does not occur.
Logging into a character on mafia (who knows canticle of carboloading, but has already cast it today) and then running the following script:
Code:
void main()
{
cli_execute("mood execute");
print("mood executed correctly before canticle","green");
use_skill($skill[canticle of carboloading]);
cli_execute("mood execute");
print("mood executed correctly after canticle","green");
}
Gives the output:
Code:
> tmp.ash
Mood swing complete.
mood executed correctly before canticle
Casting Canticle of Carboloading 1 times...
You can only do that once a day.
KoLmafia declares world peace.
Mood swing complete.
This happens with a mood which only contains a skill, not currently buffed, and unknown to the character. If the skill is known, or is unknown but the effect is active, the problem does not occur.