Hull and shield are now small values
This commit is contained in:
parent
c28d7ba8eb
commit
6443f9afda
|
@ -20,14 +20,14 @@ module TK.SpaceTac {
|
|||
// TODO Weapons should be less efficient in short range
|
||||
|
||||
let charged_shot = new TriggerAction("Charged Shot", {
|
||||
effects: [new DamageEffect(40)],
|
||||
power: 3,
|
||||
effects: [new DamageEffect(3)],
|
||||
power: 4,
|
||||
range: 900,
|
||||
}, "gatlinggun");
|
||||
charged_shot.configureCooldown(2, 2);
|
||||
|
||||
let long_range_missile = new TriggerAction("Long Range Missile", {
|
||||
effects: [new DamageEffect(27)],
|
||||
effects: [new DamageEffect(2)],
|
||||
power: 4,
|
||||
range: 700, blast: 120,
|
||||
}, "submunitionmissile");
|
||||
|
@ -40,8 +40,8 @@ module TK.SpaceTac {
|
|||
effects: [
|
||||
new AttributeEffect("precision", 8),
|
||||
new AttributeEffect("maneuvrability", 0),
|
||||
new AttributeEffect("hull_capacity", 80),
|
||||
new AttributeEffect("shield_capacity", 20),
|
||||
new AttributeEffect("hull_capacity", 2),
|
||||
new AttributeEffect("shield_capacity", 1),
|
||||
new AttributeEffect("power_capacity", 8),
|
||||
]
|
||||
},
|
||||
|
@ -86,8 +86,8 @@ module TK.SpaceTac {
|
|||
} else if (level == 3) {
|
||||
let shield_booster = new TriggerAction("Shield Booster", {
|
||||
effects: [
|
||||
new StickyEffect(new AttributeEffect("shield_capacity", 50), 2),
|
||||
new ValueEffect("shield", 70),
|
||||
new StickyEffect(new AttributeEffect("shield_capacity", 2), 2),
|
||||
new ValueEffect("shield", 3),
|
||||
],
|
||||
power: 2
|
||||
}, "forcefield");
|
||||
|
@ -112,8 +112,8 @@ module TK.SpaceTac {
|
|||
{
|
||||
code: "Hard Coated Hull",
|
||||
description: "Improved metal coating of outer hull layers, making them more damage resistant",
|
||||
cost: 2,
|
||||
effects: [new AttributeEffect("hull_capacity", 10)]
|
||||
cost: 3,
|
||||
effects: [new AttributeEffect("hull_capacity", 1)]
|
||||
},
|
||||
];
|
||||
} else {
|
||||
|
|
|
@ -19,14 +19,14 @@ module TK.SpaceTac {
|
|||
engine.configureCooldown(2, 1);
|
||||
|
||||
let gatling = new TriggerAction("Gatling Gun", {
|
||||
effects: [new DamageEffect(45)],
|
||||
effects: [new DamageEffect(2)],
|
||||
power: 2,
|
||||
range: 200,
|
||||
}, "gatlinggun");
|
||||
gatling.configureCooldown(3, 1);
|
||||
|
||||
let shield_steal = new TriggerAction("Shield Steal", {
|
||||
effects: [new ValueTransferEffect("shield", -40)],
|
||||
effects: [new ValueTransferEffect("shield", -1)],
|
||||
power: 1,
|
||||
blast: 300
|
||||
}, "shieldtransfer");
|
||||
|
@ -38,8 +38,8 @@ module TK.SpaceTac {
|
|||
effects: [
|
||||
new AttributeEffect("precision", 3),
|
||||
new AttributeEffect("maneuvrability", 12),
|
||||
new AttributeEffect("hull_capacity", 30),
|
||||
new AttributeEffect("shield_capacity", 50),
|
||||
new AttributeEffect("hull_capacity", 1),
|
||||
new AttributeEffect("shield_capacity", 2),
|
||||
new AttributeEffect("power_capacity", 7),
|
||||
]
|
||||
},
|
||||
|
|
|
@ -17,7 +17,7 @@ module TK.SpaceTac {
|
|||
});
|
||||
|
||||
let laser = new TriggerAction("Wingspan Laser", {
|
||||
effects: [new DamageEffect(25)],
|
||||
effects: [new DamageEffect(1)],
|
||||
power: 4,
|
||||
range: 250, angle: 140,
|
||||
}, "prokhorovlaser");
|
||||
|
@ -36,8 +36,8 @@ module TK.SpaceTac {
|
|||
effects: [
|
||||
new AttributeEffect("precision", 5),
|
||||
new AttributeEffect("maneuvrability", 6),
|
||||
new AttributeEffect("hull_capacity", 70),
|
||||
new AttributeEffect("shield_capacity", 40),
|
||||
new AttributeEffect("hull_capacity", 2),
|
||||
new AttributeEffect("shield_capacity", 1),
|
||||
new AttributeEffect("power_capacity", 8),
|
||||
]
|
||||
},
|
||||
|
|
|
@ -17,7 +17,7 @@ module TK.SpaceTac {
|
|||
});
|
||||
|
||||
let gatling = new TriggerAction("Gatling Gun", {
|
||||
effects: [new DamageEffect(20)],
|
||||
effects: [new DamageEffect(1)],
|
||||
power: 2,
|
||||
range: 200,
|
||||
}, "gatlinggun");
|
||||
|
@ -34,7 +34,7 @@ module TK.SpaceTac {
|
|||
deploy_distance: 300,
|
||||
drone_radius: 150,
|
||||
drone_effects: [
|
||||
new ValueEffect("hull", undefined, undefined, undefined, 30)
|
||||
new ValueEffect("hull", undefined, undefined, undefined, 1)
|
||||
]
|
||||
}, "repairdrone");
|
||||
|
||||
|
@ -44,8 +44,8 @@ module TK.SpaceTac {
|
|||
effects: [
|
||||
new AttributeEffect("precision", 3),
|
||||
new AttributeEffect("maneuvrability", 12),
|
||||
new AttributeEffect("hull_capacity", 30),
|
||||
new AttributeEffect("shield_capacity", 50),
|
||||
new AttributeEffect("hull_capacity", 1),
|
||||
new AttributeEffect("shield_capacity", 2),
|
||||
new AttributeEffect("power_capacity", 7),
|
||||
]
|
||||
},
|
||||
|
|
|
@ -17,14 +17,14 @@ module TK.SpaceTac {
|
|||
});
|
||||
|
||||
let missile = new TriggerAction("SubMunition Missile", {
|
||||
effects: [new DamageEffect(15)],
|
||||
effects: [new DamageEffect(1)],
|
||||
power: 2,
|
||||
range: 250, blast: 150,
|
||||
}, "submunitionmissile");
|
||||
missile.configureCooldown(2, 2);
|
||||
|
||||
let gatling = new TriggerAction("Gatling Gun", {
|
||||
effects: [new DamageEffect(15)],
|
||||
effects: [new DamageEffect(1)],
|
||||
power: 1,
|
||||
range: 350,
|
||||
}, "gatlinggun");
|
||||
|
|
|
@ -24,7 +24,7 @@ module TK.SpaceTac {
|
|||
depleter.configureCooldown(1, 1);
|
||||
|
||||
let gatling = new TriggerAction("Gatling Gun", {
|
||||
effects: [new DamageEffect(20)],
|
||||
effects: [new DamageEffect(1)],
|
||||
power: 3,
|
||||
range: 300,
|
||||
}, "gatlinggun");
|
||||
|
@ -36,8 +36,8 @@ module TK.SpaceTac {
|
|||
effects: [
|
||||
new AttributeEffect("precision", 0),
|
||||
new AttributeEffect("maneuvrability", 15),
|
||||
new AttributeEffect("hull_capacity", 25),
|
||||
new AttributeEffect("shield_capacity", 45),
|
||||
new AttributeEffect("hull_capacity", 1),
|
||||
new AttributeEffect("shield_capacity", 2),
|
||||
new AttributeEffect("power_capacity", 8),
|
||||
]
|
||||
},
|
||||
|
|
|
@ -18,7 +18,7 @@ module TK.SpaceTac {
|
|||
});
|
||||
|
||||
let missile = new TriggerAction("SubMunition Missile", {
|
||||
effects: [new DamageEffect(30)],
|
||||
effects: [new DamageEffect(1)],
|
||||
power: 3,
|
||||
range: 400, blast: 120,
|
||||
}, "submunitionmissile");
|
||||
|
@ -41,8 +41,8 @@ module TK.SpaceTac {
|
|||
effects: [
|
||||
new AttributeEffect("precision", 9),
|
||||
new AttributeEffect("maneuvrability", 3),
|
||||
new AttributeEffect("hull_capacity", 40),
|
||||
new AttributeEffect("shield_capacity", 40),
|
||||
new AttributeEffect("hull_capacity", 2),
|
||||
new AttributeEffect("shield_capacity", 2),
|
||||
new AttributeEffect("power_capacity", 6),
|
||||
]
|
||||
},
|
||||
|
|
|
@ -17,14 +17,14 @@ module TK.SpaceTac {
|
|||
});
|
||||
|
||||
let gatling = new TriggerAction("Gatling Gun", {
|
||||
effects: [new DamageEffect(40)],
|
||||
effects: [new DamageEffect(2)],
|
||||
power: 3,
|
||||
range: 400,
|
||||
}, "gatlinggun");
|
||||
gatling.configureCooldown(2, 2);
|
||||
|
||||
let laser = new TriggerAction("Prokhorov Laser", {
|
||||
effects: [new DamageEffect(35)],
|
||||
effects: [new DamageEffect(2)],
|
||||
power: 4,
|
||||
range: 250, angle: 60,
|
||||
}, "prokhorovlaser");
|
||||
|
@ -35,8 +35,8 @@ module TK.SpaceTac {
|
|||
effects: [
|
||||
new AttributeEffect("precision", 4),
|
||||
new AttributeEffect("maneuvrability", 3),
|
||||
new AttributeEffect("hull_capacity", 100),
|
||||
new AttributeEffect("shield_capacity", 20),
|
||||
new AttributeEffect("hull_capacity", 3),
|
||||
new AttributeEffect("shield_capacity", 1),
|
||||
new AttributeEffect("power_capacity", 9),
|
||||
]
|
||||
},
|
||||
|
|
|
@ -17,26 +17,26 @@ module TK.SpaceTac {
|
|||
});
|
||||
|
||||
let gatling1 = new TriggerAction("Primary Gatling", {
|
||||
effects: [new DamageEffect(22)],
|
||||
effects: [new DamageEffect(2)],
|
||||
power: 2, range: 400
|
||||
}, "gatlinggun");
|
||||
gatling1.configureCooldown(1, 1);
|
||||
|
||||
let gatling2 = new TriggerAction("Secondary Gatling", {
|
||||
effects: [new DamageEffect(28)],
|
||||
effects: [new DamageEffect(1)],
|
||||
power: 1, range: 200
|
||||
}, "gatlinggun");
|
||||
gatling2.configureCooldown(1, 1);
|
||||
|
||||
let missile = new TriggerAction("Diffuse Missiles", {
|
||||
effects: [new DamageEffect(19)],
|
||||
effects: [new DamageEffect(1)],
|
||||
power: 2,
|
||||
range: 200, blast: 100,
|
||||
}, "submunitionmissile");
|
||||
missile.configureCooldown(1, 1);
|
||||
|
||||
let laser = new TriggerAction("Low-power Laser", {
|
||||
effects: [new DamageEffect(26)],
|
||||
effects: [new DamageEffect(1)],
|
||||
power: 2,
|
||||
range: 200, angle: 30
|
||||
}, "prokhorovlaser");
|
||||
|
@ -53,8 +53,8 @@ module TK.SpaceTac {
|
|||
effects: [
|
||||
new AttributeEffect("precision", 8),
|
||||
new AttributeEffect("maneuvrability", 3),
|
||||
new AttributeEffect("hull_capacity", 60),
|
||||
new AttributeEffect("shield_capacity", 40),
|
||||
new AttributeEffect("hull_capacity", 2),
|
||||
new AttributeEffect("shield_capacity", 1),
|
||||
new AttributeEffect("power_capacity", 11),
|
||||
]
|
||||
},
|
||||
|
|
|
@ -31,7 +31,7 @@ module TK.SpaceTac {
|
|||
depleter.configureCooldown(1, 1);
|
||||
|
||||
let missile = new TriggerAction("Defense Missiles", {
|
||||
effects: [new DamageEffect(40)],
|
||||
effects: [new DamageEffect(2)],
|
||||
power: 3,
|
||||
range: 200, blast: 180,
|
||||
}, "submunitionmissile");
|
||||
|
@ -42,8 +42,8 @@ module TK.SpaceTac {
|
|||
effects: [
|
||||
new AttributeEffect("precision", 3),
|
||||
new AttributeEffect("maneuvrability", 2),
|
||||
new AttributeEffect("hull_capacity", 40),
|
||||
new AttributeEffect("shield_capacity", 70),
|
||||
new AttributeEffect("hull_capacity", 1),
|
||||
new AttributeEffect("shield_capacity", 2),
|
||||
new AttributeEffect("power_capacity", 8),
|
||||
]
|
||||
},
|
||||
|
|
|
@ -17,13 +17,13 @@ module TK.SpaceTac {
|
|||
});
|
||||
|
||||
let laser = new TriggerAction("Prokhorov Laser", {
|
||||
effects: [new DamageEffect(35)],
|
||||
effects: [new DamageEffect(2)],
|
||||
power: 3,
|
||||
range: 250, angle: 80,
|
||||
});
|
||||
|
||||
let hull = new TriggerAction("Hull Shedding", {
|
||||
effects: [new ValueEffect("hull", 120)],
|
||||
effects: [new ValueEffect("hull", 2)],
|
||||
power: 1
|
||||
}, "fractalhull");
|
||||
hull.configureCooldown(1, 4);
|
||||
|
@ -40,8 +40,8 @@ module TK.SpaceTac {
|
|||
effects: [
|
||||
new AttributeEffect("precision", 8),
|
||||
new AttributeEffect("maneuvrability", 5),
|
||||
new AttributeEffect("hull_capacity", 80),
|
||||
new AttributeEffect("shield_capacity", 15),
|
||||
new AttributeEffect("hull_capacity", 2),
|
||||
new AttributeEffect("shield_capacity", 1),
|
||||
new AttributeEffect("power_capacity", 7),
|
||||
]
|
||||
},
|
||||
|
|
|
@ -56,8 +56,8 @@ module TK.SpaceTac {
|
|||
*/
|
||||
protected getStandardUpgrades(level: number): ShipUpgrade[] {
|
||||
return [
|
||||
{ code: `Hull upgrade Lv${level - 1}`, effects: [new AttributeEffect("hull_capacity", 5)], cost: 2 },
|
||||
{ code: `Shield upgrade Lv${level - 1}`, effects: [new AttributeEffect("shield_capacity", 5)], cost: 2 },
|
||||
{ code: `Hull upgrade Lv${level - 1}`, effects: [new AttributeEffect("hull_capacity", 1)], cost: 3 },
|
||||
{ code: `Shield upgrade Lv${level - 1}`, effects: [new AttributeEffect("shield_capacity", 1)], cost: 3 },
|
||||
{ code: `Power upgrade Lv${level - 1}`, effects: [new AttributeEffect("power_capacity", 1)], cost: 3 },
|
||||
];
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue