EffectLib

by Ter13
Handle generic temporary combat effects efficiently and cleanly
ID:2288190
 
Resolved
effect.end_time has been added, and is now only updated to the value passed as time at the end of effect.Remove().

end_time is only useful outside of an effect, and is only set to a non-null value after it has already been removed from the user's effects.
Applies to:Effectlib 2.2
Status: Resolved (2.3)

This issue has been resolved.
It might be useful to store the time that an effect was removed from the user's list of active effects by default. Since start_time effectively tracks the time an effect was started, we should probably keep track of when an effect for all purposes ended.
Ter13 resolved issue with message:
effect.end_time has been added, and is now only updated to the value passed as time at the end of effect.Remove().

end_time is only useful outside of an effect, and is only set to a non-null value after it has already been removed from the target's effects.