public void apply(float deltaTime) { if (subject.getBurningEffect() != null) { subject.takeDamageNoObs(DEGENSPEED * deltaTime, source); } }
public void beginChilled(ObjectActor subject, ObjectInteractable source) { BurningEffect burning = subject.getBurningEffect(); if (burning != null) { subject.endBurning(); return; } beginCondition <ChilledEffect>(subject, source); }