16 lines
663 B
TypeScript
16 lines
663 B
TypeScript
|
/// <reference path="../LootTemplate.ts"/>
|
||
|
|
||
|
module TS.SpaceTac.Equipments {
|
||
|
export class ShieldTransfer extends LootTemplate {
|
||
|
constructor() {
|
||
|
super(SlotType.Weapon, "Shield Transfer", "Generates small gravity wells between the ship's and the target's shields, stealing physical properties and energy");
|
||
|
|
||
|
this.setSkillsRequirements({ "skill_gravity": 1 });
|
||
|
this.setCooldown(irepeat(3), irepeat(3));
|
||
|
this.addFireAction(irepeat(3), istep(100, irepeat(10)), 0, [
|
||
|
new EffectTemplate(new ValueTransferEffect("shield"), { "amount": istep(-20, irepeat(-2)) })
|
||
|
]);
|
||
|
}
|
||
|
}
|
||
|
}
|