[js] Can't summon griffin riders

I have boss start 2 equipped and my code looks like this

function summonGriffen() {
    if (hero.gold > hero.costOf("griffin-rider")) {

but I get this error

you can only summon griffs if you have bs3 or aboveyou can only command them with bs2


Thanks for the reply, summon is very confusing and should probably be fixed. Is it possible to tag a dev?

Sorry, I don’t see what the problem is here. What’s confusing about summon?

You can only summon “griffin-riders” when you have BS3 equipped, like cheddarcheese said.

You can get boss star III on Mixed Unit Tactics got it @Tentacles

There are no summon types listed. But when you look at build for instance it shows Griffin.

Here is a post with the listed Summonable characters and items and what you need to be able to do it. Including friendlies with the Boss Star, buildable items, and spells with specific item equipped…