Example #1
0
 public TeslaZap(TeslaZapInfo info, ProjectileArgs args)
 {
     this.args        = args;
     this.info        = info;
     ticksUntilRemove = info.Duration;
     damageDuration   = info.DamageDuration > info.Duration ? info.Duration : info.DamageDuration;
     target           = args.PassiveTarget;
 }
Example #2
0
 public TeslaZap(TeslaZapInfo info, ProjectileArgs args)
 {
     this.args            = args;
     this.info            = info;
     this.timeUntilRemove = info.Duration;
 }