KFNEXUS / KFNEXUS.github.io

GNU Lesser General Public License v3.0
3 stars 6 forks source link

Deras Sisters #25

Closed CrazyVulcan closed 7 years ago

CrazyVulcan commented 7 years ago

There are two crew, "Lursa & B'Etor" who are also Captain. If one of them is the captain then you can equip the other as a crew upgrade. These crew can ONLY be equipped if her sister is in the captain slot. This Also increases their Captain Skill by +4. so far what I have is this but damn it if I don't know why it is not working. :(

` "crew:lursa_crew_72282p": {
canEquip: function (upgrade,ship,fleet,canEquip){ if(ship.captain.name == "B'Etor") return false; return canEquip; } },

"crew:betor_crew_72282p": {
    canEquip: function (upgrade,ship,fleet,canEquip){
        if(ship.captain.name == "Lursa")
            return false;
        return canEquip;
    }
},`