Update OnFire.java

generalize to damage over time