mirror of
https://github.com/EDCD/coriolis.git
synced 2025-12-09 22:55:35 +00:00
Merge branch 'develop'
This commit is contained in:
@@ -229,7 +229,7 @@ export function calcSpeed(mass, baseSpeed, thrusters, engpip, eng, boostFactor,
|
|||||||
* Calculate pitch for a given setup
|
* Calculate pitch for a given setup
|
||||||
* @param {number} mass the mass of the ship
|
* @param {number} mass the mass of the ship
|
||||||
* @param {number} basePitch the base pitch of the ship
|
* @param {number} basePitch the base pitch of the ship
|
||||||
* @param {ojbect} thrusters the thrusters of the ship
|
* @param {object} thrusters the thrusters of the ship
|
||||||
* @param {number} engpip the multiplier per pip to engines
|
* @param {number} engpip the multiplier per pip to engines
|
||||||
* @param {number} eng the pips to engines
|
* @param {number} eng the pips to engines
|
||||||
* @param {number} boostFactor the boost factor for ths ship
|
* @param {number} boostFactor the boost factor for ths ship
|
||||||
@@ -455,7 +455,7 @@ export function shieldMetrics(ship, sys) {
|
|||||||
/**
|
/**
|
||||||
* Calculate time from one boost to another
|
* Calculate time from one boost to another
|
||||||
* @return {number} Boost frequency in seconds
|
* @return {number} Boost frequency in seconds
|
||||||
* @param ship
|
* @param {Ship} ship Ship object
|
||||||
*/
|
*/
|
||||||
export function calcBoost(ship) {
|
export function calcBoost(ship) {
|
||||||
if (!ship.boostEnergy || !ship.standard[4] || !ship.standard[4].m) {
|
if (!ship.boostEnergy || !ship.standard[4] || !ship.standard[4].m) {
|
||||||
|
|||||||
@@ -86,7 +86,7 @@ function shortenUrlOrbis(url, success, error) {
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
console.log(e)
|
console.log(e);
|
||||||
error(e.message ? e.message : e);
|
error(e.message ? e.message : e);
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Reference in New Issue
Block a user