2015-01-19 00:00:00 +00:00
|
|
|
/// <reference path="../LootTemplate.ts"/>
|
|
|
|
|
2017-02-09 00:00:35 +00:00
|
|
|
module TS.SpaceTac.Equipments {
|
2017-04-18 22:55:59 +00:00
|
|
|
export class NuclearReactor extends LootTemplate {
|
2015-01-19 00:00:00 +00:00
|
|
|
constructor() {
|
2017-04-18 22:55:59 +00:00
|
|
|
super(SlotType.Power, "Nuclear Reactor", "A standard nuclear power core, drawing power from atom fusion cycles");
|
2015-01-19 00:00:00 +00:00
|
|
|
|
2017-04-18 19:51:23 +00:00
|
|
|
this.setSkillsRequirements({ "skill_energy": 1 });
|
|
|
|
this.addAttributeEffect("initiative", istep(1));
|
|
|
|
this.addAttributeEffect("power_capacity", istep(6));
|
|
|
|
this.addAttributeEffect("power_initial", istep(4, irepeat(0.5)));
|
|
|
|
this.addAttributeEffect("power_recovery", istep(3, irepeat(0.3)));
|
2015-01-19 00:00:00 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|