2017-05-28 22:16:50 +00:00
/// <reference path="../LootTemplate.ts"/>
2017-09-24 22:23:22 +00:00
module TK.SpaceTac.Equipments {
2017-05-28 22:16:50 +00:00
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" ) ;
2017-09-17 22:49:53 +00:00
this . setSkillsRequirements ( { "skill_gravity" : leveled ( 2 , 1.5 ) } ) ;
2017-05-28 22:16:50 +00:00
this . setCooldown ( irepeat ( 3 ) , irepeat ( 3 ) ) ;
2017-10-03 16:11:30 +00:00
this . addTriggerAction ( irepeat ( 3 ) , [
2017-09-17 22:49:53 +00:00
new EffectTemplate ( new ValueTransferEffect ( "shield" ) , { "amount" : leveled ( - 40 , - 4 ) } )
2017-10-03 16:11:30 +00:00
] , irepeat ( 0 ) , leveled ( 250 , 20 ) ) ;
2017-05-28 22:16:50 +00:00
}
}
}