4 METHOD(Burning, m_remove, void(StatusEffects this, entity actor, int removal_type))
6 actor.effects &= ~EF_FLAME;
7 SUPER(Burning).m_remove(this, actor, removal_type);
9 METHOD(Burning, m_persistent, bool(StatusEffects this, entity actor))
11 return (autocvar_g_balance_contents_playerdamage_lava_burn && actor.waterlevel && actor.watertype == CONTENT_LAVA);
13 METHOD(Burning, m_tick, void(StatusEffects this, entity actor))
15 if(STAT(FROZEN, actor) || (actor.waterlevel && actor.watertype != CONTENT_LAVA))
17 this.m_remove(this, actor, STATUSEFFECT_REMOVE_NORMAL);
20 Fire_ApplyDamage(actor);
21 actor.effects |= EF_FLAME;
22 SUPER(Burning).m_tick(this, actor);