private static void SetAffectedByFire(Creep creep) { if (creep.State.Wet) { creep.State.Wet = false; ChangeStartStatesIfClothCreep(creep); } else if (creep.State.Frozen) { creep.State.Frozen = false; StateChanger.MakeCreepUnfreezable(creep); SetClothCreepWetState(creep); } else { if (creep.State.Slow) { StateChanger.MakeCreepSlowImmune(creep); } else { StateChanger.MakeCreepFast(creep); } StateChanger.MakeCreepBurst(creep); } }
private static void SetAffectedByFire(Creep creep) { if (creep.State.Wet) { creep.State.Wet = false; ChangeStartStatesIfWoodCreep(creep); } else if (creep.State.Frozen) { StateChanger.MakeCreepUnfreezable(creep); SetWoodCreepWetState(creep); } else { StateChanger.MakeCreepFast(creep); StateChanger.MakeCreepBurst(creep); } }