Closed SpinStabilized closed 6 years ago
Found the problem. The updates for faction penalty calculation has been giving many admirals only 1 SP rather than 3 because of the following code style:
"admiral:haden_72011":{
factionPenalty: function(upgrade, ship, fleet) {
return ship && $factions.hasFaction( ship, "bajoran", ship, fleet ) ? 0 : 1 && $factions.hasFaction( ship, "vulcan", ship, fleet ) ? 0 : 1;
}},
It should have 3 instead of 1. Need to clean up on a larger scale but changing these to 3 from 1 for the admirals should fix the problem as a quick fix.
"admiral:haden_72011":{
factionPenalty: function(upgrade, ship, fleet) {
return ship && $factions.hasFaction( ship, "bajoran", ship, fleet ) ? 0 : 3 && $factions.hasFaction( ship, "vulcan", ship, fleet ) ? 0 : 3;
}},
Fix pushed to KFNEXUS. Tested with Maxwell on a Borg ship (See screenshot). Proper 3 SP increase applied. (Test build: http://bit.ly/2vq5uxa)
From the Attack Wing Community Facebook Group: