// Token: 0x06001E68 RID: 7784 RVA: 0x00083180 File Offset: 0x00081380 private void FixedUpdate() { if (!this.currentTrailObject) { this.currentTrailObject = UnityEngine.Object.Instantiate <GameObject>(this.trailPrefab, base.transform.position, base.transform.rotation); DamageTrail component = this.currentTrailObject.GetComponent <DamageTrail>(); component.damagePerSecond = this.projectileDamage.damage * this.damageToTrailDpsFactor; component.owner = this.projectileController.owner; return; } this.currentTrailObject.transform.position = base.transform.position; }
//private void DotController_InflictDot_GameObject_GameObject_DotIndex_float_float(On.RoR2.DotController.orig_InflictDot_GameObject_GameObject_DotIndex_float_float_nu orig, UnityEngine.GameObject victimObject, UnityEngine.GameObject attackerObject, DotController.DotIndex dotIndex, float duration, float damageMultiplier) //{ //} private void DamageTrail_DoDamage(On.RoR2.DamageTrail.orig_DoDamage orig, DamageTrail self) { if (self) { if (self.segmentPrefab.name == "FireTrailSegment") { self.damagePerSecond = 0; AkSoundEngine.StopPlayingID(3193947170); } } orig(self); }