2017-04-18 19:51:23 +00:00
|
|
|
/// <reference path="../LootTemplate.ts"/>
|
2015-01-14 00:00:00 +00:00
|
|
|
|
2017-02-09 00:00:35 +00:00
|
|
|
module TS.SpaceTac.Equipments {
|
2017-04-18 19:51:23 +00:00
|
|
|
export class GatlingGun extends LootTemplate {
|
2015-01-14 00:00:00 +00:00
|
|
|
constructor() {
|
2017-04-18 22:55:59 +00:00
|
|
|
super(SlotType.Weapon, "Gatling Gun", "Mechanical weapon using loads of metal bullets propelled by guided explosions");
|
2015-01-14 00:00:00 +00:00
|
|
|
|
2017-04-18 19:51:23 +00:00
|
|
|
this.setSkillsRequirements({ "skill_material": 1 });
|
2017-05-16 23:12:05 +00:00
|
|
|
this.setCooldown(irepeat(2), irepeat(1));
|
2017-04-18 19:51:23 +00:00
|
|
|
this.addFireAction(irepeat(3), irepeat(600), 0, [
|
2017-05-10 20:52:24 +00:00
|
|
|
new EffectTemplate(new DamageEffect(), { base: istep(30, irepeat(5)), span: istep(20, irepeat(5)) })
|
2017-04-18 19:51:23 +00:00
|
|
|
]);
|
2015-01-14 00:00:00 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|