2015-02-27 00:00:00 +00:00
|
|
|
/// <reference path="BaseLogEvent.ts"/>
|
|
|
|
|
2017-02-09 00:00:35 +00:00
|
|
|
module TS.SpaceTac {
|
2017-01-23 23:07:54 +00:00
|
|
|
// Event logged when a sticky effect is added to a ship
|
2017-03-09 17:11:00 +00:00
|
|
|
export class EffectDurationChangedEvent extends BaseLogShipEvent {
|
2015-02-27 00:00:00 +00:00
|
|
|
// Pointer to the effect
|
2017-01-23 23:07:54 +00:00
|
|
|
effect: StickyEffect;
|
2015-02-27 00:00:00 +00:00
|
|
|
|
|
|
|
// Previous duration
|
|
|
|
previous: number;
|
|
|
|
|
2017-01-23 23:07:54 +00:00
|
|
|
constructor(ship: Ship, effect: StickyEffect, previous: number) {
|
2015-04-22 20:03:59 +00:00
|
|
|
super("effectduration", ship);
|
2015-02-27 00:00:00 +00:00
|
|
|
|
|
|
|
this.effect = effect;
|
|
|
|
this.previous = previous;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|