2017-05-28 22:16:50 +00:00
/// <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 ) ) ;
2017-05-29 18:12:57 +00:00
this . addFireAction ( irepeat ( 3 ) , istep ( 150 , irepeat ( 10 ) ) , 0 , [
2017-05-28 22:16:50 +00:00
new EffectTemplate ( new ValueTransferEffect ( "shield" ) , { "amount" : istep ( - 20 , irepeat ( - 2 ) ) } )
] ) ;
}
}
}