Hello,
I'm needing help with setting up explosion potions to have a 5-second delay BUT also able to cancel the pot mid-way through the timer and bring it back up.
(Line 142)
I've changed this line here to (5000) to give the explosion potions that 5-second delay but you cant bring the potion back up after canceling the timer until that 5-second delay timer has finished, resulting in damage to the thrower. Any help or guidance is greatly appreciated. I'm sure there's a ton of others looking to resolve this issue as well. All of the old posts that fixed this issue no longer exist.
Maybe BaseExplosionPotion.cs has some lines to settle this issue.
I've attached my current files below.
Thanks in advance.
I'm needing help with setting up explosion potions to have a 5-second delay BUT also able to cancel the pot mid-way through the timer and bring it back up.
(Line 142)
BasePotion.cs:
Timer.DelayCall(TimeSpan.FromMilliseconds(5000), () => from.EndAction(this.GetType())); // Default (500)
I've changed this line here to (5000) to give the explosion potions that 5-second delay but you cant bring the potion back up after canceling the timer until that 5-second delay timer has finished, resulting in damage to the thrower. Any help or guidance is greatly appreciated. I'm sure there's a ton of others looking to resolve this issue as well. All of the old posts that fixed this issue no longer exist.
Maybe BaseExplosionPotion.cs has some lines to settle this issue.
I've attached my current files below.
Thanks in advance.