public void ini(Entity.team Team, float Damage, bool SingleUse = true, bool SpawnFxOnTargetInsteadOfSource = false, float CoolDownBetweenHits = 1, float BecomeActiveAfterSeconds = 0, bool IsProjectile = true)
 {
     this.Team      = Team;
     this.Damage    = Damage;
     this.SingleUse = SingleUse;
     this.SpawnFxOnTargetInsteadOfSource = SpawnFxOnTargetInsteadOfSource;
     this.CoolDownBetweenHits            = CoolDownBetweenHits;
     this.BecomeActiveAfterSeconds       = BecomeActiveAfterSeconds;
     this.IsProjectile = IsProjectile;
 }
Ejemplo n.º 2
0
 public void ini(Entity.team Team, float Damage, float Lifespan, bool SpawnFxOnTargetInsteadOfSource = false, float DelayBetweenHits = 1, float BecomeActiveAfterSeconds = 0, DamagerInflicter.WeaponTypes WeaponType = DamagerInflicter.WeaponTypes.Undefined)
 {
     this.Team     = Team;
     this.Damage   = Damage;
     this.Lifespan = Lifespan;
     this.SpawnFxOnTargetInsteadOfSource = SpawnFxOnTargetInsteadOfSource;
     this.DelayBetweenHits         = DelayBetweenHits;
     this.BecomeActiveAfterSeconds = BecomeActiveAfterSeconds;
     this.WeaponType = WeaponType;
 }