Closed ianknowles closed 2 months ago
Related to #2080. @Rinn
I don't have Robort, so familiar in the outfit is undefined.
@horrible-little-slime what did I do wrong with the outfit
outfit: () =>
freeFightOutfit(
{
familiar: have($familiar`Robortender`)
? $familiar`Robortender`
: undefined,
bonuses: new Map<Item, number>([
[
$item`tearaway pants`,
get("valueOfAdventure") * TearawayPants.plantsAdventureChance(),
],
]),
},
{ canChooseMacro: false, allowAttackFamiliars: false },
),
should it just not contain the familiar property at all?
undefined is a JS constant. Needs to be either a value that grimoire treats as any familiar (not sure what to pass there), or the if test around the whole json object instead of the value.
garbo exits when trying to execute this task. Task also needs to check for growth but garbo exits regardless with tall grass seeds still planted.